Home
last modified time | relevance | path

Searched refs:hasForegroundActivities (Results 1 – 12 of 12) sorted by relevance

/aosp12/packages/apps/Nfc/src/com/android/nfc/
H A DForegroundUtils.java148 boolean hasForegroundActivities) throws RemoteException { in onForegroundActivitiesChanged() argument
153 if (hasForegroundActivities) { in onForegroundActivitiesChanged()
171 hasForegroundActivities); in onForegroundActivitiesChanged()
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DActivityStarterTests.java672 boolean hasForegroundActivities, boolean callerIsRecents, in runAndVerifyBackgroundActivityStartsSubtest() argument
679 hasForegroundActivities, callerIsRecents, callerIsTempAllowed, in runAndVerifyBackgroundActivityStartsSubtest()
687 boolean hasForegroundActivities, boolean callerIsRecents, in runAndVerifyBackgroundActivityStartsSubtest() argument
706 doReturn(hasForegroundActivities).when(callerApp).hasForegroundActivities(); in runAndVerifyBackgroundActivityStartsSubtest()
H A DWindowProcessControllerTests.java357 assertTrue(mWpc.hasForegroundActivities()); in testComputeProcessActivityState()
365 assertFalse(mWpc.hasForegroundActivities()); in testComputeProcessActivityState()
/aosp12/frameworks/base/services/core/java/com/android/server/am/
H A DProcessStateRecord.java667 void setHasForegroundActivities(boolean hasForegroundActivities) { in setHasForegroundActivities() argument
668 mHasForegroundActivities = hasForegroundActivities; in setHasForegroundActivities()
672 boolean hasForegroundActivities() { in hasForegroundActivities() method in ProcessStateRecord
H A DOomAdjuster.java2742 if (state.hasRepForegroundActivities() != state.hasForegroundActivities()) { in applyOomAdjLSP()
2743 state.setRepForegroundActivities(state.hasForegroundActivities()); in applyOomAdjLSP()
2868 if (state.hasForegroundActivities()) { in setAttachingSchedGroupLSP()
H A DProcessList.java4298 if (state.hasForegroundActivities()) { in writeProcessOomListToProto()
4402 if (state.hasForegroundActivities()) { in dumpProcessOomList()
H A DActivityManagerService.java15393 || (app.userId == userId && app.mState.hasForegroundActivities())) { in killForegroundAppsForUser()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowProcessController.java359 boolean hasForegroundActivities() { in hasForegroundActivities() method in WindowProcessController
H A DActivityMetricsLogger.java1212 callerApp.hasForegroundActivities() ? 1 : 0); in logAbortedBgActivityStart()
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
H A DMockingOomAdjusterTests.java2103 boolean hasForegroundActivities, boolean repForegroundActivities, boolean systemNoUi, in makeProcessRecord() argument
2141 state.setHasForegroundActivities(hasForegroundActivities); in makeProcessRecord()
/aosp12/frameworks/base/services/
H A Dart-profile-boot525 Lcom/android/server/am/ProcessRecord;->hasForegroundActivities()Z
H A Dart-profile8957 HSPLcom/android/server/am/ProcessStateRecord;->hasForegroundActivities()Z
50356 PLcom/android/server/wm/WindowProcessController;->hasForegroundActivities()Z