Home
last modified time | relevance | path

Searched refs:isForeground (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/java/com/android/server/am/
DServiceRecord.java84 boolean isForeground; // is service currently in foreground mode? field in ServiceRecord
217 if (isForeground || foregroundId != 0) { in dump()
218 pw.print(prefix); pw.print("isForeground="); pw.print(isForeground); in dump()
DActivityManagerService.java4626 public void setProcessForeground(IBinder token, int pid, boolean isForeground) {
4634 if (pr == null && isForeground) {
4647 if (isForeground && token != null) {
10973 info.foreground = r.isForeground; in makeRunningServiceInfoLocked()
10979 if (r.isForeground) { in makeRunningServiceInfoLocked()
11671 r.isForeground = false; in bringDownServiceLocked()
11941 r.isForeground = true; in setServiceForeground()
11947 if (r.isForeground) { in setServiceForeground()
11948 r.isForeground = false; in setServiceForeground()
11970 if (sr.isForeground) { in updateServiceForegroundLocked()
/frameworks/base/core/java/android/app/
DService.java613 public final void setForeground(boolean isForeground) { in setForeground() argument
DIActivityManager.java187 boolean isForeground) throws RemoteException; in setProcessForeground() argument
DActivityManagerNative.java928 boolean isForeground = data.readInt() != 0; in onTransact()
929 setProcessForeground(token, pid, isForeground); in onTransact()
2853 boolean isForeground) throws RemoteException { in setProcessForeground() argument
2859 data.writeInt(isForeground ? 1 : 0); in setProcessForeground()