Home
last modified time | relevance | path

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

12

/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
DTestSensorEventListener.java201 builder.append("Sensor='").append(mEnvironment.getSensor()).append("', "); in logCollectedEventsToFile()
DSensorCtsHelper.java225 environment.getSensor().getName(), in formatAssertionMessage()
/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()
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()
DTimestampClockSourceVerification.java70 long fifoMaxEventCount = environment.getSensor().getFifoMaxEventCount(); in getDefault()
77 if (environment.isDeviceSuspendTest() && !environment.getSensor().isWakeUpSensor()) { in getDefault()
DGyroscopeIntegrationVerification.java58 int sensorType = environment.getSensor().getType(); in verify()
DOffsetVerification.java68 if (environment.getSensor().getType() == Sensor.TYPE_MAGNETIC_FIELD_UNCALIBRATED) { in getDefault()
DMagnitudeVerification.java69 int sensorType = environment.getSensor().getType(); in getDefault()
DEventOrderingVerification.java51 int reportingMode = environment.getSensor().getReportingMode(); in getDefault()
DContinuousEventSanitizedVerification.java55 final int reportingMode = environment.getSensor().getReportingMode(); in getDefault()
DEventGapVerification.java58 if (environment.getSensor().getReportingMode() != Sensor.REPORTING_MODE_CONTINUOUS) { in getDefault()
DJitterVerification.java79 int sensorType = environment.getSensor().getType(); in getDefault()
DMeanVerification.java79 int sensorType = environment.getSensor().getType(); in getDefault()
DInitialValueVerification.java76 int sensorType = environment.getSensor().getType(); in getDefault()
/cts/tests/sensor/src/android/hardware/cts/
DSensorIntegrationTests.java91 Sensor sensor = TestSensorEnvironment.getSensor(context, sensorType); in testSensorsWithSeveralClients()
402 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()
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/
DTestSensorOperation.java128 getStats().addValue("sensor_name", mEnvironment.getSensor().getName()); in execute()
211 SensorStats.getSanitizedSensorName(mEnvironment.getSensor()), in trySaveCollectedEvents()

12