Home
last modified time | relevance | path

Searched refs:PackageUserStateImpl (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageUserStateTest.java42 import com.android.server.pm.pkg.PackageUserStateImpl;
60 final PackageUserStateImpl testUserState = new PackageUserStateImpl(); in testPackageUserState01()
61 PackageUserStateImpl oldUserState; in testPackageUserState01()
63 oldUserState = new PackageUserStateImpl(); in testPackageUserState01()
68 oldUserState = new PackageUserStateImpl(); in testPackageUserState01()
72 oldUserState = new PackageUserStateImpl(); in testPackageUserState01()
76 oldUserState = new PackageUserStateImpl(); in testPackageUserState01()
80 oldUserState = new PackageUserStateImpl(); in testPackageUserState01()
84 oldUserState = new PackageUserStateImpl(); in testPackageUserState01()
88 oldUserState = new PackageUserStateImpl(); in testPackageUserState01()
[all …]
DPreferredComponentTest.java39 import com.android.server.pm.pkg.PackageUserStateImpl;
75 final PackageUserState pkgUserState0 = new PackageUserStateImpl().setInstallReason( in testPreferredComponent_sameSet_withAppInstalledByDeviceSetup()
77 final PackageUserState pkgUserState1 = new PackageUserStateImpl().setInstallReason( in testPreferredComponent_sameSet_withAppInstalledByDeviceSetup()
108 final PackageUserState pkgUserState0 = new PackageUserStateImpl().setInstallReason( in testPreferredComponent_notSameSet_withAppNotInstalledByDeviceSetup()
110 final PackageUserState pkgUserState1 = new PackageUserStateImpl().setInstallReason( in testPreferredComponent_notSameSet_withAppNotInstalledByDeviceSetup()
DCompatibilityModeTest.java39 import com.android.server.pm.pkg.PackageUserStateImpl;
51 private PackageUserStateImpl mMockUserState;
60 mMockUserState = new PackageUserStateImpl(); in setUp()
/frameworks/base/services/core/java/com/android/server/pm/pkg/
DPackageUserStateImpl.java53 public class PackageUserStateImpl extends WatchableImpl implements PackageUserStateInternal, class
140 final SnapshotCache<PackageUserStateImpl> mSnapshot;
142 private SnapshotCache<PackageUserStateImpl> makeCache() { in makeCache()
143 return new SnapshotCache<PackageUserStateImpl>(this, this) { in makeCache()
145 public PackageUserStateImpl createSnapshot() { in makeCache()
146 return new PackageUserStateImpl(mWatchable, mSource); in makeCache()
153 public PackageUserStateImpl() {
160 public PackageUserStateImpl(@NonNull Watchable watchable) {
166 public PackageUserStateImpl(@NonNull Watchable watchable, PackageUserStateImpl other) {
203 public PackageUserStateImpl snapshot() {
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageSettingBuilder.java23 import com.android.server.pm.pkg.PackageUserStateImpl;
44 private SparseArray<PackageUserStateImpl> mUserStates = new SparseArray<>();
129 mUserStates.put(userId, new PackageUserStateImpl()); in setInstantAppUserState()
137 mUserStates.put(userId, new PackageUserStateImpl()); in setInstallState()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSetting.java61 import com.android.server.pm.pkg.PackageUserStateImpl;
207 private final SparseArray<PackageUserStateImpl> mUserStates = new SparseArray<>();
761 PackageUserStateImpl modifyUserState(int userId) {
762 PackageUserStateImpl state = mUserStates.get(userId);
764 state = new PackageUserStateImpl(this);
771 public PackageUserStateImpl getOrCreateUserState(@UserIdInt int userId) {
772 PackageUserStateImpl state = mUserStates.get(userId);
774 state = new PackageUserStateImpl(this);
1071 PackageUserStateImpl modifyUserStateComponents(int userId, boolean disabled,
1073 PackageUserStateImpl state = modifyUserState(userId);
[all …]
/frameworks/base/services/core/java/com/android/server/pm/pkg/mutate/
DPackageStateMutator.java29 import com.android.server.pm.pkg.PackageUserStateImpl;
316 private PackageUserStateImpl mUserState;
318 public UserStateWriteWrapper setStates(@Nullable PackageUserStateImpl userState) { in setStates()
DPackageUserStateWrite.java26 import com.android.server.pm.pkg.PackageUserStateImpl;
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageArchiverTest.java73 import com.android.server.pm.pkg.PackageUserStateImpl;
139 private PackageUserStateImpl mUserState;
175 mUserState = new PackageUserStateImpl().setInstalled(true); in setUp()
/frameworks/base/services/
Dart-profile1421 …android/server/pm/pkg/PackageUserState;Lcom/android/server/pm/pkg/PackageUserStateImpl;]Ljava/lang…
1433 …android/server/pm/pkg/PackageUserState;Lcom/android/server/pm/pkg/PackageUserStateImpl;]Ljava/util…
2210 …com/android/server/pm/pkg/PackageUserStateDefault;,Lcom/android/server/pm/pkg/PackageUserStateImpl;
2292 …com/android/server/pm/pkg/PackageUserStateDefault;,Lcom/android/server/pm/pkg/PackageUserStateImpl;
2305 …android/server/pm/pkg/PackageUserState;Lcom/android/server/pm/pkg/PackageUserStateImpl;]Lcom/andro…
2307 …android/server/pm/pkg/PackageUserState;Lcom/android/server/pm/pkg/PackageUserStateImpl;]Lcom/andro…
2309 …tting;]Lcom/android/server/pm/pkg/PackageUserState;Lcom/android/server/pm/pkg/PackageUserStateImpl;
2314 …tting;]Lcom/android/server/pm/pkg/PackageUserState;Lcom/android/server/pm/pkg/PackageUserStateImpl;
2318 …android/server/pm/pkg/PackageUserState;Lcom/android/server/pm/pkg/PackageUserStateImpl;]Lcom/andro…
2325 …server/pm/pkg/PackageUserStateDefault;,Lcom/android/server/pm/pkg/PackageUserStateImpl;]Lcom/andro…
[all …]
Dart-wear-profile1022 Lcom/android/server/pm/pkg/PackageUserStateImpl$1;
1023 Lcom/android/server/pm/pkg/PackageUserStateImpl;
19022 …/server/pm/PackageSetting;->getOrCreateUserState(I)Lcom/android/server/pm/pkg/PackageUserStateImpl;
19070 …droid/server/pm/PackageSetting;->modifyUserState(I)Lcom/android/server/pm/pkg/PackageUserStateImpl;
19071 …/pm/PackageSetting;->modifyUserStateComponents(IZZ)Lcom/android/server/pm/pkg/PackageUserStateImpl;
20566 …erver/pm/pkg/PackageUserStateImpl$1;-><init>(Lcom/android/server/pm/pkg/PackageUserStateImpl;Lcom/…
20567 HSPLcom/android/server/pm/pkg/PackageUserStateImpl$1;->createSnapshot()Lcom/android/server/pm/pkg/P…
20568 HSPLcom/android/server/pm/pkg/PackageUserStateImpl$1;->createSnapshot()Ljava/lang/Object;
20569 HSPLcom/android/server/pm/pkg/PackageUserStateImpl;->-$$Nest$fgetmWatchable(Lcom/android/server/pm/…
20570 HSPLcom/android/server/pm/pkg/PackageUserStateImpl;-><init>(Lcom/android/server/utils/Watchable;)V
[all …]