Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/tests/
DbinderRpcTest.cpp768 constexpr size_t kSleepMs = 500; in TEST_P() local
776 ts.push_back(std::thread([&] { proc.rootIface->sleepMs(kSleepMs); })); in TEST_P()
783 EXPECT_GE(epochMsAfter, epochMsBefore + 2 * kSleepMs); in TEST_P()
786 EXPECT_LE(epochMsAfter, epochMsBefore + 3 * kSleepMs); in TEST_P()
834 constexpr size_t kSleepMs = kReallyLongTimeMs * 5; in TEST_P() local
841 EXPECT_OK(proc.rootIface->sleepMsAsync(kSleepMs)); in TEST_P()
850 constexpr size_t kSleepMs = 50; in TEST_P() local
859 proc.rootIface->sleepMsAsync(kSleepMs); in TEST_P()
862 EXPECT_OK(proc.rootIface->unlockInMsAsync(kSleepMs)); in TEST_P()
868 EXPECT_GT(epochMsAfter, epochMsBefore + kSleepMs * kNumSleeps); in TEST_P()