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);
2945 final boolean isForeground = isAppForeground(userHandle);
2947 reply.writeInt(isForeground ? 1 : 0);
4721 boolean isForeground) throws RemoteException {
4727 data.writeInt(isForeground ? 1 : 0);
6945 final boolean isForeground = reply.readInt() == 1 ? true : false;
6948 return isForeground;
4720 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.java7407 public void setProcessForeground(IBinder token, int pid, boolean isForeground) { argument
7415 if (pr == null && isForeground) {
7428 if (isForeground && token != null) {
20415 final void updateProcessForegroundLocked(ProcessRecord proc, boolean isForeground, argument
20417 if (isForeground != proc.foregroundServices) {
20418 proc.foregroundServices = isForeground;
20421 if (isForeground) {

Completed in 141 milliseconds