Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DPackageParser.java2565 final PackageParser.NewPermissionInfo npi in parseBaseApkCommon() local
2567 if (pkg.applicationInfo.targetSdkVersion >= npi.sdkVersion) { in parseBaseApkCommon()
2570 if (!pkg.requestedPermissions.contains(npi.name)) { in parseBaseApkCommon()
2578 implicitPerms.append(npi.name); in parseBaseApkCommon()
2579 pkg.requestedPermissions.add(npi.name); in parseBaseApkCommon()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java13404 final PackageParser.NewPermissionInfo npi in isNewPlatformPermissionForPackage() local
13406 if (npi.name.equals(perm) in isNewPlatformPermissionForPackage()
13407 && pkg.applicationInfo.targetSdkVersion < npi.sdkVersion) { in isNewPlatformPermissionForPackage()