/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() [all …]
|
D | TestSensorManager.java | 79 String message = SensorCtsHelper.formatAssertionMessage("registerListener", mEnvironment); in registerListener() 109 String message = SensorCtsHelper.formatAssertionMessage("registerListener", mEnvironment); in registerListener() 172 SensorCtsHelper.formatAssertionMessage("Flush", mEnvironment), in requestFlush()
|
D | TestSensorEventListener.java | 262 File eventsDirectory = SensorCtsHelper.getSensorTestDataDirectory("events/"); in logCollectedEventsToFile() 284 String message = SensorCtsHelper.formatAssertionMessage( in waitForFlushComplete() 321 String message = SensorCtsHelper.formatAssertionMessage( in waitForEvents() 341 SensorCtsHelper.sleep(duration, timeUnit); in waitForEvents()
|
D | SensorStats.java | 148 File statsDirectory = SensorCtsHelper.getSensorTestDataDirectory("stats/"); in logToFile() 165 return SensorCtsHelper.sanitizeStringForFileName(sensor.getStringType()); in getSanitizedSensorName()
|
D | SensorCtsHelper.java | 31 public class SensorCtsHelper { class 38 private SensorCtsHelper() {} in SensorCtsHelper() method in SensorCtsHelper
|
D | SensorCalibratedUncalibratedVerifier.java | 75 long measuredSamplingPeriodNs = SensorCtsHelper.getSamplingPeriodNs(calibratedEvents); in verifyMeasurements()
|
D | TestSensorEnvironment.java | 277 return SensorCtsHelper.getFrequency(mSamplingPeriodUs, TimeUnit.MICROSECONDS); in getFrequencyHz()
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/ |
D | FrequencyVerification.java | 22 import android.hardware.cts.helpers.SensorCtsHelper; 97 double upperExpectedHz = SensorCtsHelper.getFrequency( in getDefault() 100 double lowerExpectedHz = SensorCtsHelper.getFrequency( in getDefault() 123 double measuredFrequencyHz = SensorCtsHelper.getFrequency( in verify()
|
D | MagnitudeVerification.java | 23 import android.hardware.cts.helpers.SensorCtsHelper; 123 mSum += SensorCtsHelper.getMagnitude(event.values); in addSensorEventInternal()
|
D | StandardDeviationVerification.java | 27 import android.hardware.cts.helpers.SensorCtsHelper; 74 float maxBandWidth = (float)SensorCtsHelper.getFrequency( in getDefault() 76 float minBandWidth = (float) SensorCtsHelper.getFrequency( in getDefault()
|
D | JitterVerification.java | 24 import android.hardware.cts.helpers.SensorCtsHelper; 117 List<Long> percentileValues = SensorCtsHelper.getPercentileValue(deltas, percentiles); in verify()
|
D | FifoLengthVerification.java | 22 import android.hardware.cts.helpers.SensorCtsHelper;
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensoroperations/ |
D | DelaySensorOperation.java | 19 import android.hardware.cts.helpers.SensorCtsHelper; 52 SensorCtsHelper.sleep(mDelay, mTimeUnit); in execute()
|
D | TestSensorOperation.java | 25 import android.hardware.cts.helpers.SensorCtsHelper; 155 String msg = SensorCtsHelper in execute() 208 SensorCtsHelper.sanitizeStringForFileName(fileName), in trySaveCollectedEvents() 271 SensorCtsHelper.sleep(2, TimeUnit.SECONDS); in createOperation() 319 SensorCtsHelper.sleep(2, TimeUnit.SECONDS); in createOperation() 407 SensorCtsHelper.sleep(interval, TimeUnit.MILLISECONDS); in createFlushOperation()
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | SensorParameterRangeTest.java | 23 import android.hardware.cts.helpers.SensorCtsHelper; 117 SensorCtsHelper.getUnitsForSensor(sensor)), in checkSensorRangeAndFrequency() 119 double actualMinFrequency = SensorCtsHelper.getFrequency(sensor.getMaxDelay(), in checkSensorRangeAndFrequency() 125 double actualMaxFrequency = SensorCtsHelper.getFrequency(sensor.getMinDelay(), in checkSensorRangeAndFrequency()
|
D | SensorIntegrationTests.java | 21 import android.hardware.cts.helpers.SensorCtsHelper; 66 SensorCtsHelper.sleep(3, TimeUnit.SECONDS); in testSensorsWithSeveralClients() 127 SensorCtsHelper.sleep(3, TimeUnit.SECONDS); in testSensorsMovingRates() 227 SensorCtsHelper.sleep(3, TimeUnit.SECONDS); in verifySensorStoppingInteraction()
|
D | SensorAdditionalInfoTest.java | 24 import android.hardware.cts.helpers.SensorCtsHelper; 105 SensorCtsHelper.sleep(REST_PERIOD_BEFORE_TEST_SEC, TimeUnit.SECONDS); in waitBeforeTestStarts()
|
D | SensorTest.java | 30 import android.hardware.cts.helpers.SensorCtsHelper; 318 SensorCtsHelper.sleep(3, TimeUnit.SECONDS); in testBatchAndFlush() 332 SensorCtsHelper.sleep(3, TimeUnit.SECONDS); in testBatchAndFlushWithHandler() 368 SensorCtsHelper.sleep(3, TimeUnit.SECONDS); in testBatchAndFlushUseDefaultHandler() 401 SensorCtsHelper.sleep(3, TimeUnit.SECONDS); in testBatchAndFlushWithMultipleSensors()
|
D | SensorBatchingFifoTest.java | 23 import android.hardware.cts.helpers.SensorCtsHelper;
|
D | SensorBatchingTests.java | 21 import android.hardware.cts.helpers.SensorCtsHelper; 298 SensorCtsHelper.sleep(3, TimeUnit.SECONDS); in executeTest()
|
D | SingleSensorTests.java | 22 import android.hardware.cts.helpers.SensorCtsHelper; 546 SensorCtsHelper.sleep(3, TimeUnit.SECONDS); in runSensorTest()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | MagneticFieldMeasurementTestActivity.java | 26 import android.hardware.cts.helpers.SensorCtsHelper; 186 SensorCtsHelper.getMagnitude(values)); in calibrateMagnetometer()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
D | PowerTestHostLink.java | 26 import android.hardware.cts.helpers.SensorCtsHelper; 220 response = SensorCtsHelper.getSensorTestDataDirectory("power/").getAbsolutePath(); in processClientRequest()
|