Loading libs/binder/tests/binderRpcUniversalTests.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -498,9 +498,9 @@ TEST_P(BinderRpc, Callbacks) { // same thread, everything should have happened in a nested call. Otherwise, // the callback will be processed on another thread. if (callIsOneway || callbackIsOneway || delayed) { using std::literals::chrono_literals::operator""s; using std::literals::chrono_literals::operator""ms; RpcMutexUniqueLock _l(cb->mMutex); cb->mCv.wait_for(_l, 1s, [&] { return !cb->mValues.empty(); }); cb->mCv.wait_for(_l, 1500ms, [&] { return !cb->mValues.empty(); }); } EXPECT_EQ(cb->mValues.size(), 1UL) Loading Loading
libs/binder/tests/binderRpcUniversalTests.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -498,9 +498,9 @@ TEST_P(BinderRpc, Callbacks) { // same thread, everything should have happened in a nested call. Otherwise, // the callback will be processed on another thread. if (callIsOneway || callbackIsOneway || delayed) { using std::literals::chrono_literals::operator""s; using std::literals::chrono_literals::operator""ms; RpcMutexUniqueLock _l(cb->mMutex); cb->mCv.wait_for(_l, 1s, [&] { return !cb->mValues.empty(); }); cb->mCv.wait_for(_l, 1500ms, [&] { return !cb->mValues.empty(); }); } EXPECT_EQ(cb->mValues.size(), 1UL) Loading