/frameworks/base/core/java/android/app/ |
D | ProcessMemoryState.java | 128 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()
|
D | ApplicationExitInfo.java | 1122 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/ |
D | ProcessServiceRecord.java | 172 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()
|
D | AppFGSTracker.java | 244 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
|
D | UidRecord.java | 308 boolean hasForegroundServices() { in hasForegroundServices() method in UidRecord
|
D | AppRestrictionController.java | 1965 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) {
|
D | BaseAppStateTimeSlotEventsTracker.java | 289 if (mTracker.mAppRestrictionController.hasForegroundServices(packageName, uid)) { in shouldExempt()
|
D | OomAdjuster.java | 1476 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()
|
D | ProcessRecord.java | 1211 return mServices.hasForegroundServices(); in isInterestingToUserLocked()
|
D | AppExitInfoTracker.java | 935 info.hasForegroundServices()); in performLogToStatsdLocked()
|
D | ProcessList.java | 4651 } else if (psr.hasForegroundServices()) { 4757 } else if (psr.hasForegroundServices()) {
|
D | ActivityManagerService.java | 6620 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/ |
D | WindowProcessController.java | 485 public void setHasForegroundServices(boolean hasForegroundServices) { in setHasForegroundServices() argument 486 mHasForegroundServices = hasForegroundServices; in setHasForegroundServices() 489 boolean hasForegroundServices() { in hasForegroundServices() method in WindowProcessController
|
D | ActivityMetricsLogger.java | 1452 callerApp.hasForegroundServices() ? 1 : 0); in logAbortedBgActivityStart()
|
D | ActivityTaskSupervisor.java | 1859 if (proc.hasForegroundServices()) { in killTaskProcessesIfPossible()
|
/frameworks/base/services/ |
D | art-profile-boot | 508 Lcom/android/server/am/ProcessRecord;->hasForegroundServices()Z
|
D | art-wear-profile | 5039 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
|
D | art-profile | 512 HSPLcom/android/server/am/AppFGSTracker;->hasForegroundServices(Ljava/lang/String;I)Z+]Lcom/android…
|
/frameworks/base/services/core/java/com/android/server/stats/pull/ |
D | StatsPullAtomService.java | 2516 gpuMemPerPid.get(managedProcess.pid), managedProcess.hasForegroundServices,
|