/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsBackgroundStatsTest.java | 57 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()
|
D | BatteryStatsSensorTest.java | 44 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()
|
D | BatteryStatsNoteTest.java | 130 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/ |
D | OomAdjusterTests.java | 202 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()
|
D | ActivityManagerServiceTest.java | 24 import static android.app.ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND; 178 PROCESS_STATE_IMPORTANT_FOREGROUND, // curState in incrementProcStateSeqAndNotifyAppsLocked()
|
/frameworks/native/libs/binder/include/binder/ |
D | ActivityManager.h | 53 PROCESS_STATE_IMPORTANT_FOREGROUND = 7, enumerator
|
/frameworks/base/core/proto/android/service/ |
D | procstats_enum.proto | 46 PROCESS_STATE_IMPORTANT_FOREGROUND = 3; enumerator
|
/frameworks/base/core/java/android/app/ |
D | ActivityManager.java | 529 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;
|
D | ActivityThread.java | 3059 final int state = processState <= ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND in updateVmProcessState()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | OomAdjuster.java | 26 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()
|
D | ProcessList.java | 782 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()
|
D | ActivityManagerService.java | 3194 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/ |
D | enums.proto | 67 PROCESS_STATE_IMPORTANT_FOREGROUND = 1005; enumerator
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | DumpUtils.java | 114 ProcessStatsEnums.PROCESS_STATE_IMPORTANT_FOREGROUND;
|
/frameworks/base/services/core/java/com/android/server/ |
D | VibratorService.java | 612 if (mProcStatesCache.get(uid, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND) in vibrate() 613 > ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND in vibrate()
|
D | AppStateTracker.java | 919 if (procState > ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND) { in handleUidStateChanged()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | ContentService.java | 1346 if (procState <= ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND || isUidActive) { in getSyncExemptionAndCleanUpExtrasForCaller()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityRecord.java | 20 import static android.app.ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND; 3538 || app.getReportedProcState() <= PROCESS_STATE_IMPORTANT_FOREGROUND) { in restartProcessIfVisible()
|
D | ActivityTaskManagerService.java | 5364 N, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in performDisplayOverrideConfigUpdate()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 567 ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND, 0); in testUidStateForeground()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | QuotaControllerTest.java | 1364 setProcessState(ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testMaybeScheduleStartAlarmLocked_Active()
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 612 } else if (procState <= ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND) { in mapToInternalProcessState()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 1759 Landroid/app/ActivityManager;->PROCESS_STATE_IMPORTANT_FOREGROUND:I 4143 Landroid/app/AppProtoEnums;->PROCESS_STATE_IMPORTANT_FOREGROUND:I
|