Home
last modified time | relevance | path

Searched refs:PROCESS_STATE_BACKGROUND (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsImplTest.java20 import static android.os.BatteryStats.Uid.PROCESS_STATE_BACKGROUND;
78 PROCESS_STATE_BACKGROUND, in testUpdateProcStateCpuTimes()
235 PROCESS_STATE_BACKGROUND, in testCopyFromAllUidsCpuTimes()
DBstatsCpuTimesValidationTest.java20 import static android.os.BatteryStats.Uid.PROCESS_STATE_BACKGROUND;
455 getAllCpuFreqTimes(sTestPkgUid, PROCESS_STATE_BACKGROUND)); in testCpuFreqTimes_stateBg()
457 doSomeWork(PROCESS_STATE_BACKGROUND); in testCpuFreqTimes_stateBg()
460 final long[] cpuTimesMs = getAllCpuFreqTimes(sTestPkgUid, PROCESS_STATE_BACKGROUND); in testCpuFreqTimes_stateBg()
678 case PROCESS_STATE_BACKGROUND: in doSomeWork()
DBatteryStatsNoteTest.java178 actualRunTimeUs = uid.getProcessStateTime(BatteryStats.Uid.PROCESS_STATE_BACKGROUND, in testNoteUidProcessStateLocked()
/frameworks/base/services/core/java/com/android/server/am/
DHealthStatsBatteryStatsWriter.java271 uid.getProcessStateTimer(BatteryStats.Uid.PROCESS_STATE_BACKGROUND)); in writeUid()
/frameworks/base/core/proto/android/os/
Dbatterystats.proto747 PROCESS_STATE_BACKGROUND = 3; enumerator
/frameworks/base/core/java/android/os/
DBatteryStats.java586 return Uid.PROCESS_STATE_BACKGROUND; in mapToInternalProcessState()
773 public static final int PROCESS_STATE_BACKGROUND = 3; field in BatteryStats.Uid
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java9840 return mProcessState >= PROCESS_STATE_BACKGROUND; in isInBackground()