Home
last modified time | relevance | path

Searched refs:PROCESS_STATE_CACHED (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBinaryStatePowerStatsProcessorTest.java20 import static android.os.BatteryConsumer.PROCESS_STATE_CACHED;
136 states(POWER_STATE_OTHER, SCREEN_STATE_OTHER, PROCESS_STATE_CACHED)); in powerProfileModel()
141 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_CACHED)); in powerProfileModel()
228 states(POWER_STATE_OTHER, SCREEN_STATE_OTHER, PROCESS_STATE_CACHED)); in energyConsumerModel()
233 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_CACHED)); in energyConsumerModel()
279 powerComponentStats.setUidState(APP_UID2, STATE_PROCESS_STATE, PROCESS_STATE_CACHED, 0); in createAggregatedPowerStats()
DBluetoothPowerStatsProcessorTest.java20 import static android.os.BatteryConsumer.PROCESS_STATE_CACHED;
254 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_CACHED)); in powerProfileModel_mostlyDataTransfer()
259 states(POWER_STATE_OTHER, SCREEN_STATE_OTHER, PROCESS_STATE_CACHED)); in powerProfileModel_mostlyDataTransfer()
353 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_CACHED)); in powerProfileModel_mostlyScan()
358 states(POWER_STATE_OTHER, SCREEN_STATE_OTHER, PROCESS_STATE_CACHED)); in powerProfileModel_mostlyScan()
458 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_CACHED)); in consumedEnergyModel()
463 states(POWER_STATE_OTHER, SCREEN_STATE_OTHER, PROCESS_STATE_CACHED)); in consumedEnergyModel()
484 aggregatedStats.setUidState(APP_UID2, STATE_PROCESS_STATE, PROCESS_STATE_CACHED, 0); in createAggregatedPowerStats()
DWifiPowerStatsProcessorTest.java22 import static android.os.BatteryConsumer.PROCESS_STATE_CACHED;
292 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_CACHED)); in powerProfileModel_powerController()
297 states(POWER_STATE_OTHER, SCREEN_STATE_OTHER, PROCESS_STATE_CACHED)); in powerProfileModel_powerController()
405 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_CACHED)); in consumedEnergyModel_powerController()
410 states(POWER_STATE_OTHER, SCREEN_STATE_OTHER, PROCESS_STATE_CACHED)); in consumedEnergyModel_powerController()
512 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_CACHED)); in powerProfileModel_noPowerController()
517 states(POWER_STATE_OTHER, SCREEN_STATE_OTHER, PROCESS_STATE_CACHED)); in powerProfileModel_noPowerController()
537 aggregatedStats.setUidState(APP_UID2, STATE_PROCESS_STATE, PROCESS_STATE_CACHED, 0); in createAggregatedPowerStats()
DMobileRadioPowerStatsProcessorTest.java22 import static android.os.BatteryConsumer.PROCESS_STATE_CACHED;
192 aggregatedStats.setUidState(APP_UID2, STATE_PROCESS_STATE, PROCESS_STATE_CACHED, 0); in powerProfileModel()
293 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_CACHED)); in powerProfileModel()
299 states(POWER_STATE_OTHER, SCREEN_STATE_OTHER, PROCESS_STATE_CACHED)); in powerProfileModel()
365 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_CACHED)); in energyConsumerModel()
371 states(POWER_STATE_OTHER, SCREEN_STATE_OTHER, PROCESS_STATE_CACHED)); in energyConsumerModel()
431 aggregatedStats.setUidState(APP_UID2, STATE_PROCESS_STATE, PROCESS_STATE_CACHED, 0); in prepareAggregatedStats_energyConsumerModel()
DAggregatedPowerStatsTest.java109 BatteryConsumer.PROCESS_STATE_CACHED, 2000); in prepareAggregatePowerStats()
198 BatteryConsumer.PROCESS_STATE_CACHED)) in verifyAggregatedPowerStats()
205 BatteryConsumer.PROCESS_STATE_CACHED)) in verifyAggregatedPowerStats()
DBatteryStatsManagerTest.java58 BatteryConsumer.PROCESS_STATE_CACHED}; in testBatteryUsageStatsDataConsistency()
DCpuPowerStatsProcessorTest.java19 import static android.os.BatteryConsumer.PROCESS_STATE_CACHED;
128 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_CACHED), in powerProfileModel()
173 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_CACHED), in energyConsumerModel()
DBatteryUsageStatsTest.java23 import static android.os.BatteryConsumer.PROCESS_STATE_CACHED;
385 BatteryConsumer.PROCESS_STATE_CACHED); in addUidBatteryConsumer()
432 BatteryConsumer.PROCESS_STATE_CACHED); in addAggregateBatteryConsumer()
567 PROCESS_STATE_CACHED))) in assertUidBatteryConsumer()
610 BatteryConsumer.PROCESS_STATE_CACHED); in assertUidBatteryConsumer()
DBstatsCpuTimesValidationTest.java22 import static android.os.BatteryStats.Uid.PROCESS_STATE_CACHED;
507 getAllCpuFreqTimes(sTestPkgUid, PROCESS_STATE_CACHED)); in testCpuFreqTimes_stateCached()
509 doSomeWork(PROCESS_STATE_CACHED); in testCpuFreqTimes_stateCached()
512 final long[] cpuTimesMs = getAllCpuFreqTimes(sTestPkgUid, PROCESS_STATE_CACHED); in testCpuFreqTimes_stateCached()
588 case PROCESS_STATE_CACHED: in doSomeWork()
DBluetoothPowerCalculatorTest.java161 BatteryConsumer.PROCESS_STATE_CACHED); in testTimerBasedModel_byProcessState()
281 BatteryConsumer.PROCESS_STATE_CACHED); in testMeasuredEnergyBasedModel_byProcessState()
DMultiStateStatsTest.java197 BatteryConsumer.PROCESS_STATE_CACHED)), in makeFactory()
DBatteryStatsImplTest.java21 import static android.os.BatteryStats.Uid.PROCESS_STATE_CACHED;
175 PROCESS_STATE_CACHED in testUpdateProcStateCpuTimes()
377 PROCESS_STATE_CACHED in testUpdateCpuTimesForAllUids()
DBatteryStatsNoteTest.java436 actualRunTimeUs = uid.getProcessStateTime(BatteryStats.Uid.PROCESS_STATE_CACHED, in testNoteUidProcessStateLocked()
/frameworks/base/core/java/android/os/
DBatteryConsumer.java169 PROCESS_STATE_CACHED,
180 public static final int PROCESS_STATE_CACHED = 4; field in BatteryConsumer
192 sProcessStateNames[PROCESS_STATE_CACHED] = "cached";
DUidBatteryConsumer.java141 appendProcessStateData(sb, BatteryConsumer.PROCESS_STATE_CACHED, in dump()
DPowerComponents.java298 case BatteryConsumer.PROCESS_STATE_CACHED: in writePowerUsageSlice()
DBatteryStats.java680 return Uid.PROCESS_STATE_CACHED; in mapToInternalProcessState()
698 case BatteryStats.Uid.PROCESS_STATE_CACHED: in mapUidProcessStateToBatteryConsumerProcessState()
699 return BatteryConsumer.PROCESS_STATE_CACHED; in mapUidProcessStateToBatteryConsumerProcessState()
938 public static final int PROCESS_STATE_CACHED = 6; field in BatteryStats.Uid
/frameworks/proto_logging/stats/enums/service/
Dprocstats_enum.proto77 PROCESS_STATE_CACHED = 18; enumerator
/frameworks/base/services/core/java/com/android/server/am/
DAppBatteryTracker.java32 import static android.os.BatteryConsumer.PROCESS_STATE_CACHED;
908 final double cachedUsage = usage.getUsagePowerMah(PROCESS_STATE_CACHED); in dumpUidStats()
947 static final int BATTERY_USAGE_INDEX_CACHED = PROCESS_STATE_CACHED;
960 PROCESS_STATE_CACHED),
1078 case PROCESS_STATE_CACHED: in getUsagePowerMah()
DHealthStatsBatteryStatsWriter.java275 uid.getProcessStateTimer(BatteryStats.Uid.PROCESS_STATE_CACHED)); in writeUid()
/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/
DBatteryConsumerData.java191 case BatteryConsumer.PROCESS_STATE_CACHED: in addProcessStateEntries()
/frameworks/base/core/tests/batterystatstests/BatteryUsageStatsProtoTests/src/com/android/internal/os/
DBatteryUsageStatsPulledTest.java294 BatteryConsumer.PROCESS_STATE_CACHED); in buildBatteryUsageStats()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryUsageStatsProvider.java276 BatteryConsumer.PROCESS_STATE_CACHED}; in verify()
/frameworks/base/core/proto/android/os/
Dbatterystats.proto765 PROCESS_STATE_CACHED = 6; enumerator
/frameworks/proto_logging/stats/
Datoms.proto8903 PROCESS_STATE_CACHED = 8; enumerator

12