Searched refs:POWER_COMPONENT_VIDEO (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | VideoPowerCalculator.java | 47 return powerComponent == BatteryConsumer.POWER_COMPONENT_VIDEO; in isPowerComponentSupported() 64 .setUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_VIDEO, total.durationMs) in calculate() 65 .setConsumedPower(BatteryConsumer.POWER_COMPONENT_VIDEO, total.powerMah); in calculate() 69 .setUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_VIDEO, total.durationMs) in calculate() 70 .setConsumedPower(BatteryConsumer.POWER_COMPONENT_VIDEO, total.powerMah); in calculate() 78 app.setUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_VIDEO, durationMs) in calculateApp() 79 .setConsumedPower(BatteryConsumer.POWER_COMPONENT_VIDEO, powerMah); in calculateApp()
|
D | VideoPowerStatsProcessor.java | 27 super(BatteryConsumer.POWER_COMPONENT_VIDEO, uidResolver, in VideoPowerStatsProcessor()
|
D | BatteryUsageStatsProvider.java | 106 if (!mPowerStatsExporterEnabled.get(BatteryConsumer.POWER_COMPONENT_VIDEO)) { in getPowerCalculators()
|
D | BatteryStatsImpl.java | 6529 if (!mPowerStatsCollectorEnabled.get(BatteryConsumer.POWER_COMPONENT_VIDEO)) { in noteVideoOnLocked() 6546 if (!mPowerStatsCollectorEnabled.get(BatteryConsumer.POWER_COMPONENT_VIDEO)) { in noteVideoOffLocked()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | VideoPowerCalculatorTest.java | 63 assertThat(consumer.getUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_VIDEO)) in testTimerBasedModel() 65 assertThat(consumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_VIDEO)) in testTimerBasedModel() 70 .getUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_VIDEO)) in testTimerBasedModel() 72 assertThat(deviceBatteryConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_VIDEO)) in testTimerBasedModel() 77 .getUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_VIDEO)) in testTimerBasedModel() 79 assertThat(appsBatteryConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_VIDEO)) in testTimerBasedModel()
|
D | UserPowerCalculatorTest.java | 69 .getUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_VIDEO)).isEqualTo(7000); in testAllUsers() 76 .getUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_VIDEO)).isEqualTo(9999); in testAllUsers() 93 .getUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_VIDEO)).isEqualTo(7000); in testSpecificUser() 98 .getUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_VIDEO)).isEqualTo(11110); in testSpecificUser() 103 assertThat(user2.getUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_VIDEO)) in testSpecificUser() 155 return powerComponent == BatteryConsumer.POWER_COMPONENT_VIDEO; in isPowerComponentSupported() 162 app.setUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_VIDEO, durationMs / 1000); in calculateApp()
|
/frameworks/base/core/java/android/os/ |
D | BatteryConsumer.java | 54 POWER_COMPONENT_VIDEO, 77 public static final int POWER_COMPONENT_VIDEO = OsProtoEnums.POWER_COMPONENT_VIDEO; // 5 field in BatteryConsumer 113 sPowerComponentNames[POWER_COMPONENT_VIDEO] = "video"; 201 POWER_COMPONENT_VIDEO,
|
D | BatteryStats.java | 4421 CHECKIN_POWER_COMPONENT_LABELS[BatteryConsumer.POWER_COMPONENT_VIDEO] = "video";
|
/frameworks/proto_logging/stats/enums/os/ |
D | enums.proto | 70 POWER_COMPONENT_VIDEO = 5; enumerator
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 534 config.trackPowerComponent(BatteryConsumer.POWER_COMPONENT_VIDEO) in createAggregatedPowerStatsConfig() 630 mStats.setPowerStatsCollectorEnabled(BatteryConsumer.POWER_COMPONENT_VIDEO, in systemServicesReady() 633 BatteryConsumer.POWER_COMPONENT_VIDEO, in systemServicesReady()
|