Home
last modified time | relevance | path

Searched refs:SharedUserSetting (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DSharedUserSetting.java51 public final class SharedUserSetting extends SettingBase implements SharedUserApi { class
78 SharedUserSetting.this.onChanged();
90 private final SnapshotCache<SharedUserSetting> mSnapshot;
92 private SnapshotCache<SharedUserSetting> makeCache() { in makeCache()
93 return new SnapshotCache<SharedUserSetting>(this, this) { in makeCache()
95 public SharedUserSetting createSnapshot() { in makeCache()
96 return new SharedUserSetting(mSource); in makeCache()
100 SharedUserSetting(String _name, int _pkgFlags, int _pkgPrivateFlags) {
118 private SharedUserSetting(SharedUserSetting orig) {
144 public SharedUserSetting snapshot() {
[all …]
DScanRequest.java36 @Nullable public final SharedUserSetting mOldSharedUserSetting;
44 @Nullable public final SharedUserSetting mSharedUserSetting;
64 @Nullable SharedUserSetting oldSharedUserSetting, in ScanRequest()
67 @Nullable SharedUserSetting sharedUserSetting, in ScanRequest()
DDumpState.java67 private SharedUserSetting mSharedUser;
103 public SharedUserSetting getSharedUser() { in getSharedUser()
107 public void setSharedUser(SharedUserSetting user) { in setSharedUser()
DComputerEngine.java279 public SharedUserSetting getSharedUserFromId(String name) { in getSharedUserFromId()
321 return (SharedUserSetting) mSettings.getSettingLPr(sharedUserAppId); in getSharedUserFromAppId()
327 final SharedUserSetting sharedUserSetting = in getSharedUserPackages()
328 (SharedUserSetting) mSettings.getSettingLPr(sharedUserAppId); in getSharedUserPackages()
2003 if (obj instanceof SharedUserSetting) { in getPackagesForUidInternalBody()
2007 final SharedUserSetting sus = (SharedUserSetting) obj; in getPackagesForUidInternalBody()
2625 public final boolean shouldFilterApplication(@NonNull SharedUserSetting sus, in shouldFilterApplication()
2663 @NonNull SharedUserSetting sus, int callingUid, int userId) { in shouldFilterApplicationIncludingUninstalled()
2984 if (obj instanceof SharedUserSetting) { in getSigningDetails()
2985 return ((SharedUserSetting) obj).signatures.mSigningDetails; in getSigningDetails()
[all …]
DSettings.java519 final WatchedArrayMap<String, SharedUserSetting> mSharedUsers = new WatchedArrayMap<>();
848 SharedUserSetting getSharedUserLPw(String name, int pkgFlags, int pkgPrivateFlags,
850 SharedUserSetting s = mSharedUsers.get(name);
852 s = new SharedUserSetting(name, pkgFlags, pkgPrivateFlags);
869 Collection<SharedUserSetting> getAllSharedUsersLPw() {
895 SharedUserSetting sharedUserSetting = getSharedUserSettingLPr(disabled);
910 SharedUserSetting sharedUserSetting = getSharedUserSettingLPr(p);
950 SharedUserSetting sharedUserSetting = getSharedUserSettingLPr(p);
979 SharedUserSetting addSharedUserLPw(String name, int uid, int pkgFlags, int pkgPrivateFlags) {
980 SharedUserSetting s = mSharedUsers.get(name);
[all …]
DRemovePackageHelper.java265 final SharedUserSetting sus; in clearPackageStateForUserLIF()
404 final SharedUserSetting sus = mPm.mSettings.getSharedUserSettingLPr(deletedPs); in removePackageDataLIF()
DReconcilePackageUtils.java153 SharedUserSetting sharedUserSetting = settings.getSharedUserSettingLPr( in reconcilePackages()
DScanPackageUtils.java132 final SharedUserSetting oldSharedUserSetting = request.mOldSharedUserSetting; in scanPackageOnlyLI()
133 final SharedUserSetting sharedUserSetting = request.mSharedUserSetting; in scanPackageOnlyLI()
952 public static List<String> applyAdjustedAbiToSharedUser(SharedUserSetting sharedUserSetting, in applyAdjustedAbiToSharedUser()
DComputer.java250 boolean shouldFilterApplication(@NonNull SharedUserSetting sus, int callingUid, in shouldFilterApplication()
286 boolean shouldFilterApplicationIncludingUninstalled(@NonNull SharedUserSetting sus, in shouldFilterApplicationIncludingUninstalled()
DInstallPackageHelper.java277 SharedUserSetting requestSharedUserSetting = mPm.mSettings.getSharedUserSettingLPr( in commitReconciledScanResultLocked()
279 SharedUserSetting resultSharedUserSetting = mPm.mSettings.getSharedUserSettingLPr( in commitReconciledScanResultLocked()
307 SharedUserSetting sharedUserSetting = mPm.mSettings.getSharedUserSettingLPr(pkgSetting); in commitReconciledScanResultLocked()
1436 final SharedUserSetting signatureCheckSus = mPm.mSettings.getSharedUserSettingLPr( in preparePackageLI()
1713 final SharedUserSetting sharedUserSetting; in preparePackageLI()
2057 final SharedUserSetting sharedUserSetting; in doesSignatureMatchForPermissions()
3923 final SharedUserSetting sharedUserSetting; in prepareInitialScanRequest()
3924 SharedUserSetting oldSharedUserSetting = null; in prepareInitialScanRequest()
4652 SharedUserSetting sharedUserSetting = null; in assertPackageWithSharedUserIdIsPrivileged()
4693 SharedUserSetting sharedUserSetting = null; in adjustScanFlags()
DPackageManagerServiceUtils.java545 @Nullable SharedUserSetting sharedUserSetting, in verifySignatures()
670 @NonNull SharedUserSetting sharedUserSetting, @SharedUserIdJoinType int joinType) { in canJoinSharedUserId()
DAppsFilterBase.java450 ((SharedUserSetting) callingSetting).getPackageStates()); in shouldFilterApplicationInternal()
DPackageManagerService.java2323 for (SharedUserSetting setting : mSettings.getAllSharedUsersLPw()) { in PackageManagerService()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DScanRequestBuilder.java29 private SharedUserSetting mOldSharedUserSetting;
30 private SharedUserSetting mSharedUserSetting;
51 public ScanRequestBuilder setSharedUserSetting(SharedUserSetting sharedUserSetting) { in setSharedUserSetting()
56 public ScanRequestBuilder setOldSharedUserSetting(SharedUserSetting oldSharedUserSetting) { in setOldSharedUserSetting()
DAppsFilterImplTest.java118 private Collection<SharedUserSetting> mSharedUserSettings = new ArraySet<>();
999 SharedUserSetting actorSharedSetting = new SharedUserSetting("actorSharedUser", in testActsOnTargetOfOverlayThroughSharedUser()
1668 @Nullable SharedUserSetting sharedUserSetting) { in simulateAddPackage()
1689 @Nullable SharedUserSetting sharedUserSetting) { in simulateAddPackage()
1709 @Nullable SharedUserSetting sharedUserSetting) { in simulateAddPackage()
DPackageManagerSettingsTests.java1372 final SharedUserSetting testUserSetting01 = createSharedUserSetting( in testUpdatePackageSetting03()
1504 final SharedUserSetting testUserSetting01 = createSharedUserSetting( in testCreateNewSetting03()
1794 final SharedUserSetting sus1 = new SharedUserSetting( in testAddPackageSetting()
1996 private SharedUserSetting createSharedUserSetting(Settings settings, String userName, in createSharedUserSetting()
/frameworks/base/services/
Dart-profile-boot125 …PackageSettingLPw(Lcom/android/server/pm/PackageSetting;Lcom/android/server/pm/SharedUserSetting;)V
148 …t>(Landroid/content/pm/PackageParser$Package;Lcom/android/server/pm/SharedUserSetting;Landroid/con…
152 …etting;Lcom/android/server/pm/PackageSetting;Lcom/android/server/pm/SharedUserSetting;Ljava/io/Fil…
Dart-profile2236SharedUserSetting;Lcom/android/server/pm/SharedUserSetting;]Lcom/android/server/pm/pkg/AndroidPack…
2279 …rver/pm/PackageSetting;]Lcom/android/server/pm/SharedUserSetting;Lcom/android/server/pm/SharedUser…
2328 …rver/pm/ComputerLocked;]Lcom/android/server/pm/SharedUserSetting;Lcom/android/server/pm/SharedUser…
2335 …geUserStateImpl;]Lcom/android/server/pm/pkg/SharedUserApi;Lcom/android/server/pm/SharedUserSetting;
2338 …rver/pm/PackageSetting;]Lcom/android/server/pm/SharedUserSetting;Lcom/android/server/pm/SharedUser…
2365SharedUserSetting;II)Z+]Landroid/util/ArraySet;Landroid/util/ArraySet;]Lcom/android/server/pm/Comp…
2369SharedUserSetting;II)Z+]Landroid/util/ArraySet;Landroid/util/ArraySet;]Lcom/android/server/pm/Comp…
2588 …ver/pm/SharedUserSetting;Lcom/android/server/pm/pkg/AndroidPackage;Lcom/android/server/pm/PackageS…
2591 …ver/pm/SettingBase;Lcom/android/server/pm/PackageSetting;,Lcom/android/server/pm/SharedUserSetting;
2592 …gBase;Lcom/android/server/pm/PackageSetting;,Lcom/android/server/pm/SharedUserSetting;]Lcom/androi…
[all …]
Dart-wear-profile946 Lcom/android/server/pm/SharedUserSetting$1;
947 Lcom/android/server/pm/SharedUserSetting$2;
948 Lcom/android/server/pm/SharedUserSetting;
17864 …rEngine$Settings;->getSharedUserFromId(Ljava/lang/String;)Lcom/android/server/pm/SharedUserSetting;
17992 …id/server/pm/ComputerEngine;->shouldFilterApplication(Lcom/android/server/pm/SharedUserSetting;II)Z
17997 …rEngine;->shouldFilterApplicationIncludingUninstalled(Lcom/android/server/pm/SharedUserSetting;II)Z
18076 PLcom/android/server/pm/DumpState;->getSharedUser()Lcom/android/server/pm/SharedUserSetting;
18084 PLcom/android/server/pm/DumpState;->setSharedUser(Lcom/android/server/pm/SharedUserSetting;)V
18924 …d(Ljava/lang/String;Landroid/content/pm/SigningDetails;Lcom/android/server/pm/SharedUserSetting;I)Z
18943 …atures(Lcom/android/server/pm/PackageSetting;Lcom/android/server/pm/SharedUserSetting;Lcom/android…
[all …]