Home
last modified time | relevance | path

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

/cts/tests/sensor/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.java127 getSensor(context, sensorType), in TestSensorEnvironment()
154 getSensor(context, sensorType), in TestSensorEnvironment()
262 public Sensor getSensor() { in getSensor() method in TestSensorEnvironment
382 public static Sensor getSensor(Context context, int sensorType) { in getSensor() method in TestSensorEnvironment
DSensorCtsHelper.java217 environment.getSensor().getName(), in formatAssertionMessage()
DTestSensorEventListener.java201 builder.append("Sensor='").append(mEnvironment.getSensor()).append("', "); in logCollectedEventsToFile()
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/
DFifoLengthVerification.java63 if (environment.getSensor().getReportingMode() != Sensor.REPORTING_MODE_CONTINUOUS) { in getDefault()
67 long fifoReservedEventCount = environment.getSensor().getFifoReservedEventCount(); in getDefault()
74 if (environment.isDeviceSuspendTest() && !environment.getSensor().isWakeUpSensor()) { 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()
DEventBasicVerification.java96 long reservedFifoUs = sampleUs * environment.getSensor().getFifoReservedEventCount(); //>=0 in getDefault()
100 sampleUs * environment.getSensor().getFifoMaxEventCount(), reservedFifoUs); //>=0 in getDefault()
162 return new EventBasicVerification(expectedMinNumEvent, environment.getSensor()); in getDefault()
DFrequencyVerification.java68 Sensor sensor = environment.getSensor(); in getDefault()
145 environment.getSensor().getName(), in verify()
DEventTimestampSynchronizationVerification.java72 long fifoMaxEventCount = environment.getSensor().getFifoMaxEventCount(); in getDefault()
79 if (environment.isDeviceSuspendTest() && !environment.getSensor().isWakeUpSensor()) { in getDefault()
DTimestampClockSourceVerification.java70 long fifoMaxEventCount = environment.getSensor().getFifoMaxEventCount(); in getDefault()
77 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()
DMagnitudeVerification.java69 int sensorType = environment.getSensor().getType(); in getDefault()
DEventOrderingVerification.java51 int reportingMode = environment.getSensor().getReportingMode(); in getDefault()
DEventGapVerification.java58 if (environment.getSensor().getReportingMode() != Sensor.REPORTING_MODE_CONTINUOUS) { in getDefault()
DMeanVerification.java63 int sensorType = environment.getSensor().getType(); in getDefault()
DJitterVerification.java79 int sensorType = environment.getSensor().getType(); in getDefault()
/cts/tests/sensor/src/android/hardware/cts/
DSensorIntegrationTests.java88 Sensor sensor = TestSensorEnvironment.getSensor(context, sensorType); in testSensorsWithSeveralClients()
270 Sensor sensor = TestSensorEnvironment.getSensor(getContext(), sensorType); in generateSamplingRateInUs()
DSensorBatchingFifoTest.java99 environment.getSensor().getFifoReservedEventCount() * in runBatchingSensorFifoTest()
DSensorBatchingTests.java341 SensorStats.getSanitizedSensorName(environment.getSensor()), in executeTest()
DSingleSensorTests.java600 SensorStats.getSanitizedSensorName(environment.getSensor()), in runSensorTest()
DSensorTest.java588 int sensorReportingMode = mEnvironment.getSensor().getReportingMode(); in execute()
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/
DTestSensorOperation.java126 getStats().addValue("sensor_name", mEnvironment.getSensor().getName()); in execute()
209 SensorStats.getSanitizedSensorName(mEnvironment.getSensor()), in trySaveCollectedEvents()