/cts/tests/tests/systemui/src/android/systemui/cts/tv/ |
D | MicIndicatorTest.kt | 62 startForegroundService(AUDIO_RECORD_API_SERVICE, ACTION_START) in micIndicator_shown_whileRecordingUsing_AudioRecordApi() 65 startForegroundService(AUDIO_RECORD_API_SERVICE, ACTION_STOP) in micIndicator_shown_whileRecordingUsing_AudioRecordApi() 71 startForegroundService(MEDIA_RECORDER_API_SERVICE, ACTION_START) in micIndicator_shown_whileRecordingUsing_MediaRecorderApi() 74 startForegroundService(MEDIA_RECORDER_API_SERVICE, ACTION_STOP) in micIndicator_shown_whileRecordingUsing_MediaRecorderApi() 80 startForegroundService(AUDIO_RECORD_API_SERVICE, ACTION_START) in micIndicator_shown_whileRecordingUsing_AudioRecordApi_until_forceStopped() 89 startForegroundService(MEDIA_RECORDER_API_SERVICE, ACTION_START) in micIndicator_shown_whileRecordingUsing_MediaRecorderApi_until_forceStopped() 98 startForegroundService(AUDIO_RECORD_API_SERVICE, ACTION_START) in micIndicator_shown_whileRecordingUsing_AudioRecordApi_until_crashed() 101 startForegroundService(AUDIO_RECORD_API_SERVICE, ACTION_THROW) in micIndicator_shown_whileRecordingUsing_AudioRecordApi_until_crashed() 107 startForegroundService(MEDIA_RECORDER_API_SERVICE, ACTION_START) in micIndicator_shown_whileRecordingUsing_MediaRecorderApi_until_crashed() 110 startForegroundService(MEDIA_RECORDER_API_SERVICE, ACTION_THROW) in micIndicator_shown_whileRecordingUsing_MediaRecorderApi_until_crashed() [all …]
|
D | TvTestBase.kt | 107 protected fun startForegroundService( in startForegroundService() method in android.systemui.cts.tv.TvTestBase
|
/cts/tests/tests/appop/src/android/app/appops/cts/ |
D | ForegroundModeAndActiveTest.kt | 153 private fun startForegroundService(startingContext: Context) { in <lambda>() method in android.app.appops.cts.ForegroundModeAndActiveTest 154 startingContext.startForegroundService(Intent().setComponent( in <lambda>() 161 startingContext.startForegroundService(Intent().setComponent( in <lambda>() 230 startForegroundService(fgActivity) in <lambda>() 261 startForegroundService(fgActivity) in <lambda>() 273 startForegroundService(fgActivity) in <lambda>() 326 startForegroundService(fgActivity) in <lambda>() 347 startForegroundService(fgActivity) in <lambda>()
|
/cts/tests/app/src/android/app/cts/ |
D | ServiceTest.java | 913 private void startForegroundService(Intent intent, int command) { in startForegroundService() method in ServiceTest 917 private void startForegroundService(int command) { in startForegroundService() method in ServiceTest 923 mContext.startForegroundService(foregroundServiceIntent(command)); in startRequiredForegroundService() 932 startForegroundService(COMMAND_START_FOREGROUND); in testForegroundService_dontRemoveNotificationOnStop() 938 startForegroundService(COMMAND_STOP_FOREGROUND_DONT_REMOVE_NOTIFICATION); in testForegroundService_dontRemoveNotificationOnStop() 949 startForegroundService(COMMAND_START_FOREGROUND); in testForegroundService_dontRemoveNotificationOnStop() 984 startForegroundService(COMMAND_START_FOREGROUND); in testForegroundServiceRemoveNotificationOnStop() 992 startForegroundService(LocalForegroundService in testForegroundServiceRemoveNotificationOnStop() 995 startForegroundService(LocalForegroundService in testForegroundServiceRemoveNotificationOnStop() 1003 startForegroundService(COMMAND_START_FOREGROUND); in testForegroundServiceRemoveNotificationOnStop() [all …]
|
D | ActivityManagerApi29Test.java | 163 sTargetContext.startForegroundService(sServiceIntent); in startSimpleService()
|
D | ActivityManagerProcessStateTest.java | 1128 mContext.startForegroundService(mServiceStartForegroundIntent); in testForegroundServiceAppOp() 1163 mContext.startForegroundService(mServiceStartForegroundIntent); in testForegroundServiceAppOp()
|
D | ActivityManagerFgsBgStartTest.java | 1136 mContext.startForegroundService(intent); in testFgsStartFromBGException()
|
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
D | BatteryStatsProcessStateTests.java | 38 mContext.startForegroundService(intent); in testForegroundService()
|
/cts/tests/AlarmManager/app/src/android/alarmmanager/alarmtestapp/cts/ |
D | PermissionStateChangedReceiver.java | 53 context.startForegroundService(i); in tryStartingFgs()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0478/src/android/security/cts/CVE_2021_0478/ |
D | PocActivity.java | 52 startForegroundService(new Intent(this, PocService.class)); in startServices()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | CommandReceiver.java | 201 context.startForegroundService(fgsIntent); in doStartForegroundService() 224 context.startForegroundService(fgsIntent); in doStartForegroundServiceWithType() 239 context.startForegroundService(fgsIntent); in doStartForegroundServiceSticky()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowInputTests.java | 308 mActivity.startForegroundService(intent); in testFilterTouchesWhenObscuredByWindowFromDifferentUid() 362 mActivity.startForegroundService(intent); in testFlagTouchesWhenObscuredByWindowFromDifferentUid() 410 mActivity.startForegroundService(intent); in testDoNotFlagTouchesWhenObscuredByZeroOpacityWindow() 463 mActivity.startForegroundService(intent); in testFlagTouchesWhenObscuredByMinPositiveOpacityWindow() 518 mActivity.startForegroundService(intent); in testFlagTouchesWhenPartiallyObscuredByZeroOpacityWindow() 570 mActivity.startForegroundService(intent); in testDoNotFlagTouchesWhenPartiallyObscuredByNotTouchableZeroOpacityWindow()
|
/cts/tests/tests/batterysaving/apps/app_target_api_current/src/android/os/cts/batterysaving/app/ |
D | CommReceiver.java | 77 context.startForegroundService(intent); in handleBatterySaverBgServiceRequest()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | HidDeviceActivity.java | 167 startForegroundService(new Intent(getApplication(), in onCreate()
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ |
D | ClientTest.java | 606 InstrumentationRegistry.getContext().startForegroundService(startExposedIntent); in testStartExposed06() 626 InstrumentationRegistry.getContext().startForegroundService(startExposedIntent); in testStartExposed07() 1257 context.startForegroundService(intent); in testStartForegroundService() 1270 context.startForegroundService(intent); in testStartForegroundService()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | DeviceSuspendTestActivity.java | 87 startForegroundService(new Intent(this, DeviceSuspendTestService.class)); in activitySetUp()
|