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.java59 public TestSensorEnvironment(Context context, int sensorType, int samplingPeriodUs) { in TestSensorEnvironment() argument
60 this(context, sensorType, false /* sensorMightHaveMoreListeners */, samplingPeriodUs); in TestSensorEnvironment()
77 int samplingPeriodUs, in TestSensorEnvironment() argument
82 samplingPeriodUs, in TestSensorEnvironment()
101 int samplingPeriodUs) { in TestSensorEnvironment() argument
105 samplingPeriodUs, in TestSensorEnvironment()
125 int samplingPeriodUs, in TestSensorEnvironment() argument
130 samplingPeriodUs, in TestSensorEnvironment()
153 int samplingPeriodUs, in TestSensorEnvironment() argument
158 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.java334 int samplingPeriodUs = sensor.getMaxDelay(); in runAPWakeUpWhenReportLatencyExpires() local
335 if (samplingPeriodUs == 0) { in runAPWakeUpWhenReportLatencyExpires()
337 samplingPeriodUs = 200000; in runAPWakeUpWhenReportLatencyExpires()
340 long fifoBasedReportLatencyUs = maxBatchingPeriod(sensor, samplingPeriodUs); in runAPWakeUpWhenReportLatencyExpires()
348 samplingPeriodUs, in runAPWakeUpWhenReportLatencyExpires()
377 int samplingPeriodUs = sensor.getMinDelay(); in runAPWakeUpWhenFIFOFull() local
379 long fifoBasedReportLatencyUs = maxBatchingPeriod(sensor, samplingPeriodUs); in runAPWakeUpWhenFIFOFull()
386 samplingPeriodUs = (int) MIN_LATENCY_US/fifoMaxEventCount; in runAPWakeUpWhenFIFOFull()
399 (int) samplingPeriodUs, in runAPWakeUpWhenFIFOFull()
458 int samplingPeriodUs = sensor.getMinDelay(); in runVerifySensorTimestampClockbase() local
[all …]
/cts/tests/sensor/src/android/hardware/cts/
DSensorDirectReportTest.java699 for (int samplingPeriodUs : POSSIBLE_SAMPLE_PERIOD_US) { in runMultiModeRateIndependencyTestGroup()
701 sensorType, rate, type, samplingPeriodUs);}, in runMultiModeRateIndependencyTestGroup()
703 rate, type, samplingPeriodUs)); in runMultiModeRateIndependencyTestGroup()
922 int type , int rateLevel, int memType, int samplingPeriodUs) in runMultiModeRateIndependencyTest() argument
931 if (samplingPeriodUs == 0) { in runMultiModeRateIndependencyTest()
932 samplingPeriodUs = s.getMinDelay(); in runMultiModeRateIndependencyTest()
935 if (samplingPeriodUs < s.getMinDelay()) { in runMultiModeRateIndependencyTest()
939 if (samplingPeriodUs > s.getMaxDelay()) { in runMultiModeRateIndependencyTest()
940 samplingPeriodUs = s.getMaxDelay(); in runMultiModeRateIndependencyTest()
952 boolean registerRet = mSensorManager.registerListener(listener, s, samplingPeriodUs); in runMultiModeRateIndependencyTest()
[all …]