Home
last modified time | relevance | path

Searched refs:startForeground (Results 1 – 25 of 34) sorted by relevance

12

/packages/apps/TV/src/com/android/tv/dvr/recorder/
DDvrRecordingService.java84 sInstance.startForeground(startForRecording); in startForegroundService()
108 startForeground(true);
144 startForeground(intent.getBooleanExtra(EXTRA_START_FOR_RECORDING, false)); in onStartCommand()
171 private void startForeground(boolean hasUpcomingRecording) { in startForeground() method in DvrRecordingService
196 startForeground(ONGOING_NOTIFICATION_ID, notification); in startForegroundInternal()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DFileOperationService.java378 foregroundManager.startForeground(NOTIFICATION_ID_PROGRESS, notification); in onStart()
556 public void startForeground(int id, Notification notification) { in createForegroundManager()
557 service.startForeground(id, notification); in createForegroundManager()
569 void startForeground(int id, Notification notification);
/packages/apps/Traceur/src/com/android/traceur/
DTraceService.java200 startForeground(TRACE_NOTIFICATION, notification.build()); in startTracingInternal()
243 startForeground(TRACE_NOTIFICATION, notification.build()); in startStackSamplingInternal()
292 startForeground(TRACE_NOTIFICATION, notification.build()); in startHeapDumpInternal()
338 startForeground(SAVING_TRACE_NOTIFICATION, notification.build()); in stopTracingInternal()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
DTestForegroundManager.java36 public void startForeground(int id, Notification notification) { in startForeground() method in TestForegroundManager
/packages/services/Telecomm/testapps/transactionalVoipApp/src/com/android/server/telecom/transactionalVoipApp/
DBackgroundIncomingCallService.java54 startForeground(98765, Utils.createCallStyleNotification(this), in onStartCommand()
/packages/modules/Permission/tests/cts/permission/AppThatRequestOneTimePermission/src/android/permission/cts/appthatrequestpermission/
DKeepAliveForegroundService.java64 startForeground(1, notification); in onStartCommand()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DVCardService.java177 startForeground(mCurrentJobId, notification); in handleImportRequest()
209 startForeground(mCurrentJobId, notification); in handleExportRequest()
DImportProcessor.java95 mService.startForeground(mJobId, notification); in onEntryCreated()
DExportProcessor.java278 mService.startForeground(mJobId, notification); in doProgressNotification()
/packages/modules/Connectivity/tests/cts/hostside-network-policy/app2/src/com/android/cts/netpolicy/hostside/app2/
DMyForegroundService.java59 startForeground(42, new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in onStartCommand()
/packages/apps/TV/src/com/android/tv/audiotvservice/
DAudioOnlyTvService.java64 startForeground(NOTIFICATION_ID, new Notification()); in onStartCommand()
/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/
DStatsdCtsForegroundService.java103 startForeground(1, notification); in onStartCommand()
/packages/services/Mtp/src/com/android/mtp/
DMtpDocumentsService.java91 startForeground(ids[i], notifications[i]); in updateForegroundState()
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DScreenshotService.java81 startForeground(SCREENSHOT_NOTIFICATION_ID, buildNotification(), in onStartCommand()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DBootUsbService.java91 startForeground(NOTIFICATION_ID, notification); in onCreate()
/packages/apps/Dialer/java/com/android/incallui/call/
DTelecomAdapter.java183 inCallService.startForeground(id, notification); in startForegroundNotification()
/packages/services/Car/tests/SampleCustomInputService/src/com/android/car/custominput/sample/
DSampleCustomInputService.java84 startForeground(NOTIFICATION_ID, status); in onStartCommand()
/packages/apps/EmergencyInfo/EmergencyGestureAction/src/com/android/emergency/action/service/
DEmergencyActionForegroundService.java101 startForeground(COUNT_DOWN_NOTIFICATION_ID, notification); in onStartCommand()
/packages/apps/Camera2/src/com/android/camera/processing/
DProcessingService.java140 startForeground(CAMERA_NOTIFICATION_ID, mNotificationBuilder.build()); in onStartCommand()
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DSafetySourceReceiver.kt92 startForeground( in onBind()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothPairingService.java171 startForeground(NOTIFICATION_ID, builder.getNotification()); in onStartCommand()
/packages/modules/Media/apex/framework/java/android/media/
DMediaSession2Service.java286 startForeground(id, notification); in onPlaybackActiveChanged()
/packages/apps/Contacts/src/com/android/contacts/
DSimImportService.java283 startForeground(NOTIFICATION_ID, getImportingNotification()); in onPreExecute()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamMediaServiceTest.java229 verify(mAudioStreamMediaService).startForeground(anyInt(), notification.capture()); in onStartCommand_createSessionAndStartForeground()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
DIngestService.java199 startForeground(R.id.ingest_notification_importing, in importSelectedItems()

12