Home
last modified time | relevance | path

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

/system/chre/java/test/chqts/src/com/google/android/chre/test/chqts/
DContextHubGetTimeTestExecutor.java59 private static final long TOLERANCE_NS = 500 * 1000 * 1000; field in ContextHubGetTimeTestExecutor
111 ((timeDifference > (SLEEP_DURATION_NS - TOLERANCE_NS)) in handleMessageFromNanoApp()
113 < (SLEEP_DURATION_NS + TOLERANCE_NS)))); in handleMessageFromNanoApp()
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp104 using ::android::TOLERANCE_NS;
1222 3 * DELAY_NS + TOLERANCE_NS; in TEST_F()
1224 2 * DELAY_NS + TOLERANCE_NS; in TEST_F()
1246 EXPECT_LE(invokeResults[0].callerBlockedNs, TOLERANCE_NS); in TEST_F()
1251 DELAY_NS + TOLERANCE_NS); in TEST_F()
1255 EXPECT_LE(invokeResults[2].timeNs, DELAY_NS + TOLERANCE_NS); in TEST_F()