Searched refs:waitInvoke (Results 1 – 3 of 3) sorted by relevance
93 bool waitInvoke(std::chrono::duration<R, P> duration) { in waitInvoke() function in android::hardware::health::V2_1::CallbackBase156 first->waitInvoke(200ms); in TestCallbacks()157 second->waitInvoke(200ms); in TestCallbacks()162 TEST_AND_RETURN_FAILURE(first->waitInvoke(1s)); in TestCallbacks()163 TEST_AND_RETURN_FAILURE(second->waitInvoke(1s)); in TestCallbacks()169 first->waitInvoke(200ms); in TestCallbacks()170 second->waitInvoke(200ms); in TestCallbacks()175 TEST_AND_RETURN_FAILURE(!first->waitInvoke(200ms)); in TestCallbacks()176 TEST_AND_RETURN_FAILURE(second->waitInvoke(1s)); in TestCallbacks()
91 bool waitInvoke(std::chrono::duration<R, P> duration) { in waitInvoke() function in android::hardware::health::V2_0::Callback137 firstCallback->waitInvoke(200ms); in TEST_P()138 secondCallback->waitInvoke(200ms); in TEST_P()143 ASSERT_TRUE(firstCallback->waitInvoke(1s)); in TEST_P()144 ASSERT_TRUE(secondCallback->waitInvoke(1s)); in TEST_P()150 firstCallback->waitInvoke(200ms); in TEST_P()151 secondCallback->waitInvoke(200ms); in TEST_P()156 ASSERT_FALSE(firstCallback->waitInvoke(200ms)); in TEST_P()157 ASSERT_TRUE(secondCallback->waitInvoke(1s)); in TEST_P()
123 [[nodiscard]] bool waitInvoke(std::chrono::duration<R, P> duration) { in waitInvoke() function in aidl::android::hardware::health::Callback146 (void)first_callback->waitInvoke(200ms); in TEST_P()147 (void)second_callback->waitInvoke(200ms); in TEST_P()152 ASSERT_TRUE(first_callback->waitInvoke(1s)); in TEST_P()153 ASSERT_TRUE(second_callback->waitInvoke(1s)); in TEST_P()159 (void)first_callback->waitInvoke(200ms); in TEST_P()160 (void)second_callback->waitInvoke(200ms); in TEST_P()165 ASSERT_FALSE(first_callback->waitInvoke(200ms)); in TEST_P()166 ASSERT_TRUE(second_callback->waitInvoke(1s)); in TEST_P()