Home
last modified time | relevance | path

Searched refs:getPowerStatsDescriptor (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBluetoothPowerStatsProcessorTest.java206 new BluetoothPowerStatsLayout(aggregatedStats.getPowerStatsDescriptor()); in powerProfileModel_mostlyDataTransfer()
218 long[] deviceStats = new long[aggregatedStats.getPowerStatsDescriptor().statsArrayLength]; in powerProfileModel_mostlyDataTransfer()
232 long[] uidStats = new long[aggregatedStats.getPowerStatsDescriptor().uidStatsArrayLength]; in powerProfileModel_mostlyDataTransfer()
307 new BluetoothPowerStatsLayout(aggregatedStats.getPowerStatsDescriptor()); in powerProfileModel_mostlyScan()
317 long[] deviceStats = new long[aggregatedStats.getPowerStatsDescriptor().statsArrayLength]; in powerProfileModel_mostlyScan()
331 long[] uidStats = new long[aggregatedStats.getPowerStatsDescriptor().uidStatsArrayLength]; in powerProfileModel_mostlyScan()
414 new BluetoothPowerStatsLayout(aggregatedStats.getPowerStatsDescriptor()); in consumedEnergyModel()
420 long[] deviceStats = new long[aggregatedStats.getPowerStatsDescriptor().statsArrayLength]; in consumedEnergyModel()
435 long[] uidStats = new long[aggregatedStats.getPowerStatsDescriptor().uidStatsArrayLength]; in consumedEnergyModel()
DWifiPowerStatsProcessorTest.java240 new WifiPowerStatsLayout(aggregatedStats.getPowerStatsDescriptor()); in powerProfileModel_powerController()
254 long[] deviceStats = new long[aggregatedStats.getPowerStatsDescriptor().statsArrayLength]; in powerProfileModel_powerController()
269 long[] uidStats = new long[aggregatedStats.getPowerStatsDescriptor().uidStatsArrayLength]; in powerProfileModel_powerController()
361 new WifiPowerStatsLayout(aggregatedStats.getPowerStatsDescriptor()); in consumedEnergyModel_powerController()
367 long[] deviceStats = new long[aggregatedStats.getPowerStatsDescriptor().statsArrayLength]; in consumedEnergyModel_powerController()
382 long[] uidStats = new long[aggregatedStats.getPowerStatsDescriptor().uidStatsArrayLength]; in consumedEnergyModel_powerController()
460 new WifiPowerStatsLayout(aggregatedStats.getPowerStatsDescriptor()); in powerProfileModel_noPowerController()
474 long[] deviceStats = new long[aggregatedStats.getPowerStatsDescriptor().statsArrayLength]; in powerProfileModel_noPowerController()
489 long[] uidStats = new long[aggregatedStats.getPowerStatsDescriptor().uidStatsArrayLength]; in powerProfileModel_noPowerController()
DAggregatedPowerStatsTest.java145 .getPowerStatsDescriptor(); in verifyAggregatedPowerStats()
233 long[] out = new long[powerComponentStats.getPowerStatsDescriptor().statsArrayLength]; in getDeviceStats()
241 long[] out = new long[powerComponentStats.getPowerStatsDescriptor().stateStatsArrayLength]; in getStateStats()
249 long[] out = new long[powerComponentStats.getPowerStatsDescriptor().uidStatsArrayLength]; in getUidDeviceStats()
DMobileRadioPowerStatsProcessorTest.java235 aggregatedStats.getPowerStatsDescriptor()); in powerProfileModel()
250 long[] deviceStats = new long[aggregatedStats.getPowerStatsDescriptor().statsArrayLength]; in powerProfileModel()
272 long[] uidStats = new long[aggregatedStats.getPowerStatsDescriptor().uidStatsArrayLength]; in powerProfileModel()
319 aggregatedStats.getPowerStatsDescriptor()); in energyConsumerModel()
323 long[] deviceStats = new long[aggregatedStats.getPowerStatsDescriptor().statsArrayLength]; in energyConsumerModel()
344 long[] uidStats = new long[aggregatedStats.getPowerStatsDescriptor().uidStatsArrayLength]; in energyConsumerModel()
DCpuPowerStatsCollectorTest.java226 PowerStats.Descriptor descriptor = collector.getPowerStatsDescriptor(); in powerStatsDescriptor()
271 layout.fromExtras(collector.getPowerStatsDescriptor().extras); in collectStats()
342 layout.fromExtras(collector.getPowerStatsDescriptor().extras); in isolatedUidReuse()
475 layout.fromExtras(collector.getPowerStatsDescriptor().extras); in getScalingStepToPowerBracketMap()
DPhoneCallPowerStatsProcessorTest.java213 new PowerStatsLayout(stats.getPowerStatsDescriptor()); in copyEstimatesFromMobileRadioPowerStats()
215 long[] deviceStats = new long[stats.getPowerStatsDescriptor().statsArrayLength]; in copyEstimatesFromMobileRadioPowerStats()
DBinaryStatePowerStatsProcessorTest.java102 long[] deviceStats = new long[stats.getPowerStatsDescriptor().statsArrayLength]; in powerProfileModel()
115 long[] uidStats = new long[stats.getPowerStatsDescriptor().uidStatsArrayLength]; in powerProfileModel()
DCpuPowerStatsProcessorTest.java231 public PowerStats.Descriptor getPowerStatsDescriptor() { in getPowerStatsDescriptor() method in CpuPowerStatsProcessorTest.MockPowerComponentAggregatedPowerStats
/frameworks/base/services/core/java/com/android/server/power/stats/
DPhoneCallPowerStatsProcessor.java53 mMobileRadioStatsDescriptor = mobileRadioStats.getPowerStatsDescriptor(); in finish()
DPowerStatsExporter.java137 PowerStats.Descriptor descriptor = powerComponentStats.getPowerStatsDescriptor(); in populateBatteryUsageStatsBuilder()
179 PowerStats.Descriptor descriptor = powerComponentStats.getPowerStatsDescriptor(); in populateUidBatteryConsumers()
DBluetoothPowerStatsProcessor.java90 if (stats.getPowerStatsDescriptor() == null) { in finish()
94 unpackPowerStatsDescriptor(stats.getPowerStatsDescriptor()); in finish()
DWifiPowerStatsProcessor.java118 if (stats.getPowerStatsDescriptor() == null) { in finish()
122 unpackPowerStatsDescriptor(stats.getPowerStatsDescriptor()); in finish()
DMobileRadioPowerStatsProcessor.java170 if (stats.getPowerStatsDescriptor() == null) { in finish()
174 unpackPowerStatsDescriptor(stats.getPowerStatsDescriptor()); in finish()
DCpuPowerStatsProcessor.java142 if (stats.getPowerStatsDescriptor() == null) { in finish()
146 unpackPowerStatsDescriptor(stats.getPowerStatsDescriptor()); in finish()
DCpuPowerStatsCollector.java329 public PowerStats.Descriptor getPowerStatsDescriptor() { in getPowerStatsDescriptor() method in CpuPowerStatsCollector
DPowerComponentAggregatedPowerStats.java103 public PowerStats.Descriptor getPowerStatsDescriptor() { in getPowerStatsDescriptor() method in PowerComponentAggregatedPowerStats