56d8ab3749fb8c91eea43797832e168b70af7412 |
|
23-Sep-2017 |
Aaron Wood <aaronwood@google.com> |
Policy for AndroidThings Adds a separate Policy implementation for AndroidThings, which is not dependent on the ChromeOSPolicy implementation. It uses some new policy implementation fragments (policy features) which were in ChromeOSPolicy. ChromeOSPolicy will be separately refactored to use the policy implementation fragments. The AndroidThingsPolicy and ChromeOSPolicy classes (and dependencies) are compiled in as needed, based on the platform. Both classes and dependencies are compiled into the unit test binary to ensure the proper behavior of both. Some unit tests are slightly duplicated across the Policy and policy implementation fragments to confirm that the policy fragments are consulted in the proper order/precedence. Bug: 66016687 Test: Unit tests, manual OTA Change-Id: I220e5720e0077309931eda70155523b3c0507567 (cherry picked from commit cd0d7bda708a44c2d839d0497e1791b42ed06e3d)
/system/update_engine/update_manager/policy_test_utils.cc
|