Home
last modified time | relevance | path

Searched refs:PROCESS_STATE_IMPORTANT_FOREGROUND (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsBackgroundStatsTest.java57 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testBgTimeBase()
94 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testBgTimeBase()
117 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testScreenOffBgTimeBase()
149 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testScreenOffBgTimeBase()
165 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testWifiScan()
219 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in doTestAppBluetoothScanInternal()
288 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testJob()
349 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testSyncs()
DBatteryStatsSensorTest.java44 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testSensorStartStop()
152 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testBatteryStatusOnToOff()
255 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testPooledBackgroundUsage()
287 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testPooledBackgroundUsage()
DBatteryStatsNoteTest.java130 stateRuntimeMap.put(ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND, 4455); in testNoteUidProcessStateLocked()
173 expectedRunTimeMs = stateRuntimeMap.get(ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND) in testNoteUidProcessStateLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DOomAdjusterTests.java202 mProcessRecord.setCurProcState(ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testMaybeUpdateUsageStats_ProcStateImportantFG()
211 mProcessRecord.setCurProcState(ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testMaybeUpdateUsageStats_ProcStateImportantFG_PreviousInteraction()
221 mProcessRecord.setCurProcState(ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testMaybeUpdateUsageStats_ProcStateImportantFG_PastUsageInterval()
DActivityManagerServiceTest.java24 import static android.app.ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND;
178 PROCESS_STATE_IMPORTANT_FOREGROUND, // curState in incrementProcStateSeqAndNotifyAppsLocked()
/frameworks/native/libs/binder/include/binder/
DActivityManager.h53 PROCESS_STATE_IMPORTANT_FOREGROUND = 7, enumerator
/frameworks/base/core/proto/android/service/
Dprocstats_enum.proto46 PROCESS_STATE_IMPORTANT_FOREGROUND = 3; enumerator
/frameworks/base/core/java/android/app/
DActivityManager.java529 public static final int PROCESS_STATE_IMPORTANT_FOREGROUND = 7; field in ActivityManager
616 case PROCESS_STATE_IMPORTANT_FOREGROUND: in processStateAmToProto()
617 return AppProtoEnums.PROCESS_STATE_IMPORTANT_FOREGROUND; in processStateAmToProto()
2969 } else if (procState >= PROCESS_STATE_IMPORTANT_FOREGROUND) {
3028 return PROCESS_STATE_IMPORTANT_FOREGROUND;
3030 return PROCESS_STATE_IMPORTANT_FOREGROUND;
3127 processState = PROCESS_STATE_IMPORTANT_FOREGROUND;
DActivityThread.java3059 final int state = processState <= ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND in updateVmProcessState()
/frameworks/base/services/core/java/com/android/server/am/
DOomAdjuster.java26 import static android.app.ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND;
980 procState = PROCESS_STATE_IMPORTANT_FOREGROUND; in computeOomAdjLocked()
1325 PROCESS_STATE_IMPORTANT_FOREGROUND; in computeOomAdjLocked()
1516 if (procState > PROCESS_STATE_IMPORTANT_FOREGROUND) { in computeOomAdjLocked()
1517 procState = PROCESS_STATE_IMPORTANT_FOREGROUND; in computeOomAdjLocked()
1987 app.getCurProcState() <= PROCESS_STATE_IMPORTANT_FOREGROUND; in maybeUpdateUsageStatsLocked()
DProcessList.java782 case ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND: in makeProcStateString()
852 case ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND: in makeProcStateProtoEnum()
853 return AppProtoEnums.PROCESS_STATE_IMPORTANT_FOREGROUND; in makeProcStateProtoEnum()
DActivityManagerService.java3194 app.getCurProcState() > ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND)) { in setProcessMemoryTrimLevel()
5709 return uidRec.getCurProcState() <= ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND; in isAppForeground()
16642 if (app.getCurProcState() <= ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND) { in maybeUpdateProviderUsageStatsLocked()
/frameworks/base/core/proto/android/app/
Denums.proto67 PROCESS_STATE_IMPORTANT_FOREGROUND = 1005; enumerator
/frameworks/base/core/java/com/android/internal/app/procstats/
DDumpUtils.java114 ProcessStatsEnums.PROCESS_STATE_IMPORTANT_FOREGROUND;
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java612 if (mProcStatesCache.get(uid, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND) in vibrate()
613 > ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND in vibrate()
DAppStateTracker.java919 if (procState > ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND) { in handleUidStateChanged()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java1346 if (procState <= ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND || isUidActive) { in getSyncExemptionAndCleanUpExtrasForCaller()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java20 import static android.app.ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND;
3538 || app.getReportedProcState() <= PROCESS_STATE_IMPORTANT_FOREGROUND) { in restartProcessIfVisible()
DActivityTaskManagerService.java5364 N, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in performDisplayOverrideConfigUpdate()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DAppStateTrackerTest.java567 ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND, 0); in testUidStateForeground()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java1364 setProcessState(ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testMaybeScheduleStartAlarmLocked_Active()
/frameworks/base/core/java/android/os/
DBatteryStats.java612 } else if (procState <= ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND) { in mapToInternalProcessState()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt1759 Landroid/app/ActivityManager;->PROCESS_STATE_IMPORTANT_FOREGROUND:I
4143 Landroid/app/AppProtoEnums;->PROCESS_STATE_IMPORTANT_FOREGROUND:I