Searched refs:waitInvoke (Results 1 – 2 of 2) 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()
89 bool waitInvoke(std::chrono::duration<R, P> duration) { in waitInvoke() function in android::hardware::health::V2_0::Callback135 firstCallback->waitInvoke(200ms); in TEST_P()136 secondCallback->waitInvoke(200ms); in TEST_P()141 ASSERT_TRUE(firstCallback->waitInvoke(1s)); in TEST_P()142 ASSERT_TRUE(secondCallback->waitInvoke(1s)); in TEST_P()148 firstCallback->waitInvoke(200ms); in TEST_P()149 secondCallback->waitInvoke(200ms); in TEST_P()154 ASSERT_FALSE(firstCallback->waitInvoke(200ms)); in TEST_P()155 ASSERT_TRUE(secondCallback->waitInvoke(1s)); in TEST_P()