Home
last modified time | relevance | path

Searched refs:mEnvironment (Results 1 – 6 of 6) 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
96 mEnvironment = environment; in TestSensorOperation()
99 mSensorManager = new TestSensorManager(mEnvironment); in TestSensorOperation()
106 addVerification(EventGapVerification.getDefault(mEnvironment)); in addDefaultVerifications()
107 addVerification(EventOrderingVerification.getDefault(mEnvironment)); in addDefaultVerifications()
108 addVerification(FrequencyVerification.getDefault(mEnvironment)); in addDefaultVerifications()
109 addVerification(JitterVerification.getDefault(mEnvironment)); in addDefaultVerifications()
110 addVerification(MagnitudeVerification.getDefault(mEnvironment)); in addDefaultVerifications()
111 addVerification(MeanVerification.getDefault(mEnvironment)); in addDefaultVerifications()
112 addVerification(StandardDeviationVerification.getDefault(mEnvironment)); in addDefaultVerifications()
[all …]
/cts/tests/core/runner-axt/src/com/android/cts/runner/
DCtsTestRunListener.java64 private TestEnvironment mEnvironment; field in CtsTestRunListener
69 mEnvironment = new TestEnvironment(getInstrumentation().getTargetContext()); in testRunStarted()
99 mEnvironment.reset(); in testStarted()
/cts/tests/core/runner/src/com/android/cts/runner/
DCtsTestRunListener.java64 private TestEnvironment mEnvironment; field in CtsTestRunListener
69 mEnvironment = new TestEnvironment(getInstrumentation().getTargetContext()); in testRunStarted()
99 mEnvironment.reset(); in testStarted()
/cts/tests/sensor/src/android/hardware/cts/
DSensorTest.java703 private final TestSensorEnvironment mEnvironment; field in SensorTest.FlushExecutor
709 mEnvironment = environment; in FlushExecutor()
725 int sensorReportingMode = mEnvironment.getSensor().getReportingMode(); in execute()