Searched refs:isForeground (Results 1 – 5 of 5) sorted by relevance
84 boolean isForeground; // is service currently in foreground mode? field in ServiceRecord217 if (isForeground || foregroundId != 0) { in dump()218 pw.print(prefix); pw.print("isForeground="); pw.print(isForeground); in dump()
4626 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()
613 public final void setForeground(boolean isForeground) { in setForeground() argument
187 boolean isForeground) throws RemoteException; in setProcessForeground() argument
928 boolean isForeground = data.readInt() != 0; in onTransact()929 setProcessForeground(token, pid, isForeground); in onTransact()2853 boolean isForeground) throws RemoteException { in setProcessForeground() argument2859 data.writeInt(isForeground ? 1 : 0); in setProcessForeground()