Home
last modified time | relevance | path

Searched refs:statsLayout (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DMobileRadioPowerStatsProcessorTest.java233 MobileRadioPowerStatsLayout statsLayout = in powerProfileModel() local
252 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()
275 assertThat(statsLayout.getUidPowerEstimate(uidStats)) in powerProfileModel()
277 uidPower1 += statsLayout.getUidPowerEstimate(uidStats); in powerProfileModel()
281 assertThat(statsLayout.getUidPowerEstimate(uidStats)) in powerProfileModel()
283 uidPower1 += statsLayout.getUidPowerEstimate(uidStats); in powerProfileModel()
287 assertThat(statsLayout.getUidPowerEstimate(uidStats)) in powerProfileModel()
[all …]
DBinaryStatePowerStatsProcessorTest.java80 BinaryStatePowerStatsLayout statsLayout = new BinaryStatePowerStatsLayout(); in powerProfileModel() local
104 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in powerProfileModel()
108 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in powerProfileModel()
118 assertThat(statsLayout.getUidPowerEstimate(uidStats)) in powerProfileModel()
123 assertThat(statsLayout.getUidPowerEstimate(uidStats)) in powerProfileModel()
128 assertThat(statsLayout.getUidPowerEstimate(uidStats)) in powerProfileModel()
137 assertThat(statsLayout.getUidPowerEstimate(uidStats)) in powerProfileModel()
142 assertThat(statsLayout.getUidPowerEstimate(uidStats)) in powerProfileModel()
151 BinaryStatePowerStatsLayout statsLayout = new BinaryStatePowerStatsLayout(); in energyConsumerModel() local
153 statsLayout.toExtras(extras); in energyConsumerModel()
[all …]
DBluetoothPowerStatsProcessorTest.java205 BluetoothPowerStatsLayout statsLayout = in powerProfileModel_mostlyDataTransfer() local
220 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in powerProfileModel_mostlyDataTransfer()
224 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in powerProfileModel_mostlyDataTransfer()
235 assertThat(statsLayout.getUidPowerEstimate(uidStats)) in powerProfileModel_mostlyDataTransfer()
240 assertThat(statsLayout.getUidPowerEstimate(uidStats)) in powerProfileModel_mostlyDataTransfer()
245 assertThat(statsLayout.getUidPowerEstimate(uidStats)) in powerProfileModel_mostlyDataTransfer()
255 assertThat(statsLayout.getUidPowerEstimate(uidStats)) in powerProfileModel_mostlyDataTransfer()
260 assertThat(statsLayout.getUidPowerEstimate(uidStats)) in powerProfileModel_mostlyDataTransfer()
306 BluetoothPowerStatsLayout statsLayout = in powerProfileModel_mostlyScan() local
319 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in powerProfileModel_mostlyScan()
[all …]
DWifiPowerStatsProcessorTest.java239 WifiPowerStatsLayout statsLayout = in powerProfileModel_powerController() local
256 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in powerProfileModel_powerController()
260 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in powerProfileModel_powerController()
272 assertThat(statsLayout.getUidPowerEstimate(uidStats)) in powerProfileModel_powerController()
277 assertThat(statsLayout.getUidPowerEstimate(uidStats)) in powerProfileModel_powerController()
282 assertThat(statsLayout.getUidPowerEstimate(uidStats)) in powerProfileModel_powerController()
293 assertThat(statsLayout.getUidPowerEstimate(uidStats)) in powerProfileModel_powerController()
298 assertThat(statsLayout.getUidPowerEstimate(uidStats)) in powerProfileModel_powerController()
360 WifiPowerStatsLayout statsLayout = in consumedEnergyModel_powerController() local
369 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in consumedEnergyModel_powerController()
[all …]
DPhoneCallPowerStatsProcessorTest.java212 PowerStatsLayout statsLayout = in copyEstimatesFromMobileRadioPowerStats() local
217 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in copyEstimatesFromMobileRadioPowerStats()
220 assertThat(statsLayout.getDevicePowerEstimate(deviceStats)) in copyEstimatesFromMobileRadioPowerStats()