Home
last modified time | relevance | path

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

/cts/tests/sensor/src/android/hardware/cts/helpers/
DTestSensorEnvironment.java58 public TestSensorEnvironment(Context context, int sensorType, int samplingPeriodUs) { in TestSensorEnvironment() argument
59 this(context, sensorType, false /* sensorMightHaveMoreListeners */, samplingPeriodUs); in TestSensorEnvironment()
76 int samplingPeriodUs, in TestSensorEnvironment() argument
81 samplingPeriodUs, in TestSensorEnvironment()
100 int samplingPeriodUs) { in TestSensorEnvironment() argument
104 samplingPeriodUs, in TestSensorEnvironment()
124 int samplingPeriodUs, in TestSensorEnvironment() argument
129 samplingPeriodUs, in TestSensorEnvironment()
151 int samplingPeriodUs, in TestSensorEnvironment() argument
157 samplingPeriodUs, in TestSensorEnvironment()
[all …]
DTestSensorEventListener.java311 long samplingPeriodUs = mEnvironment.getMaximumExpectedSamplingPeriodUs(); in waitForEvents() local
316 long timeoutUs = (2 * eventCount * samplingPeriodUs) in waitForEvents()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DDeviceSuspendTestActivity.java331 int samplingPeriodUs = sensor.getMaxDelay(); in runAPWakeUpWhenReportLatencyExpires() local
332 if (samplingPeriodUs == 0) { in runAPWakeUpWhenReportLatencyExpires()
334 samplingPeriodUs = 200000; in runAPWakeUpWhenReportLatencyExpires()
337 long fifoBasedReportLatencyUs = maxBatchingPeriod(sensor, samplingPeriodUs); in runAPWakeUpWhenReportLatencyExpires()
345 samplingPeriodUs, in runAPWakeUpWhenReportLatencyExpires()
374 int samplingPeriodUs = sensor.getMinDelay(); in runAPWakeUpWhenFIFOFull() local
376 long fifoBasedReportLatencyUs = maxBatchingPeriod(sensor, samplingPeriodUs); in runAPWakeUpWhenFIFOFull()
383 samplingPeriodUs = (int) MIN_LATENCY_US/fifoMaxEventCount; in runAPWakeUpWhenFIFOFull()
396 (int) samplingPeriodUs, in runAPWakeUpWhenFIFOFull()
455 int samplingPeriodUs = sensor.getMinDelay(); in runVerifySensorTimestampClockbase() local
[all …]
/cts/tests/sensor/src/android/hardware/cts/
DSensorDirectReportTest.java579 for (int samplingPeriodUs : POSSIBLE_SAMPLE_PERIOD_US) { in runMultiModeRateIndependencyTestGroup()
581 sensorType, rate, type, samplingPeriodUs);}, in runMultiModeRateIndependencyTestGroup()
583 rate, type, samplingPeriodUs)); in runMultiModeRateIndependencyTestGroup()
749 int type , int rateLevel, int memType, int samplingPeriodUs) in runMultiModeRateIndependencyTest() argument
758 if (samplingPeriodUs == 0) { in runMultiModeRateIndependencyTest()
759 samplingPeriodUs = s.getMinDelay(); in runMultiModeRateIndependencyTest()
762 if (samplingPeriodUs < s.getMinDelay()) { in runMultiModeRateIndependencyTest()
774 boolean registerRet = mSensorManager.registerListener(listener, s, samplingPeriodUs); in runMultiModeRateIndependencyTest()
789 samplingPeriodUs); in runMultiModeRateIndependencyTest()
813 int samplingPeriodUs = Math.max((int) (1e6f / nominalFreq), s.getMinDelay()); in runTimestampTest() local
[all …]