/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | UnarchiveActivity.java | 78 boolean hasRequestInstallPermission = Arrays.asList(getRequestedPermissions(callingPackage)) in onCreate() 127 private String[] getRequestedPermissions(String callingPackage) { in getRequestedPermissions() method in UnarchiveActivity
|
/frameworks/base/core/java/android/content/pm/ |
D | InstantAppInfo.java | 114 public @Nullable String[] getRequestedPermissions() { in getRequestedPermissions() method in InstantAppInfo
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerServiceImpl.java | 830 if (pkg.getRequestedPermissions().contains(permName)) { in updatePermissionFlagsInternal() 841 && sharedUserPkg.getRequestedPermissions().contains(permName)) { in updatePermissionFlagsInternal() 1156 for (final String permissionName : pkg.getRequestedPermissions()) { in getAllowlistedRestrictedPermissionsInternal() 1424 || pkg.getRequestedPermissions().contains(permName))) { in grantRuntimePermissionInternal() 1611 || pkg.getRequestedPermissions().contains(permName))) { in revokeRuntimePermissionInternal() 1785 for (final String permName : pkg.getRequestedPermissions()) { in resetRuntimePermissionsInternal() 1812 && sharedPkg.getRequestedPermissions().contains(permName)) { in resetRuntimePermissionsInternal() 2086 for (final String permName : newPackage.getRequestedPermissions()) { in revokeStoragePermissionsIfScopeExpandedInternal() 2136 || !newPackage.getRequestedPermissions() 2428 for (final String permissionName : pkg.getRequestedPermissions()) { [all …]
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | PackageParserTest.java | 262 assertSame(deserialized.getRequestedPermissions().iterator().next(), in test_stringInterning() 263 deserialized2.getRequestedPermissions().iterator().next()); in test_stringInterning() 746 .that(pkg.getRequestedPermissions()).containsNoneIn(compatPermissions); in testParseModernPackageHasNoCompatPermissions() 771 .allMatch(pkg.getRequestedPermissions()::contains)) in testParseLegacyPackageHasCompatPermissions() 988 assertEquals(a.getRequestedPermissions(), b.getRequestedPermissions()); in assertPackagesEqual()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | InstantAppRegistry.java | 974 String[] requestedPermissions = new String[pkg.getRequestedPermissions().size()]; 975 pkg.getRequestedPermissions().toArray(requestedPermissions); 1032 if (propagatePermission && pkg.getRequestedPermissions().contains( 1265 for (String permission : instantApp.getRequestedPermissions()) {
|
D | AppsFilterUtils.java | 54 return pkg.getRequestedPermissions().contains( in requestsQueryAllPackages()
|
D | ScanPackageUtils.java | 433 parsedPackage.setFactoryTest(isUnderFactoryTest && parsedPackage.getRequestedPermissions() in scanPackageOnlyLI()
|
D | InstallPackageHelper.java | 753 new ArrayList<>(pkgSetting.getPkg().getRequestedPermissions())); in installExistingPackageAsUser() 2466 for (var permissionName : pkg.getRequestedPermissions()) { in updateSettingsInternalLI() 2483 ? new ArrayList<>(pkg.getRequestedPermissions()) in updateSettingsInternalLI()
|
D | PackageArchiver.java | 790 boolean hasRequestInstallPackages = callerPs.getAndroidPackage().getRequestedPermissions() in requestUnarchive()
|
D | Settings.java | 5336 && pkg.getRequestedPermissions() != null 5337 && pkg.getRequestedPermissions().size() > 0) { 5338 final Set<String> perms = pkg.getRequestedPermissions();
|
D | LauncherAppsService.java | 776 return !ArrayUtils.isEmpty(pkg.getRequestedPermissions()); in requestsPermissions()
|
D | ComputerEngine.java | 1518 || ArrayUtils.isEmpty(p.getRequestedPermissions())) ? Collections.emptySet() in generatePackageInfo() 3928 if (!pkg.getRequestedPermissions().contains( in canRequestPackageInstalls()
|
/frameworks/base/core/java/com/android/server/pm/pkg/ |
D | AndroidPackage.java | 1133 Set<String> getRequestedPermissions(); in getRequestedPermissions() method
|
/frameworks/base/services/core/java/com/android/server/policy/role/ |
D | RoleServicePlatformHelperImpl.java | 320 final Set<String> requestedPermissions = pkg.getRequestedPermissions(); in computePackageStateHash()
|
/frameworks/base/core/java/com/android/internal/pm/pkg/parsing/ |
D | ParsingPackage.java | 473 Set<String> getRequestedPermissions(); in getRequestedPermissions() method
|
D | ParsingPackageUtils.java | 3092 if (!pkg.getRequestedPermissions().contains(info.getName())) { 3102 Set<String> requestedPermissions = pkg.getRequestedPermissions();
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | PackageArchiverTest.java | 169 when(androidPackage.getRequestedPermissions()).thenReturn(Set.of()); in setUp()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PermissionPolicyService.java | 1424 if (!pkg.getRequestedPermissions().contains(POST_NOTIFICATIONS) in shouldForceShowNotificationPermissionRequest()
|
/frameworks/base/core/java/com/android/internal/pm/parsing/pkg/ |
D | PackageImpl.java | 1249 public Set<String> getRequestedPermissions() { in getRequestedPermissions() method in PackageImpl
|
/frameworks/base/core/api/ |
D | system-current.txt | 4049 method @Nullable public String[] getRequestedPermissions();
|