Searched refs:mDelegationMap (Results 1 – 3 of 3) sorted by relevance
140 final ArrayMap<String, List<String>> mDelegationMap = new ArrayMap<>(); field in DevicePolicyData229 for (int i = 0; i < policyData.mDelegationMap.size(); ++i) { in store()230 final String delegatePackage = policyData.mDelegationMap.keyAt(i); in store()231 final List<String> scopes = policyData.mDelegationMap.valueAt(i); in store()498 List<String> scopes = policy.mDelegationMap.get(delegatePackage); in load()502 policy.mDelegationMap.put(delegatePackage, scopes); in load()
1118 for (int i = policy.mDelegationMap.size() - 1; i >= 0; i--) { in handlePackagesChanged()1119 final String delegatePackage = policy.mDelegationMap.keyAt(i); in handlePackagesChanged()1121 policy.mDelegationMap.removeAt(i); in handlePackagesChanged()6254 policy.mDelegationMap.put(delegatePackage, new ArrayList<>(scopes));6259 policy.mDelegationMap.remove(delegatePackage);6265 for (int i = policy.mDelegationMap.size() - 1; i >= 0; --i) {6266 final String currentPackage = policy.mDelegationMap.keyAt(i);6267 final List<String> currentScopes = policy.mDelegationMap.valueAt(i);6275 policy.mDelegationMap.removeAt(i);6335 final List<String> scopes = policy.mDelegationMap.get(delegatePackage);[all …]
1838 assertThat(policy.mDelegationMap.size()).isEqualTo(2); in testDelegation()1839 MoreAsserts.assertContentsInAnyOrder(policy.mDelegationMap.get(CERT_DELEGATE), in testDelegation()1844 MoreAsserts.assertContentsInAnyOrder(policy.mDelegationMap.get(RESTRICTIONS_DELEGATE), in testDelegation()