Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DSharedUserSetting.java258 public SharedUserSetting updateFrom(SharedUserSetting sharedUser) {
259 copyFrom(sharedUser);
260 this.userId = sharedUser.userId;
261 this.uidFlags = sharedUser.uidFlags;
262 this.uidPrivateFlags = sharedUser.uidPrivateFlags;
263 this.seInfoTargetSdkVersion = sharedUser.seInfoTargetSdkVersion;
265 this.packages.addAll(sharedUser.packages);
266 this.signaturesChanged = sharedUser.signaturesChanged;
267 if (sharedUser.processes != null) {
268 final int numProcs = sharedUser.processes.size();
[all …]
DPackageSetting.java84 SharedUserSetting sharedUser; field in PackageSetting
171 sharedUser = orig.sharedUser == null ? null : orig.sharedUser.snapshot();
193 if (sharedUser != null) {
194 return sharedUser.userId;
200 return sharedUser;
218 sharedUser = orig.sharedUser;
273 return (sharedUser != null)
274 ? sharedUser.getLegacyPermissionState()
320 return sharedUser != null;
426 sharedUser = other.sharedUser;
DSettings.java904 PackageSetting disabledPkg, String realPkgName, SharedUserSetting sharedUser,
938 pkgSetting.sharedUser = sharedUser;
981 if (sharedUser != null) {
982 pkgSetting.appId = sharedUser.userId;
1026 @Nullable PackageSetting disabledPkg, @Nullable SharedUserSetting sharedUser,
1034 if (pkgSetting.sharedUser != sharedUser) {
1037 + (pkgSetting.sharedUser != null ? pkgSetting.sharedUser.name : "<nothing>")
1038 + " to " + (sharedUser != null ? sharedUser.name : "<nothing>"));
1177 if (p.sharedUser != null && p.sharedUser.signatures.mSigningDetails.signatures == null) {
1178 p.sharedUser.signatures.mSigningDetails = pkg.getSigningDetails();
[all …]
DAppsFilter.java1129 if (setting.sharedUser != null) {
1130 for (int i = setting.sharedUser.packages.size() - 1; i >= 0; i--) {
1131 if (setting.sharedUser.packages.valueAt(i) == setting) {
1135 setting.sharedUser.packages.valueAt(i), settings);
1141 if (mShouldFilterCache != null && setting.sharedUser != null) {
1142 for (int i = setting.sharedUser.packages.size() - 1; i >= 0; i--) {
1143 PackageSetting siblingSetting = setting.sharedUser.packages.valueAt(i);
1254 if (((PackageSetting) callingSetting).sharedUser == null) {
1260 ((PackageSetting) callingSetting).sharedUser.packages;
DPackageManagerService.java3349 pi.sharedUserId = (ps.sharedUser != null) ? ps.sharedUser.name : null; in generatePackageInfo()
6777 final SharedUserSetting sharedUser; in main()
6786 sharedUser = ps.getSharedUser(); in main()
6794 final String newSeInfo = SELinuxMMAC.getSeInfo(pkg, sharedUser, in main()
13981 if (request.pkgSetting != null && request.pkgSetting.sharedUser != null
13982 && request.pkgSetting.sharedUser != result.pkgSetting.sharedUser) {
13984 request.pkgSetting.sharedUser.removePackage(request.pkgSetting);
13999 if (pkgSetting.sharedUser != null) {
14000 pkgSetting.sharedUser.addPackage(pkgSetting);
14046 pkgSetting.sharedUser.signaturesChanged = Boolean.TRUE;
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageManagerSettingsTests.java953 assertSame(origPkgSetting.sharedUser, testPkgSetting.sharedUser); in verifySettingCopy()
954 assertThat(origPkgSetting.sharedUser, is(testPkgSetting.sharedUser)); in verifySettingCopy()
DAppsFilterTest.java1235 setting.sharedUser = sharedUserSetting; in simulateAddPackage()