Home
last modified time | relevance | path

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

/cts/tests/sensor/jni/
DSensorTestCases.cpp230 double gyroNorm = std::sqrt(gyro.x * gyro.x + gyro.y * gyro.y + gyro.z * gyro.z); in testDirectReport() local
232 ASSERT_LE(gyroNorm, GYRO_MAX); // < ~2.5 degree/s in testDirectReport()
/cts/tests/sensor/src/android/hardware/cts/
DSensorDirectReportTest.java1224 double gyroNorm = Math.sqrt(e.x * e.x + e.y * e.y + e.z * e.z); in checkSharedMemoryContent() local
1225 assertTrue("gyro norm too large (" + gyroNorm + ") at offset " + offset, in checkSharedMemoryContent()
1226 gyroNorm < GYRO_NORM_MAX); in checkSharedMemoryContent()