Home
last modified time | relevance | path

Searched refs:setHasForegroundServices (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DServiceBindingOomAdjPolicyTest.java267 this::setHasForegroundServices, in testServiceDistinctBindingOomAdjMoreImportant()
282 this::setHasForegroundServices, in testServiceDistinctBindingOomAdjMoreImportant()
301 this::setHasForegroundServices, in testServiceDistinctBindingOomAdjLessImportant()
314 this::setHasForegroundServices, in testServiceDistinctBindingOomAdjLessImportant()
330 this::setHasForegroundServices, in testServiceDistinctBindingOomAdjWaivePriority()
344 this::setHasForegroundServices, in testServiceDistinctBindingOomAdjWaivePriority()
356 this::setHasForegroundServices, in testServiceDistinctBindingOomAdjWaivePriority()
377 this::setHasForegroundServices, in testServiceDistinctBindingOomAdjNoIncludeCapabilities()
391 this::setHasForegroundServices, in testServiceDistinctBindingOomAdjNoIncludeCapabilities()
409 this::setHasForegroundServices, in testServiceDistinctBindingOomAdjWithIncludeCapabilities()
[all …]
DMockingOomAdjusterTests.java532 app.mServices.setHasForegroundServices(true, ServiceInfo.FOREGROUND_SERVICE_TYPE_LOCATION, in testUpdateOomAdj_DoOne_FgServiceLocation()
547 app.mServices.setHasForegroundServices(true, 0, /* hasNoneType=*/true); in testUpdateOomAdj_DoOne_FgService()
574 app.mServices.setHasForegroundServices(true, in testUpdateOomAdj_DoOne_FgService_ShortFgs()
590 app.mServices.setHasForegroundServices(true, in testUpdateOomAdj_DoOne_FgService_ShortFgs()
616 app.mServices.setHasForegroundServices(true, in testUpdateOomAdj_DoOne_FgService_ShortFgs()
649 app.mServices.setHasForegroundServices(true, 0, /* hasNoneType=*/true); in testUpdateOomAdj_DoOne_PerceptibleRecent_FgService()
1145 client.mServices.setHasForegroundServices(true, 0, /* hasNoneType=*/true); in testUpdateOomAdj_DoOne_Service_ImportantFgService()
1175 client.mServices.setHasForegroundServices(true, FOREGROUND_SERVICE_TYPE_SHORT_SERVICE, in testUpdateOomAdj_DoOne_Service_ImportantFgService_ShortFgs()
1206 app2.mServices.setHasForegroundServices(true, FOREGROUND_SERVICE_TYPE_SHORT_SERVICE, in testUpdateOomAdj_DoOne_Service_BoundForegroundService_with_ShortFgs()
1470 client.mServices.setHasForegroundServices(true, 0, /* hasNoneType=*/true); in testUpdateOomAdj_DoOne_Provider_FgService()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DProcessServiceRecord.java172 void setHasForegroundServices(boolean hasForegroundServices, int fgServiceTypes, in setHasForegroundServices() method in ProcessServiceRecord
184 mApp.getWindowProcessController().setHasForegroundServices(hasForegroundServices); in setHasForegroundServices()
DAppExitInfoTracker.java1050 info.setHasForegroundServices(app.mServices.hasReportedForegroundServices()); in obtainRawRecord()
DActivityManagerService.java17388 psr.setHasForegroundServices(isForeground, fgServiceTypes, hasTypeNoneFgs); in updateProcessForegroundLocked()
/frameworks/base/core/java/android/app/
DApplicationExitInfo.java1131 public void setHasForegroundServices(boolean hasForegroundServices) { in setHasForegroundServices() method in ApplicationExitInfo
/frameworks/base/services/core/java/com/android/server/wm/
DWindowProcessController.java485 public void setHasForegroundServices(boolean hasForegroundServices) { in setHasForegroundServices() method in WindowProcessController
/frameworks/base/services/
Dart-wear-profile6928 PLcom/android/server/am/ProcessServiceRecord;->setHasForegroundServices(ZIZ)V
29749 PLcom/android/server/wm/WindowProcessController;->setHasForegroundServices(Z)V