/cts/tests/app/src/android/app/cts/ |
D | ForceStopTest.java | 122 () -> mActivityManager.forceStopPackage(intent.getPackage())); in forceStopAndStartSimpleActivity() 143 () -> mActivityManager.forceStopPackage(packageName)); in testPackageStoppedState() 181 () -> mActivityManager.forceStopPackage(packageName)); in testPackageRestartedBroadcast() 233 () -> mActivityManager.forceStopPackage(packageName)); in testPackageUnstoppedBroadcast() 271 () -> mActivityManager.forceStopPackage(APP_PACKAGE)); in testBootCompletedBroadcasts_activity() 279 () -> mActivityManager.forceStopPackage(APP_PACKAGE)); in testBootCompletedBroadcasts_activity() 316 () -> mActivityManager.forceStopPackage(APP_PACKAGE)); in testBootCompletedBroadcasts_broadcast() 332 () -> mActivityManager.forceStopPackage(APP_PACKAGE)); in testBootCompletedBroadcasts_broadcast() 345 () -> mActivityManager.forceStopPackage(APP_PACKAGE)); in testApplicationStartInfoWasForceStopped_bindService() 358 () -> mActivityManager.forceStopPackage(APP_PACKAGE)); in testApplicationStartInfoWasForceStopped_bindService() [all …]
|
D | ActivityManagerTest.java | 741 mActivityManager.forceStopPackage(PACKAGE_NAME_APP1); in runWithShellPermissionIdentity() 1066 () -> mActivityManager.forceStopPackage(SIMPLE_PACKAGE_NAME)); in testForceStopPackageWontRestartProcess() 1099 mActivityManager.forceStopPackage(SIMPLE_PACKAGE_NAME); in testForceStopPackageWontRestartProcess() 1148 mActivityManager.forceStopPackage(PACKAGE_NAME_APP1); in testAppNotResponding() 1188 mActivityManager.forceStopPackage(PACKAGE_NAME_WEDGED_STARTUP); in testAppNotRespondingOnStartup() 1299 mActivityManager.forceStopPackage(SIMPLE_PACKAGE_NAME); in testKillingPidsOnImperceptible() 1400 mActivityManager.forceStopPackage(PACKAGE_NAME_APP1); in testKillingAppChildProcess() 1551 mActivityManager.forceStopPackage(PACKAGE_NAME_APP1); in testTrimAppChildProcess() 1552 mActivityManager.forceStopPackage(PACKAGE_NAME_APP2); in testTrimAppChildProcess() 1553 mActivityManager.forceStopPackage(PACKAGE_NAME_APP3); in testTrimAppChildProcess() [all …]
|
D | ActivityManagerFgsDelegateTest.java | 126 mActivityManager.forceStopPackage(pkgName); in cleanupResiduals() 873 mActivityManager.forceStopPackage(PACKAGE_NAME_APP1); in testFgsDelegateAfterForceStopPackage()
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | MockTestActivityUtil.java | 176 return () -> TestUtils.forceStopPackage(TEST_ACTIVITY.getPackageName()); in launchSync() 213 return () -> TestUtils.forceStopPackage(TEST_ACTIVITY.getPackageName(), userId); in launchAsUser() 256 return () -> TestUtils.forceStopPackage(TEST_ACTIVITY.getPackageName(), userId); in launchSyncAsUser() 300 public static void forceStopPackage() { in forceStopPackage() method in MockTestActivityUtil 301 TestUtils.forceStopPackage(TEST_ACTIVITY.getPackageName()); in forceStopPackage()
|
D | TestUtils.java | 290 public static void forceStopPackage(@NonNull String pkg) { in forceStopPackage() method in TestUtils 302 public static void forceStopPackage(@NonNull String pkg, int userId) { in forceStopPackage() method in TestUtils
|
/cts/tests/inputmethod/installtests/src/android/view/inputmethod/cts/installtests/ |
D | ForceStopTest.java | 146 forceStopPackage(Ime1Constants.PACKAGE, userId); in testImeRemainsEnabledAfterForceStopMain() 163 private static void forceStopPackage(String packageName, int userId) { in forceStopPackage() method in ForceStopTest 169 .forceStopPackage(packageName), in forceStopPackage()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MultiAuthorityTest.java | 63 am.forceStopPackage("android.provider.apps.cts.multiauthority")); in killProviderProcess()
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/ |
D | ActivityEmbeddingPolicyTests.java | 99 NestedShellPermission.run(() -> am.forceStopPackage("android.server.wm.jetpack.second")); in tearDown() 100 NestedShellPermission.run(() -> am.forceStopPackage("android.server.wm.jetpack.signed")); in tearDown()
|
D | ActivityEmbeddingCrossUidTests.java | 93 NestedShellPermission.run(() -> am.forceStopPackage("android.server.wm.jetpack.second")); in tearDown() 94 NestedShellPermission.run(() -> am.forceStopPackage("android.server.wm.jetpack.signed")); in tearDown()
|
/cts/tests/app/src/android/app/cts/fgs/bootcompleted/ |
D | BootCompletedFgsStartTest.java | 123 am.forceStopPackage(TARGET_APP_CURRENT); in tearDown() 124 am.forceStopPackage(TARGET_APP_34); in tearDown()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | AppDataIsolationTests.java | 140 forceStopPackage(APPA_PKG); in testAppAbleToAccessItsDataAfterForceStop() 385 private void forceStopPackage(String packageName) throws Exception { in forceStopPackage() method in AppDataIsolationTests
|
/cts/tests/tests/systemui/src/android/systemui/cts/tv/ |
D | TvTestBase.kt | 130 activityManager.forceStopPackage(packageName) in stopPackage()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | UserControlDisabledPackagesTest.java | 173 sActivityManager.forceStopPackage(testAppPackageName); in setUserControlDisabledPackages_launchActivity_verifyPackageNotStopped() 199 sActivityManager.forceStopPackage(testAppPackageName); in setUserControlDisabledPackages_launchActivity_verifyPackageStopped()
|
/cts/tests/input/src/android/input/cts/ |
D | InputInjectionTest.kt | 216 activityManager.forceStopPackage(INPUT_INJECTION_PACKAGE) in <lambda>()
|
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/ |
D | SurfaceSyncGroupTests.java | 87 SystemUtil.runWithShellPermissionIdentity(() -> am.forceStopPackage( in tearDown()
|
/cts/libs/rollback/src/com/android/cts/rollback/lib/ |
D | RollbackUtils.java | 248 am.forceStopPackage(packageName); in launchPackageForCrash()
|
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/ |
D | Utils.java | 151 static void forceStopPackage(String packageName) { in forceStopPackage() method in Utils
|
/cts/tests/tests/car/src/android/car/app/cts/ |
D | MultiUserMultiDisplayWindowSecurityTest.java | 267 runWithShellPermissionIdentity(() -> mActivityManager.forceStopPackage( in stopTestPackage()
|
/cts/tests/app/FgsTest/src/android/app/cts/fgstest/ |
D | ActivityManagerForegroundServiceTypeTest.java | 128 mActivityManager.forceStopPackage(TEST_PKG_NAME_CURRENT); in tearDown() 129 mActivityManager.forceStopPackage(TEST_PKG_NAME_API33); in tearDown()
|
/cts/tests/app/BroadcastsTest/src/android/app/cts/broadcasts/ |
D | BaseBroadcastTest.java | 109 mAm.forceStopPackage(pkg); in tearDown()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | UsageStatsTest.java | 266 SystemUtil.runWithShellPermissionIdentity(() -> mAm.forceStopPackage(TEST_APP_PKG)); in cleanUp() 267 SystemUtil.runWithShellPermissionIdentity(() -> mAm.forceStopPackage(TEST_APP2_PKG)); in cleanUp() 1968 SystemUtil.runWithShellPermissionIdentity(() -> mAm.forceStopPackage(TEST_APP_PKG)); in testUsageSourceAttribution() 1990 SystemUtil.runWithShellPermissionIdentity(() -> mAm.forceStopPackage(TEST_APP_PKG)); in testTaskRootAttribution_finishingTaskRoot() 2063 SystemUtil.runWithShellPermissionIdentity(() -> mAm.forceStopPackage(TEST_APP_PKG)); in testSuddenDestroy() 2672 SystemUtil.runWithShellPermissionIdentity(() -> mAm.forceStopPackage(TEST_APP_PKG)); in startAndDestroyActivityWithLocus()
|
/cts/tests/tests/appop/src/android/app/appops/cts/ |
D | ForegroundModeAndActiveTest.kt | 550 am.forceStopPackage(TEST_SERVICE_PKG) in <lambda>()
|
/cts/tests/MediaProviderTranscode/src/android/mediaprovidertranscode/cts/ |
D | TranscodeTestUtils.java | 381 getContext().getSystemService(ActivityManager.class).forceStopPackage(packageName); in forceStopApp()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputMethodStartInputLifecycleTest.java | 263 MockTestActivityUtil.forceStopPackage(); in testShowingImeDuringSessionChange_doesntShowOnPreviousSession()
|
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/ |
D | EventLogsTest.java | 652 .forceStopPackage(TEST_APP_PACKAGE_NAME); in killTestApp()
|