Home
last modified time | relevance | path

Searched refs:expectedPower1 (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBinaryStatePowerStatsProcessorTest.java114 double expectedPower1 = 0.166666; in powerProfileModel() local
119 .isWithin(PRECISION).of(expectedPower1 * 2500 / 6000); in powerProfileModel()
124 .isWithin(PRECISION).of(expectedPower1 * 2500 / 6000); in powerProfileModel()
129 .isWithin(PRECISION).of(expectedPower1 * 1000 / 6000); in powerProfileModel()
206 double expectedPower1 = 0.6; in energyConsumerModel() local
211 .isWithin(PRECISION).of(expectedPower1 * 2500 / 6000); in energyConsumerModel()
216 .isWithin(PRECISION).of(expectedPower1 * 2500 / 6000); in energyConsumerModel()
221 .isWithin(PRECISION).of(expectedPower1 * 1000 / 6000); in energyConsumerModel()
DBluetoothPowerStatsProcessorTest.java231 double expectedPower1 = 0.030092; in powerProfileModel_mostlyDataTransfer() local
236 .isWithin(PRECISION).of(expectedPower1 * 0.25); in powerProfileModel_mostlyDataTransfer()
241 .isWithin(PRECISION).of(expectedPower1 * 0.25); in powerProfileModel_mostlyDataTransfer()
246 .isWithin(PRECISION).of(expectedPower1 * 0.5); in powerProfileModel_mostlyDataTransfer()
330 double expectedPower1 = 0.041666; in powerProfileModel_mostlyScan() local
335 .isWithin(PRECISION).of(expectedPower1 * 0.25); in powerProfileModel_mostlyScan()
340 .isWithin(PRECISION).of(expectedPower1 * 0.25); in powerProfileModel_mostlyScan()
345 .isWithin(PRECISION).of(expectedPower1 * 0.5); in powerProfileModel_mostlyScan()
434 double expectedPower1 = 2.579365; in consumedEnergyModel() local
439 .isWithin(PRECISION).of(expectedPower1 * 0.25); in consumedEnergyModel()
[all …]
DWifiPowerStatsProcessorTest.java268 double expectedPower1 = 0.609333; in powerProfileModel_powerController() local
273 .isWithin(PRECISION).of(expectedPower1 * 0.25); in powerProfileModel_powerController()
278 .isWithin(PRECISION).of(expectedPower1 * 0.25); in powerProfileModel_powerController()
283 .isWithin(PRECISION).of(expectedPower1 * 0.5); in powerProfileModel_powerController()
381 double expectedPower1 = 6.9771; in consumedEnergyModel_powerController() local
386 .isWithin(PRECISION).of(expectedPower1 * 0.25); in consumedEnergyModel_powerController()
391 .isWithin(PRECISION).of(expectedPower1 * 0.25); in consumedEnergyModel_powerController()
396 .isWithin(PRECISION).of(expectedPower1 * 0.5); in consumedEnergyModel_powerController()
488 double expectedPower1 = 0.72; in powerProfileModel_noPowerController() local
493 .isWithin(PRECISION).of(expectedPower1 * 0.25); in powerProfileModel_noPowerController()
[all …]