Home
last modified time | relevance | path

Searched refs:getFrequency (Results 1 – 17 of 17) 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()
DSensorRatePermissionEventConnectionTestHelper.java70 rate = SensorCtsHelper.getFrequency( in computeAvgRate()
DTestSensorEnvironment.java310 return SensorCtsHelper.getFrequency(mSamplingPeriodUs, TimeUnit.MICROSECONDS); in getFrequencyHz()
DSensorRatePermissionDirectReportTestHelper.java97 rate = SensorCtsHelper.getFrequency( in computeAvgRate()
DSensorCtsHelper.java146 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/tests/tv/src/android/media/tv/tuner/cts/
DTunerFrontendTest.java121 assertEquals(1, settings.getFrequency()); in testAnalogFrontendSettings()
173 assertEquals(2, settings.getFrequency()); in testAtsc3FrontendSettings()
216 assertEquals(3, settings.getFrequency()); in testAtscFrontendSettings()
250 assertEquals(4, settings.getFrequency()); in testDvbcFrontendSettings()
300 assertEquals(5, settings.getFrequency()); in testDvbsFrontendSettings()
355 assertEquals(6, settings.getFrequency()); in testDvbtFrontendSettings()
402 assertEquals(7, settings.getFrequency()); in testIsdbs3FrontendSettings()
438 assertEquals(8, settings.getFrequency()); in testIsdbsFrontendSettings()
475 assertEquals(9, settings.getFrequency()); in testIsdbtFrontendSettings()
512 assertEquals(6, settings.getFrequency()); in testDtmbFrontendSettings()
/cts/tests/sensor/src/android/hardware/cts/
DSensorParameterRangeTest.java190 double actualMaxFrequency = SensorCtsHelper.getFrequency(sensor.getMinDelay(), in checkSensorRangeAndFrequency()
197 double actualMinFrequency = SensorCtsHelper.getFrequency(sensor.getMaxDelay(), in checkSensorRangeAndFrequency()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiInfoTest.java175 assertThat(wifiInfo.getFrequency()).isGreaterThan(0); in testWifiInfoPropertiesWhileConnected()
DScanResultTest.java340 assertThat(currentNetwork.frequency).isEqualTo(wifiInfo.getFrequency()); in testScanResultMatchesWifiInfo()
DWifiNetworkSpecifierTest.java426 ((WifiInfo) caps.getTransportInfo()).getFrequency()))); in testWifiBandInNetworkCallback()
DConcurrencyTest.java547 assertNotEquals(0, mMyResponse.group.getFrequency()); in testRequestNetworkInfo()
DWifiManagerTest.java2428 callback.getCurrentSoftApInfo().getFrequency()); in testStartTetheredHotspotWithChannelConfigAndSoftApStateAndInfoCallback()
2461 0 == callback.getCurrentSoftApInfo().getFrequency(); in testStartTetheredHotspotWithChannelConfigAndSoftApStateAndInfoCallback()
/cts/tests/tests/os/src/android/os/cts/
DVibrationEffectTest.java738 assertEquals(expected, ((StepSegment) composed.getSegments().get(index)).getFrequency(),
/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/res/apis/
Dwifi-current.txt295 method public int getFrequency();
1018 method public int getFrequency();
Dtest-current.txt2026 method public float getFrequency();