Home
last modified time | relevance | path

Searched refs:asBinder (Results 1 – 25 of 170) sorted by relevance

1234567

/hardware/google/pixel/power-libperfmgr/aidl/
Dservice.cpp55 ndk::SpAIBinder pwBinder = pw->asBinder(); in main()
60 auto pwExtBinder = pwExt->asBinder(); in main()
64 CHECK(STATUS_OK == AIBinder_setExtension(pwBinder.get(), pwExt->asBinder().get())); in main()
67 binder_status_t status = AServiceManager_addService(pw->asBinder().get(), instance.c_str()); in main()
/hardware/interfaces/wifi/aidl/default/
Daidl_callback_util.h49 void* cbPtr = reinterpret_cast<void*>(cb->asBinder().get()); in addCallback()
56 if (AIBinder_linkToDeath(cb->asBinder().get(), death_handler_, cbPtr /* cookie */) != in addCallback()
77 void* cookie = reinterpret_cast<void*>(cb->asBinder().get()); in invalidate()
78 if (AIBinder_unlinkToDeath(cb->asBinder().get(), death_handler_, cookie) != STATUS_OK) { in invalidate()
116 return cbPtr == reinterpret_cast<void*>(p->asBinder().get()); in findCbInSet()
Dservice.cpp60 AServiceManager_registerLazyService(service->asBinder().get(), instance.c_str()); in main()
63 auto result = AServiceManager_addService(service->asBinder().get(), instance.c_str()); in main()
/hardware/google/av/media/eco/tests/
DEcoServiceTest.cpp134 EXPECT_TRUE(session1->asBinder() == session2->asBinder()); in TEST_F()
153 EXPECT_TRUE(session1->asBinder() != session2->asBinder()); in TEST_F()
167 if (session1->asBinder() == it->get()) { in TEST_F()
170 if (session2->asBinder() == it->get()) { in TEST_F()
/hardware/interfaces/tv/tuner/aidl/default/
Dservice.cpp37 status = AServiceManager_registerLazyService(tuner->asBinder().get(), instance.c_str()); in main()
40 status = AServiceManager_addService(tuner->asBinder().get(), instance.c_str()); in main()
/hardware/interfaces/cas/aidl/default/
Dservice.cpp43 status = AServiceManager_registerLazyService(service->asBinder().get(), instance.c_str()); in main()
45 status = AServiceManager_addService(service->asBinder().get(), instance.c_str()); in main()
Dfuzzer.cpp27 fuzzService(mediaCasServiceAidl->asBinder().get(), FuzzedDataProvider(data, size)); in LLVMFuzzerTestOneInput()
/hardware/interfaces/camera/provider/default/
Dexternal-service.cpp39 binder_exception_t ret = AServiceManager_registerLazyService(defaultProvider->asBinder().get(), in main()
45 AServiceManager_addService(defaultProvider->asBinder().get(), serviceName.c_str()); in main()
/hardware/interfaces/vibrator/aidl/default/
Dmain.cpp33 vib->asBinder().get(), Vibrator::makeServiceName("default").c_str()); in main()
39 status = AServiceManager_addService(vibManager->asBinder().get(), in main()
/hardware/interfaces/broadcastradio/aidl/default/
Dfuzzer.cpp34 std::vector<ndk::SpAIBinder> binder_services = {amFmRadio->asBinder(), dabRadio->asBinder()}; in LLVMFuzzerTestOneInput()
Dmain.cpp37 AServiceManager_addService(broadcastRadio->asBinder().get(), instanceAmFm.c_str()); in main()
46 AServiceManager_addService(dabRadio->asBinder().get(), instanceDab.c_str()); in main()
/hardware/interfaces/tests/extension/vibrator/aidl/default/
Dservice.cpp34 ndk::SpAIBinder vibBinder = vib->asBinder(); in main()
40 CHECK(STATUS_OK == AIBinder_setExtension(vibBinder.get(), cvib->asBinder().get())); in main()
/hardware/interfaces/audio/aidl/default/stub/
DModuleStub.cpp42 << ": returning instance of IBluetooth: " << _aidl_return->get()->asBinder().get(); in getBluetooth()
52 << _aidl_return->get()->asBinder().get(); in getBluetoothA2dp()
62 << ": returning instance of IBluetoothLe: " << _aidl_return->get()->asBinder().get(); in getBluetoothLe()
/hardware/interfaces/biometrics/fingerprint/aidl/default/
Dmain.cpp31 auto binder = hal->asBinder(); in main()
34 auto binder_ext = hal_ext->asBinder(); in main()
/hardware/interfaces/gatekeeper/aidl/software/
Dservice.cpp36 auto status = AServiceManager_addService(secret->asBinder().get(), secret_instance.c_str()); in main()
42 status = AServiceManager_addService(gatekeeper->asBinder().get(), instance.c_str()); in main()
/hardware/google/av/media/eco/
DECOServiceStatsProvider.cpp52 *_aidl_return = mECOSession->asBinder(); in getECOSession()
76 mECOSession->addStatsProvider(fromBinder(asBinder()), providerConfig, &ret); in addProvider()
85 mECOSession->removeStatsProvider(fromBinder(asBinder()), &ret); in removeProvider()
/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/test/
DSubscriptionManagerTest.cpp96 mBinder = mCallback->asBinder(); in SetUp()
247 result = getManager()->unsubscribe(getCallbackClient()->asBinder().get()); in TEST_F()
279 result = getManager()->unsubscribe(getCallbackClient()->asBinder().get(), in TEST_F()
315 result = getManager()->unsubscribe(getCallbackClient()->asBinder().get()); in TEST_F()
344 result = getManager()->unsubscribe(getCallbackClient()->asBinder().get(), in TEST_F()
381 SpAIBinder binder1 = ndk::SharedRefBase::make<PropertyCallback>()->asBinder(); in TEST_F()
383 SpAIBinder binder2 = ndk::SharedRefBase::make<PropertyCallback>()->asBinder(); in TEST_F()
490 result = getManager()->unsubscribe(getCallbackClient()->asBinder().get(), in TEST_F()
579 SpAIBinder binder1 = ndk::SharedRefBase::make<PropertyCallback>()->asBinder(); in TEST_F()
581 SpAIBinder binder2 = ndk::SharedRefBase::make<PropertyCallback>()->asBinder(); in TEST_F()
[all …]
/hardware/nxp/nfc/snxxx/aidl/
Dmain.cpp42 nxp_nfc_service->asBinder().get(), nxpNfcInstName.c_str()); in startNxpNfcAidlService()
58 nfc_service->asBinder().get(), nfcInstName.c_str()); in main()
/hardware/google/camera/common/hal/aidl_service/
Daidl_service.cc89 if (AServiceManager_registerLazyService(camera_provider->asBinder().get(), in main()
95 if (AServiceManager_addService(camera_provider->asBinder().get(), in main()
/hardware/interfaces/audio/aidl/sounddose/vts/
DVtsHalSoundDoseFactoryTargetTest.cpp89 EXPECT_EQ(soundDose1->asBinder(), soundDose2->asBinder()) in TEST_P()
/hardware/interfaces/health/aidl/default/
DHealth.cpp324 return cb->asBinder() == callback->asBinder(); // compares binder object in unregisterCallback()
328 if (it->second->asBinder() == callback->asBinder()) { in unregisterCallback()
329 auto status = AIBinder_unlinkToDeath(callback->asBinder().get(), death_recipient_.get(), in unregisterCallback()
404 CHECK_EQ(STATUS_OK, AServiceManager_addService(this->asBinder().get(), health_name.c_str())) in OnInit()
/hardware/google/pixel/powerstats/dataproviders/
DPixelStateResidencyDataProvider.cpp40 AServiceManager_addService(mProviderService->asBinder().get(), kInstance.c_str()); in start()
164 return it.mCallback->asBinder().get() == in_cb->asBinder().get(); in unregisterCallback()
/hardware/nxp/secure_element/snxxx/aidl/
DNxpEseService.cpp102 se_service->asBinder().get(), seInstName.c_str()); in main()
123 virtual_iso_service->asBinder().get(), vISO_InstName.c_str()); in main()
/hardware/google/graphics/common/libhwc2.1/libvrr/Power/
DDisplayStateResidencyWatcher.cpp55 AIBinder_unlinkToDeath(mProvider->asBinder().get(), mDeathRecipient.get(), in ~DisplayStateResidencyWatcher()
114 AIBinder_linkToDeath(mProvider->asBinder().get(), mDeathRecipient.get(), in registerWithPowerStats()
/hardware/nxp/uwb/aidl/
Duwb_chip.cpp39 !AIBinder_isAlive(UwbChip::mClientCallback->asBinder().get())) { in onServiceDied()
62 AIBinder_linkToDeath(clientCallback->asBinder().get(), in open()

1234567