Home
last modified time | relevance | path

Searched refs:fgRequired (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java328 … int callingPid, int callingUid, boolean fgRequired, String callingPackage, final int userId) in startServiceLocked() argument
367 if (!r.startRequested && !fgRequired) { in startServiceLocked()
409 r.fgRequired = fgRequired; in startServiceLocked()
415 if (!callerFg && !fgRequired && r.app == null in startServiceLocked()
467 if (callerFg || fgRequired) { in startServiceLocked()
469 … + callingUid + " pid=" + callingPid + " fgRequired=" + fgRequired + "): " + r); in startServiceLocked()
555 } else if (callerFg || r.fgRequired) { in startServiceInnerLocked()
1058 if (r.fgRequired) { in setServiceForegroundInnerLocked()
1062 r.fgRequired = false; in setServiceForegroundInnerLocked()
1154 if (sr.isForeground || sr.fgRequired) { in updateServiceForegroundLocked()
[all …]
DServiceRecord.java95 boolean fgRequired; // is the service required to go foreground after starting? field in ServiceRecord
DActivityManagerService.java18157 boolean fgRequired, String callingPackage, int userId)
18166 resolvedType, -1, uid, fgRequired, callingPackage, userId);