/frameworks/base/core/java/android/content/pm/ |
D | InstantAppInfo.java | 44 String[] requestedPermissions, String[] grantedPermissions) { in InstantAppInfo() argument 48 mRequestedPermissions = requestedPermissions; in InstantAppInfo() 53 String[] requestedPermissions, String[] grantedPermissions) { in InstantAppInfo() argument 57 mRequestedPermissions = requestedPermissions; in InstantAppInfo()
|
D | PackageInfo.java | 162 public String[] requestedPermissions; field in PackageInfo 320 dest.writeStringArray(requestedPermissions); in writeToParcel() 371 requestedPermissions = source.createStringArray(); in PackageInfo()
|
D | PackageParser.java | 748 N = p.requestedPermissions.size(); in generatePackageInfo() 750 pi.requestedPermissions = new String[N]; in generatePackageInfo() 753 final String perm = p.requestedPermissions.get(i); in generatePackageInfo() 754 pi.requestedPermissions[i] = perm; in generatePackageInfo() 2517 if (!pkg.requestedPermissions.contains(npi.name)) { in parseBaseApkCommon() 2526 pkg.requestedPermissions.add(npi.name); in parseBaseApkCommon() 2538 || !pkg.requestedPermissions.contains(spi.rootPerm)) { in parseBaseApkCommon() 2543 if (!pkg.requestedPermissions.contains(perm)) { in parseBaseApkCommon() 2544 pkg.requestedPermissions.add(perm); in parseBaseApkCommon() 2867 int index = pkg.requestedPermissions.indexOf(name); in parseUsesPermission() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageManagerPresubmitTest.java | 85 if (ArrayUtils.isEmpty(packageInfo.requestedPermissions)) { in testPackagePrivAppPermission() 88 for (int i = 0; i < packageInfo.requestedPermissions.length; i++) { in testPackagePrivAppPermission() 89 String pName = packageInfo.requestedPermissions[i]; in testPackagePrivAppPermission()
|
D | PackageParserTest.java | 159 assertSame(deserialized.requestedPermissions.get(0), in test_stringInterning() 160 deserialized2.requestedPermissions.get(0)); in test_stringInterning() 249 assertEquals(a.requestedPermissions, b.requestedPermissions); in assertPackagesEqual() 456 pkg.requestedPermissions.add("foo7"); in setKnownFields()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | DefaultPermissionGrantPolicy.java | 222 for (String permission : pkg.requestedPermissions) { in grantRuntimePermissionsForPackageLocked() 253 || pkg.requestedPermissions.isEmpty()) { in grantPermissionsToSysComponentsAndPrivApps() 924 if (pkg.requestedPermissions.isEmpty()) { in grantRuntimePermissionsLPw() 928 List<String> requestedPermissions = pkg.requestedPermissions; in grantRuntimePermissionsLPw() local 940 if (sysPs.pkg.requestedPermissions.isEmpty()) { in grantRuntimePermissionsLPw() 943 if (!requestedPermissions.equals(sysPs.pkg.requestedPermissions)) { in grantRuntimePermissionsLPw() 944 grantablePermissions = new ArraySet<>(requestedPermissions); in grantRuntimePermissionsLPw() 945 requestedPermissions = sysPs.pkg.requestedPermissions; in grantRuntimePermissionsLPw() 950 final int grantablePermissionCount = requestedPermissions.size(); in grantRuntimePermissionsLPw() 952 String permission = requestedPermissions.get(i); in grantRuntimePermissionsLPw()
|
D | InstantAppRegistry.java | 778 String[] requestedPermissions = new String[pkg.requestedPermissions.size()]; in createInstantAppInfoForPackage() local 779 pkg.requestedPermissions.toArray(requestedPermissions); in createInstantAppInfoForPackage() 787 requestedPermissions, grantedPermissions); in createInstantAppInfoForPackage() 791 requestedPermissions, grantedPermissions); in createInstantAppInfoForPackage() 995 String[] requestedPermissions = new String[outRequestedPermissions.size()]; in parsePackage() local 996 outRequestedPermissions.toArray(requestedPermissions); in parsePackage() 1002 requestedPermissions, grantedPermissions); in parsePackage()
|
D | Settings.java | 1071 for (String eachPerm : deletedPs.pkg.requestedPermissions) { in updateSharedUserPermsLPw() 1082 && pkg.pkg.requestedPermissions.contains(eachPerm)) { in updateSharedUserPermsLPw() 1098 for (String permission : disabledPs.pkg.requestedPermissions) { in updateSharedUserPermsLPw() 4824 && ps.pkg.requestedPermissions != null in dumpPackageLPr() 4825 && ps.pkg.requestedPermissions.size() > 0) { in dumpPackageLPr() 4826 final ArrayList<String> perms = ps.pkg.requestedPermissions; in dumpPackageLPr()
|
/frameworks/base/core/java/android/widget/ |
D | AppSecurityPermissions.java | 289 if (info.requestedPermissions != null) { in AppSecurityPermissions() 348 String[] strList = info.requestedPermissions; in extractPerms() 362 && installedPkgInfo.requestedPermissions != null) { in extractPerms() 363 for (int j=0; j<installedPkgInfo.requestedPermissions.length; j++) { in extractPerms() 364 if (permName.equals(installedPkgInfo.requestedPermissions[j])) { in extractPerms()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PermissionMonitor.java | 154 if (app.requestedPermissions != null) { in hasPermission() 155 for (String p : app.requestedPermissions) { in hasPermission()
|
/frameworks/base/services/companion/java/com/android/server/companion/ |
D | CompanionDeviceManagerService.java | 443 if (containsEither(packageInfo.requestedPermissions, 455 if (containsEither(packageInfo.requestedPermissions,
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageManagerTests.java | 669 for (int j = 0; j < pkgInfo.requestedPermissions.length && !found; j++) { in assertPermissions() 670 if (pkgInfo.requestedPermissions[j].equals(cmd)) { in assertPermissions()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityStackSupervisor.java | 1798 if (!ArrayUtils.contains(packageInfo.requestedPermissions, permission)) { in getActionRestrictionForCallingPackage()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 8563 field public java.lang.String[] requestedPermissions;
|
/frameworks/base/api/ |
D | current.txt | 10413 field public java.lang.String[] requestedPermissions;
|
D | system-current.txt | 11084 field public java.lang.String[] requestedPermissions;
|