Home
last modified time | relevance | path

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

/hardware/interfaces/health/2.1/vts/functional/
DVtsHalHealthV2_1TargetTest.cpp93 bool waitInvoke(std::chrono::duration<R, P> duration) { in waitInvoke() function in android::hardware::health::V2_1::CallbackBase
156 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()
/hardware/interfaces/health/2.0/vts/functional/
DVtsHalHealthV2_0TargetTest.cpp89 bool waitInvoke(std::chrono::duration<R, P> duration) { in waitInvoke() function in android::hardware::health::V2_0::Callback
135 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()