Home
last modified time | relevance | path

Searched refs:PROCESS_STATE_FOREGROUND (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBstatsCpuTimesValidationTest.java22 import static android.os.BatteryStats.Uid.PROCESS_STATE_FOREGROUND;
172 PROCESS_STATE_FOREGROUND); in checkCpuTimesAvailability()
422 getAllCpuFreqTimes(sTestPkgUid, PROCESS_STATE_FOREGROUND)); in testCpuFreqTimes_stateFg()
424 doSomeWork(PROCESS_STATE_FOREGROUND); in testCpuFreqTimes_stateFg()
427 final long[] cpuTimesMs = getAllCpuFreqTimes(sTestPkgUid, PROCESS_STATE_FOREGROUND); in testCpuFreqTimes_stateFg()
674 case PROCESS_STATE_FOREGROUND: in doSomeWork()
DBatteryStatsNoteTest.java172 actualRunTimeUs = uid.getProcessStateTime(BatteryStats.Uid.PROCESS_STATE_FOREGROUND, in testNoteUidProcessStateLocked()
/frameworks/base/services/core/java/com/android/server/am/
DHealthStatsBatteryStatsWriter.java267 uid.getProcessStateTimer(BatteryStats.Uid.PROCESS_STATE_FOREGROUND)); in writeUid()
/frameworks/base/core/proto/android/os/
Dbatterystats.proto744 PROCESS_STATE_FOREGROUND = 2; enumerator
/frameworks/base/core/java/android/os/
DBatteryStats.java584 return Uid.PROCESS_STATE_FOREGROUND; in mapToInternalProcessState()
768 public static final int PROCESS_STATE_FOREGROUND = 2; field in BatteryStats.Uid
819 PROCESS_STATE_TOP, PROCESS_STATE_FOREGROUND_SERVICE, PROCESS_STATE_FOREGROUND