Searched refs:accNorm (Results 1 – 2 of 2) sorted by relevance
222 double accNorm = std::sqrt(acc.x * acc.x + acc.y * acc.y + acc.z * acc.z); in testDirectReport() local223 if (accNorm > GRAVITY_MAX || accNorm < GRAVITY_MIN) { in testDirectReport()224 ALOGE("Gravity norm = %f", accNorm); in testDirectReport()226 ASSERT_GE(accNorm, GRAVITY_MIN); in testDirectReport()227 ASSERT_LE(accNorm, GRAVITY_MAX); in testDirectReport()
1398 double accNorm = Math.sqrt(e.x * e.x + e.y * e.y + e.z * e.z); in checkSharedMemoryContent() local1399 assertTrue("incorrect gravity norm " + accNorm + " at offset " + offset, in checkSharedMemoryContent()1400 accNorm < GRAVITY_MAX && accNorm > GRAVITY_MIN); in checkSharedMemoryContent()