Home
last modified time | relevance | path

Searched refs:mEnvironment (Results 1 – 4 of 4) sorted by relevance

/cts/tests/sensor/src/android/hardware/cts/helpers/
DTestSensorManager.java41 private final TestSensorEnvironment mEnvironment; field in TestSensorManager
63 mEnvironment = environment; in TestSensorManager()
79 String message = SensorCtsHelper.formatAssertionMessage("registerListener", mEnvironment); in registerListener()
83 mEnvironment.getSensor(), in registerListener()
84 mEnvironment.getRequestedSamplingPeriodUs(), in registerListener()
85 mEnvironment.getMaxReportLatencyUs(), in registerListener()
109 String message = SensorCtsHelper.formatAssertionMessage("registerListener", mEnvironment); in registerListener()
115 mEnvironment.getSensor(), in registerListener()
116 mEnvironment.getRequestedSamplingPeriodUs(), in registerListener()
117 mEnvironment.getMaxReportLatencyUs(), in registerListener()
[all …]
DTestSensorEventListener.java63 private final TestSensorEnvironment mEnvironment; field in TestSensorEventListener
88 mEnvironment = environment; in TestSensorEventListener()
201 builder.append("Sensor='").append(mEnvironment.getSensor()).append("', "); in logCollectedEventsToFile()
203 .append(mEnvironment.isSensorSamplingRateOverloaded()).append(", "); in logCollectedEventsToFile()
205 .append(mEnvironment.getRequestedSamplingPeriodUs()).append("us, "); in logCollectedEventsToFile()
207 .append(mEnvironment.getMaxReportLatencyUs()).append("us, "); in logCollectedEventsToFile()
286 mEnvironment, in waitForFlushComplete()
311 long samplingPeriodUs = mEnvironment.getMaximumExpectedSamplingPeriodUs(); in waitForEvents()
317 + mEnvironment.getMaxReportLatencyUs() in waitForEvents()
323 mEnvironment, in waitForEvents()
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/
DTestSensorOperation.java66 private final TestSensorEnvironment mEnvironment; field in TestSensorOperation
104 mEnvironment = environment; in TestSensorOperation()
107 mSensorManager = new TestSensorManager(mEnvironment); in TestSensorOperation()
114 addVerification(EventGapVerification.getDefault(mEnvironment)); in addDefaultVerifications()
115 addVerification(EventOrderingVerification.getDefault(mEnvironment)); in addDefaultVerifications()
116 addVerification(FrequencyVerification.getDefault(mEnvironment)); in addDefaultVerifications()
117 addVerification(JitterVerification.getDefault(mEnvironment)); in addDefaultVerifications()
118 addVerification(MagnitudeVerification.getDefault(mEnvironment)); in addDefaultVerifications()
119 addVerification(MeanVerification.getDefault(mEnvironment)); in addDefaultVerifications()
120 addVerification(StandardDeviationVerification.getDefault(mEnvironment)); in addDefaultVerifications()
[all …]
/cts/tests/sensor/src/android/hardware/cts/
DSensorTest.java740 private final TestSensorEnvironment mEnvironment; field in SensorTest.FlushExecutor
746 mEnvironment = environment; in FlushExecutor()
762 int sensorReportingMode = mEnvironment.getSensor().getReportingMode(); in execute()