Home
last modified time | relevance | path

Searched refs:npi (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/content/pm/parsing/
DParsingPackageUtils.java2798 final PackageParser.NewPermissionInfo npi
2800 if (pkg.getTargetSdkVersion() >= npi.sdkVersion) {
2803 if (!pkg.getRequestedPermissions().contains(npi.name)) {
2811 newPermsMsg.append(npi.name);
2812 pkg.addUsesPermission(new ParsedUsesPermission(npi.name, 0))
2813 .addImplicitPermission(npi.name);
/frameworks/base/core/java/android/content/pm/
DPackageParser.java2377 final PackageParser.NewPermissionInfo npi in parseBaseApkCommon() local
2379 if (pkg.applicationInfo.targetSdkVersion >= npi.sdkVersion) { in parseBaseApkCommon()
2382 if (!pkg.requestedPermissions.contains(npi.name)) { in parseBaseApkCommon()
2390 newPermsMsg.append(npi.name); in parseBaseApkCommon()
2391 pkg.requestedPermissions.add(npi.name); in parseBaseApkCommon()
2392 pkg.implicitPermissions.add(npi.name); in parseBaseApkCommon()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java3407 final PackageParser.NewPermissionInfo npi
3409 if (npi.name.equals(perm)
3410 && pkg.getTargetSdkVersion() < npi.sdkVersion) {