Searched defs:startForeground (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/BstatsTestApp/src/com/android/coretests/apps/bstatstestapp/
H A DTestService.java60 startForeground();
82 private void startForeground() { method in class:TestService
88 startForeground(NOTIFICATION_ID,
/frameworks/base/core/java/android/app/
H A DService.java223 * <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
693 public final void startForeground(int id, Notification notification) { method in class:Service
707 * @see #startForeground(int, Notification)
720 * @see #startForeground(int, Notification)

Completed in 108 milliseconds