pmqos: Make PMQoS feature work using EDbus
authorWook Song <wook16.song@samsung.com>
Thu, 22 Dec 2016 04:41:00 +0000 (13:41 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 16 Jan 2017 11:35:37 +0000 (20:35 +0900)
This patch makes the PMQoS feature work on PASS. In order to receive
DBus method call messages related to the PMQoS scenarios, the PMQoS
feature currently relies on EDbus (EFL D-BUS wrapper).

Signed-off-by: Wook Song <wook16.song@samsung.com>
packaging/pass.spec
src/core/edbus-handler.c

index fa84feb..4ba0766 100644 (file)
@@ -108,6 +108,7 @@ PASS systemd daemon.
        -DPROFILE=%{profile} \
        -DSTANDARD_MIX=%{standard_mix} \
        -DPASS_MODULE=%{pass_module} \
+       -DPMQOS_MODULE=%{pmqos_module} \
        #eol
 
 %build
index 5c00b89..aa36b5f 100644 (file)
@@ -55,6 +55,7 @@ static struct edbus_object {
        { DEVICED_PATH_KEY    , DEVICED_INTERFACE_KEY    , NULL, NULL },
        { DEVICED_PATH_SYSNOTI, DEVICED_INTERFACE_SYSNOTI, NULL, NULL },
        { DEVICED_PATH_USB    , DEVICED_INTERFACE_USB    , NULL, NULL },
+       { DEVICED_PATH_PMQOS  , DEVICED_INTERFACE_PMQOS    , NULL, NULL },
        /* Add new object & interface here*/
 };