Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java1465 @NonNull ArraySet<String> sourcePerms, @NonNull String newPerm, in inheritPermissionStateToNewImplicitPermissionLocked()
1472 int numSourcePerm = sourcePerms.size(); in inheritPermissionStateToNewImplicitPermissionLocked()
1474 String sourcePerm = sourcePerms.valueAt(i); in inheritPermissionStateToNewImplicitPermissionLocked()
1492 Slog.i(TAG, newPerm + " inherits runtime perm grant from " + sourcePerms in inheritPermissionStateToNewImplicitPermissionLocked()
1567 ArraySet<String> sourcePerms = newToSplitPerms.get(newPerm); in setInitialGrantForNewImplicitPermissionsLocked() local
1569 if (sourcePerms != null) { in setInitialGrantForNewImplicitPermissionsLocked()
1586 for (int sourcePermNum = 0; sourcePermNum < sourcePerms.size(); in setInitialGrantForNewImplicitPermissionsLocked()
1588 if (ps.hasInstallPermission(sourcePerms.valueAt(sourcePermNum))) { in setInitialGrantForNewImplicitPermissionsLocked()
1594 if (!origPs.hasRequestedPermission(sourcePerms) in setInitialGrantForNewImplicitPermissionsLocked()
1598 Slog.i(TAG, newPerm + " does not inherit from " + sourcePerms in setInitialGrantForNewImplicitPermissionsLocked()
[all …]