/frameworks/base/services/core/java/com/android/server/pm/ |
D | ReconcilePackageUtils.java | 153 SharedUserSetting sharedUserSetting = settings.getSharedUserSettingLPr( in reconcilePackages() local 156 signatureCheckPs, sharedUserSetting, scanFlags)) { in reconcilePackages() 180 sharedUserSetting, disabledPkgSetting, in reconcilePackages() 197 if (sharedUserSetting != null && !ALLOW_NON_PRELOADS_SYSTEM_SHAREDUIDS) { in reconcilePackages() 202 || !sharedUserSetting.name.equals(sharedUidName)) { in reconcilePackages() 205 + sharedUserSetting.name; in reconcilePackages() 216 if (sharedUserSetting != null) { in reconcilePackages() 222 sharedUserSetting.signatures.mSigningDetails; in reconcilePackages() 230 for (AndroidPackage androidPackage : sharedUserSetting.getPackages()) { in reconcilePackages() 239 sharedUserSetting.signatures.mSigningDetails = in reconcilePackages() [all …]
|
D | ScanRequest.java | 67 @Nullable SharedUserSetting sharedUserSetting, in ScanRequest() argument 80 mSharedUserSetting = sharedUserSetting; in ScanRequest()
|
D | PackageManagerServiceUtils.java | 545 @Nullable SharedUserSetting sharedUserSetting, in verifySignatures() argument 601 if (sharedUserSetting != null in verifySignatures() 602 && sharedUserSetting.getSigningDetails() != SigningDetails.UNKNOWN) { in verifySignatures() 608 boolean match = canJoinSharedUserId(packageName, parsedSignatures, sharedUserSetting, in verifySignatures() 613 packageName, sharedUserSetting.signatures, parsedSignatures); in verifySignatures() 618 sharedUserSetting.signatures.mSigningDetails, in verifySignatures() 623 sharedUserSetting.signatures.mSigningDetails, in verifySignatures() 631 + sharedUserSetting.name + "; ignoring!"); in verifySignatures() 636 sharedUserSetting.signatures.mSigningDetails)) { in verifySignatures() 670 @NonNull SharedUserSetting sharedUserSetting, @SharedUserIdJoinType int joinType) { in canJoinSharedUserId() argument [all …]
|
D | ScanPackageUtils.java | 133 final SharedUserSetting sharedUserSetting = request.mSharedUserSetting; in scanPackageOnlyLI() local 174 if (pkgSetting != null && oldSharedUserSetting != sharedUserSetting) { in scanPackageOnlyLI() 180 + (sharedUserSetting != null ? sharedUserSetting.name : "<nothing>") in scanPackageOnlyLI() 219 originalPkgSetting, disabledPkgSetting, realPkgName, sharedUserSetting, in scanPackageOnlyLI() 248 sharedUserSetting, destCodeFile, parsedPackage.getNativeLibraryDir(), in scanPackageOnlyLI() 290 sharedUserSetting, injector.getCompatibility())); in scanPackageOnlyLI() 952 public static List<String> applyAdjustedAbiToSharedUser(SharedUserSetting sharedUserSetting, in applyAdjustedAbiToSharedUser() argument 959 sharedUserSetting.getPackageSettings(); in applyAdjustedAbiToSharedUser()
|
D | InstallPackageHelper.java | 307 SharedUserSetting sharedUserSetting = mPm.mSettings.getSharedUserSettingLPr(pkgSetting); in commitReconciledScanResultLocked() local 308 if (sharedUserSetting != null) { in commitReconciledScanResultLocked() 309 sharedUserSetting.addPackage(pkgSetting); in commitReconciledScanResultLocked() 312 && sharedUserSetting.isSingleUser()) { in commitReconciledScanResultLocked() 314 mPm.mSettings.convertSharedUserSettingsLPw(sharedUserSetting); in commitReconciledScanResultLocked() 445 sharedUserSetting.signaturesChanged = Boolean.TRUE; in commitReconciledScanResultLocked() 446 sharedUserSetting.signatures.mSigningDetails = reconciledPkg.mSigningDetails; in commitReconciledScanResultLocked() 1713 final SharedUserSetting sharedUserSetting; in preparePackageLI() local 1746 sharedUserSetting = mPm.mSettings.getSharedUserSettingLPr(ps); in preparePackageLI() 1750 if (ksms.shouldCheckUpgradeKeySetLocked(ps, sharedUserSetting, scanFlags)) { in preparePackageLI() [all …]
|
D | Settings.java | 895 SharedUserSetting sharedUserSetting = getSharedUserSettingLPr(disabled); 896 if (sharedUserSetting != null) { 897 sharedUserSetting.mDisabledPackages.add(disabled); 910 SharedUserSetting sharedUserSetting = getSharedUserSettingLPr(p); 911 if (sharedUserSetting != null) { 912 sharedUserSetting.mDisabledPackages.remove(p); 950 SharedUserSetting sharedUserSetting = getSharedUserSettingLPr(p); 951 if (sharedUserSetting != null) { 952 sharedUserSetting.mDisabledPackages.remove(p); 953 checkAndPruneSharedUserLPw(sharedUserSetting, false); [all …]
|
D | KeySetManagerService.java | 359 SharedUserApi sharedUserSetting, int scanFlags) { in shouldCheckUpgradeKeySetLocked() argument 361 if (oldPs == null || (scanFlags & SCAN_INITIAL) != 0 || (sharedUserSetting != null) in shouldCheckUpgradeKeySetLocked()
|
D | ComputerEngine.java | 327 final SharedUserSetting sharedUserSetting = in getSharedUserPackages() local 329 if (sharedUserSetting != null) { in getSharedUserPackages() 331 sharedUserSetting.getPackageStates(); in getSharedUserPackages()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | ScanRequestBuilder.java | 51 public ScanRequestBuilder setSharedUserSetting(SharedUserSetting sharedUserSetting) { in setSharedUserSetting() argument 52 this.mSharedUserSetting = sharedUserSetting; in setSharedUserSetting()
|
D | AppsFilterImplTest.java | 231 .filter(sharedUserSetting -> sharedUserSetting.getAppId() == sharedUserAppId) in setup() 1668 @Nullable SharedUserSetting sharedUserSetting) { in simulateAddPackage() argument 1671 simulateAddPackage(setting, filter, sharedUserSetting); in simulateAddPackage() 1689 @Nullable SharedUserSetting sharedUserSetting) { in simulateAddPackage() argument 1691 sharedUserSetting); in simulateAddPackage() 1709 @Nullable SharedUserSetting sharedUserSetting) { in simulateAddPackage() argument 1711 if (sharedUserSetting != null) { in simulateAddPackage() 1712 sharedUserSetting.addPackage(setting); in simulateAddPackage() 1713 setting.setSharedUserAppId(sharedUserSetting.mAppId); in simulateAddPackage() 1714 mSharedUserSettings.add(sharedUserSetting); in simulateAddPackage()
|