Home
last modified time | relevance | path

Searched refs:expectedPower (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBluetoothPowerStatsProcessorTest.java217 double expectedPower = 0.116666; in powerProfileModel_mostlyDataTransfer() local
221 .isWithin(PRECISION).of(expectedPower * 0.25); in powerProfileModel_mostlyDataTransfer()
225 .isWithin(PRECISION).of(expectedPower * 0.75); in powerProfileModel_mostlyDataTransfer()
316 double expectedPower = 0.116666; in powerProfileModel_mostlyScan() local
320 .isWithin(PRECISION).of(expectedPower * 0.25); in powerProfileModel_mostlyScan()
324 .isWithin(PRECISION).of(expectedPower * 0.75); in powerProfileModel_mostlyScan()
419 double expectedPower = 10; in consumedEnergyModel() local
423 .isWithin(PRECISION).of(expectedPower * 0.25); in consumedEnergyModel()
427 .isWithin(PRECISION).of(expectedPower * 0.75); in consumedEnergyModel()
DWifiPowerStatsProcessorTest.java253 double expectedPower = 0.873333; in powerProfileModel_powerController() local
257 .isWithin(PRECISION).of(expectedPower * 0.25); in powerProfileModel_powerController()
261 .isWithin(PRECISION).of(expectedPower * 0.75); in powerProfileModel_powerController()
366 double expectedPower = 10; in consumedEnergyModel_powerController() local
370 .isWithin(PRECISION).of(expectedPower * 0.25); in consumedEnergyModel_powerController()
374 .isWithin(PRECISION).of(expectedPower * 0.75); in consumedEnergyModel_powerController()
473 double expectedPower = 0.97333; in powerProfileModel_noPowerController() local
477 .isWithin(PRECISION).of(expectedPower * 0.25); in powerProfileModel_noPowerController()
481 .isWithin(PRECISION).of(expectedPower * 0.75); in powerProfileModel_noPowerController()
DBinaryStatePowerStatsProcessorTest.java101 double expectedPower = 0.277778; in powerProfileModel() local
105 .isWithin(PRECISION).of(expectedPower * 0.25); in powerProfileModel()
109 .isWithin(PRECISION).of(expectedPower * 0.75); in powerProfileModel()
/frameworks/av/media/libeffects/downmix/tests/
Ddownmix_tests.cpp194 const float expectedPower = in testBalance() local
197 EXPECT_NEAR(expectedPower, power[0] + power[1], POWER_TOLERANCE); in testBalance()
218 EXPECT_NEAR(expectedPower, power[0] + power[1], POWER_TOLERANCE); in testBalance()
223 EXPECT_NEAR(expectedPower, power[1], POWER_TOLERANCE); in testBalance()