/cts/tests/sensor/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 | SensorRatePermissionEventConnectionTestHelper.java | 70 rate = SensorCtsHelper.getFrequency( in computeAvgRate()
|
D | TestSensorEnvironment.java | 310 return SensorCtsHelper.getFrequency(mSamplingPeriodUs, TimeUnit.MICROSECONDS); in getFrequencyHz()
|
D | SensorRatePermissionDirectReportTestHelper.java | 97 rate = SensorCtsHelper.getFrequency( in computeAvgRate()
|
D | SensorCtsHelper.java | 146 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/ |
D | FrequencyVerification.java | 108 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()
|
D | StandardDeviationVerification.java | 74 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/ |
D | TunerFrontendTest.java | 121 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/ |
D | SensorParameterRangeTest.java | 190 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/ |
D | WifiInfoTest.java | 175 assertThat(wifiInfo.getFrequency()).isGreaterThan(0); in testWifiInfoPropertiesWhileConnected()
|
D | ScanResultTest.java | 340 assertThat(currentNetwork.frequency).isEqualTo(wifiInfo.getFrequency()); in testScanResultMatchesWifiInfo()
|
D | WifiNetworkSpecifierTest.java | 426 ((WifiInfo) caps.getTransportInfo()).getFrequency()))); in testWifiBandInNetworkCallback()
|
D | ConcurrencyTest.java | 547 assertNotEquals(0, mMyResponse.group.getFrequency()); in testRequestNetworkInfo()
|
D | WifiManagerTest.java | 2428 callback.getCurrentSoftApInfo().getFrequency()); in testStartTetheredHotspotWithChannelConfigAndSoftApStateAndInfoCallback() 2461 0 == callback.getCurrentSoftApInfo().getFrequency(); in testStartTetheredHotspotWithChannelConfigAndSoftApStateAndInfoCallback()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | VibrationEffectTest.java | 738 assertEquals(expected, ((StepSegment) composed.getSegments().get(index)).getFrequency(),
|
/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/res/apis/ |
D | wifi-current.txt | 295 method public int getFrequency(); 1018 method public int getFrequency();
|
D | test-current.txt | 2026 method public float getFrequency();
|