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