ENDFOREACH(flag)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_LIB_CFLAGS}")
+ADD_DEFINITIONS("-DENABLE_DLOG")
+
ADD_LIBRARY(${PROJECT_NAME} SHARED ${SRCS})
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${libpkgs_LDFLAGS} deviced-common-private)
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES PREFIX "")
#include <device/display-internal.h>
#include <hal/device/hal-device-power.h>
-#include "shared/log.h"
+#include <libsyscommon/log.h>
#include "core.h"
#include "poll.h"
#include "lock-detector.h"
#include <hal/device/hal-display.h>
#include "power/power-suspend.h"
-#include "core/log.h"
+#include <libsyscommon/log.h>
#include "shared/devices.h"
#include "shared/common.h"
#include "device-interface.h"
#include "shared/devices.h"
#include "shared/common.h"
#include "shared/apps.h"
-#include "shared/log.h"
+#include <libsyscommon/log.h>
#include "power/power-off.h"
#include "power/power-suspend.h"
#include "led/touch-key.h"
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../power)
+ADD_DEFINITIONS("-DENABLE_DLOG")
+
FILE(GLOB SRCS "*.c")
ADD_LIBRARY(${PROJECT_NAME} SHARED ${SRCS})
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES PREFIX "")
ENDFOREACH(flag)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_LIB_CFLAGS}")
+ADD_DEFINITIONS("-DENABLE_DLOG")
+
ADD_LIBRARY(${PROJECT_NAME} SHARED ${SRCS})
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${libpkgs_LDFLAGS} deviced-common-private)
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES PREFIX "")
#include <system/syscommon-plugin-deviced-common-interface.h>
#include <system/syscommon-plugin-deviced-display-interface.h>
-#include "core/log.h"
+#include <libsyscommon/log.h>
#include "battery.h"
#include "battery-parser.h"
#include "power-supply.h"
ENDFOREACH(flag)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_LIB_CFLAGS}")
+ADD_DEFINITIONS("-DENABLE_DLOG")
+
ADD_LIBRARY(${PROJECT_NAME} SHARED ${SRCS})
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${libpkgs_LDFLAGS} deviced-common-private)
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES PREFIX "")
#include <libsyscommon/list.h>
#include <hal/device/hal-device-power.h>
-#include "shared/log.h"
+#include <libsyscommon/log.h>
#include "ambient-mode.h"
#include "core.h"
#include "poll.h"
#include <hal/device/hal-display.h>
#include "ambient-mode.h"
-#include "core/log.h"
+#include <libsyscommon/log.h>
#include "shared/devices.h"
#include "shared/common.h"
#include "shared/device-notifier.h"
#include "shared/common.h"
#include "shared/plugin.h"
#include "shared/apps.h"
-#include "shared/log.h"
+#include <libsyscommon/log.h>
#include "power/power-off.h"
#include "power/power-suspend.h"
#include "led/touch-key.h"
ENDFOREACH(flag)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_LIB_CFLAGS}")
+ADD_DEFINITIONS("-DENABLE_DLOG")
+
ADD_LIBRARY(${PROJECT_NAME} SHARED ${SRCS})
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${libpkgs_LDFLAGS} deviced-common-private)
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES PREFIX "")
#include <vconf-keys.h>
#include <sys/time.h>
#include <libsyscommon/list.h>
+#include <libsyscommon/log.h>
#include <hal/device/hal-device-power.h>
-#include "shared/log.h"
#include "ambient-mode.h"
#include "core.h"
#include "poll.h"
#include <hal/device/hal-display.h>
#include "ambient-mode.h"
-#include "core/log.h"
+#include <libsyscommon/log.h>
#include "shared/devices.h"
#include "shared/common.h"
#include "shared/device-notifier.h"
#include <sys/types.h>
#include <libsyscommon/libgdbus.h>
#include <libsyscommon/resource-manager.h>
+#include <libsyscommon/log.h>
#include <system/syscommon-plugin-deviced-common-interface.h>
#include <system/syscommon-plugin-deviced-display-interface.h>
#include <linux/input.h>
ENDFOREACH(flag)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_LIB_CFLAGS}")
+ADD_DEFINITIONS("-DENABLE_DLOG")
+
ADD_LIBRARY(${PROJECT_NAME} SHARED ${SRCS})
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${libpkgs_LDFLAGS} deviced-common-private)
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES PREFIX "")
#include <system/syscommon-plugin-deviced-common-interface.h>
#include "core.h"
-#include "core/log.h"
+#include <libsyscommon/log.h>
#include "shared/device-notifier.h"
#include "power-supply.h"
#include "battery-ops.h"
ENDFOREACH(flag)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_LIB_CFLAGS}")
+ADD_DEFINITIONS("-DENABLE_DLOG")
+
ADD_LIBRARY(${PROJECT_NAME} SHARED ${SRCS})
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${libpkgs_LDFLAGS} deviced-common-private batterymonitor)
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES PREFIX "")
#include <stdlib.h>
#include <sys/types.h>
#include <vconf.h>
+#include <libsyscommon/log.h>
#include "hbm.h"
#include "lbm.h"
#include "display-backlight.h"
#include "display-config.h"
#include "shared/device-notifier.h"
-#include "shared/log.h"
+#include <libsyscommon/log.h>
#include "battery/power-supply.h"
#include "shared/plugin.h"
#include "display-config.h"
#include "setting.h"
#include "shared/device-notifier.h"
-#include "shared/log.h"
+#include <libsyscommon/log.h>
#include <libsyscommon/ini-parser.h>
#define MAX_SAMPLING_COUNT 3
#include "display-lock.h"
#include "display-ops.h"
#include "display-state-transition.h"
-#include "shared/log.h"
+#include <libsyscommon/log.h>
#include "shared/plugin.h"
#ifndef VCONFKEY_SETAPPL_WAKEUP_BY_BEZEL_ENABLE
#include <libsyscommon/common.h>
#include <hal/device/hal-device-power.h>
-#include "shared/log.h"
+#include <libsyscommon/log.h>
#include "auto-brightness-sensorhub.h"
#include "ambient-mode.h"
#include "core.h"
#include <system/syscommon-plugin-deviced-common-interface.h>
#include "ambient-mode.h"
-#include "core/log.h"
+#include <libsyscommon/log.h>
#include "shared/devices.h"
#include "shared/common.h"
#include "shared/device-notifier.h"
#include "poll.h"
#include "shared/common.h"
#include "shared/devices.h"
-#include "shared/log.h"
+#include <libsyscommon/log.h>
#include "display-actor.h"
#include "display-info.h"
#include "display-panel.h"
#include "display-ops.h"
#include "display-panel.h"
#include "shared/devices.h"
-#include "core/log.h"
+#include <libsyscommon/log.h>
#include "shared/common.h"
#include "shared/device-notifier.h"
#include "display-panel.h"
#include "shared/common.h"
#include "shared/device-notifier.h"
-#include "shared/log.h"
+#include <libsyscommon/log.h>
#define BOARD_CONF_FILE "/etc/deviced/display.conf"
#include <vconf.h>
#include <sys/types.h>
#include <libsyscommon/libgdbus.h>
+#include <libsyscommon/log.h>
#include <system/syscommon-plugin-deviced-common-interface.h>
#include <linux/input.h>
#include "display-ops.h"
#include "shared/common.h"
#include "shared/device-notifier.h"
-#include "shared/log.h"
+#include <libsyscommon/log.h>
#define SIGNAL_LBM_ON "LBMOn"
#define SIGNAL_LBM_OFF "LBMOff"
#include "shared/common.h"
#include "shared/devices.h"
#include "shared/device-notifier.h"
-#include "core/log.h"
+#include <libsyscommon/log.h>
#include "core.h"
#include "device-interface.h"
#include "display-backlight.h"
#include "display-panel.h"
#include "display-state-transition.h"
#include "shared/plugin.h"
-#include "shared/log.h"
+#include <libsyscommon/log.h>
#include <libsyscommon/libgdbus.h>
#include <system/syscommon-plugin-deviced-common-interface.h>
#define __LOG_H__
#ifdef ENABLE_DEVICED_DLOG
+#ifndef ENABLE_DLOG
#define ENABLE_DLOG
#endif
+#endif
#ifdef LOG_TAG
#undef LOG_TAG
#include <libsyscommon/ini-parser.h>
#include <system/syscommon-plugin-deviced-power-interface.h>
-#include "shared/log-macro.h"
#include "shared/device-notifier.h"
struct trans_info {
else if (MATCH(str, "current"))
return DEVICED_POWER_STATE_ALL;
- _W("Invalid power state=%s", str);
-
return DEVICED_POWER_STATE_UNDEFINED;
}
#define __LOG_H__
#ifdef ENABLE_LIBDEVICED_DLOG
+#ifndef ENABLE_DLOG
#define ENABLE_DLOG
#endif
+#endif
#if defined(ENABLE_TEST) && defined(ENABLE_DLOG)
#undef ENABLE_DLOG
#include "shared/common.h"
#ifdef ENABLE_TEST_DLOG
+#ifndef ENABLE_DLOG
#define ENABLE_DLOG
#endif
+#endif
#define LOG_TAG "ATR" /* AUTO_TESTE_RESULT */
#include "shared/log-macro.h"
#include "core/udev.h"
#ifdef ENABLE_TEST_DLOG
+#ifndef ENABLE_DLOG
#define ENABLE_DLOG
#endif
+#endif
#define LOG_TAG "AUTO_TEST"
#include "shared/log-macro.h"
#include <errno.h>
#include <fcntl.h>
#include <libsyscommon/libgdbus.h>
+#include <libsyscommon/log.h>
#include <shared/common.h>
#include "usb.h"
#include "power/power.h"