Home
last modified time | relevance | path

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

/hardware/interfaces/health/2.0/vts/functional/
DVtsHalHealthV2_0TargetTest.cpp162 sp<Callback> firstCallback = new Callback(); in TEST_F() local
165 ASSERT_ALL_OK(mHealth->registerCallback(firstCallback)); in TEST_F()
171 firstCallback->waitInvoke(200ms); in TEST_F()
177 ASSERT_TRUE(firstCallback->waitInvoke(1s)); in TEST_F()
180 ASSERT_ALL_OK(mHealth->unregisterCallback(firstCallback)); in TEST_F()
184 firstCallback->waitInvoke(200ms); in TEST_F()
190 ASSERT_FALSE(firstCallback->waitInvoke(200ms)); in TEST_F()