Home
last modified time | relevance | path

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

/cts/tests/tests/hardware/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/tests/hardware/src/android/hardware/cts/helpers/sensoroperations/
DTestSensorOperation.java65 private final TestSensorEnvironment mEnvironment; field in TestSensorOperation
95 mEnvironment = environment; in TestSensorOperation()
98 mSensorManager = new TestSensorManager(mEnvironment); in TestSensorOperation()
105 addVerification(EventGapVerification.getDefault(mEnvironment)); in addDefaultVerifications()
106 addVerification(EventOrderingVerification.getDefault(mEnvironment)); in addDefaultVerifications()
107 addVerification(FrequencyVerification.getDefault(mEnvironment)); in addDefaultVerifications()
108 addVerification(JitterVerification.getDefault(mEnvironment)); in addDefaultVerifications()
109 addVerification(MagnitudeVerification.getDefault(mEnvironment)); in addDefaultVerifications()
110 addVerification(MeanVerification.getDefault(mEnvironment)); in addDefaultVerifications()
111 addVerification(StandardDeviationVerification.getDefault(mEnvironment)); in addDefaultVerifications()
[all …]
/cts/tests/core/runner/src/com/android/cts/runner/
DCtsTestRunListener.java63 private TestEnvironment mEnvironment; field in CtsTestRunListener
68 mEnvironment = new TestEnvironment(getInstrumentation().getTargetContext()); in testRunStarted()
98 mEnvironment.reset(); in testStarted()
/cts/tests/tests/hardware/src/android/hardware/cts/
DSensorTest.java569 private final TestSensorEnvironment mEnvironment; field in SensorTest.FlushExecutor
573 mEnvironment = environment; in FlushExecutor()
588 int sensorReportingMode = mEnvironment.getSensor().getReportingMode(); in execute()