Home
last modified time | relevance | path

Searched refs:requestedPermissions (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DPackageInfo.java141 public String[] requestedPermissions; field in PackageInfo
264 dest.writeStringArray(requestedPermissions); in writeToParcel()
305 requestedPermissions = source.createStringArray(); in PackageInfo()
DPackageParser.java433 N = p.requestedPermissions.size(); in generatePackageInfo()
435 pi.requestedPermissions = new String[N]; in generatePackageInfo()
438 final String perm = p.requestedPermissions.get(i); in generatePackageInfo()
439 pi.requestedPermissions[i] = perm; in generatePackageInfo()
1356 if (!pkg.requestedPermissions.contains(npi.name)) { in parsePackage()
1365 pkg.requestedPermissions.add(npi.name); in parsePackage()
1378 || !pkg.requestedPermissions.contains(spi.rootPerm)) { in parsePackage()
1383 if (!pkg.requestedPermissions.contains(perm)) { in parsePackage()
1384 pkg.requestedPermissions.add(perm); in parsePackage()
1462 int index = pkg.requestedPermissions.indexOf(name); in parseUsesPermission()
[all …]
/frameworks/base/core/java/android/widget/
DAppSecurityPermissions.java293 if (info.requestedPermissions != null) { in AppSecurityPermissions()
352 String[] strList = info.requestedPermissions; in extractPerms()
373 && installedPkgInfo.requestedPermissions != null) { in extractPerms()
374 for (int j=0; j<installedPkgInfo.requestedPermissions.length; j++) { in extractPerms()
375 if (permName.equals(installedPkgInfo.requestedPermissions[j])) { in extractPerms()
/frameworks/base/services/java/com/android/server/pm/
DPackageManagerService.java2375 int index = pkg.requestedPermissions.indexOf(bp.name); in checkGrantRevokePermissions()
3246 pi.requestedPermissions = permissions; in addPackageHoldingPermissions()
3248 pi.requestedPermissions = new String[numMatch]; in addPackageHoldingPermissions()
3252 pi.requestedPermissions[numMatch] = permissions[i]; in addPackageHoldingPermissions()
4655 if (mFactoryTest && pkg.requestedPermissions.contains( in scanPackageLI()
5480 final int N = pkg.requestedPermissions.size(); in grantPermissionsLPw()
5482 final String name = pkg.requestedPermissions.get(i); in grantPermissionsLPw()
5632 j<sysPs.pkg.requestedPermissions.size(); j++) { in grantSignaturePermission()
5634 sysPs.pkg.requestedPermissions.get(j))) { in grantSignaturePermission()
DSettings.java650 for (String eachPerm : deletedPs.pkg.requestedPermissions) { in updateSharedUserPermsLPw()
658 pkg.pkg.requestedPermissions.contains(eachPerm)) { in updateSharedUserPermsLPw()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java671 for (int j = 0; j < pkgInfo.requestedPermissions.length && !found; j++) { in assertPermissions()
672 if (pkgInfo.requestedPermissions[j].equals(cmd)) { in assertPermissions()
/frameworks/base/api/
Dcurrent.txt7162 field public java.lang.String[] requestedPermissions;