Searched refs:getFrequency (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
D | SensorCtsHelperTest.java | 36 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()
|
D | TestSensorEnvironment.java | 277 return SensorCtsHelper.getFrequency(mSamplingPeriodUs, TimeUnit.MICROSECONDS); in getFrequencyHz()
|
D | SensorCtsHelper.java | 132 public static <TValue extends Number> double getFrequency(TValue period, TimeUnit unit) { in getFrequency() method in SensorCtsHelper
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/ |
D | FrequencyVerification.java | 97 double upperExpectedHz = SensorCtsHelper.getFrequency( in getDefault() 100 double lowerExpectedHz = SensorCtsHelper.getFrequency( in getDefault() 123 double measuredFrequencyHz = SensorCtsHelper.getFrequency( in verify()
|
D | StandardDeviationVerification.java | 74 float maxBandWidth = (float)SensorCtsHelper.getFrequency( in getDefault() 76 float minBandWidth = (float) SensorCtsHelper.getFrequency( in getDefault()
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | SensorParameterRangeTest.java | 119 double actualMinFrequency = SensorCtsHelper.getFrequency(sensor.getMaxDelay(), in checkSensorRangeAndFrequency() 125 double actualMaxFrequency = SensorCtsHelper.getFrequency(sensor.getMinDelay(), in checkSensorRangeAndFrequency()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | WifiStatus.java | 80 Log.d(TAG, "frequency=" + wifiInfo.getFrequency() + " " + WifiInfo.FREQUENCY_UNITS); in printConnectionInfo()
|