HomeSort by relevance Sort by last modified time
    Searched defs:startForeground (Results 1 - 25 of 95) sorted by null

1 2 3 4

  /external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
ServiceUtils.java 52 Method startForeground = null;
54 startForeground = service.getClass().getMethod("startForeground", startForegroundSignature);
57 startForeground.invoke(service, new Object[] { notificationId, notification });
  /external/perfetto/test/cts/producer/src/android/perfetto/producer/
ProducerIsolatedService.java 34 startForeground(NOTIFICATION_ID, builder.build());
ProducerService.java 33 startForeground(NOTIFICATION_ID, builder.build());
  /packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
TestForegroundManager.java 30 public void startForeground(int id, Notification notification) {
  /external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
AudioTestService.java 71 startForeground(notificationId, notification);
  /development/samples/KeyChainDemo/src/com/example/android/keychain/
SecureWebServerService.java 86 startForeground(ONGOING_NOTIFICATION, notification);
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowService.java 58 public final void startForeground(int id, Notification notification) {
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowService.java 39 public final void startForeground(int id, Notification notification) {
  /frameworks/base/core/tests/coretests/BstatsTestApp/src/com/android/coretests/apps/bstatstestapp/
TestService.java 60 startForeground();
82 private void startForeground() {
88 startForeground(NOTIFICATION_ID,
  /frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
MtpDocumentsService.java 89 startForeground(ids[i], notifications[i]);
  /cts/hostsidetests/media/app/MediaSessionTestHelper/src/android/media/app/media_session_test_helper/
MediaSessionTestHelperService.java 64 startForeground(NOTIFICATION_ID, notification);
  /development/samples/ApiDemos/src/com/example/android/apis/app/
ForegroundService.java 104 startForeground(R.string.foreground_service_started, notification);
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowServiceTest.java 65 public void startForeground() {
67 service.startForeground(23, n);
83 service.startForeground(21, notBuilder.build());
95 service.startForeground(21, n);
107 service.startForeground(21, n);
  /packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
BluetoothPairingService.java 167 startForeground(NOTIFICATION_ID, builder.getNotification());
  /packages/apps/Traceur/src/com/google/android/traceur/
AtraceService.java 102 startForeground(TRACE_NOTIFICATION, notification);
133 startForeground(SAVING_TRACE_NOTIFICATION, notification);
  /cts/tests/app/app/src/android/app/stubs/
LocalForegroundService.java 74 startForeground(mNotificationId, notification);
93 Log.d(TAG, "Starting without calling startForeground()");
  /developers/build/prebuilts/gradle/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/
AdvertiserService.java 164 startForeground(FOREGROUND_NOTIFICATION_ID, n);
  /developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediasession/service/
MusicService.java 225 startForeground(MediaNotificationManager.NOTIFICATION_ID, notification);
  /developers/samples/android/connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/
AdvertiserService.java 164 startForeground(FOREGROUND_NOTIFICATION_ID, n);
  /developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediasession/service/
MusicService.java 225 startForeground(MediaNotificationManager.NOTIFICATION_ID, notification);
  /frameworks/base/core/java/android/app/
Service.java 223 * <li><p>A started service can use the {@link #startForeground(int, Notification)}
308 * to {@link #startForeground} will be removed. Otherwise it will remain
309 * until a later call (to {@link #startForeground(int, Notification)} or
316 * to {@link #startForeground} will be detached from the service. Only makes sense
648 * {@link #startForeground(int, Notification)} instead. This method
673 * {@link #startForeground} if killing your service would be disruptive to the user, such as
    [all...]
  /frameworks/base/tests/OneMedia/src/com/android/onemedia/
NotificationHelper.java 232 mService.startForeground(NOTIFICATION_ID, notification);
  /packages/apps/Dialer/java/com/android/incallui/call/
TelecomAdapter.java 181 inCallService.startForeground(id, notification);
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothPairingService.java 168 startForeground(NOTIFICATION_ID, builder.getNotification());
  /packages/apps/TV/src/com/android/tv/dvr/recorder/
DvrRecordingService.java 84 sInstance.startForeground(startForRecording);
108 startForeground(true);
144 startForeground(intent.getBooleanExtra(EXTRA_START_FOR_RECORDING, false));
171 private void startForeground(boolean hasUpcomingRecording) {
196 startForeground(ONGOING_NOTIFICATION_ID, notification);

Completed in 485 milliseconds

1 2 3 4