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.java712 final ArrayMap<String, List<String>> mDelegationMap = new ArrayMap<>(); field in DevicePolicyManagerService.DevicePolicyData
1821 for (int i = policy.mDelegationMap.size() - 1; i >= 0; i--) { in handlePackagesChanged()
1822 final String delegatePackage = policy.mDelegationMap.keyAt(i); in handlePackagesChanged()
1824 policy.mDelegationMap.removeAt(i); in handlePackagesChanged()
3074 for (int i = 0; i < policy.mDelegationMap.size(); ++i) {
3075 final String delegatePackage = policy.mDelegationMap.keyAt(i);
3076 final List<String> scopes = policy.mDelegationMap.valueAt(i);
3293 List<String> scopes = policy.mDelegationMap.get(certDelegate);
3296 policy.mDelegationMap.put(certDelegate, scopes);
3306 List<String> scopes = policy.mDelegationMap.get(appRestrictionsDelegate);
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java1499 assertEquals(2, policy.mDelegationMap.size()); in testDelegation()
1500 MoreAsserts.assertContentsInAnyOrder(policy.mDelegationMap.get(CERT_DELEGATE), in testDelegation()
1505 MoreAsserts.assertContentsInAnyOrder(policy.mDelegationMap.get(RESTRICTIONS_DELEGATE), in testDelegation()