Searched refs:vibBinder (Results 1 – 2 of 2) sorted by relevance
31 SpAIBinder vibBinder = SpAIBinder(AServiceManager_getService(kInstance.c_str())); in TEST() local32 ASSERT_NE(nullptr, vibBinder.get()); in TEST()33 std::shared_ptr<IVibrator> vib = IVibrator::fromBinder(vibBinder); in TEST()41 SpAIBinder vibBinder = SpAIBinder(AServiceManager_getService(kInstance.c_str())); in TEST() local42 ASSERT_NE(nullptr, vibBinder.get()); in TEST()43 std::shared_ptr<IVibrator> vib = IVibrator::fromBinder(vibBinder); in TEST()48 ASSERT_EQ(STATUS_OK, AIBinder_getExtension(vibBinder.get(), cvibBinder.getR())); in TEST()
34 ndk::SpAIBinder vibBinder = vib->asBinder(); in main() local40 CHECK(STATUS_OK == AIBinder_setExtension(vibBinder.get(), cvib->asBinder().get())); in main()43 CHECK(STATUS_OK == AServiceManager_addService(vibBinder.get(), instance.c_str())); in main()