Home
last modified time | relevance | path

Searched refs:POWER_COMPONENT_BLUETOOTH (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBluetoothPowerCalculatorTest.java143 assertThat(uidConsumer.getUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_BLUETOOTH)) in testTimerBasedModel_byProcessState()
145 assertThat(uidConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_BLUETOOTH)) in testTimerBasedModel_byProcessState()
147 assertThat(uidConsumer.getPowerModel(BatteryConsumer.POWER_COMPONENT_BLUETOOTH)) in testTimerBasedModel_byProcessState()
151 BatteryConsumer.POWER_COMPONENT_BLUETOOTH, in testTimerBasedModel_byProcessState()
154 BatteryConsumer.POWER_COMPONENT_BLUETOOTH, in testTimerBasedModel_byProcessState()
157 BatteryConsumer.POWER_COMPONENT_BLUETOOTH, in testTimerBasedModel_byProcessState()
160 BatteryConsumer.POWER_COMPONENT_BLUETOOTH, in testTimerBasedModel_byProcessState()
263 assertThat(uidConsumer.getUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_BLUETOOTH)) in testMeasuredEnergyBasedModel_byProcessState()
265 assertThat(uidConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_BLUETOOTH)) in testMeasuredEnergyBasedModel_byProcessState()
267 assertThat(uidConsumer.getPowerModel(BatteryConsumer.POWER_COMPONENT_BLUETOOTH)) in testMeasuredEnergyBasedModel_byProcessState()
[all …]
DBluetoothPowerStatsCollectorTest.java65 .setPowerStatsThrottlePeriodMillis(BatteryConsumer.POWER_COMPONENT_BLUETOOTH, 1000);
159 BatteryConsumer.POWER_COMPONENT_BLUETOOTH); in triggering()
162 mBatteryStats.setPowerStatsCollectorEnabled(BatteryConsumer.POWER_COMPONENT_BLUETOOTH, in triggering()
DBatteryStatsManagerTest.java53 BatteryConsumer.POWER_COMPONENT_BLUETOOTH}; in testBatteryUsageStatsDataConsistency()
DBluetoothPowerStatsProcessorTest.java472 BatteryConsumer.POWER_COMPONENT_BLUETOOTH) in createAggregatedPowerStats()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBluetoothPowerCalculator.java67 return powerComponent == BatteryConsumer.POWER_COMPONENT_BLUETOOTH; in isPowerComponentSupported()
86 keys = app.getKeys(BatteryConsumer.POWER_COMPONENT_BLUETOOTH); in calculate()
113 .setUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_BLUETOOTH, in calculate()
115 .setConsumedPower(BatteryConsumer.POWER_COMPONENT_BLUETOOTH, in calculate()
121 .setUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_BLUETOOTH, in calculate()
123 .setConsumedPower(BatteryConsumer.POWER_COMPONENT_BLUETOOTH, in calculate()
139 BatteryConsumer.POWER_COMPONENT_BLUETOOTH, powerAndDuration.durationMs) in calculateApp()
141 BatteryConsumer.POWER_COMPONENT_BLUETOOTH, powerAndDuration.powerMah, in calculateApp()
DBluetoothPowerStatsCollector.java99 BatteryConsumer.POWER_COMPONENT_BLUETOOTH)), in BluetoothPowerStatsCollector()
144 BatteryConsumer.POWER_COMPONENT_BLUETOOTH, mLayout.getDeviceStatsArrayLength(), in ensureInitialized()
DBatteryUsageStatsProvider.java93 if (!mPowerStatsExporterEnabled.get(BatteryConsumer.POWER_COMPONENT_BLUETOOTH)) { in getPowerCalculators()
271 BatteryConsumer.POWER_COMPONENT_BLUETOOTH}; in verify()
DBatteryExternalStatsWorker.java577 BatteryConsumer.POWER_COMPONENT_BLUETOOTH);
DBatteryStatsImpl.java14703 mPowerStatsCollectorEnabled.get(BatteryConsumer.POWER_COMPONENT_BLUETOOTH));
14722 case BatteryConsumer.POWER_COMPONENT_BLUETOOTH:
/frameworks/base/core/java/android/os/
DBatteryConsumer.java51 POWER_COMPONENT_BLUETOOTH,
74 public static final int POWER_COMPONENT_BLUETOOTH = OsProtoEnums.POWER_COMPONENT_BLUETOOTH; // 2 field in BatteryConsumer
110 sPowerComponentNames[POWER_COMPONENT_BLUETOOTH] = "bluetooth";
199 POWER_COMPONENT_BLUETOOTH,
DBatteryStats.java4418 CHECKIN_POWER_COMPONENT_LABELS[BatteryConsumer.POWER_COMPONENT_BLUETOOTH] = "blue";
8785 case BatteryConsumer.POWER_COMPONENT_BLUETOOTH: in dumpProtoSystemLocked()
/frameworks/proto_logging/stats/enums/os/
Denums.proto67 POWER_COMPONENT_BLUETOOTH = 2; enumerator
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java511 config.trackPowerComponent(BatteryConsumer.POWER_COMPONENT_BLUETOOTH) in createAggregatedPowerStatsConfig()
618 mStats.setPowerStatsCollectorEnabled(BatteryConsumer.POWER_COMPONENT_BLUETOOTH, in systemServicesReady()
621 BatteryConsumer.POWER_COMPONENT_BLUETOOTH, in systemServicesReady()