Home
last modified time | relevance | path

Searched refs:delegatePackage (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyData.java230 final String delegatePackage = policyData.mDelegationMap.keyAt(i); in store() local
236 out.attribute(null, "delegatePackage", delegatePackage); in store()
493 final String delegatePackage = parser.getAttributeValue(null, in load() local
498 List<String> scopes = policy.mDelegationMap.get(delegatePackage); in load()
502 policy.mDelegationMap.put(delegatePackage, scopes); in load()
DDevicePolicyManagerService.java1119 final String delegatePackage = policy.mDelegationMap.keyAt(i); in handlePackagesChanged() local
1120 if (isRemovedPackage(packageName, delegatePackage, userHandle)) { in handlePackagesChanged()
6186 private static boolean shouldCheckIfDelegatePackageIsInstalled(String delegatePackage,
6212 public void setDelegatedScopes(ComponentName who, String delegatePackage,
6215 Preconditions.checkStringNotEmpty(delegatePackage, "Delegate package is null or empty");
6241 if (shouldCheckIfDelegatePackageIsInstalled(delegatePackage,
6244 if (!isPackageInstalledForUser(delegatePackage, userId)) {
6245 throw new IllegalArgumentException("Package " + delegatePackage
6254 policy.mDelegationMap.put(delegatePackage, new ArrayList<>(scopes));
6259 policy.mDelegationMap.remove(delegatePackage);
[all …]
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl206 … void setDelegatedScopes(in ComponentName who, in String delegatePackage, in List<String> scopes); in setDelegatedScopes() argument
207 List<String> getDelegatedScopes(in ComponentName who, String delegatePackage); in getDelegatedScopes() argument
DDevicePolicyManager.java6784 public void setDelegatedScopes(@NonNull ComponentName admin, @NonNull String delegatePackage, in setDelegatedScopes() argument
6789 mService.setDelegatedScopes(admin, delegatePackage, scopes); in setDelegatedScopes()