Searched refs:firstCallback (Results 1 – 1 of 1) sorted by relevance
162 sp<Callback> firstCallback = new Callback(); in TEST_F() local165 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()