Support database search for HAL system-info 29/260329/5
authorYoungjae Cho <y0.cho@samsung.com>
Wed, 23 Jun 2021 08:39:15 +0000 (17:39 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Thu, 24 Jun 2021 05:37:35 +0000 (14:37 +0900)
commitbcb32a6548cf467f968ddf3426f5469782b1f363
tree975a7cae9fbc19ae99c7217f0d1d0b1dc0cc9430
parentf6d10dbc9fc3a9b0e465869dcd8a44d1396c03f4
Support database search for HAL system-info

In addition to platform system-info database(/etc/system_info_db),
system-info of HAL(/hal/system_info_db) can be searched for a requested
key.
 If a key exists only in one database, use it.
 If a key exists in both of the databases,
   - if value of key is type of bool, the two value are ANDed.
   - if value of key is type of other than bool, the value of HAL is
     used.

Change-Id: If36a4b7a4143107ec550bb1311dafb470f492167
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
CMakeLists.txt
packaging/capi-system-info.spec
src/system_info.c