Searched refs:disabledPkg (Results 1 – 4 of 4) sorted by relevance
1132 final PackageInfo disabledPkg = getSystemPackageInfo( in grantRuntimePermissions() local1134 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() local1338 if (disabledPkg != null) { in isSysComponentOrPersistentPlatformSignedPrivApp()1339 ApplicationInfo disabledPackageAppInfo = disabledPkg.applicationInfo; in isSysComponentOrPersistentPlatformSignedPrivApp()
1742 final PackageParser.Package disabledPkg = in grantSignaturePermission() local1745 (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() local1974 if (disabledPkg == null || disabledPkg.mExtras == null) { in grantRuntimePermissionsGrantedToDisabledPackageLocked()1977 final PackageSetting disabledPs = (PackageSetting) disabledPkg.mExtras; in grantRuntimePermissionsGrantedToDisabledPackageLocked()
595 PackageSetting disabledPkg, String realPkgName, SharedUserSetting sharedUser, in createNewSetting() argument680 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() argument741 if ((pkgFlags & ApplicationInfo.FLAG_SYSTEM) != 0 && disabledPkg == null) { in updatePackageSetting()
386 final PackageParser.Package disabledPkg = sPackageManagerInternal in addAllComponents() local389 disabledPkg != null ? disabledPkg.activities : null; in addAllComponents()