Searched refs:fgServiceTypes (Results 1 – 5 of 5) sorted by relevance
/aosp14/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ProcessServiceRecord.java | 159 void setHasForegroundServices(boolean hasForegroundServices, int fgServiceTypes, in setHasForegroundServices() argument 164 && hasForegroundServices != ((fgServiceTypes != 0) || hasTypeNoneFgs)) { in setHasForegroundServices() 169 mFgServiceTypes = fgServiceTypes; in setHasForegroundServices()
|
H A D | ActiveServices.java | 3298 int fgServiceTypes = 0; in updateServiceForegroundLocked() local 3304 fgServiceTypes |= sr.foregroundServiceType; in updateServiceForegroundLocked() 3311 fgServiceTypes, hasTypeNone, oomAdj); in updateServiceForegroundLocked()
|
H A D | ActivityManagerService.java | 16495 int fgServiceTypes, boolean hasTypeNoneFgs, boolean oomAdj) { in updateProcessForegroundLocked() argument 16499 || !psr.areForegroundServiceTypesSame(fgServiceTypes, hasTypeNoneFgs)) { in updateProcessForegroundLocked() 16507 psr.setHasForegroundServices(isForeground, fgServiceTypes, hasTypeNoneFgs); in updateProcessForegroundLocked() 16533 psr.setReportedForegroundServiceTypes(fgServiceTypes); in updateProcessForegroundLocked() 16537 item.foregroundServiceTypes = fgServiceTypes; in updateProcessForegroundLocked()
|
/aosp14/frameworks/base/core/java/android/app/ |
H A D | HomeVisibilityListener.java | 75 public void onForegroundServicesChanged(int pid, int uid, int fgServiceTypes) { in HomeVisibilityListener()
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
H A D | MockingOomAdjusterTests.java | 2579 boolean hasClientActivities, boolean hasForegroundServices, int fgServiceTypes, in makeProcessRecord() argument 2630 services.setHasForegroundServices(hasForegroundServices, fgServiceTypes, in makeProcessRecord()
|