Home
last modified time | relevance | path

Searched refs:suspendingPackage (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStartInterceptorTest.java188 final String suspendingPackage = "com.test.suspending.package"; in testSuspendedPackage() local
189 final SuspendDialogInfo dialogInfo = suspendPackage(suspendingPackage); in testSuspendedPackage()
196 assertEquals(suspendingPackage, in testSuspendedPackage()
203 private SuspendDialogInfo suspendPackage(String suspendingPackage) { in suspendPackage() argument
210 .thenReturn(suspendingPackage); in suspendPackage()
211 when(mPackageManagerInternal.getSuspendedDialogInfo(TEST_PACKAGE_NAME, suspendingPackage, in suspendPackage()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStartInterceptor.java259 final String suspendingPackage = pmi.getSuspendingPackage(suspendedPackage, mUserId); in interceptSuspendedPackageIfNeeded() local
260 if (PLATFORM_PACKAGE_NAME.equals(suspendingPackage)) { in interceptSuspendedPackageIfNeeded()
264 suspendingPackage, mUserId); in interceptSuspendedPackageIfNeeded()
271 suspendingPackage, dialogInfo, crossProfileOptions, target, mUserId); in interceptSuspendedPackageIfNeeded()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java453 boolean isSuspendedBy(String suspendingPackage, int userId) { in isSuspendedBy() argument
455 return state.suspendParams != null && state.suspendParams.containsKey(suspendingPackage); in isSuspendedBy()
458 void addOrUpdateSuspension(String suspendingPackage, SuspendDialogInfo dialogInfo, in addOrUpdateSuspension() argument
467 existingUserState.suspendParams.put(suspendingPackage, newSuspendParams); in addOrUpdateSuspension()
472 void removeSuspension(String suspendingPackage, int userId) { in removeSuspension() argument
475 existingUserState.suspendParams.remove(suspendingPackage); in removeSuspension()
488 final String suspendingPackage = existingUserState.suspendParams.keyAt(i); in removeSuspension() local
489 if (suspendingPackagePredicate.test(suspendingPackage)) { in removeSuspension()
DSettings.java1740 final String suspendingPackage = parser.getAttributeValue(null,
1742 if (suspendingPackage == null) {
1750 suspendParamsMap.put(suspendingPackage,
2043 final String suspendingPackage = ustate.suspendParams.keyAt(i);
2045 serializer.attribute(null, ATTR_SUSPENDING_PACKAGE, suspendingPackage);
DPackageManagerService.java16537 void unsuspendForSuspendingPackage(String suspendingPackage, int userId) { in unsuspendForSuspendingPackage() argument
16542 removeSuspensionsBySuspendingPackage(allPackages, suspendingPackage::equals, userId); in unsuspendForSuspendingPackage()
16545 boolean isSuspendingAnyPackages(String suspendingPackage, int userId) { in isSuspendingAnyPackages() argument
16548 if (ps.isSuspendedBy(suspendingPackage, userId)) { in isSuspendingAnyPackages()
27325 (suspendingPackage) -> !PLATFORM_PACKAGE_NAME.equals(suspendingPackage),
27333 (suspendingPackage) -> !PLATFORM_PACKAGE_NAME.equals(suspendingPackage),
27362 String suspendingPackage = null;
27364 suspendingPackage = pus.suspendParams.keyAt(i);
27365 if (PLATFORM_PACKAGE_NAME.equals(suspendingPackage)) {
27366 return suspendingPackage;
[all …]
/frameworks/base/services/core/java/android/content/pm/
DPackageManagerInternal.java303 String suspendingPackage, int userId); in getSuspendedDialogInfo() argument
1010 public abstract void unsuspendForSuspendingPackage(String suspendingPackage, int userId); in unsuspendForSuspendingPackage() argument
1015 public abstract boolean isSuspendingAnyPackages(String suspendingPackage, int userId); in isSuspendingAnyPackages() argument
/frameworks/base/core/java/com/android/internal/app/
DSuspendedAppActivity.java332 String suspendingPackage, SuspendDialogInfo dialogInfo, Bundle options, in createSuspendedAppInterceptIntent() argument
338 .putExtra(EXTRA_SUSPENDING_PACKAGE, suspendingPackage) in createSuspendedAppInterceptIntent()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java530 final String suspendingPackage = mPackageManagerInternal.getSuspendingPackage( in maskWidgetsViewsLocked() local
532 if (PLATFORM_PACKAGE_NAME.equals(suspendingPackage)) { in maskWidgetsViewsLocked()
538 appInfo.packageName, suspendingPackage, appUserId); in maskWidgetsViewsLocked()
542 appInfo.packageName, suspendingPackage, dialogInfo, null, null, in maskWidgetsViewsLocked()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt15919 Landroid/content/pm/PackageUserState;->suspendingPackage:Ljava/lang/String;