Home
last modified time | relevance | path

Searched refs:SuspendParams (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/pkg/
DSuspendParams.java39 public final class SuspendParams { class
53 public SuspendParams(SuspendDialogInfo dialogInfo, PersistableBundle appExtras, in SuspendParams() method in SuspendParams
58 public SuspendParams(SuspendDialogInfo dialogInfo, PersistableBundle appExtras, in SuspendParams() method in SuspendParams
71 if (!(obj instanceof SuspendParams)) { in equals()
74 final SuspendParams other = (SuspendParams) obj; in equals()
139 public static SuspendParams restoreFromXml(TypedXmlPullParser in) throws IOException { in restoreFromXml()
176 return new SuspendParams(readDialogInfo, readAppExtras, readLauncherExtras, quarantined); in restoreFromXml()
DPackageUserStateInternal.java42 WatchedArrayMap<UserPackage, SuspendParams> getSuspendParams(); in getSuspendParams()
DPackageUserStateImpl.java125 private WatchedArrayMap<UserPackage, SuspendParams> mSuspendParams;
377 @Nullable SuspendParams suspendParams) {
575 @NonNull ArrayMap<UserPackage, SuspendParams> value) {
691 final SuspendParams params = suspendParams.valueAt(i);
788 public @Nullable WatchedArrayMap<UserPackage,SuspendParams> getSuspendParams() {
840 … PackageUserStateImpl setSuspendParams(@NonNull WatchedArrayMap<UserPackage,SuspendParams> value) {
DPackageUserStateDefault.java177 public WatchedArrayMap<UserPackage, SuspendParams> getSuspendParams() { in getSuspendParams()
/frameworks/base/services/core/java/com/android/server/pm/
DSuspendPackageHelper.java46 import com.android.server.pm.pkg.SuspendParams;
111 final SuspendParams newSuspendParams = suspended in setPackagesSuspended()
112 ? new SuspendParams(dialogInfo, appExtras, launcherExtras, quarantined) : null; in setPackagesSuspended()
147 final WatchedArrayMap<UserPackage, SuspendParams> suspendParamsMap = in setPackagesSuspended()
149 final SuspendParams oldSuspendParams = suspendParamsMap == null in setPackagesSuspended()
272 final SuspendParams params = pus.getSuspendParams().valueAt(i); in getSuspendedPackageAppExtras()
308 WatchedArrayMap<UserPackage, SuspendParams> suspendParamsMap = in removeSuspensionsBySuspendingPackage()
378 final SuspendParams params = userState.getSuspendParams().valueAt(i); in getSuspendedPackageLauncherExtras()
472 final WatchedArrayMap<UserPackage, SuspendParams> suspendParamsMap = in getSuspendedDialogInfo()
478 final SuspendParams suspendParams = suspendParamsMap.get(suspendingPackage); in getSuspendedDialogInfo()
DSettings.java124 import com.android.server.pm.pkg.SuspendParams;
1953 ArrayMap<UserPackage, SuspendParams> suspendParamsMap = null;
1980 Map.Entry<UserPackage, SuspendParams> entry =
2004 final SuspendParams suspendParams = new SuspendParams(
2054 private static Map.Entry<UserPackage, SuspendParams> readSuspensionParamsLPr(
2077 SuspendParams.restoreFromXml(parser));
2453 final SuspendParams params =
5422 final SuspendParams params = userState.getSuspendParams().valueAt(i);
DPackageSetting.java65 import com.android.server.pm.pkg.SuspendParams;
990 int distractionFlags, ArrayMap<UserPackage, SuspendParams> suspendParams,
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageUserStateTest.java43 import com.android.server.pm.pkg.SuspendParams;
94 new SuspendParams(null, new PersistableBundle(), null)); in testPackageUserState01()
192 private static SuspendParams createSuspendParams(SuspendDialogInfo dialogInfo, in createSuspendParams()
194 return new SuspendParams(dialogInfo, appExtras, launcherExtras); in createSuspendParams()
236 final ArrayMap<UserPackage, SuspendParams> paramsMap1 = new ArrayMap<>(); in testPackageUserState05()
239 final ArrayMap<UserPackage, SuspendParams> paramsMap2 = new ArrayMap<>(); in testPackageUserState05()
294 final SuspendParams params1; in testPackageUserState07()
295 SuspendParams params2; in testPackageUserState07()
DPackageManagerSettingsTests.java84 import com.android.server.pm.pkg.SuspendParams;
484 final SuspendParams params = packageUserState1.getSuspendParams().valueAt(0); in testReadPackageRestrictions_noSuspendParamsMap()
540 new SuspendParams(dialogInfo1, appExtras1, launcherExtras1)); in testReadWritePackageRestrictions_suspendInfo()
542 new SuspendParams(dialogInfo2, appExtras2, launcherExtras2)); in testReadWritePackageRestrictions_suspendInfo()
547 new SuspendParams(null, appExtras1, null)); in testReadWritePackageRestrictions_suspendInfo()
577 final SuspendParams params11 = readPus1.getSuspendParams().valueAt(0); in testReadWritePackageRestrictions_suspendInfo()
587 final SuspendParams params12 = readPus1.getSuspendParams().valueAt(1); in testReadWritePackageRestrictions_suspendInfo()
600 final SuspendParams params21 = readPus2.getSuspendParams().valueAt(0); in testReadWritePackageRestrictions_suspendInfo()
1194 new SuspendParams(dialogInfo1, appExtras1, launcherExtras1)); in testPackageStateCopy02()
1945 SuspendParams origSuspendParams = origPus.getSuspendParams().valueAt(0); in verifyUserStatesCopy()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/pkg/mutate/
DPackageUserStateWrite.java27 import com.android.server.pm.pkg.SuspendParams;
43 @Nullable SuspendParams suspendParams); in putSuspendParams()
DPackageStateMutator.java30 import com.android.server.pm.pkg.SuspendParams;
354 @Nullable SuspendParams suspendParams) { in putSuspendParams()
/frameworks/base/services/
Dart-profile2616 …PackageUserStateImpl;]Lcom/android/server/pm/pkg/SuspendParams;Lcom/android/server/pm/pkg/SuspendP…
2824 …PackageUserStateImpl;]Lcom/android/server/pm/pkg/SuspendParams;Lcom/android/server/pm/pkg/SuspendP…
Dart-wear-profile1026 Lcom/android/server/pm/pkg/SuspendParams;