Home
last modified time | relevance | path

Searched refs:rateLevel (Results 1 – 3 of 3) sorted by relevance

/cts/tests/sensor/src/android/hardware/cts/
DSensorDirectReportTest.java596 for (int rateLevel : POSSIBLE_RATE_LEVELS) { in runTimestampTestGroup()
600 runTimestampTest(sensorType, rateLevel, memType); in runTimestampTestGroup()
602 String.format("(%s, rate %d, memtype %d)", stype, rateLevel, memType)); in runTimestampTestGroup()
608 private void runSensorDirectReportTest(int sensorType, int memType, int rateLevel) in runSensorDirectReportTest() argument
612 || s.getHighestDirectReportRateLevel() < rateLevel in runSensorDirectReportTest()
625 int token = mChannel.configure(s, rateLevel); in runSensorDirectReportTest()
632 checkSharedMemoryContent(s, memType, rateLevel, token); in runSensorDirectReportTest()
749 int type , int rateLevel, int memType, int samplingPeriodUs) in runMultiModeRateIndependencyTest() argument
753 || s.getHighestDirectReportRateLevel() < rateLevel in runMultiModeRateIndependencyTest()
773 int token = mChannel.configure(s, rateLevel); in runMultiModeRateIndependencyTest()
[all …]
/cts/tests/sensor/jni/
DSensorTest.h46 void testDirectReport(JNIEnv *env, int32_t sensorType, int32_t channelType, int32_t rateLevel);
61 int configureDirectReport(TestSensor sensor, int channel, int rateLevel);
DSensorTestCases.cpp136 …orTest::testDirectReport(JNIEnv* env, int32_t sensorType, int32_t channelType, int32_t rateLevel) { in testDirectReport() argument
152 || sensor.getHighestDirectReportRateLevel() < rateLevel in testDirectReport()
186 eventToken = mManager->configureDirectReport(sensor, channel, rateLevel); in testDirectReport()
194 switch (rateLevel) { in testDirectReport()