/frameworks/base/services/core/java/com/android/server/pm/ |
D | SuspendPackageHelper.java | 100 @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 …]
|
D | PackageManagerInternalBase.java | 257 (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()
|
D | Computer.java | 526 boolean isSuspendingAnyPackages(@NonNull String suspendingPackage, in isSuspendingAnyPackages() argument
|
D | Settings.java | 2056 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);
|
D | PackageManagerService.java | 3211 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()
|
D | ComputerEngine.java | 5031 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/ |
D | PackageUserStateWrite.java | 42 PackageUserStateWrite putSuspendParams(@NonNull UserPackage suspendingPackage, in putSuspendParams() argument 46 PackageUserStateWrite removeSuspension(@NonNull UserPackage suspendingPackage); in removeSuspension() argument
|
D | PackageStateMutator.java | 353 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/ |
D | SuspendedAppActivity.java | 363 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/ |
D | ActivityStartInterceptorTest.java | 210 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/ |
D | SuspendPackageHelperTest.kt | 333 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/ |
D | PackageUserStateImpl.java | 376 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/ |
D | PackageManagerInternal.java | 320 UserPackage suspendingPackage, int userId); in getSuspendedDialogInfo() argument
|
/frameworks/base/core/java/android/content/pm/ |
D | IPackageManager.aidl | 303 in SuspendDialogInfo dialogInfo, int flags, String suspendingPackage, in setPackagesSuspendedAsUser() argument
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 760 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/ |
D | hiddenapi-max-target-o.txt | 13041 Landroid/content/pm/PackageUserState;->suspendingPackage:Ljava/lang/String;
|