Searched refs:permissionsState (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerService.java | 308 final PermissionsState permissionsState = ps.getPermissionsState(); in checkPermission() local 309 if (permissionsState.hasPermission(permName, userId)) { in checkPermission() 321 if (isImpliedPermissionGranted(permissionsState, permName, userId)) { in checkPermission() 349 final PermissionsState permissionsState = in checkUidPermission() local 351 if (permissionsState.hasPermission(permName, userId)) { in checkUidPermission() 360 if (isImpliedPermissionGranted(permissionsState, permName, userId)) { in checkUidPermission() 488 private static boolean isImpliedPermissionGranted(PermissionsState permissionsState, in isImpliedPermissionGranted() argument 491 && permissionsState.hasPermission(FULLER_PERMISSION_MAP.get(permName), userId); in isImpliedPermissionGranted() 893 final PermissionsState permissionsState = ps.getPermissionsState(); in restorePermissionState() local 894 PermissionsState origPermissions = permissionsState; in restorePermissionState() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Settings.java | 970 PermissionsState permissionsState = sus.getPermissionsState(); in updateSharedUserPermsLPw() local 990 permissionsState.updatePermissionFlags(bp, userId, in updateSharedUserPermsLPw() 993 if (permissionsState.revokeInstallPermission(bp) == in updateSharedUserPermsLPw() 999 if (permissionsState.revokeRuntimePermission(bp, userId) == in updateSharedUserPermsLPw() 2133 PermissionsState permissionsState) throws IOException, XmlPullParserException { in readInstallPermissionsLPr() argument 2163 if (permissionsState.grantInstallPermission(bp) == in readInstallPermissionsLPr() 2168 permissionsState.updatePermissionFlags(bp, UserHandle.USER_ALL, in readInstallPermissionsLPr() 2172 if (permissionsState.revokeInstallPermission(bp) == in readInstallPermissionsLPr() 2177 permissionsState.updatePermissionFlags(bp, UserHandle.USER_ALL, in readInstallPermissionsLPr() 4738 PermissionsState permissionsState = ps.getPermissionsState(); in dumpPackageLPr() local [all …]
|
D | PackageManagerService.java | 3837 final PermissionsState permissionsState = ps.getPermissionsState(); 3838 if (permissionsState.hasPermission(Manifest.permission.INSTALL_PACKAGES, 0) 4011 final PermissionsState permissionsState = ps.getPermissionsState(); 4015 ? EMPTY_INT_ARRAY : permissionsState.computeGids(userId); 4018 ? Collections.emptySet() : permissionsState.getPermissions(userId); 8502 final PermissionsState permissionsState = ps.getPermissionsState(); 8505 if (permissionsState.hasPermission(permission, userId)) {
|