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.java327 public SharedUserSetting updateFrom(SharedUserSetting sharedUser) {
328 super.copySettingBase(sharedUser);
329 this.mAppId = sharedUser.mAppId;
330 this.uidFlags = sharedUser.uidFlags;
331 this.uidPrivateFlags = sharedUser.uidPrivateFlags;
332 this.seInfoTargetSdkVersion = sharedUser.seInfoTargetSdkVersion;
334 this.mPackages.addAll(sharedUser.mPackages);
335 this.signaturesChanged = sharedUser.signaturesChanged;
336 if (sharedUser.processes != null) {
337 final int numProcs = sharedUser.processes.size();
[all …]
DSELinuxMMAC.java355 SharedUserApi sharedUser, PlatformCompat compatibility) { in getTargetSdkVersionForSeInfo() argument
364 if ((sharedUser != null) && (sharedUser.getPackages().size() != 0)) { in getTargetSdkVersionForSeInfo()
365 return sharedUser.getSeInfoTargetSdkVersion(); in getTargetSdkVersionForSeInfo()
408 @Nullable SharedUserApi sharedUser, @NonNull PlatformCompat compatibility) { in getSeInfo() argument
409 final int targetSdkVersion = getTargetSdkVersionForSeInfo(pkg, sharedUser, in getSeInfo()
414 (sharedUser != null) ? sharedUser.isPrivileged() | packageState.isPrivileged() in getSeInfo()
DSettings.java1044 PackageSetting disabledPkg, String realPkgName, SharedUserSetting sharedUser,
1097 if (sharedUser != null) {
1098 pkgSetting.setSharedUserAppId(sharedUser.mAppId);
1157 if (sharedUser != null) {
1158 pkgSetting.setAppId(sharedUser.mAppId);
1204 @Nullable SharedUserSetting sharedUser,
1216 if (sharedUser != null) {
1217 if (!Objects.equals(existingSharedUserSetting, sharedUser)) {
1222 + " to " + sharedUser.name);
1226 pkgSetting.setSharedUserAppId(sharedUser.mAppId);
[all …]
DComputerEngine.java1545 SharedUserApi sharedUser = mSettings.getSharedUserFromPackageName(pi.packageName); in generatePackageInfo() local
1546 pi.sharedUserId = (sharedUser != null) ? sharedUser.getName() : null; in generatePackageInfo()
5628 for (SharedUserApi sharedUser : mSettings.getSharedUsers().values()) { in getAppsWithSharedUserIds()
5629 sharedUserIds.put(UserHandle.getAppId(sharedUser.getAppId()), sharedUser.getName()); in getAppsWithSharedUserIds()
DPackageManagerService.java1767 SharedUserApi sharedUser = snapshot.getSharedUser( in main()
1775 final String newSeInfo = SELinuxMMAC.getSeInfo(packageState, pkg, sharedUser, in main()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionMigrationHelperImpl.java119 SharedUserApi sharedUser = sharedUsers.get(sharedUserName); in getLegacyPermissionStates() local
120 if (sharedUser != null) { in getLegacyPermissionStates()
121 int appId = sharedUser.getAppId(); in getLegacyPermissionStates()
/frameworks/base/services/tests/PackageManagerServiceTests/appenumeration/test-apps/target/
DAndroid.bp56 manifest: "AndroidManifest-sharedUser.xml",