Home
last modified time | relevance | path

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

/cts/tests/sensor/src/android/hardware/cts/
DSensorDirectReportTest.java716 for (int rateLevel : POSSIBLE_RATE_LEVELS) { in runTimestampTestGroup()
720 runTimestampTest(sensorType, rateLevel, memType); in runTimestampTestGroup()
722 String.format("(%s, rate %d, memtype %d)", stype, rateLevel, memType)); in runTimestampTestGroup()
728 private void runSensorDirectReportTest(int sensorType, int memType, int rateLevel) in runSensorDirectReportTest() argument
732 || s.getHighestDirectReportRateLevel() < rateLevel in runSensorDirectReportTest()
745 int token = mChannel.configure(s, rateLevel); in runSensorDirectReportTest()
752 checkSharedMemoryContent(s, memType, rateLevel, token); in runSensorDirectReportTest()
759 private void runSensorDirectReportUidIdleTest(int sensorType, int memType, int rateLevel) { in runSensorDirectReportUidIdleTest() argument
762 || s.getHighestDirectReportRateLevel() < rateLevel in runSensorDirectReportUidIdleTest()
775 int token = mChannel.configure(s, rateLevel); in runSensorDirectReportUidIdleTest()
[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()
/cts/tests/sensor/sensorratepermission/DebuggableAPI31/src/android/sensorratepermission/cts/debuggableapi31/
DDebuggableAPI31Test.java103 int rateLevel = SensorDirectChannel.RATE_VERY_FAST; in testDirectChannel() local
109 channel.configure(s, rateLevel); in testDirectChannel()
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorRatePermissionDirectReportTestHelper.java155 public List<SensorDirectReportTest.DirectReportSensorEvent> getSensorEvents(int rateLevel) in getSensorEvents() argument
165 int token = channel.configure(mSensor, rateLevel); in getSensorEvents()