Home
last modified time | relevance | path

Searched refs:mDelegationMap (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java645 final ArrayMap<String, List<String>> mDelegationMap = new ArrayMap<>(); field in DevicePolicyManagerService.DevicePolicyData
1741 for (int i = policy.mDelegationMap.size() - 1; i >= 0; i--) { in handlePackagesChanged()
1742 final String delegatePackage = policy.mDelegationMap.keyAt(i); in handlePackagesChanged()
1744 policy.mDelegationMap.removeAt(i); in handlePackagesChanged()
2891 for (int i = 0; i < policy.mDelegationMap.size(); ++i) { in saveSettingsLocked()
2892 final String delegatePackage = policy.mDelegationMap.keyAt(i); in saveSettingsLocked()
2893 final List<String> scopes = policy.mDelegationMap.valueAt(i); in saveSettingsLocked()
3110 List<String> scopes = policy.mDelegationMap.get(certDelegate); in loadSettingsLocked()
3113 policy.mDelegationMap.put(certDelegate, scopes); in loadSettingsLocked()
3123 List<String> scopes = policy.mDelegationMap.get(appRestrictionsDelegate); in loadSettingsLocked()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java1457 assertEquals(2, policy.mDelegationMap.size()); in testDelegation()
1458 MoreAsserts.assertContentsInAnyOrder(policy.mDelegationMap.get(CERT_DELEGATE), in testDelegation()
1463 MoreAsserts.assertContentsInAnyOrder(policy.mDelegationMap.get(RESTRICTIONS_DELEGATE), in testDelegation()