Home
last modified time | relevance | path

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

/hardware/interfaces/tests/extension/vibrator/aidl/client/
Dtest-cpp-client.cpp34 sp<IVibrator> vib = waitForVintfService<IVibrator>(); in TEST() local
35 ASSERT_NE(nullptr, vib.get()); in TEST()
36 ASSERT_TRUE(vib->off().isOk()); in TEST()
41 sp<IVibrator> vib = waitForVintfService<IVibrator>(); in TEST() local
42 ASSERT_NE(nullptr, vib.get()); in TEST()
46 ASSERT_EQ(OK, IInterface::asBinder(vib)->getExtension(&ext)); in TEST()
Dtest-ndk-client.cpp33 std::shared_ptr<IVibrator> vib = IVibrator::fromBinder(vibBinder); in TEST() local
34 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() local
44 ASSERT_NE(nullptr, vib.get()); in TEST()
/hardware/interfaces/vibrator/aidl/default/
Dmain.cpp27 std::shared_ptr<Vibrator> vib = ndk::SharedRefBase::make<Vibrator>(); in main() local
30 binder_status_t status = AServiceManager_addService(vib->asBinder().get(), instance.c_str()); in main()
/hardware/interfaces/power/aidl/default/
Dmain.cpp27 std::shared_ptr<Power> vib = ndk::SharedRefBase::make<Power>(); in main() local
30 binder_status_t status = AServiceManager_addService(vib->asBinder().get(), instance.c_str()); in main()
/hardware/google/pixel/vibrator/cs40l25/
Dservice.cpp29 std::shared_ptr<Vibrator> vib = ndk::SharedRefBase::make<Vibrator>(std::make_unique<HwApi>(), in main() local
33 binder_status_t status = AServiceManager_addService(vib->asBinder().get(), instance.c_str()); in main()
/hardware/interfaces/tests/extension/vibrator/aidl/default/
Dservice.cpp33 std::shared_ptr<Vibrator> vib = ndk::SharedRefBase::make<Vibrator>(); in main() local
34 ndk::SpAIBinder vibBinder = vib->asBinder(); in main()
/hardware/google/pixel/vibrator/drv2624/
Dservice.cpp35 std::shared_ptr<Vibrator> vib = in main() local
39 binder_status_t status = AServiceManager_addService(vib->asBinder().get(), instance.c_str()); in main()