Home
last modified time | relevance | path

Searched refs:disabledPkg (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java1329 final PackageInfo disabledPkg = pm.getSystemPackageInfo( in grantRuntimePermissions() local
1331 if (disabledPkg != null) { in grantRuntimePermissions()
1332 if (ArrayUtils.isEmpty(disabledPkg.requestedPermissions)) { in grantRuntimePermissions()
1335 if (!Arrays.equals(requestedPermissions, disabledPkg.requestedPermissions)) { in grantRuntimePermissions()
1337 requestedPermissions = disabledPkg.requestedPermissions; in grantRuntimePermissions()
1737 final PackageInfo disabledPkg = getSystemPackageInfo( in isSysComponentOrPersistentPlatformSignedPrivApp() local
1739 if (disabledPkg != null) { in isSysComponentOrPersistentPlatformSignedPrivApp()
1740 ApplicationInfo disabledPackageAppInfo = disabledPkg.applicationInfo; in isSysComponentOrPersistentPlatformSignedPrivApp()
DPermissionManagerServiceImpl.java3392 final AndroidPackage disabledPkg = disabledPs == null ? null : disabledPs.getPkg();
3393 if (disabledPkg != null
3397 if (disabledPkg.getRequestedPermissions().contains(permissionName)) {
/frameworks/base/services/core/java/com/android/server/pm/resolution/
DComponentResolver.java206 final AndroidPackage disabledPkg = in addAllComponents() local
209 disabledPkg != null ? disabledPkg.getActivities() : null; in addAllComponents()
/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java1044 PackageSetting disabledPkg, String realPkgName, SharedUserSetting sharedUser,
1161 if (disabledPkg != null) {
1166 pkgSetting.setSignatures(new PackageSignatures(disabledPkg.getSignatures()));
1167 pkgSetting.setAppId(disabledPkg.getAppId());
1170 .copyFrom(disabledPkg.getLegacyPermissionState());
1177 disabledPkg.getDisabledComponents(userId), userId);
1179 disabledPkg.getEnabledComponents(userId), userId);
1202 @Nullable PackageSetting disabledPkg,
1244 if ((pkgFlags & ApplicationInfo.FLAG_SYSTEM) != 0 && disabledPkg == null) {
DPackageManagerService.java6750 AndroidPackage disabledPkg = disabledPkgSetting == null in getDisabledSystemPackageName() local
6752 return disabledPkg == null ? null : disabledPkg.getPackageName(); in getDisabledSystemPackageName()