Home
last modified time | relevance | path

Searched refs:forceStopPackageAsUser (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/car-builtin-lib/src/android/car/builtin/content/pm/
DPackageManagerHelper.java182 public static void forceStopPackageAsUser(@NonNull Context context, @NonNull String packageName, in forceStopPackageAsUser() method in PackageManagerHelper
185 am.forceStopPackageAsUser(packageName, userId); in forceStopPackageAsUser()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java379 verify(mMockActivityManager).forceStopPackageAsUser(PROCESS_TEST_NAME_1, in testHibernateFreeMemory()
401 verify(mMockActivityManager).forceStopPackageAsUser(PROCESS_TEST_NAME_1, in testHibernateFreeMemory_multipleProcesses()
403 verify(mMockActivityManager).forceStopPackageAsUser(PROCESS_TEST_NAME_2, in testHibernateFreeMemory_multipleProcesses()
426 verify(mMockActivityManager, never()).forceStopPackageAsUser(PROCESS_TEST_NAME_1, in testHibernateFreeMemory_multipleProcessesWithOneProcessTooLow()
428 verify(mMockActivityManager).forceStopPackageAsUser(PROCESS_TEST_NAME_2, in testHibernateFreeMemory_multipleProcessesWithOneProcessTooLow()
455 verify(mMockActivityManager, never()).forceStopPackageAsUser(PROCESS_TEST_NAME_1, in testHibernateFreeMemory_multipleProcessesWithOneProcessNotInAllowList()
457 verify(mMockActivityManager).forceStopPackageAsUser(PROCESS_TEST_NAME_2, in testHibernateFreeMemory_multipleProcessesWithOneProcessNotInAllowList()
484 verify(mMockActivityManager, never()).forceStopPackageAsUser(PROCESS_TEST_NAME_1, in testHibernateFreeMemory_multipleProcessesSameUid()
486 verify(mMockActivityManager, never()).forceStopPackageAsUser(PROCESS_TEST_NAME_2, in testHibernateFreeMemory_multipleProcessesSameUid()
512 verify(mMockActivityManager, never()).forceStopPackageAsUser(PROCESS_TEST_NAME_1, in testHibernateFreeMemory_multipleProcessesPersistentProcess()
[all …]
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/
DPackageInfoPresenterTest.kt168 verify(mockActivityManager).forceStopPackageAsUser(PACKAGE_NAME, USER_ID) in <lambda>()
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/
DPackageInfoPresenter.kt166 context.activityManager.forceStopPackageAsUser(packageName, userId) in <lambda>()
/packages/services/Car/car-builtin-lib/api/
Dmodule-lib-current.txt135 …method public static void forceStopPackageAsUser(@NonNull android.content.Context, @NonNull String…
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserServiceTest.java537 doNothing().when(mMockedActivityManager).forceStopPackageAsUser(anyString(), anyInt()); in testOnUserInvisible_nonSystemUser_occupantZoneUnassignment()
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java3960 PackageManagerHelper.forceStopPackageAsUser(mContext, pkgToStop, in freeMemory()