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 fa84feb48a1c907973a9bc0dd775f9dd5909552c..4ba07667b9047afe5bc8f76c18b51c6977460b13 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 5c00b899250a1646badfb0c5a4f4d58442f7527b..aa36b5fa1a84624029972f0e0fc5b0984ee17c25 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*/
 };