Searched refs:POWER_COMPONENT_BLUETOOTH (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BluetoothPowerCalculatorTest.java | 143 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 …]
|
D | BluetoothPowerStatsCollectorTest.java | 65 .setPowerStatsThrottlePeriodMillis(BatteryConsumer.POWER_COMPONENT_BLUETOOTH, 1000); 159 BatteryConsumer.POWER_COMPONENT_BLUETOOTH); in triggering() 162 mBatteryStats.setPowerStatsCollectorEnabled(BatteryConsumer.POWER_COMPONENT_BLUETOOTH, in triggering()
|
D | BatteryStatsManagerTest.java | 53 BatteryConsumer.POWER_COMPONENT_BLUETOOTH}; in testBatteryUsageStatsDataConsistency()
|
D | BluetoothPowerStatsProcessorTest.java | 472 BatteryConsumer.POWER_COMPONENT_BLUETOOTH) in createAggregatedPowerStats()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | BluetoothPowerCalculator.java | 67 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()
|
D | BluetoothPowerStatsCollector.java | 99 BatteryConsumer.POWER_COMPONENT_BLUETOOTH)), in BluetoothPowerStatsCollector() 144 BatteryConsumer.POWER_COMPONENT_BLUETOOTH, mLayout.getDeviceStatsArrayLength(), in ensureInitialized()
|
D | BatteryUsageStatsProvider.java | 93 if (!mPowerStatsExporterEnabled.get(BatteryConsumer.POWER_COMPONENT_BLUETOOTH)) { in getPowerCalculators() 271 BatteryConsumer.POWER_COMPONENT_BLUETOOTH}; in verify()
|
D | BatteryExternalStatsWorker.java | 577 BatteryConsumer.POWER_COMPONENT_BLUETOOTH);
|
D | BatteryStatsImpl.java | 14703 mPowerStatsCollectorEnabled.get(BatteryConsumer.POWER_COMPONENT_BLUETOOTH)); 14722 case BatteryConsumer.POWER_COMPONENT_BLUETOOTH:
|
/frameworks/base/core/java/android/os/ |
D | BatteryConsumer.java | 51 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,
|
D | BatteryStats.java | 4418 CHECKIN_POWER_COMPONENT_LABELS[BatteryConsumer.POWER_COMPONENT_BLUETOOTH] = "blue"; 8785 case BatteryConsumer.POWER_COMPONENT_BLUETOOTH: in dumpProtoSystemLocked()
|
/frameworks/proto_logging/stats/enums/os/ |
D | enums.proto | 67 POWER_COMPONENT_BLUETOOTH = 2; enumerator
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 511 config.trackPowerComponent(BatteryConsumer.POWER_COMPONENT_BLUETOOTH) in createAggregatedPowerStatsConfig() 618 mStats.setPowerStatsCollectorEnabled(BatteryConsumer.POWER_COMPONENT_BLUETOOTH, in systemServicesReady() 621 BatteryConsumer.POWER_COMPONENT_BLUETOOTH, in systemServicesReady()
|