Home
last modified time | relevance | path

Searched refs:getPermissions (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DPermissionService.kt242 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 …]
DAppIdPermissionPolicy.kt1676 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/
DPermissionMigrationHelperImpl.java47 return !(legacySettings.getPermissions().isEmpty() in hasLegacyPermission()
59 mPackageManagerInternal.getLegacyPermissions().getPermissions()); in getLegacyPermissions()
DPermissionManagerServiceImpl.java462 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 …]
DPermissionRegistry.java57 public Collection<Permission> getPermissions() { in getPermissions() method in PermissionRegistry
DLegacyPermissionSettings.java65 public List<LegacyPermission> getPermissions() { in getPermissions() method in LegacyPermissionSettings
/frameworks/base/core/tests/bugreports/src/com/android/os/bugreports/tests/
DBugreportManagerTest.java142 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/
DPackageParserTest.java842 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/
DPackageParserLegacyCoreTest.java500 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/
DAppsFilterImpl.java640 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()
DScanPackageUtils.java682 if (!pkg.getPermissions().isEmpty()) { in assertStaticSharedLibraryIsValid()
DInstallPackageHelper.java1506 final int n = ArrayUtils.size(parsedPackage.getPermissions()); in preparePackageLI()
1508 final ParsedPermission perm = parsedPackage.getPermissions().get(i); in preparePackageLI()
DSettings.java5310 if (pkg != null && !pkg.getPermissions().isEmpty()) {
5311 final List<ParsedPermission> perms = pkg.getPermissions();
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEntry.java309 public String[] getPermissions() { in getPermissions() method in RecipientEntry
DRecipientEditTextView.java2254 .onPermissionsRequestItemClicked(this, entry.getPermissions()); in onItemClick()
/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DAppIdPermissionPolicyTest.kt346 permissions = getPermissions() in testGetPermissions()
/frameworks/base/core/java/com/android/server/pm/pkg/
DAndroidPackage.java997 List<ParsedPermission> getPermissions(); in getPermissions() method
/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DParsedPermissionUtils.java309 final List<ParsedPermission> permissions = pkg.getPermissions(); in declareDuplicatePermission()
/frameworks/base/core/java/com/android/internal/pm/parsing/
DPackageInfoCommonUtils.java140 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/
DParsingPackage.java461 List<ParsedPermission> getPermissions(); in getPermissions() method
/frameworks/base/services/permission/java/com/android/server/permission/access/appop/
DAppOpService.kt119 val permissions = service.getState { with(permissionPolicy) { getPermissions() } } in <lambda>()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/
DAndroidPackageTest.kt463 AndroidPackage::getPermissions, in <lambda>()
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageInfoUtils.java181 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/
DSystemConfig.java422 public ArrayMap<String, PermissionEntry> getPermissions() { in getPermissions() method in SystemConfig
/frameworks/base/core/java/com/android/internal/pm/parsing/pkg/
DPackageImpl.java1172 public List<ParsedPermission> getPermissions() { in getPermissions() method in PackageImpl

12