Home
last modified time | relevance | path

Searched refs:startForeground (Results 1 – 25 of 29) 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.java147 startForeground(TRACE_NOTIFICATION, notification.build()); in startTracingInternal()
182 startForeground(SAVING_TRACE_NOTIFICATION, notification.build()); in stopTracingInternal()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DVCardService.java172 startForeground(mCurrentJobId, notification); in handleImportRequest()
204 startForeground(mCurrentJobId, notification); in handleExportRequest()
DImportProcessor.java95 mService.startForeground(mJobId, notification); in onEntryCreated()
DExportProcessor.java272 mService.startForeground(mJobId, notification); in doProgressNotification()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
DTestForegroundManager.java36 public void startForeground(int id, Notification notification) { in startForeground() method in TestForegroundManager
/packages/modules/Connectivity/tests/cts/hostside/app2/src/com/android/cts/net/hostside/app2/
DMyForegroundService.java59 startForeground(42, new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in onStartCommand()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DBootUsbService.java65 startForeground(NOTIFICATION_ID, notification); in onCreate()
/packages/apps/TV/src/com/android/tv/audiotvservice/
DAudioOnlyTvService.java61 startForeground(NOTIFICATION_ID, new Notification()); in onStartCommand()
/packages/apps/Car/Media/src/com/android/car/media/service/
DMediaConnectorService.java105 startForeground(FOREGROUND_NOTIFICATION_ID, notification); in onStartCommand()
/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/
DStatsdCtsForegroundService.java103 startForeground(1, notification); in onStartCommand()
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/
DTmaForegroundService.java67 startForeground(1, notification); in onStartCommand()
/packages/services/Mtp/src/com/android/mtp/
DMtpDocumentsService.java89 startForeground(ids[i], notifications[i]); in updateForegroundState()
/packages/services/Car/tests/UserSwitchMonitorApp/src/com/google/android/car/userswitchmonitor/
DUserSwitchMonitorService.java82 startForeground(startId, in onStartCommand()
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/
DVisibleBoundsSimulator.java91 startForeground(FOREGROUND_SERVICE_ID, notification); in onCreate()
/packages/apps/Dialer/java/com/android/incallui/call/
DTelecomAdapter.java183 inCallService.startForeground(id, notification); in startForegroundNotification()
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/service/
DMessengerService.java150 startForeground(SERVICE_STARTED_NOTIFICATION_ID, notification); in sendServiceRunningNotification()
/packages/apps/EmergencyInfo/EmergencyGestureAction/src/com/android/emergency/action/service/
DEmergencyActionForegroundService.java99 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/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/currentactivity/
DCurrentActivityService.java95 startForeground(FOREGROUND_SERVICE_ID, notification); in onCreate()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothPairingService.java171 startForeground(NOTIFICATION_ID, builder.getNotification()); in onStartCommand()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
DIngestService.java199 startForeground(R.id.ingest_notification_importing, in importSelectedItems()
/packages/apps/Contacts/src/com/android/contacts/
DSimImportService.java281 startForeground(NOTIFICATION_ID, getImportingNotification()); in onPreExecute()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DProcessingService.java247 startForeground(mNotificationId, mBuilder.build()); in handleSaveRequest()

12