Change the timestamp value to use the monotonic timer accepted/tizen/unified/20191115.125601 submit/tizen/20191115.102151
authorsaerome.kim <saerome.kim@samsung.com>
Thu, 14 Nov 2019 09:59:11 +0000 (18:59 +0900)
committersaerome.kim <saerome.kim@samsung.com>
Fri, 15 Nov 2019 09:24:22 +0000 (18:24 +0900)
commit2226d715806cf29c6bce0cad349aa088398a632b
tree91e38684b135e05efbb58c322df2e0b8a518a778
parentef7284452b2059ee0341e2340a7e001607861124
Change the timestamp value to use the monotonic timer

- Problem: real-time timestamp causes various problems.
- Cause: If the time zone is changed or the system time is initialized,
  the wrong timestamp may be generated.
- Solution:
  1. Change to use the monotonic timer when creating a timestamp.
  2. Add new plugin API that enables the BLE plugin can save real-time
  timestamp.

Change-Id: I2508ecdb15977f6278fb2eeec89dc5caba77537f
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
12 files changed:
packaging/ua-manager.spec
ua-daemon/include/ua-manager-core.h
ua-daemon/include/ua-manager-database.h
ua-daemon/src/pm/ua-ble-plugin-handler.c
ua-daemon/src/pm/ua-light-plugin-handler.c
ua-daemon/src/pm/ua-motion-plugin-handler.c
ua-daemon/src/pm/ua-pm-util.c
ua-daemon/src/pm/ua-wifi-plugin-handler.c
ua-daemon/src/ua-manager-common.c
ua-daemon/src/ua-manager-core.c
ua-daemon/src/ua-manager-device-db.c
ua-plugins/include/ua-plugin.h