/packages/services/Telecomm/testapps/transactionalVoipApp/src/com/android/server/telecom/transactionalVoipApp/ |
D | VoipAppMainActivity.java | 73 findViewById(R.id.startForegroundService).setOnClickListener(new View.OnClickListener() { in onCreate() 76 Intent startForegroundService = new Intent(getApplicationContext(), in onCreate() 78 getApplicationContext().startForegroundService(startForegroundService); in onCreate()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/media/ |
D | CarMediaServiceTest.java | 198 verify(mContext).startForegroundService(any()); in testInit_startsMediaConnectorService() 208 verify(mContext, never()).startForegroundService(any()); in testInit_powerDisabled_doesNotStartMediaConnectorService() 220 verify(mContext, never()).startForegroundService(any()); in testPowerPolicyListener_startsMediaConnectorService() 224 verify(mContext).startForegroundService(any()); in testPowerPolicyListener_startsMediaConnectorService() 714 verify(mContext, times(2)).startForegroundService(any()); in testActiveSessionListener_StateActiveChangesSource() 726 verify(mContext, times(2)).startForegroundService(any()); in testActiveSessionListener_StatePlayingChangesSource() 741 verify(mContext).startForegroundService(any()); in testActiveSessionListener_StatePlayingNonMediaAppDoesntChangesSource() 755 verify(mContext, times(2)).startForegroundService(any()); in testActiveSessionListener_IndependentBrowseUnchanged() 769 verify(mContext, times(2)).startForegroundService(any()); in testActiveSessionListener_DependentBrowseChanged() 780 verify(mContext).startForegroundService(any()); in testActiveSessionListener_StatePaused()
|
/packages/apps/Traceur/src/com/android/traceur/ |
D | TraceService.java | 81 context.startForegroundService(intent); in startTracing() 87 context.startForegroundService(intent); in startStackSampling() 93 context.startForegroundService(intent); in startHeapDump() 99 context.startForegroundService(intent); in stopTracing()
|
/packages/apps/TV/src/com/android/tv/dvr/recorder/ |
D | DvrRecordingService.java | 74 static void startForegroundService(Context context, boolean startForRecording) { in startForegroundService() method in DvrRecordingService 79 context.startForegroundService(intent); in startForegroundService()
|
D | RecordingScheduler.java | 180 DvrRecordingService.startForegroundService(mContext, false); in updateAndStartServiceIfNeeded() 189 DvrRecordingService.startForegroundService(mContext, true); in updateInternal()
|
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | ScreenshotActivity.java | 49 startForegroundService(intent); in startScreenshotService()
|
D | BugReportActivity.java | 833 mContext.startForegroundService(intent);
|
/packages/services/Car/tests/UserSwitchMonitorApp/src/com/google/android/car/userswitchmonitor/ |
D | BootCompletedReceiver.java | 32 appContext.startForegroundService(service); in onReceive()
|
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
D | BootUsbScanner.java | 35 context.startForegroundService(bootUsbServiceIntent); in onReceive()
|
/packages/apps/TV/src/com/android/tv/audiotvservice/ |
D | AudioOnlyTvServiceUtil.java | 39 context.startForegroundService(intent); in startAudioOnlyInput()
|
/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/ |
D | DeviceAsWebcamReceiver.java | 58 context.startForegroundService(fgIntent); in onReceive()
|
/packages/services/Mtp/src/com/android/mtp/ |
D | ServiceIntentSender.java | 72 mContext.startForegroundService(intent); in sendUpdateNotificationIntent()
|
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/ |
D | SafetySourceReceiver.kt | 62 context.startForegroundService(intent.setClass(context, ForegroundService::class.java)) in onReceive()
|
/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/ |
D | AbstractRestrictBackgroundNetworkTestCase.java | 959 startForegroundService(); in launchComponentAndAssertNetworkAccess() 1043 private void startForegroundService() throws Exception { in startForegroundService() method in AbstractRestrictBackgroundNetworkTestCase 1045 mContext.startForegroundService(launchIntent); in startForegroundService()
|
/packages/modules/Media/apex/framework/java/android/media/ |
D | MediaSession2Service.java | 285 startForegroundService(mStartSelfIntent); in onPlaybackActiveChanged()
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | VendorServiceController.java | 547 mStarted = mUserContext.startForegroundService(intent) != null; in startOrBindService()
|
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/ |
D | CaptivePortalLoginActivityTest.java | 179 public ComponentName startForegroundService(Intent service) { in startForegroundService() method in CaptivePortalLoginActivityTest.InstrumentedCaptivePortalLoginActivity
|
/packages/services/Car/service/src/com/android/car/ |
D | CarMediaService.java | 582 ComponentName result = userContext.startForegroundService(serviceStart); in startMediaConnectorServiceLocked()
|