Searched refs:TOLERANCE_NS (Results 1 – 2 of 2) sorted by relevance
59 private static final long TOLERANCE_NS = 500 * 1000 * 1000; field in ContextHubGetTimeTestExecutor111 ((timeDifference > (SLEEP_DURATION_NS - TOLERANCE_NS)) in handleMessageFromNanoApp()113 < (SLEEP_DURATION_NS + TOLERANCE_NS)))); in handleMessageFromNanoApp()
104 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()