Searched refs:vib (Results 1 – 6 of 6) sorted by relevance
34 sp<IVibrator> vib = waitForVintfService<IVibrator>(); in TEST() local35 ASSERT_NE(nullptr, vib.get()); in TEST()36 ASSERT_TRUE(vib->off().isOk()); in TEST()41 sp<IVibrator> vib = waitForVintfService<IVibrator>(); in TEST() local42 ASSERT_NE(nullptr, vib.get()); in TEST()46 ASSERT_EQ(OK, IInterface::asBinder(vib)->getExtension(&ext)); in TEST()
33 std::shared_ptr<IVibrator> vib = IVibrator::fromBinder(vibBinder); in TEST() local34 ASSERT_NE(nullptr, vib.get()); in TEST()35 ASSERT_TRUE(vib->off().isOk()); in TEST()43 std::shared_ptr<IVibrator> vib = IVibrator::fromBinder(vibBinder); in TEST() local44 ASSERT_NE(nullptr, vib.get()); in TEST()
27 std::shared_ptr<Power> vib = ndk::SharedRefBase::make<Power>(); in main() local30 binder_status_t status = AServiceManager_addService(vib->asBinder().get(), instance.c_str()); in main()
35 std::shared_ptr<Vibrator> vib = in main() local39 binder_status_t status = AServiceManager_addService(vib->asBinder().get(), instance.c_str()); in main()
33 std::shared_ptr<Vibrator> vib = ndk::SharedRefBase::make<Vibrator>(); in main() local34 ndk::SpAIBinder vibBinder = vib->asBinder(); in main()
31 auto vib = ndk::SharedRefBase::make<Vibrator>(); in main() local33 binder_status_t status = AServiceManager_addService(vib->asBinder().get(), vibName.c_str()); in main()