Home
last modified time | relevance | path

Searched refs:getSensor (Results 1 – 20 of 20) sorted by relevance

/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/
DFifoLengthVerification.java63 if (environment.getSensor().getReportingMode() != Sensor.REPORTING_MODE_CONTINUOUS) { in getDefault()
67 long fifoMaxEventCount = environment.getSensor().getFifoMaxEventCount(); in getDefault()
74 if (environment.isDeviceSuspendTest() && !environment.getSensor().isWakeUpSensor()) { in getDefault()
86 return new FifoLengthVerification(environment.getSensor().getFifoMaxEventCount(), in getDefault()
DBatchArrivalVerification.java59 if (environment.getSensor().getReportingMode() != Sensor.REPORTING_MODE_CONTINUOUS) { in getDefault()
62 long fifoMaxEventCount = environment.getSensor().getFifoMaxEventCount(); in getDefault()
71 if (environment.isDeviceSuspendTest() && !environment.getSensor().isWakeUpSensor()) { in getDefault()
DFrequencyVerification.java68 Sensor sensor = environment.getSensor(); in getDefault()
132 environment.getSensor().getName(), in verify()
DEventTimestampSynchronizationVerification.java71 long fifoMaxEventCount = environment.getSensor().getFifoMaxEventCount(); in getDefault()
78 if (environment.isDeviceSuspendTest() && !environment.getSensor().isWakeUpSensor()) { in getDefault()
DStandardDeviationVerification.java70 int sensorType = environment.getSensor().getType(); in getDefault()
75 environment.getSensor().getMinDelay(), TimeUnit.MICROSECONDS); in getDefault()
77 environment.getSensor().getMaxDelay(), TimeUnit.MICROSECONDS); in getDefault()
DGyroscopeIntegrationVerification.java58 int sensorType = environment.getSensor().getType(); in verify()
DEventOrderingVerification.java51 int reportingMode = environment.getSensor().getReportingMode(); in getDefault()
DMagnitudeVerification.java69 int sensorType = environment.getSensor().getType(); in getDefault()
DEventGapVerification.java57 if (environment.getSensor().getReportingMode() != Sensor.REPORTING_MODE_CONTINUOUS) { in getDefault()
DMeanVerification.java63 int sensorType = environment.getSensor().getType(); in getDefault()
DJitterVerification.java73 int sensorType = environment.getSensor().getType(); in getDefault()
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/
DTestSensorManager.java83 mEnvironment.getSensor(), in registerListener()
115 mEnvironment.getSensor(), in registerListener()
122 mEnvironment.getSensor(), in registerListener()
152 mSensorManager.unregisterListener(mTestSensorEventListener, mEnvironment.getSensor()); in unregisterListener()
DTestSensorEnvironment.java124 getSensor(context, sensorType), in TestSensorEnvironment()
200 public Sensor getSensor() { in getSensor() method in TestSensorEnvironment
305 public static Sensor getSensor(Context context, int sensorType) { in getSensor() method in TestSensorEnvironment
DSensorCtsHelper.java198 environment.getSensor().getName(), in formatAssertionMessage()
DTestSensorEventListener.java198 builder.append("Sensor='").append(mEnvironment.getSensor()).append("', "); in logCollectedEventsToFile()
/cts/tests/tests/hardware/src/android/hardware/cts/
DSensorIntegrationTests.java88 Sensor sensor = TestSensorEnvironment.getSensor(context, sensorType); in testSensorsWithSeveralClients()
268 Sensor sensor = TestSensorEnvironment.getSensor(getContext(), sensorType); in generateSamplingRateInUs()
DSensorBatchingTests.java310 SensorStats.getSanitizedSensorName(environment.getSensor()), in executeTest()
DSingleSensorTests.java564 SensorStats.getSanitizedSensorName(environment.getSensor()), in runSensorTest()
DSensorTest.java585 int sensorReportingMode = mEnvironment.getSensor().getReportingMode(); in execute()
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensoroperations/
DTestSensorOperation.java123 getStats().addValue("sensor_name", mEnvironment.getSensor().getName()); in execute()
205 SensorStats.getSanitizedSensorName(mEnvironment.getSensor()), in trySaveCollectedEvents()