Home
last modified time | relevance | path

Searched refs:getFrequency (Results 1 – 8 of 8) sorted by relevance

/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorCtsHelperTest.java36 assertEquals(1.0, SensorCtsHelper.getFrequency(1, TimeUnit.SECONDS), 0.001); in testGetFrequency()
37 assertEquals(10.0, SensorCtsHelper.getFrequency(0.1, TimeUnit.SECONDS), 0.001); in testGetFrequency()
38 assertEquals(10.0, SensorCtsHelper.getFrequency(100, TimeUnit.MILLISECONDS), 0.001); in testGetFrequency()
39 assertEquals(1000.0, SensorCtsHelper.getFrequency(1, TimeUnit.MILLISECONDS), 0.001); in testGetFrequency()
40 assertEquals(10000.0, SensorCtsHelper.getFrequency(0.1, TimeUnit.MILLISECONDS), 0.001); in testGetFrequency()
41 assertEquals(10000.0, SensorCtsHelper.getFrequency(100, TimeUnit.MICROSECONDS), 0.001); in testGetFrequency()
42 assertEquals(1000000.0, SensorCtsHelper.getFrequency(1, TimeUnit.MICROSECONDS), 0.001); in testGetFrequency()
43 assertEquals(10000000.0, SensorCtsHelper.getFrequency(0.1, TimeUnit.MICROSECONDS), 0.001); in testGetFrequency()
44 assertEquals(10000000.0, SensorCtsHelper.getFrequency(100, TimeUnit.NANOSECONDS), 0.001); in testGetFrequency()
45 assertEquals(1000000000.0, SensorCtsHelper.getFrequency(1, TimeUnit.NANOSECONDS), 0.001); in testGetFrequency()
DTestSensorEnvironment.java277 return SensorCtsHelper.getFrequency(mSamplingPeriodUs, TimeUnit.MICROSECONDS); in getFrequencyHz()
DSensorCtsHelper.java140 public static <TValue extends Number> double getFrequency(TValue period, TimeUnit unit) { in getFrequency() method in SensorCtsHelper
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/
DFrequencyVerification.java108 double expectedHz = SensorCtsHelper.getFrequency(delayUs, TimeUnit.MICROSECONDS); in getDefault()
112 lowerExpectedHz = SensorCtsHelper.getFrequency(delayUs, TimeUnit.MICROSECONDS); in getDefault()
113 upperExpectedHz = SensorCtsHelper.getFrequency(minDelayUs, TimeUnit.MICROSECONDS); in getDefault()
136 double measuredFrequencyHz = SensorCtsHelper.getFrequency( in verify()
DStandardDeviationVerification.java74 float maxBandWidth = (float)SensorCtsHelper.getFrequency( in getDefault()
76 float minBandWidth = (float) SensorCtsHelper.getFrequency( in getDefault()
/cts/tests/sensor/src/android/hardware/cts/
DSensorParameterRangeTest.java167 double actualMaxFrequency = SensorCtsHelper.getFrequency(sensor.getMinDelay(), in checkSensorRangeAndFrequency()
174 double actualMinFrequency = SensorCtsHelper.getFrequency(sensor.getMaxDelay(), in checkSensorRangeAndFrequency()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiInfoTest.java142 wifiInfo.getFrequency(); in testWifiInfoProperties()
DScanResultTest.java231 assertEquals(wifiInfo.getFrequency(), currentNetwork.frequency);