diff options
author | kholoud mohamed <kholoudm@google.com> | 2021-02-18 11:17:51 +0000 |
---|---|---|
committer | kholoud mohamed <kholoudm@google.com> | 2021-02-24 12:31:07 +0000 |
commit | 557355e457b14f9b4c3ec60030b71568c0053a9b (patch) | |
tree | e371a301a3ca2f99fe00692af875654a479cd5f2 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 5e7b12144433a0db18cfb6418032a46c3b2edfa6 (diff) |
Exposed some testAPIs in DPM
- Exposed the following as testAPIs:
* markProfileOwnerOnOrganizationOwnedDevice with
MANAGE_PROFILE_AND_DEVICE_OWNERS permission
* forceSecurityLogs with FORCE_DEVICE_POLICY_MANAGER_LOGS permission
* forceNetworkLogs with FORCE_DEVICE_POLICY_MANAGER_LOGS permission
* setDeviceOwner
* setActiveAdmin
* forceRemoveActiveAdmin with MANAGE_PROFILE_AND_DEVICE_OWNERS permission
* clearSystemUpdatePolicyFreezePeriodRecord with CLEAR_FREEZE_PERIOD
permission
- Changed getDeviceOwnerComponentOnAnyUser to accept
MANAGE_PROFILE_AND_DEVICE_OWNERS permission
Bug: 180500227
Test: verified that cts tests can call the APIs
Change-Id: I824980d1f408f1e0bf536c9526f1666dead31d82
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions