Home
last modified time | relevance | path

Searched refs:strength (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DBassBoostTest.java86 short strength = mBassBoost.getRoundedStrength(); in test1_0Strength() local
87 strength = (strength == TEST_STRENGTH) ? TEST_STRENGTH2 : TEST_STRENGTH; in test1_0Strength()
88 mBassBoost.setStrength((short)strength); in test1_0Strength()
92 ((float)strength2 > (float)strength / STRENGTH_TOLERANCE) && in test1_0Strength()
93 ((float)strength2 < (float)strength * STRENGTH_TOLERANCE)); in test1_0Strength()
95 short strength = mBassBoost.getRoundedStrength(); in test1_0Strength() local
96 assertTrue("got incorrect strength", strength >= 0 && strength <= 1000); in test1_0Strength()
121 short strength = settings.strength; in test1_1Properties() local
123 strength = (strength == TEST_STRENGTH) ? TEST_STRENGTH2 : TEST_STRENGTH; in test1_1Properties()
125 settings.strength = strength; in test1_1Properties()
[all …]
DVirtualizerTest.java93 short strength = mVirtualizer.getRoundedStrength(); in test1_0Strength() local
94 strength = (strength == TEST_STRENGTH) ? TEST_STRENGTH2 : TEST_STRENGTH; in test1_0Strength()
95 mVirtualizer.setStrength((short)strength); in test1_0Strength()
99 ((float)strength2 > (float)strength / STRENGTH_TOLERANCE) && in test1_0Strength()
100 ((float)strength2 < (float)strength * STRENGTH_TOLERANCE)); in test1_0Strength()
102 short strength = mVirtualizer.getRoundedStrength(); in test1_0Strength() local
103 assertTrue("got incorrect strength", strength >= 0 && strength <= 1000); in test1_0Strength()
128 short strength = settings.strength; in test1_1Properties() local
130 strength = (strength == TEST_STRENGTH) ? TEST_STRENGTH2 : TEST_STRENGTH; in test1_1Properties()
132 settings.strength = strength; in test1_1Properties()
[all …]
/cts/tests/tests/hardware/src/android/hardware/cts/
DGeomagneticFieldTest.java56 int day, float dec, float inc, float strength) { in assertMagneticField() argument
66 assertEquals(strength, field.getFieldStrength(), FIELD_STRENGTH_THRESHOLD); in assertMagneticField()
68 Math.cos(Math.toRadians(inc)) * strength); in assertMagneticField()
71 float verticalFieldStrengthNanoTesla = (float) (Math.sin(Math.toRadians(inc)) * strength); in assertMagneticField()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/Renderable/
DLight.java60 public Light(float[] position, float strength) { in Light() argument
61 mStrength = strength; in Light()
/cts/tests/tests/os/src/android/os/cts/
DVibrationEffectTest.java368 for (int strength : strengths) { in testSetStrength()
369 effect.setEffectStrength(strength); in testSetStrength()
370 assertEquals(strength, effect.getEffectStrength()); in testSetStrength()
/cts/tests/tests/net/src/android/net/cts/
DNetworkAgentTest.kt370 val callbacks = thresholds.map { strength -> in testSignalStrengthThresholds() method
374 .setSignalStrength(strength) in testSignalStrengthThresholds()