Add a util class for getting system properties.
System properties affect artd's behavior on app compilation. This class
makes system properties mockable so that artd can be unit-tested. It
also provides fallback lookup support, which is useful for artd.
This class is added to libarttools because it can potentially be shared
with other code, such as odrefresh.
Bug: 229268202
Test: m test-art-host-gtest-art_libarttools_tests
Ignore-AOSP-First: ART Services
Change-Id: Ibb9322db8124ca6d8a54a3ee65ad9a4ffc730845
5 files changed