Searched defs:isForeground (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/core/java/android/app/
H A DService.java673 public final void setForeground(boolean isForeground) { argument
H A DActivityManagerNative.java1357 boolean isForeground = data.readInt() != 0;
1358 setProcessForeground(token, pid, isForeground);
2946 final boolean isForeground = isAppForeground(userHandle);
2948 reply.writeInt(isForeground ? 1 : 0);
4751 boolean isForeground) throws RemoteException {
4757 data.writeInt(isForeground ? 1 : 0);
6977 final boolean isForeground = reply.readInt() == 1 ? true : false;
6980 return isForeground;
4750 setProcessForeground(IBinder token, int pid, boolean isForeground) argument
H A DIActivityManager.java293 boolean isForeground) throws RemoteException;
292 setProcessForeground(IBinder token, int pid, boolean isForeground) argument
/frameworks/base/services/core/java/com/android/server/am/
H A DServiceRecord.java95 boolean isForeground; // is service currently in foreground mode? field in class:ServiceRecord
235 if (isForeground || foregroundId != 0) {
236 pw.print(prefix); pw.print("isForeground="); pw.print(isForeground);
H A DActivityManagerService.java7501 public void setProcessForeground(IBinder token, int pid, boolean isForeground) { argument
7509 if (pr == null && isForeground) {
7522 if (isForeground && token != null) {
20827 final void updateProcessForegroundLocked(ProcessRecord proc, boolean isForeground, argument
20829 if (isForeground != proc.foregroundServices) {
20830 proc.foregroundServices = isForeground;
20833 if (isForeground) {

Completed in 132 milliseconds