/frameworks/base/services/permission/java/com/android/server/permission/access/permission/ |
D | PermissionService.kt | 242 service.getState { with(policy) { getPermissions()[permissionName] } } in <lambda>() 308 with(policy) { getPermissions() } in <lambda>() 337 val permissions = service.getState { with(policy) { getPermissions() } } in <lambda>() 350 service.getState { with(policy) { getPermissions()[permissionName] } } in <lambda>() 358 val permissions = service.getState { with(policy) { getPermissions() } } in <lambda>() 385 oldPermission = with(policy) { getPermissions()[permissionName] } in <lambda>() 413 val permission = with(policy) { getPermissions()[permissionName] } ?: return@mutateState in <lambda>() 458 getPermissions().forEachIndexed { _, _, permission -> in <lambda>() 598 val permission = with(policy) { getPermissions()[permissionName] } ?: return false in <lambda>() 659 with(policy) { getPermissions()[permissionName] } ?: return@forEachIndexed in <lambda>() [all …]
|
D | AppIdPermissionPolicy.kt | 1676 fun GetStateScope.getPermissions(): IndexedMap<String, Permission> = in <lambda>() method in com.android.server.permission.access.permission.AppIdPermissionPolicy
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionMigrationHelperImpl.java | 47 return !(legacySettings.getPermissions().isEmpty() in hasLegacyPermission() 59 mPackageManagerInternal.getLegacyPermissions().getPermissions()); in getLegacyPermissions()
|
D | PermissionManagerServiceImpl.java | 462 SystemConfig.getInstance().getPermissions(); in PermissionManagerServiceImpl() 625 for (Permission bp : mRegistry.getPermissions()) { in queryPermissionsByGroup() 2173 final int numOldPackagePermissions = ArrayUtils.size(oldPackage.getPermissions()); 2178 final ParsedPermission permission = oldPackage.getPermissions().get(i); 2187 final int numNewPackagePermissions = ArrayUtils.size(newPackage.getPermissions()); 2191 newPackage.getPermissions().get(newPermissionNum); 2304 final int N = ArrayUtils.size(pkg.getPermissions()); 2307 ParsedPermission p = pkg.getPermissions().get(i); 2399 int n = ArrayUtils.size(pkg.getPermissions()); 2402 ParsedPermission p = pkg.getPermissions().get(i); [all …]
|
D | PermissionRegistry.java | 57 public Collection<Permission> getPermissions() { in getPermissions() method in PermissionRegistry
|
D | LegacyPermissionSettings.java | 65 public List<LegacyPermission> getPermissions() { in getPermissions() method in LegacyPermissionSettings
|
/frameworks/base/core/tests/bugreports/src/com/android/os/bugreports/tests/ |
D | BugreportManagerTest.java | 142 getPermissions(); in setup() 341 getPermissions(); in cancelBugreport() 689 private static void getPermissions() { in getPermissions() method in BugreportManagerTest
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | PackageParserTest.java | 842 pkg.getPermissions().stream().map(ParsedComponent::getName).toList(); in testParseWithFeatureFlagAttributes() 942 assertEquals(ArrayUtils.size(a.getPermissions()), ArrayUtils.size(b.getPermissions())); in assertPackagesEqual() 943 for (int i = 0; i < ArrayUtils.size(a.getPermissions()); ++i) { in assertPackagesEqual() 944 assertPermissionsEqual(a.getPermissions().get(i), b.getPermissions().get(i)); in assertPackagesEqual()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/ |
D | PackageParserLegacyCoreTest.java | 500 assertEquals(1, p.getPermissions().size()); in checkPackageWithComponents() 503 PermissionInfo.PROTECTION_NORMAL, p.getPermissions().get(0)); in checkPackageWithComponents()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | AppsFilterImpl.java | 640 if (!newPkg.getPermissions().isEmpty()) { in addPackageInternal() 643 for (ParsedPermission permission : newPkg.getPermissions()) { in addPackageInternal() 1147 if (setting.getPkg() != null && !setting.getPkg().getPermissions().isEmpty()) { in removePackageInternal() 1148 for (ParsedPermission permission : setting.getPkg().getPermissions()) { in removePackageInternal()
|
D | ScanPackageUtils.java | 682 if (!pkg.getPermissions().isEmpty()) { in assertStaticSharedLibraryIsValid()
|
D | InstallPackageHelper.java | 1506 final int n = ArrayUtils.size(parsedPackage.getPermissions()); in preparePackageLI() 1508 final ParsedPermission perm = parsedPackage.getPermissions().get(i); in preparePackageLI()
|
D | Settings.java | 5310 if (pkg != null && !pkg.getPermissions().isEmpty()) { 5311 final List<ParsedPermission> perms = pkg.getPermissions();
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEntry.java | 309 public String[] getPermissions() { in getPermissions() method in RecipientEntry
|
D | RecipientEditTextView.java | 2254 .onPermissionsRequestItemClicked(this, entry.getPermissions()); in onItemClick()
|
/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/ |
D | AppIdPermissionPolicyTest.kt | 346 permissions = getPermissions() in testGetPermissions()
|
/frameworks/base/core/java/com/android/server/pm/pkg/ |
D | AndroidPackage.java | 997 List<ParsedPermission> getPermissions(); in getPermissions() method
|
/frameworks/base/core/java/com/android/internal/pm/pkg/component/ |
D | ParsedPermissionUtils.java | 309 final List<ParsedPermission> permissions = pkg.getPermissions(); in declareDuplicatePermission()
|
/frameworks/base/core/java/com/android/internal/pm/parsing/ |
D | PackageInfoCommonUtils.java | 140 int size = ArrayUtils.size(pkg.getPermissions()); in generate() 144 final var permission = pkg.getPermissions().get(i); in generate()
|
/frameworks/base/core/java/com/android/internal/pm/pkg/parsing/ |
D | ParsingPackage.java | 461 List<ParsedPermission> getPermissions(); in getPermissions() method
|
/frameworks/base/services/permission/java/com/android/server/permission/access/appop/ |
D | AppOpService.kt | 119 val permissions = service.getState { with(permissionPolicy) { getPermissions() } } in <lambda>()
|
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/ |
D | AndroidPackageTest.kt | 463 AndroidPackage::getPermissions, in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/ |
D | PackageInfoUtils.java | 181 int size = ArrayUtils.size(pkg.getPermissions()); in generateWithComponents() 185 final var permission = pkg.getPermissions().get(i); in generateWithComponents()
|
/frameworks/base/services/core/java/com/android/server/ |
D | SystemConfig.java | 422 public ArrayMap<String, PermissionEntry> getPermissions() { in getPermissions() method in SystemConfig
|
/frameworks/base/core/java/com/android/internal/pm/parsing/pkg/ |
D | PackageImpl.java | 1172 public List<ParsedPermission> getPermissions() { in getPermissions() method in PackageImpl
|