Searched refs:permissionGroups (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | DefaultPermissionGrantPolicy.java | 341 Set<String>... permissionGroups) { in grantIgnoringSystemPackage() argument 343 true /*whitelistRestrictedPermissions*/, permissionGroups); in grantIgnoringSystemPackage() 348 Set<String>... permissionGroups) { in grantSystemFixedPermissionsToSystemPackage() argument 350 packageName, userId, true /* systemFixed */, permissionGroups); in grantSystemFixedPermissionsToSystemPackage() 355 String packageName, int userId, Set<String>... permissionGroups) { in grantPermissionsToSystemPackage() argument 357 packageName, userId, false /* systemFixed */, permissionGroups); in grantPermissionsToSystemPackage() 362 boolean systemFixed, Set<String>... permissionGroups) { in grantPermissionsToSystemPackage() argument 368 true /*whitelistRestrictedPermissions*/, permissionGroups); in grantPermissionsToSystemPackage() local 374 Set<String>... permissionGroups) { in grantPermissionsToPackage() argument 377 whitelistRestrictedPermissions, permissionGroups); in grantPermissionsToPackage() local [all …]
|
D | PermissionManagerService.java | 707 final int N = pkg.permissionGroups.size(); in addAllPermissionGroups() 710 final PackageParser.PermissionGroup pg = pkg.permissionGroups.get(i); in addAllPermissionGroups()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageParserTest.java | 230 assertEquals(a.permissionGroups.size(), b.permissionGroups.size()); in assertPackagesEqual() 231 for (int i = 0; i < a.permissionGroups.size(); ++i) { in assertPackagesEqual() 232 assertPermissionGroupsEqual(a.permissionGroups.get(i), b.permissionGroups.get(i)); in assertPackagesEqual() 459 pkg.permissionGroups.add(new PackageParser.PermissionGroup(pkg, ID_NULL, ID_NULL, ID_NULL)); in setKnownFields()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 3182 owner.permissionGroups.add(perm); in parsePermissionGroup() 6459 … public final ArrayList<PermissionGroup> permissionGroups = new ArrayList<PermissionGroup>(0); field in Package 6824 for (int i=permissionGroups.size()-1; i>=0; i--) { in setPackageName() 6825 permissionGroups.get(i).setPackageName(newName); in setPackageName() 6995 dest.readParcelableList(permissionGroups, boot); in Package() 6996 fixupOwner(permissionGroups); in Package() 7169 dest.writeParcelableList(permissionGroups, flags); in writeToParcel()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 11617 if (pkg.permissionGroups != null && pkg.permissionGroups.size() > 0) { 11618 for (int i = pkg.permissionGroups.size() - 1; i >= 0; --i) { 11619 pkg.permissionGroups.get(i).info.priority = 0; 11834 if (!pkg.permissionGroups.isEmpty()) {
|