Home
last modified time | relevance | path

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

/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/
DLocalMediaProjectionService.java45 startForeground(intent); in onStartCommand()
70 private void startForeground(Intent intent) { in startForeground() method in LocalMediaProjectionService
89 startForeground(2, notification); in startForeground()
/frameworks/base/services/tests/powerstatstests/BstatsTestApp/src/com/android/coretests/apps/bstatstestapp/
DTestService.java71 startForeground(); in onStartCommand()
93 private void startForeground() { in startForeground() method in TestService
99 startForeground(NOTIFICATION_ID, in startForeground()
/frameworks/base/services/tests/servicestests/test-apps/SimpleServiceTestApp/src/com/android/servicestests/apps/simpleservicetestapp/
DSimpleFgService.java53 startForeground(NOTIFICATION_ID, mNotification);
89 startForeground(NOTIFICATION_ID, mNotification); in onStartCommand()
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DSchedulerService.java47 startForeground(1, status); in onStartCommand()
/frameworks/base/core/java/android/app/
DService.java773 public final void startForeground(int id, Notification notification) { in startForeground() method in Service
859 public final void startForeground(int id, @NonNull Notification notification, in startForeground() method in Service
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DDynamicSystemInstallationService.java336 startForeground(NOTIFICATION_ID, in executeInstallCommand()
451 startForeground(NOTIFICATION_ID, in executeNotifyIfInUseCommand()
457 startForeground(NOTIFICATION_ID, in executeNotifyIfInUseCommand()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DRecordingService.java287 startForeground(mNotificationId, builder.build()); in createErrorNotification()
323 startForeground(mNotificationId, builder.build()); in createRecordingNotification()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageInstallerService.java204 startForeground(notifPair.first, notifPair.second); in onStartCommand()
530 startForeground(notifPair.first, notifPair.second); in finishServiceEarly()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenrecord/
DRecordingServiceTest.java133 doNothing().when(mRecordingService).startForeground(anyInt(), any()); in setUp()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DNotificationHelper.java232 mService.startForeground(NOTIFICATION_ID, notification); in updateNotification()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java866 startForeground(mForegroundId, notification); in sendForegroundabledNotification()
/frameworks/base/core/api/
Dlint-baseline.txt432 RequiresPermission: android.app.Service#startForeground(int, android.app.Notification):
433 … Method 'startForeground' documentation mentions permissions without declaring @RequiresPermission
Dmodule-lib-lint-baseline.txt546 RequiresPermission: android.app.Service#startForeground(int, android.app.Notification):
547 … Method 'startForeground' documentation mentions permissions without declaring @RequiresPermission
Dtest-lint-baseline.txt604 RequiresPermission: android.app.Service#startForeground(int, android.app.Notification):
605 … Method 'startForeground' documentation mentions permissions without declaring @RequiresPermission
Dsystem-lint-baseline.txt636 RequiresPermission: android.app.Service#startForeground(int, android.app.Notification):
637 … Method 'startForeground' documentation mentions permissions without declaring @RequiresPermission
Dcurrent.txt7462 method public final void startForeground(int, android.app.Notification);
7463 …method public final void startForeground(int, @NonNull android.app.Notification, @RequiresPermissi…
/frameworks/proto_logging/stats/
Datoms.proto5773 // Number of times startForeground() is called on this service.
5886 // Whether setFgsRestrictionLocked() was called in Service.startForeground().
/frameworks/base/boot/
Dboot-image-profile.txt2593 HSPLandroid/app/Service;->startForeground(ILandroid/app/Notification;)V
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt5072 method public final void startForeground(int, android.app.Notification);
/frameworks/base/config/
Dboot-image-profile.txt2593 HSPLandroid/app/Service;->startForeground(ILandroid/app/Notification;)V