Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DGrantedPermissions.java25 ArraySet<String> grantedPermissions = new ArraySet<String>(); field in GrantedPermissions
36 grantedPermissions = new ArraySet<>(base.grantedPermissions); in GrantedPermissions()
DPackageSettingBase.java204 grantedPermissions = base.grantedPermissions; in copyFrom()
DSettings.java593 p.grantedPermissions = new ArraySet<String>(dis.grantedPermissions); in getPackageLPw()
750 if (!sus.grantedPermissions.contains(eachPerm)) { in updateSharedUserPermsLPw()
763 sus.grantedPermissions.remove(eachPerm); in updateSharedUserPermsLPw()
768 for (String eachPerm : sus.grantedPermissions) { in updateSharedUserPermsLPw()
1599 for (String name : usr.grantedPermissions) { in writeLPr()
1779 for (final String name : pkg.grantedPermissions) { in writeDisabledSysPackageLPr()
1848 for (final String name : pkg.grantedPermissions) { in writePackageLPr()
2654 readGrantedPermissionsLPw(parser, ps.grantedPermissions); in readDisabledSysPackageLPw()
2882 readGrantedPermissionsLPw(parser, packageSetting.grantedPermissions); in readPackageLPw()
3014 readGrantedPermissionsLPw(parser, su.grantedPermissions); in readSharedUserLPw()
[all …]
DPackageManagerService.java1843 if (!gp.grantedPermissions in getRequiredVerifierLPr()
1919 ps.firstInstallTime, ps.lastUpdateTime, gp.grantedPermissions, in generatePackageInfo()
2378 if (ps.sharedUser.grantedPermissions.contains(permName)) { in checkPermission()
2381 } else if (ps.grantedPermissions.contains(permName)) { in checkPermission()
2395 if (gp.grantedPermissions.contains(permName)) { in checkUidPermission()
2660 if (gp.grantedPermissions.add(permissionName)) { in grantPermission()
2694 if (gp.grantedPermissions.remove(permissionName)) { in revokePermission()
2695 gp.grantedPermissions.remove(permissionName); in revokePermission()
3832 if (gp.grantedPermissions.contains(permissions[i])) { in addPackageHoldingPermissions()
7041 ArraySet<String> origPermissions = gp.grantedPermissions; in grantPermissionsLPw()
[all …]
/frameworks/base/core/java/android/content/pm/
DPackageParser.java391 ArraySet<String> grantedPermissions, PackageUserState state) { in generatePackageInfo() argument
394 grantedPermissions, state, UserHandle.getCallingUserId()); in generatePackageInfo()
412 ArraySet<String> grantedPermissions, PackageUserState state, int userId) { in generatePackageInfo() argument
574 if (grantedPermissions != null && grantedPermissions.contains(perm)) { in generatePackageInfo()