Searched refs:appsConsumer (Results 1 – 7 of 7) sorted by relevance
131 BatteryConsumer appsConsumer = mStatsRule.getAppsBatteryConsumer(); in testMeasuredEnergyBasedModel() local132 assertThat(appsConsumer.getUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_SCREEN)) in testMeasuredEnergyBasedModel()135 assertThat(appsConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_SCREEN)) in testMeasuredEnergyBasedModel()137 assertThat(appsConsumer.getPowerModel(BatteryConsumer.POWER_COMPONENT_SCREEN)) in testMeasuredEnergyBasedModel()229 BatteryConsumer appsConsumer = mStatsRule.getAppsBatteryConsumer(); in testMeasuredEnergyBasedModel_multiDisplay() local230 assertThat(appsConsumer.getUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_SCREEN)) in testMeasuredEnergyBasedModel_multiDisplay()232 assertThat(appsConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_SCREEN)) in testMeasuredEnergyBasedModel_multiDisplay()234 assertThat(appsConsumer.getPowerModel(BatteryConsumer.POWER_COMPONENT_SCREEN)) in testMeasuredEnergyBasedModel_multiDisplay()298 BatteryConsumer appsConsumer = mStatsRule.getAppsBatteryConsumer(); in testPowerProfileBasedModel() local299 assertThat(appsConsumer.getUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_SCREEN)) in testPowerProfileBasedModel()[all …]
80 BatteryConsumer appsConsumer = mStatsRule.getAppsBatteryConsumer(); in testTimerBasedModel() local81 assertThat(appsConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_GNSS)) in testTimerBasedModel()83 assertThat(appsConsumer.getPowerModel(BatteryConsumer.POWER_COMPONENT_GNSS)) in testTimerBasedModel()127 BatteryConsumer appsConsumer = mStatsRule.getAppsBatteryConsumer(); in testMeasuredEnergyBasedModel() local128 assertThat(appsConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_GNSS)) in testMeasuredEnergyBasedModel()130 assertThat(appsConsumer.getPowerModel(BatteryConsumer.POWER_COMPONENT_GNSS)) in testMeasuredEnergyBasedModel()
62 BatteryConsumer appsConsumer = mStatsRule.getAppsBatteryConsumer(); in testTimerBasedModel() local63 assertThat(appsConsumer.getUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_IDLE)) in testTimerBasedModel()65 assertThat(appsConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_IDLE)) in testTimerBasedModel()
178 BatteryConsumer appsConsumer = mStatsRule.getAppsBatteryConsumer(); in testCounterBasedModel() local179 assertThat(appsConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO)) in testCounterBasedModel()181 assertThat(appsConsumer.getPowerModel(BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO)) in testCounterBasedModel()335 BatteryConsumer appsConsumer = mStatsRule.getAppsBatteryConsumer(); in testCounterBasedModel_multipleDefinedRat() local336 assertThat(appsConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO)) in testCounterBasedModel_multipleDefinedRat()338 assertThat(appsConsumer.getPowerModel(BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO)) in testCounterBasedModel_multipleDefinedRat()455 BatteryConsumer appsConsumer = mStatsRule.getAppsBatteryConsumer(); in testCounterBasedModel_legacyPowerProfile() local456 assertThat(appsConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO)) in testCounterBasedModel_legacyPowerProfile()458 assertThat(appsConsumer.getPowerModel(BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO)) in testCounterBasedModel_legacyPowerProfile()658 BatteryConsumer appsConsumer = mStatsRule.getAppsBatteryConsumer(); in testMeasuredEnergyBasedModel_mobileRadioActiveTimeModel() local[all …]
90 BatteryConsumer appsConsumer = mStatsRule.getDeviceBatteryConsumer(); in testTimerBasedModel() local91 assertThat(appsConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_SENSORS)) in testTimerBasedModel()
173 BatteryConsumer appsConsumer = mStatsRule.getDeviceBatteryConsumer(); in testPowerControllerBasedModel_nonMeasured() local174 assertThat(appsConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_WIFI)) in testPowerControllerBasedModel_nonMeasured()176 assertThat(appsConsumer.getPowerModel(BatteryConsumer.POWER_COMPONENT_WIFI)) in testPowerControllerBasedModel_nonMeasured()262 BatteryConsumer appsConsumer = mStatsRule.getDeviceBatteryConsumer(); in testPowerControllerBasedModel_measured() local263 assertThat(appsConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_WIFI)) in testPowerControllerBasedModel_measured()265 assertThat(appsConsumer.getPowerModel(BatteryConsumer.POWER_COMPONENT_WIFI)) in testPowerControllerBasedModel_measured()
596 final BatteryConsumer appsConsumer = getAggregateBatteryConsumer( in dump() local603 final double appsPowerMah = appsConsumer.getConsumedPower(key); in dump()627 appsConsumer.getConsumedPowerForCustomComponent(componentId); in dump()