Home
last modified time | relevance | path

Searched refs:isForeground (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/core/java/com/android/server/location/
DLocationRequestStatistics.java28 boolean isForeground) { in startRequesting() argument
36 stats.updateForeground(isForeground); in startRequesting()
59 public void updateForeground(String packageName, String providerName, boolean isForeground) { in updateForeground() argument
63 stats.updateForeground(isForeground); in updateForeground()
156 private void updateForeground(boolean isForeground) { in updateForeground() argument
162 mLastForegroundElapsedTimeMs = isForeground ? nowElapsedTimeMs : 0; in updateForeground()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DUserGridRecyclerView.java117 boolean isForeground = in createUserRecords()
120 false /* isAddUser */, isForeground); in createUserRecords()
385 boolean isForeground) { in UserRecord() argument
389 mIsForeground = isForeground; in UserRecord()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationMenuRow.java253 private void createMenuViews(boolean resetState, final boolean isForeground) { in createMenuViews() argument
254 mIsForeground = isForeground; in createMenuViews()
266 if (!isForeground && showSnooze) { in createMenuViews()
278 if (!isForeground && showSnooze) { in createMenuViews()
/frameworks/base/core/java/android/app/
DService.java668 public final void setForeground(boolean isForeground) { in setForeground() argument
DIActivityManager.aidl243 void setProcessImportant(in IBinder token, int pid, boolean isForeground, String reason); in setProcessImportant() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationEntryManager.java364 boolean isForeground = (entry.notification.getNotification().flags in handleGroupSummaryRemoved()
369 if (isForeground || keepForReply) { in handleGroupSummaryRemoved()
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java107 boolean isForeground; // is service currently in foreground mode? field in ServiceRecord
287 if (isForeground || foregroundId != 0) { in writeToProto()
398 if (isForeground || foregroundId != 0) { in dump()
399 pw.print(prefix); pw.print("isForeground="); pw.print(isForeground); in dump()
DActiveServices.java209 if (r.isForeground) { in stopAllForegroundServicesLocked()
1371 if (!r.isForeground) { in setServiceForegroundInnerLocked()
1393 r.isForeground = true; in setServiceForegroundInnerLocked()
1443 if (r.isForeground) { in setServiceForegroundInnerLocked()
1448 r.isForeground = false; in setServiceForegroundInnerLocked()
1506 if (sr.isForeground || sr.fgRequired) { in updateServiceForegroundLocked()
2826 if (!r.isForeground) { in sendServiceArgsLocked()
3032 if (r.isForeground) { in bringDownServiceLocked()
3047 r.isForeground = false; in bringDownServiceLocked()
3761 info.foreground = r.isForeground; in makeRunningServiceInfoLocked()
[all …]
DAppErrors.java712 && (sr.isForeground || procIsBoundForeground)) {
DProcessRecord.java690 if (r.isForeground) { in isInterestingToUserLocked()
DActivityManagerService.java5686 public void setProcessImportant(IBinder token, int pid, boolean isForeground, String reason) { in setProcessImportant() argument
5694 if (pr == null && isForeground) { in setProcessImportant()
5707 if (isForeground && token != null) { in setProcessImportant()
16775 final void updateProcessForegroundLocked(ProcessRecord proc, boolean isForeground, in updateProcessForegroundLocked() argument
16778 if (isForeground != proc.hasForegroundServices() in updateProcessForegroundLocked()
16780 proc.setHasForegroundServices(isForeground, fgServiceTypes); in updateProcessForegroundLocked()
16783 if (isForeground) { in updateProcessForegroundLocked()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java4250 final boolean isForeground = isUidForegroundOnRestrictBackgroundUL(uid); in updateRulesForDataUsageRestrictionsULInner()
4261 } else if (isForeground) { in updateRulesForDataUsageRestrictionsULInner()
4278 + ": isForeground=" +isForeground in updateRulesForDataUsageRestrictionsULInner()
4337 + ": foreground=" + isForeground in updateRulesForDataUsageRestrictionsULInner()
4411 final boolean isForeground = isUidForegroundOnRestrictPowerUL(uid); in updateRulesForPowerRestrictionsULInner()
4421 if (isForeground) { in updateRulesForPowerRestrictionsULInner()
4436 + ", isForeground=" + isForeground in updateRulesForPowerRestrictionsULInner()
4453 + ": foreground=" + isForeground in updateRulesForPowerRestrictionsULInner()
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java2344 private void updateForeground(boolean isForeground) { in updateForeground() argument
2345 mIsForegroundUid = isForeground; in updateForeground()
2347 mReceiver.mCallerIdentity.mPackageName, mProvider, isForeground); in updateForeground()