Home
last modified time | relevance | path

Searched refs:suspender (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DActivityStartInterceptor.java342 final UserPackage suspender = pmi.getSuspendingPackage(suspendedPackage, mUserId); in interceptSuspendedPackageIfNeeded() local
343 if (suspender != null && PLATFORM_PACKAGE_NAME.equals(suspender.packageName)) { in interceptSuspendedPackageIfNeeded()
347 suspender, mUserId); in interceptSuspendedPackageIfNeeded()
354 suspender, dialogInfo, crossProfileOptions, target, mUserId); in interceptSuspendedPackageIfNeeded()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DSuspendPackageHelperTest.kt228 targetPackages, { suspender -> suspender.packageName == DEVICE_OWNER_PACKAGE }, in <lambda>() method
342 targetPackages, { suspender -> suspender.packageName == PLATFORM_PACKAGE_NAME }, in <lambda>() method
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStartInterceptorTest.java231 UserPackage suspender = UserPackage.of(TEST_USER_ID, suspendingPackage); in suspendPackage() local
233 .thenReturn(suspender); in suspendPackage()
234 when(mPackageManagerInternal.getSuspendedDialogInfo(TEST_PACKAGE_NAME, suspender, in suspendPackage()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java3155 boolean quarantined, UserPackage suspender, int callingUid, int targetUserId,
3182 snapshot.getPackageUid(suspender.packageName, 0, suspender.userId);
3185 .formatted(suspender.packageName, callingUid));
3187 if (targetUserId != suspender.userId) {
3194 snapshot.getPackageUid(suspender.packageName, 0, targetUserId);
3200 throw new SecurityException("Suspending package " + suspender.packageName
5343 final UserPackage suspender = mSuspendPackageHelper.getSuspendingPackage(
5345 return suspender != null ? suspender.packageName : null;
6309 final UserPackage suspender = crossUserSuspensionEnabledRo() in setPackagesSuspendedAsUser() local
6312 enforceCanSetPackagesSuspendedAsUser(snapshot, quarantined, suspender, callingUid, in setPackagesSuspendedAsUser()
[all …]
DComputerEngine.java5033 final UserPackage suspender = UserPackage.of(suspendingUserId, suspendingPackage); in isSuspendingAnyPackages() local
5038 && state.getSuspendParams().containsKey(suspender)) { in isSuspendingAnyPackages()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java13318 PackageSuspender suspender = new PackageSuspender(
13327 result = suspended ? suspender.suspend(packages) : suspender.unsuspend(packages);