Input monitor 21/21421/6
authorPawel Broda <p.broda@partner.samsung.com>
Tue, 20 May 2014 08:36:57 +0000 (10:36 +0200)
committerJan Olszak <j.olszak@samsung.com>
Mon, 2 Jun 2014 14:06:21 +0000 (16:06 +0200)
commitdce78fc5d1556b73c49cee3773f007eebd307653
tree0b0d8ae1751ed1bf0e599d412e052c9577c22cb1
parent14b42dbf56d51db4540560a661fa707c93bb4a78
Input monitor

[Feature]       Monitoring of events on input device files.
[Cause]         There is no possibility to use *home button* in
                native apps (there is no API for that).
[Solution]      *Input monitor* class is added. It allows to
                watch events on given device (not only *home button*).
                When a pattern given in .conf file is recognized,
                appropriate action is taken (i.e. callback).
[Verification]  Compiled, built and run.

Conflicts:
        common/utils/fs.cpp
        common/utils/fs.hpp
        server/containers-manager.hpp

Change-Id: I7bddd917e6da8d70c26c4188a640638669430619
Signed-off-by: Pawel Broda <p.broda@partner.samsung.com>
Signed-off-by: Jan Olszak <j.olszak@samsung.com>
17 files changed:
common/config/configuration.hpp
common/utils/fs.cpp
common/utils/fs.hpp
server/configs/daemon.conf
server/containers-manager-config.hpp
server/containers-manager.cpp
server/containers-manager.hpp
server/exception.hpp
server/input-monitor-config.hpp [new file with mode: 0644]
server/input-monitor.cpp [new file with mode: 0644]
server/input-monitor.hpp [new file with mode: 0644]
tests/unit_tests/server/configs/ut-containers-manager/buggy-daemon.conf
tests/unit_tests/server/configs/ut-containers-manager/buggy-foreground-daemon.conf
tests/unit_tests/server/configs/ut-containers-manager/test-daemon.conf
tests/unit_tests/server/configs/ut-server/buggy-daemon.conf
tests/unit_tests/server/configs/ut-server/test-daemon.conf
unit_tests/server/ut-input-monitor.cpp [new file with mode: 0644]