Home
last modified time | relevance | path

Searched refs:vibBinder (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/tests/extension/vibrator/aidl/client/
Dtest-ndk-client.cpp31 SpAIBinder vibBinder = SpAIBinder(AServiceManager_getService(kInstance.c_str())); in TEST() local
32 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() local
42 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()
/hardware/interfaces/tests/extension/vibrator/aidl/default/
Dservice.cpp34 ndk::SpAIBinder vibBinder = vib->asBinder(); in main() local
40 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()