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
85 mEnvironment = environment; in TestSensorEventListener()
198 builder.append("Sensor='").append(mEnvironment.getSensor()).append("', "); in logCollectedEventsToFile()
200 .append(mEnvironment.isSensorSamplingRateOverloaded()).append(", "); in logCollectedEventsToFile()
202 .append(mEnvironment.getRequestedSamplingPeriodUs()).append("us, "); in logCollectedEventsToFile()
204 .append(mEnvironment.getMaxReportLatencyUs()).append("us"); in logCollectedEventsToFile()
276 mEnvironment, in waitForFlushComplete()
298 long samplingPeriodUs = mEnvironment.getMaximumExpectedSamplingPeriodUs(); in waitForEvents()
304 + mEnvironment.getMaxReportLatencyUs() in waitForEvents()
310 mEnvironment, in waitForEvents()
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensoroperations/
DTestSensorOperation.java64 private final TestSensorEnvironment mEnvironment; field in TestSensorOperation
92 mEnvironment = environment; in TestSensorOperation()
95 mSensorManager = new TestSensorManager(mEnvironment); in TestSensorOperation()
102 addVerification(EventGapVerification.getDefault(mEnvironment)); in addDefaultVerifications()
103 addVerification(EventOrderingVerification.getDefault(mEnvironment)); in addDefaultVerifications()
104 addVerification(FrequencyVerification.getDefault(mEnvironment)); in addDefaultVerifications()
105 addVerification(JitterVerification.getDefault(mEnvironment)); in addDefaultVerifications()
106 addVerification(MagnitudeVerification.getDefault(mEnvironment)); in addDefaultVerifications()
107 addVerification(MeanVerification.getDefault(mEnvironment)); in addDefaultVerifications()
108 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.java566 private final TestSensorEnvironment mEnvironment; field in SensorTest.FlushExecutor
570 mEnvironment = environment; in FlushExecutor()
585 int sensorReportingMode = mEnvironment.getSensor().getReportingMode(); in execute()