Loading libs/binder/tests/binderSafeInterfaceTest.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -789,7 +789,7 @@ TEST_F(SafeInterfaceTest, TestCallMeBack) { std::optional<int32_t> waitForCallback() { std::unique_lock<decltype(mMutex)> lock(mMutex); bool success = mCondition.wait_for(lock, 100ms, [&]() { return static_cast<bool>(mValue); }); mCondition.wait_for(lock, 1000ms, [&]() { return static_cast<bool>(mValue); }); return success ? mValue : std::nullopt; } Loading Loading
libs/binder/tests/binderSafeInterfaceTest.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -789,7 +789,7 @@ TEST_F(SafeInterfaceTest, TestCallMeBack) { std::optional<int32_t> waitForCallback() { std::unique_lock<decltype(mMutex)> lock(mMutex); bool success = mCondition.wait_for(lock, 100ms, [&]() { return static_cast<bool>(mValue); }); mCondition.wait_for(lock, 1000ms, [&]() { return static_cast<bool>(mValue); }); return success ? mValue : std::nullopt; } Loading