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.java812 float nominalFreq = getNominalFreq(rateLevel); in runTimestampTest() local
813 int samplingPeriodUs = Math.max((int) (1e6f / nominalFreq), s.getMinDelay()); in runTimestampTest()
1235 float nominalFreq = 0; in checkSharedMemoryContent() local
1239 nominalFreq = RATE_NORMAL_NOMINAL; in checkSharedMemoryContent()
1242 nominalFreq = RATE_FAST_NOMINAL; in checkSharedMemoryContent()
1245 nominalFreq = RATE_VERY_FAST_NOMINAL; in checkSharedMemoryContent()
1249 if (nominalFreq != 0) { in checkSharedMemoryContent()
1253 nominalFreq in checkSharedMemoryContent()
1259 nominalFreq in checkSharedMemoryContent()
1300 float nominalFreq = getNominalFreq(rateLevel); in checkEventRate() local
[all …]
/cts/tests/sensor/jni/
DSensorTestCases.cpp191 float nominalFreq = 0.f; in testDirectReport() local
196 nominalFreq = RATE_NORMAL_NOMINAL; in testDirectReport()
199 nominalFreq = RATE_FAST_NOMINAL; in testDirectReport()
202 nominalFreq = RATE_VERY_FAST_NOMINAL; in testDirectReport()
207 ASSERT_GT(events.size(), static_cast<size_t>(nominalFreq * 0.55f * nominalTestTimeSec)); in testDirectReport()
208 ASSERT_LT(events.size(), static_cast<size_t>(nominalFreq * 2.2f * maxTestTimeSec)); in testDirectReport()