Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DSuspendPackageHelper.java100 @NonNull UserPackage suspendingPackage, @UserIdInt int targetUserId, int callingUid, in setPackagesSuspended() argument
126 if (suspendingPackage.packageName.equals(packageName) in setPackagesSuspended()
127 && suspendingPackage.userId == targetUserId) { in setPackagesSuspended()
128 Slog.w(TAG, "Suspending package: " + suspendingPackage + " trying to " in setPackagesSuspended()
150 ? null : suspendParamsMap.get(suspendingPackage); in setPackagesSuspended()
165 && suspendParamsMap.containsKey(suspendingPackage); in setPackagesSuspended()
188 userState.putSuspendParams(suspendingPackage, newSuspendParams); in setPackagesSuspended()
190 userState.removeSuspension(suspendingPackage); in setPackagesSuspended()
312 UserPackage suspendingPackage = suspendParamsMap.keyAt(index); in removeSuspensionsBySuspendingPackage() local
313 if (suspendingPackagePredicate.test(suspendingPackage)) { in removeSuspensionsBySuspendingPackage()
[all …]
DPackageManagerInternalBase.java257 (suspendingPackage) -> !PackageManagerService.PLATFORM_PACKAGE_NAME.equals( in removeNonSystemPackageSuspensions()
258 suspendingPackage.packageName), in removeNonSystemPackageSuspensions()
285 UserPackage suspendingPackage, int userId) { in getSuspendedDialogInfo() argument
287 suspendingPackage, userId, Binder.getCallingUid()); in getSuspendedDialogInfo()
DComputer.java526 boolean isSuspendingAnyPackages(@NonNull String suspendingPackage, in isSuspendingAnyPackages() argument
DSettings.java2056 final String suspendingPackage = parser.getAttributeValue(null, ATTR_SUSPENDING_PACKAGE);
2057 if (suspendingPackage == null) {
2066 suspendingUserId = switch (suspendingPackage) {
2076 UserPackage.of(suspendingUserId, suspendingPackage),
2444 final UserPackage suspendingPackage =
2448 suspendingPackage.packageName);
2451 suspendingPackage.userId);
DPackageManagerService.java3211 void unsuspendForSuspendingPackage(@NonNull Computer computer, String suspendingPackage,
3217 UserPackage.of(suspendingUserId, suspendingPackage)::equals;
6303 SuspendDialogInfo dialogInfo, int flags, String suspendingPackage, in setPackagesSuspendedAsUser() argument
6310 ? UserPackage.of(suspendingUserId, suspendingPackage) in setPackagesSuspendedAsUser()
6311 : UserPackage.of(targetUserId, suspendingPackage); in setPackagesSuspendedAsUser()
DComputerEngine.java5031 public boolean isSuspendingAnyPackages(@NonNull String suspendingPackage, in isSuspendingAnyPackages() argument
5033 final UserPackage suspender = UserPackage.of(suspendingUserId, suspendingPackage); in isSuspendingAnyPackages()
/frameworks/base/services/core/java/com/android/server/pm/pkg/mutate/
DPackageUserStateWrite.java42 PackageUserStateWrite putSuspendParams(@NonNull UserPackage suspendingPackage, in putSuspendParams() argument
46 PackageUserStateWrite removeSuspension(@NonNull UserPackage suspendingPackage); in removeSuspension() argument
DPackageStateMutator.java353 public PackageUserStateWrite putSuspendParams(@NonNull UserPackage suspendingPackage, in putSuspendParams() argument
356 mUserState.putSuspendParams(suspendingPackage, suspendParams); in putSuspendParams()
363 public PackageUserStateWrite removeSuspension(@NonNull UserPackage suspendingPackage) { in removeSuspension() argument
365 mUserState.removeSuspension(suspendingPackage); in removeSuspension()
/frameworks/base/core/java/com/android/internal/app/
DSuspendedAppActivity.java363 UserPackage suspendingPackage, SuspendDialogInfo dialogInfo, Bundle options, in createSuspendedAppInterceptIntent() argument
370 suspendingPackage != null ? suspendingPackage.packageName : null) in createSuspendedAppInterceptIntent()
376 if (crossUserSuspensionEnabledRo() && suspendingPackage != null) { in createSuspendedAppInterceptIntent()
377 intent.putExtra(EXTRA_SUSPENDING_USER, suspendingPackage.userId); in createSuspendedAppInterceptIntent()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStartInterceptorTest.java210 final String suspendingPackage = "com.test.suspending.package"; in testSuspendedPackage() local
211 final SuspendDialogInfo dialogInfo = suspendPackage(suspendingPackage); in testSuspendedPackage()
218 assertEquals(suspendingPackage, in testSuspendedPackage()
225 private SuspendDialogInfo suspendPackage(String suspendingPackage) { in suspendPackage() argument
231 UserPackage suspender = UserPackage.of(TEST_USER_ID, suspendingPackage); in suspendPackage()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DSuspendPackageHelperTest.kt333 targetPackages, { suspendingPackage -> suspendingPackage == testUserPackage1 }, in <lambda>() method
351 targetPackages, { suspendingPackage -> suspendingPackage == doUserPackage }, in <lambda>() method
/frameworks/base/services/core/java/com/android/server/pm/pkg/
DPackageUserStateImpl.java376 public PackageUserStateImpl putSuspendParams(@NonNull UserPackage suspendingPackage,
382 if (!mSuspendParams.containsKey(suspendingPackage)
383 || !Objects.equals(mSuspendParams.get(suspendingPackage), suspendParams)) {
384 mSuspendParams.put(suspendingPackage, suspendParams);
394 public PackageUserStateImpl removeSuspension(@NonNull UserPackage suspendingPackage) {
396 mSuspendParams.remove(suspendingPackage);
/frameworks/base/services/core/java/android/content/pm/
DPackageManagerInternal.java320 UserPackage suspendingPackage, int userId); in getSuspendedDialogInfo() argument
/frameworks/base/core/java/android/content/pm/
DIPackageManager.aidl303 in SuspendDialogInfo dialogInfo, int flags, String suspendingPackage, in setPackagesSuspendedAsUser() argument
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java760 final UserPackage suspendingPackage = mPackageManagerInternal.getSuspendingPackage( in maskWidgetsViewsLocked() local
763 if (suspendingPackage != null in maskWidgetsViewsLocked()
764 && PLATFORM_PACKAGE_NAME.equals(suspendingPackage.packageName)) { in maskWidgetsViewsLocked()
770 packageName, suspendingPackage, appUserId); in maskWidgetsViewsLocked()
774 packageName, suspendingPackage, dialogInfo, null, null, in maskWidgetsViewsLocked()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt13041 Landroid/content/pm/PackageUserState;->suspendingPackage:Ljava/lang/String;