Home
last modified time | relevance | path

Searched refs:sharedUser (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DPackageSetting.java41 SharedUserSetting sharedUser; field in PackageSetting
83 if (sharedUser != null) { in getSharedUserId()
84 return sharedUser.userId; in getSharedUserId()
90 return sharedUser; in getSharedUser()
108 sharedUser = orig.sharedUser; in doCopy()
114 return (sharedUser != null) in getPermissionsState()
115 ? sharedUser.getPermissionsState() in getPermissionsState()
169 return sharedUser != null; in isSharedUser()
219 sharedUser = other.sharedUser; in updateFrom()
DSharedUserSetting.java170 public SharedUserSetting updateFrom(SharedUserSetting sharedUser) { in updateFrom() argument
171 copyFrom(sharedUser); in updateFrom()
172 this.userId = sharedUser.userId; in updateFrom()
173 this.uidFlags = sharedUser.uidFlags; in updateFrom()
174 this.uidPrivateFlags = sharedUser.uidPrivateFlags; in updateFrom()
175 this.seInfoTargetSdkVersion = sharedUser.seInfoTargetSdkVersion; in updateFrom()
177 this.packages.addAll(sharedUser.packages); in updateFrom()
178 this.signaturesChanged = sharedUser.signaturesChanged; in updateFrom()
DSettings.java595 PackageSetting disabledPkg, String realPkgName, SharedUserSetting sharedUser, in createNewSetting() argument
632 pkgSetting.sharedUser = sharedUser; in createNewSetting()
676 if (sharedUser != null) { in createNewSetting()
677 pkgSetting.appId = sharedUser.userId; in createNewSetting()
712 @Nullable PackageSetting disabledPkg, @Nullable SharedUserSetting sharedUser, in updatePackageSetting() argument
720 if (pkgSetting.sharedUser != sharedUser) { in updatePackageSetting()
723 + (pkgSetting.sharedUser != null ? pkgSetting.sharedUser.name : "<nothing>") in updatePackageSetting()
724 + " to " + (sharedUser != null ? sharedUser.name : "<nothing>")); in updatePackageSetting()
872 if (p.sharedUser != null && p.sharedUser.signatures.mSigningDetails.signatures == null) { in insertPackageSettingLPw()
873 p.sharedUser.signatures.mSigningDetails = pkg.mSigningDetails; in insertPackageSettingLPw()
[all …]
DPackageManagerServiceUtils.java623 if (pkgSetting.sharedUser != null in verifySignatures()
624 && pkgSetting.sharedUser.signatures.mSigningDetails in verifySignatures()
634 pkgSetting.sharedUser.signatures.mSigningDetails, in verifySignatures()
636 || pkgSetting.sharedUser.signatures.mSigningDetails.checkCapability( in verifySignatures()
641 packageName, pkgSetting.sharedUser.signatures, parsedSignatures); in verifySignatures()
646 pkgSetting.sharedUser.signatures.mSigningDetails, in verifySignatures()
651 pkgSetting.sharedUser.signatures.mSigningDetails, in verifySignatures()
659 + pkgSetting.sharedUser.name + "; ignoring!"); in verifySignatures()
DPackageManagerService.java4035 pi.sharedUserId = (ps.sharedUser != null) ? ps.sharedUser.name : null;
10976 if (request.pkgSetting != null && request.pkgSetting.sharedUser != null
10977 && request.pkgSetting.sharedUser != result.pkgSetting.sharedUser) {
10979 request.pkgSetting.sharedUser.removePackage(request.pkgSetting);
10994 if (pkgSetting.sharedUser != null) {
10995 pkgSetting.sharedUser.addPackage(pkgSetting);
11020 pkgSetting.sharedUser.signaturesChanged = Boolean.TRUE;
11021 pkgSetting.sharedUser.signatures.mSigningDetails = reconciledPkg.signingDetails;
11110 } else if (originalPs.sharedUser != null) {
11111 if (!originalPs.sharedUser.name.equals(pkg.mSharedUserId)) {
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageManagerSettingsTests.java797 assertSame(origPkgSetting.sharedUser, testPkgSetting.sharedUser); in verifySettingCopy()
798 assertThat(origPkgSetting.sharedUser, is(testPkgSetting.sharedUser)); in verifySettingCopy()