Searched refs:secondCallback (Results 1 – 1 of 1) sorted by relevance
127 sp<Callback> secondCallback = new Callback(); in TEST_P() local130 ASSERT_ALL_OK(mHealth->registerCallback(secondCallback)); in TEST_P()136 secondCallback->waitInvoke(200ms); in TEST_P()142 ASSERT_TRUE(secondCallback->waitInvoke(1s)); in TEST_P()149 secondCallback->waitInvoke(200ms); in TEST_P()155 ASSERT_TRUE(secondCallback->waitInvoke(1s)); in TEST_P()157 ASSERT_ALL_OK(mHealth->unregisterCallback(secondCallback)); in TEST_P()