Home
last modified time | relevance | path

Searched refs:getDevicePowerEstimate (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DMobileRadioPowerStatsProcessorTest.java252 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in powerProfileModel()
254 totalPower += statsLayout.getDevicePowerEstimate(deviceStats); in powerProfileModel()
257 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in powerProfileModel()
259 totalPower += statsLayout.getDevicePowerEstimate(deviceStats); in powerProfileModel()
325 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in energyConsumerModel()
327 totalPower += statsLayout.getDevicePowerEstimate(deviceStats); in energyConsumerModel()
333 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in energyConsumerModel()
335 totalPower += statsLayout.getDevicePowerEstimate(deviceStats); in energyConsumerModel()
DBinaryStatePowerStatsProcessorTest.java104 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in powerProfileModel()
108 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in powerProfileModel()
193 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in energyConsumerModel()
197 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in energyConsumerModel()
DBluetoothPowerStatsProcessorTest.java220 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in powerProfileModel_mostlyDataTransfer()
224 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in powerProfileModel_mostlyDataTransfer()
319 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in powerProfileModel_mostlyScan()
323 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in powerProfileModel_mostlyScan()
422 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in consumedEnergyModel()
426 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in consumedEnergyModel()
DWifiPowerStatsProcessorTest.java256 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in powerProfileModel_powerController()
260 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in powerProfileModel_powerController()
369 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in consumedEnergyModel_powerController()
373 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in consumedEnergyModel_powerController()
476 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in powerProfileModel_noPowerController()
480 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in powerProfileModel_noPowerController()
DPhoneCallPowerStatsProcessorTest.java217 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in copyEstimatesFromMobileRadioPowerStats()
220 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in copyEstimatesFromMobileRadioPowerStats()
DCpuPowerStatsProcessorTest.java298 double actual = mStatsLayout.getDevicePowerEstimate(mDeviceStats.get(key)); in verifyPowerEstimates()
DCpuPowerStatsCollectorTest.java253 assertThat(layout.getDevicePowerEstimate(deviceStats)).isEqualTo(45); in powerStatsDescriptor()
/frameworks/base/services/core/java/com/android/server/power/stats/
DPowerStatsLayout.java207 public double getDevicePowerEstimate(long[] stats) { in getDevicePowerEstimate() method in PowerStatsLayout
DPowerStatsExporter.java158 totalPower[0] += layout.getDevicePowerEstimate(deviceStats); in populateBatteryUsageStatsBuilder()
DBinaryStatePowerStatsProcessor.java223 intermediates.power += mStatsLayout.getDevicePowerEstimate(mTmpDeviceStatsArray); in combineDevicePowerEstimates()