Home
last modified time | relevance | path

Searched refs:hasForegroundServices (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/java/android/app/
DProcessMemoryState.java128 public final boolean hasForegroundServices; field in ProcessMemoryState
145 boolean hasForegroundServices, int hostingComponentTypes, in ProcessMemoryState() argument
151 this.hasForegroundServices = hasForegroundServices; in ProcessMemoryState()
161 hasForegroundServices = in.readInt() == 1; in ProcessMemoryState()
189 parcel.writeInt(hasForegroundServices ? 1 : 0); in writeToParcel()
DApplicationExitInfo.java1122 public boolean hasForegroundServices() { in hasForegroundServices() method in ApplicationExitInfo
1131 public void setHasForegroundServices(boolean hasForegroundServices) { in setHasForegroundServices() argument
1132 mHasForegroundServices = hasForegroundServices; in setHasForegroundServices()
/frameworks/base/services/core/java/com/android/server/am/
DProcessServiceRecord.java172 void setHasForegroundServices(boolean hasForegroundServices, int fgServiceTypes, in setHasForegroundServices() argument
177 && hasForegroundServices != ((fgServiceTypes != 0) || hasTypeNoneFgs)) { in setHasForegroundServices()
181 mHasForegroundServices = hasForegroundServices; in setHasForegroundServices()
184 mApp.getWindowProcessController().setHasForegroundServices(hasForegroundServices); in setHasForegroundServices()
185 if (hasForegroundServices) { in setHasForegroundServices()
195 boolean hasForegroundServices() { in hasForegroundServices() method in ProcessServiceRecord
199 void setHasReportedForegroundServices(boolean hasForegroundServices) { in setHasReportedForegroundServices() argument
200 mRepHasForegroundServices = hasForegroundServices; in setHasReportedForegroundServices()
DAppFGSTracker.java244 longRunningFGSGone = wasLongRunning && !pkg.hasForegroundServices(); in handleForegroundServicesChanged()
376 if (!pkg.hasForegroundServices() || pkg.isLongRunning()) { in scheduleDurationCheckLocked()
414 if (pkg.hasForegroundServices() && !pkg.isLongRunning()) { in checkLongRunningFgs()
532 boolean hasForegroundServices(String packageName, int uid) { in hasForegroundServices() method in AppFGSTracker
535 return pkg != null && pkg.hasForegroundServices(); in hasForegroundServices()
539 boolean hasForegroundServices(int uid) { in hasForegroundServices() method in AppFGSTracker
546 if (pkg.hasForegroundServices()) { in hasForegroundServices()
671 if (!startFgs && !hasForegroundServices()) { in addEvent()
695 if (serviceTypes == mForegroundServiceTypes || !hasForegroundServices()) { in setForegroundServiceType()
750 boolean hasForegroundServices() { in hasForegroundServices() method in AppFGSTracker.PackageDurations
DUidRecord.java308 boolean hasForegroundServices() { in hasForegroundServices() method in UidRecord
DAppRestrictionController.java1965 boolean hasForegroundServices(String packageName, int uid) { in hasForegroundServices() method in AppRestrictionController
1966 return mInjector.getAppFGSTracker().hasForegroundServices(packageName, uid); in hasForegroundServices()
1972 boolean hasForegroundServices(int uid) { in hasForegroundServices() method in AppRestrictionController
1973 return mInjector.getAppFGSTracker().hasForegroundServices(uid); in hasForegroundServices()
2557 final boolean hasForegroundServices =
2558 mBgController.hasForegroundServices(packageName, uid);
2564 if (hasForegroundServices && hasForegroundServiceNotifications) {
2573 && hasForegroundServices) {
DBaseAppStateTimeSlotEventsTracker.java289 if (mTracker.mAppRestrictionController.hasForegroundServices(packageName, uid)) { in shouldExempt()
DOomAdjuster.java1476 if (app.mServices.hasForegroundServices()) { in updateAppUidRecLSP()
1612 if (uidRec.hasForegroundServices()) { in updateUidsLSP()
2010 final boolean hasForegroundServices = psr.hasForegroundServices(); in computeOomAdjLSP()
2012 final boolean hasShortForegroundServices = hasForegroundServices in computeOomAdjLSP()
2022 if (hasForegroundServices && hasNonShortForegroundServices) { in computeOomAdjLSP()
2067 if (psr.hasForegroundServices() && adj > PERCEPTIBLE_RECENT_FOREGROUND_APP_ADJ in computeOomAdjLSP()
2531 if (psr.hasForegroundServices()) { in computeOomAdjLSP()
DProcessRecord.java1211 return mServices.hasForegroundServices(); in isInterestingToUserLocked()
DAppExitInfoTracker.java935 info.hasForegroundServices()); in performLogToStatsdLocked()
DProcessList.java4651 } else if (psr.hasForegroundServices()) {
4757 } else if (psr.hasForegroundServices()) {
DActivityManagerService.java6620 if (psr != null && psr.hasForegroundServices()) { in isProcessInStateToScheduleUserInitiatedJobsLocked()
17378 final boolean foregroundStateChanged = isForeground != psr.hasForegroundServices(); in updateProcessForegroundLocked()
18909 r.mServices.hasForegroundServices(), in getMemoryStateForProcesses()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowProcessController.java485 public void setHasForegroundServices(boolean hasForegroundServices) { in setHasForegroundServices() argument
486 mHasForegroundServices = hasForegroundServices; in setHasForegroundServices()
489 boolean hasForegroundServices() { in hasForegroundServices() method in WindowProcessController
DActivityMetricsLogger.java1452 callerApp.hasForegroundServices() ? 1 : 0); in logAbortedBgActivityStart()
DActivityTaskSupervisor.java1859 if (proc.hasForegroundServices()) { in killTaskProcessesIfPossible()
/frameworks/base/services/
Dart-profile-boot508 Lcom/android/server/am/ProcessRecord;->hasForegroundServices()Z
Dart-wear-profile5039 PLcom/android/server/am/AppFGSTracker$PackageDurations;->hasForegroundServices()Z
5061 HPLcom/android/server/am/AppFGSTracker;->hasForegroundServices(Ljava/lang/String;I)Z
5297 HPLcom/android/server/am/AppRestrictionController;->hasForegroundServices(Ljava/lang/String;I)Z
6907 PLcom/android/server/am/ProcessServiceRecord;->hasForegroundServices()Z
7219 HPLcom/android/server/am/UidRecord;->hasForegroundServices()Z
Dart-profile512 HSPLcom/android/server/am/AppFGSTracker;->hasForegroundServices(Ljava/lang/String;I)Z+]Lcom/android…
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java2516 gpuMemPerPid.get(managedProcess.pid), managedProcess.hasForegroundServices,