Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java1132 final PackageInfo disabledPkg = getSystemPackageInfo( in grantRuntimePermissions() local
1134 if (disabledPkg != null) { in grantRuntimePermissions()
1135 if (ArrayUtils.isEmpty(disabledPkg.requestedPermissions)) { in grantRuntimePermissions()
1138 if (!Arrays.equals(requestedPermissions, disabledPkg.requestedPermissions)) { in grantRuntimePermissions()
1140 requestedPermissions = disabledPkg.requestedPermissions; in grantRuntimePermissions()
1336 final PackageInfo disabledPkg = getSystemPackageInfo( in isSysComponentOrPersistentPlatformSignedPrivApp() local
1338 if (disabledPkg != null) { in isSysComponentOrPersistentPlatformSignedPrivApp()
1339 ApplicationInfo disabledPackageAppInfo = disabledPkg.applicationInfo; in isSysComponentOrPersistentPlatformSignedPrivApp()
DPermissionManagerService.java1742 final PackageParser.Package disabledPkg = in grantSignaturePermission() local
1745 (disabledPkg != null) ? (PackageSetting) disabledPkg.mExtras : null; in grantSignaturePermission()
1763 if (disabledPs != null && disabledPkg != null in grantSignaturePermission()
1764 && isPackageRequestingPermission(disabledPkg, perm) in grantSignaturePermission()
1972 final PackageParser.Package disabledPkg = in grantRuntimePermissionsGrantedToDisabledPackageLocked() local
1974 if (disabledPkg == null || disabledPkg.mExtras == null) { in grantRuntimePermissionsGrantedToDisabledPackageLocked()
1977 final PackageSetting disabledPs = (PackageSetting) disabledPkg.mExtras; in grantRuntimePermissionsGrantedToDisabledPackageLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java595 PackageSetting disabledPkg, String realPkgName, SharedUserSetting sharedUser, in createNewSetting() argument
680 if (disabledPkg != null) { in createNewSetting()
685 pkgSetting.signatures = new PackageSignatures(disabledPkg.signatures); in createNewSetting()
686 pkgSetting.appId = disabledPkg.appId; in createNewSetting()
688 pkgSetting.getPermissionsState().copyFrom(disabledPkg.getPermissionsState()); in createNewSetting()
695 disabledPkg.getDisabledComponents(userId), userId); in createNewSetting()
697 disabledPkg.getEnabledComponents(userId), userId); in createNewSetting()
712 @Nullable PackageSetting disabledPkg, @Nullable SharedUserSetting sharedUser, in updatePackageSetting() argument
741 if ((pkgFlags & ApplicationInfo.FLAG_SYSTEM) != 0 && disabledPkg == null) { in updatePackageSetting()
DComponentResolver.java386 final PackageParser.Package disabledPkg = sPackageManagerInternal in addAllComponents() local
389 disabledPkg != null ? disabledPkg.activities : null; in addAllComponents()