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.java390 … int callingPid, int callingUid, boolean fgRequired, String callingPackage, final int userId) in startServiceLocked() argument
446 if (fgRequired) { in startServiceLocked()
461 fgRequired = false; in startServiceLocked()
471 if (forcedStandby || (!r.startRequested && !fgRequired)) { in startServiceLocked()
480 + " pkg=" + callingPackage + " startFg?=" + fgRequired); in startServiceLocked()
490 if (fgRequired) { in startServiceLocked()
508 if (r.appInfo.targetSdkVersion < Build.VERSION_CODES.O && fgRequired) { in startServiceLocked()
513 fgRequired = false; in startServiceLocked()
537 r.fgRequired = fgRequired; in startServiceLocked()
541 if (fgRequired) { in startServiceLocked()
[all …]
DServiceRecord.java98 boolean fgRequired; // is the service required to go foreground after starting? field in ServiceRecord
DActivityManagerService.java20374 boolean fgRequired, String callingPackage, int userId) in startServiceInPackage() argument
20383 resolvedType, -1, uid, fgRequired, callingPackage, userId); in startServiceInPackage()