Searched refs:forceStopPackageAsUser (Results 1 – 7 of 7) sorted by relevance
/packages/services/Car/car-builtin-lib/src/android/car/builtin/content/pm/ |
D | PackageManagerHelper.java | 182 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/ |
D | CarPowerManagementServiceUnitTest.java | 379 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/ |
D | PackageInfoPresenterTest.kt | 168 verify(mockActivityManager).forceStopPackageAsUser(PACKAGE_NAME, USER_ID) in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/ |
D | PackageInfoPresenter.kt | 166 context.activityManager.forceStopPackageAsUser(packageName, userId) in <lambda>()
|
/packages/services/Car/car-builtin-lib/api/ |
D | module-lib-current.txt | 135 …method public static void forceStopPackageAsUser(@NonNull android.content.Context, @NonNull String…
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | CarUserServiceTest.java | 537 doNothing().when(mMockedActivityManager).forceStopPackageAsUser(anyString(), anyInt()); in testOnUserInvisible_nonSystemUser_occupantZoneUnassignment()
|
/packages/services/Car/service/src/com/android/car/power/ |
D | CarPowerManagementService.java | 3960 PackageManagerHelper.forceStopPackageAsUser(mContext, pkgToStop, in freeMemory()
|