Change format of EventAction properties 17/276217/9
authorYoungjae Cho <y0.cho@samsung.com>
Mon, 13 Jun 2022 05:09:27 +0000 (14:09 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Wed, 15 Jun 2022 05:22:09 +0000 (14:22 +0900)
commitfa73bf6c049d7808c4eb0209b079acdbb0c86eca
tree2e6bb61ebe0adcabc4e93ab4994edbb85ffc5fcb
parent6acfb5be496be47651c378d8dcc3c1eba4810245
Change format of EventAction properties

There were two types of Action= property, one is broadcasting and the
other is changing state. Separate them to have different property name,
Broadcast= and ChangeState=.
 - Action=broadcast -> ActionBroadcast=yes
 - Action=curr,next -> ActionChangeState=curr,next

In addition to this, changed Duration= to clarify its meaning.
 - Duration -> DetectionRangeMsec

This is intermediate patch. Therefore in this version, the property
'ActionBroadcast=yes' won't work properly.

Change-Id: I00440c9bc30557812618b95f1a25663e9466158a
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
conf/battery.conf
conf/init.conf
conf/input-profile-iot-headless.conf
plugins/iot-headless/battery/battery-plugin.c
plugins/iot-headless/input/input-config.c
plugins/iot-headless/input/input-config.h
plugins/iot-headless/input/input-handler.c
src/power/power-boot.c
src/shared/device-notifier.c
src/shared/device-notifier.h