Home
last modified time | relevance | path

Searched refs:nominalFreq (Results 1 – 2 of 2) sorted by relevance

/cts/tests/sensor/src/android/hardware/cts/
DSensorDirectReportTest.java991 float nominalFreq = getNominalFreq(rateLevel); in runTimestampTest() local
992 int samplingPeriodUs = Math.max((int) (1e6f / nominalFreq), s.getMinDelay()); in runTimestampTest()
1414 float nominalFreq = 0; in checkSharedMemoryContent() local
1418 nominalFreq = RATE_NORMAL_NOMINAL; in checkSharedMemoryContent()
1421 nominalFreq = RATE_FAST_NOMINAL; in checkSharedMemoryContent()
1424 nominalFreq = RATE_VERY_FAST_NOMINAL; in checkSharedMemoryContent()
1428 if (nominalFreq != 0) { in checkSharedMemoryContent()
1432 nominalFreq in checkSharedMemoryContent()
1438 nominalFreq in checkSharedMemoryContent()
1479 float nominalFreq = getNominalFreq(rateLevel); in checkEventRate() local
[all …]
/cts/tests/sensor/jni/
DSensorTestCases.cpp193 float nominalFreq = 0.f; in testDirectReport() local
198 nominalFreq = RATE_NORMAL_NOMINAL; in testDirectReport()
201 nominalFreq = RATE_FAST_NOMINAL; in testDirectReport()
204 nominalFreq = RATE_VERY_FAST_NOMINAL; in testDirectReport()
209 ASSERT_GT(events.size(), static_cast<size_t>(nominalFreq * 0.55f * nominalTestTimeSec)); in testDirectReport()
210 ASSERT_LT(events.size(), static_cast<size_t>(nominalFreq * 2.2f * maxTestTimeSec)); in testDirectReport()