Home
last modified time | relevance | path

Searched refs:stopService (Results 1 – 25 of 77) sorted by relevance

1234

/cts/tests/tests/os/src/android/os/cts/
DBinderIntegrationTest.java135 mContext.stopService(mService); in tearDown()
229 getContext().stopService(mService); in testTransact()
240 getContext().stopService(mService); in testTransact()
260 getContext().stopService(mService); in testTransact()
271 getContext().stopService(mService); in testTransact()
291 getContext().stopService(mService); in testTransact()
312 getContext().stopService(mService); in testTransact()
/cts/tests/app/FgsTimeoutTest/src/android/app/cts/fgstimeouttest/
DFgsTimeoutTest.java136 sContext.stopService(new Intent().setComponent(FGS0)); in testTimeout()
172 sContext.stopService(new Intent().setComponent(FGS0)); in testTimeout_startService()
208 sContext.stopService(new Intent().setComponent(FGS2)); in testTimeout_withParallelNormalFgs()
212 sContext.stopService(new Intent().setComponent(FGS1)); in testTimeout_withParallelNormalFgs()
240 sContext.stopService(new Intent().setComponent(FGS0)); in testTimeout_withParallelTimeRestrictedFgs()
257 sContext.stopService(new Intent().setComponent(FGS1)); in testTimeout_withParallelTimeRestrictedFgs()
310 sContext.stopService(new Intent().setComponent(FGS0)); in testStop_stopService()
367 sContext.stopService(new Intent().setComponent(FGS0)); in testStartService_fromTimeRestrictedFgs()
371 sContext.stopService(new Intent().setComponent(FGS1)); in testStartService_fromTimeRestrictedFgs()
424 sContext.stopService(new Intent().setComponent(FGS0)); in testTypeChange_fromTimeRestrictedToNormal()
[all …]
/cts/tests/app/src/android/app/cts/
DServiceTest.java489 mContext.stopService(service); in startExpectResult()
493 mContext.stopService(service); in startExpectResult()
630 mContext.stopService(service); in bindExpectResult()
636 mContext.stopService(service); in bindExpectResult()
655 mContext.stopService(service); in bindExpectResult()
662 mContext.stopService(service); in bindExpectResult()
681 mContext.stopService(service); in bindExpectResult()
698 mContext.stopService(service); in bindExpectResult()
774 mContext.stopService(mLocalService); in tearDown()
775 mContext.stopService(mLocalForegroundService); in tearDown()
[all …]
DIntentServiceTest.java47 mContext.stopService(mIntent); in tearDown()
110 mContext.stopService(mIntent); in testIntentServiceLifeCycle()
/cts/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/
DSimpleActivityStartFgService.java53 stopService(serviceIntent); in onCreate()
68 stopService(serviceIntent); in onNewIntent()
/cts/tests/tests/contactkeysprovider/visibleapp/src/android/provider/cts/visibleapp/
DVisibleService.java80 boolean stopService = intent.getBooleanExtra("request_stop", false); in onStartCommand()
81 if (stopService) { in onStartCommand()
/cts/tests/app/app/src/android/app/stubs/
DMockService.java125 public static void stopService(Context context) { in stopService() method in MockService
128 context.stopService(intent); in stopService()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleInsecureConnectionPriorityClientTestActivity.java35 stopService(new Intent(this, BleConnectionPriorityClientService.class)); in onDestroy()
DBleInsecureServerStartActivity.java36 stopService(mIntent); in onDestroy()
DBleCocInsecureServerStartActivity.java36 stopService(mIntent); in onDestroy()
DBleSecureEncryptedServerTestActivity.java36 stopService(mIntent); in onDestroy()
DBleCocSecureServerStartActivity.java36 stopService(mIntent); in onDestroy()
DBleSecureServerStartActivity.java36 stopService(mIntent); in onDestroy()
DBleInsecureEncryptedClientTestActivity.java36 stopService(mIntent); in onDestroy()
DBleSecureConnectionPriorityClientTestActivity.java37 stopService(mIntent); in onDestroy()
DBleCocSecureClientStartActivity.java42 stopService(mIntent); in onDestroy()
DBleCocInsecureClientStartActivity.java42 stopService(mIntent); in onDestroy()
DBleInsecureClientStartActivity.java42 stopService(mIntent); in onDestroy()
DBleSecureEncryptedClientTestActivity.java37 stopService(mIntent); in onDestroy()
DBleSecureClientStartActivity.java43 stopService(mIntent); in onDestroy()
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/
DBatterySaverAlarmTest.java167 private void stopService(String targetPackage) throws Exception { in stopService() method in BatterySaverAlarmTest
177 stopService(packageName); in forcePackageIntoBg()
242 stopService(targetPackage); in testAllowWhileIdleThrottled()
285 stopService(targetPackage); in testAlarmsThrottled()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0586/src/android/security/cts/CVE_2021_0586/
DPocActivity.java42 stopService(intent); in stopOverlayService()
/cts/tests/tests/media/audio/modules/audiorecordpermissiontests/src/android/media/audio/cts/audiorecordpermissiontests/
DAudioRecordPermissionTests.java78 stopService(mStartedServicePackage); in teardown()
228 private void stopService(String packageName) throws Exception { in stopService() method in AudioRecordPermissionTests
236 .stopService(new Intent().setClassName(packageName, packageName + SERVICE_NAME)); in stopService()
/cts/tests/app/ShortFgsTest/src/android/app/cts/shortfgstest/
DActivityManagerShortFgsTest.java407 sContext.stopService(new Intent().setComponent(FGS0)); in testStartStop_stopService()
505 sContext.stopService(new Intent().setComponent(FGS0)); in testTimeout()
562 sContext.stopService(new Intent().setComponent(FGS0)); in testTimeout_withAnotherFgs()
566 sContext.stopService(new Intent().setComponent(FGS1)); in testTimeout_withAnotherFgs()
607 sContext.stopService(new Intent().setComponent(FGS0)); in testTimeout_procStateDemotion()
681 sContext.stopService(new Intent().setComponent(FGS0)); in testRegularFgsCanBeSticky()
746 sContext.stopService(new Intent().setComponent(FGS0)); in testCanMakeShortFgsIfBoundAndStarted()
792 sContext.stopService(new Intent().setComponent(FGS0)); in testCannotStartAnotherFgsFromShortService()
981 sContext.stopService(new Intent().setComponent(FGS0)); in testStartFromStartService()
/cts/hostsidetests/securitybulletin/test-apps/BUG-183411279/src/android/security/cts/BUG_183411279/
DMainActivity.java73 stopService(new Intent(getApplicationContext(), OverlayService.class)); in stopOverlayService()

1234