/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BinaryStatePowerStatsProcessorTest.java | 20 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()
|
D | BluetoothPowerStatsProcessorTest.java | 20 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()
|
D | WifiPowerStatsProcessorTest.java | 22 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()
|
D | MobileRadioPowerStatsProcessorTest.java | 22 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()
|
D | AggregatedPowerStatsTest.java | 109 BatteryConsumer.PROCESS_STATE_CACHED, 2000); in prepareAggregatePowerStats() 198 BatteryConsumer.PROCESS_STATE_CACHED)) in verifyAggregatedPowerStats() 205 BatteryConsumer.PROCESS_STATE_CACHED)) in verifyAggregatedPowerStats()
|
D | BatteryStatsManagerTest.java | 58 BatteryConsumer.PROCESS_STATE_CACHED}; in testBatteryUsageStatsDataConsistency()
|
D | CpuPowerStatsProcessorTest.java | 19 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()
|
D | BatteryUsageStatsTest.java | 23 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()
|
D | BstatsCpuTimesValidationTest.java | 22 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()
|
D | BluetoothPowerCalculatorTest.java | 161 BatteryConsumer.PROCESS_STATE_CACHED); in testTimerBasedModel_byProcessState() 281 BatteryConsumer.PROCESS_STATE_CACHED); in testMeasuredEnergyBasedModel_byProcessState()
|
D | MultiStateStatsTest.java | 197 BatteryConsumer.PROCESS_STATE_CACHED)), in makeFactory()
|
D | BatteryStatsImplTest.java | 21 import static android.os.BatteryStats.Uid.PROCESS_STATE_CACHED; 175 PROCESS_STATE_CACHED in testUpdateProcStateCpuTimes() 377 PROCESS_STATE_CACHED in testUpdateCpuTimesForAllUids()
|
D | BatteryStatsNoteTest.java | 436 actualRunTimeUs = uid.getProcessStateTime(BatteryStats.Uid.PROCESS_STATE_CACHED, in testNoteUidProcessStateLocked()
|
/frameworks/base/core/java/android/os/ |
D | BatteryConsumer.java | 169 PROCESS_STATE_CACHED, 180 public static final int PROCESS_STATE_CACHED = 4; field in BatteryConsumer 192 sProcessStateNames[PROCESS_STATE_CACHED] = "cached";
|
D | UidBatteryConsumer.java | 141 appendProcessStateData(sb, BatteryConsumer.PROCESS_STATE_CACHED, in dump()
|
D | PowerComponents.java | 298 case BatteryConsumer.PROCESS_STATE_CACHED: in writePowerUsageSlice()
|
D | BatteryStats.java | 680 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/ |
D | procstats_enum.proto | 77 PROCESS_STATE_CACHED = 18; enumerator
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppBatteryTracker.java | 32 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()
|
D | HealthStatsBatteryStatsWriter.java | 275 uid.getProcessStateTimer(BatteryStats.Uid.PROCESS_STATE_CACHED)); in writeUid()
|
/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/ |
D | BatteryConsumerData.java | 191 case BatteryConsumer.PROCESS_STATE_CACHED: in addProcessStateEntries()
|
/frameworks/base/core/tests/batterystatstests/BatteryUsageStatsProtoTests/src/com/android/internal/os/ |
D | BatteryUsageStatsPulledTest.java | 294 BatteryConsumer.PROCESS_STATE_CACHED); in buildBatteryUsageStats()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | BatteryUsageStatsProvider.java | 276 BatteryConsumer.PROCESS_STATE_CACHED}; in verify()
|
/frameworks/base/core/proto/android/os/ |
D | batterystats.proto | 765 PROCESS_STATE_CACHED = 6; enumerator
|
/frameworks/proto_logging/stats/ |
D | atoms.proto | 8903 PROCESS_STATE_CACHED = 8; enumerator
|