Home
last modified time | relevance | path

Searched defs:binder (Results 1 – 25 of 68) sorted by relevance

123

/system/core/libbinderwrapper/
Dstub_binder_wrapper.cc32 const sp<IBinder>& binder) { in SetBinderForService()
42 void StubBinderWrapper::NotifyAboutBinderDeath(const sp<IBinder>& binder) { in NotifyAboutBinderDeath()
54 const sp<IBinder>& binder) { in RegisterService()
60 sp<BBinder> binder(new BBinder()); in CreateLocalBinder() local
66 const sp<IBinder>& binder, in RegisterForDeathNotifications()
73 const sp<IBinder>& binder) { in UnregisterForDeathNotifications()
Dreal_binder_wrapper.cc58 sp<IBinder> binder = in GetService() local
66 const sp<IBinder>& binder) { in RegisterService()
87 const sp<IBinder>& binder, in RegisterForDeathNotifications()
100 const sp<IBinder>& binder) { in UnregisterForDeathNotifications()
/system/tools/aidl/tests/java/src/android/aidl/tests/
DVintfTests.java45 Binder binder = new Binder(); in cantAddVintfService() local
60 Binder binder = new Binder(); in canDowngradeVintfService() local
DDelegatorTests.java46 IBinder binder = ServiceManager.waitForService(ITestService.class.getName()); in testDelegator() local
55 IBinder binder = ServiceManager.waitForService(ITestService.class.getName()); in testCustomDelegator() local
64 IBinder binder = ServiceManager.waitForService(ITestService.class.getName()); in testAsBinderAsInterface() local
DNestedTypesTests.java37 IBinder binder = ServiceManager.waitForService(INestedService.class.getName()); in testUseNestedTypes() local
DTestVersionedInterface.java43 IBinder binder = ServiceManager.waitForService(IFooInterface.class.getName()); in setUp() local
/system/tools/aidl/tests/golden_output/aidl-test-interface-ndk-source/gen/android/aidl/tests/
DIDeprecated.cpp25 BpDeprecated::BpDeprecated(const ::ndk::SpAIBinder& binder) : BpCInterface(binder) {} in BpDeprecated()
32 …AIBinder* binder = AIBinder_new(_g_aidl_android_aidl_tests_IDeprecated_clazz, static_cast<void*>(t… in createBinder() local
44 std::shared_ptr<IDeprecated> IDeprecated::fromBinder(const ::ndk::SpAIBinder& binder) { in fromBinder()
DINewName.cpp37 BpNewName::BpNewName(const ::ndk::SpAIBinder& binder) : BpCInterface(binder) {} in BpNewName()
81 …AIBinder* binder = AIBinder_new(_g_aidl_android_aidl_tests_INewName_clazz, static_cast<void*>(this… in createBinder() local
93 std::shared_ptr<INewName> INewName::fromBinder(const ::ndk::SpAIBinder& binder) { in fromBinder()
DINamedCallback.cpp37 BpNamedCallback::BpNamedCallback(const ::ndk::SpAIBinder& binder) : BpCInterface(binder) {} in BpNamedCallback()
81 …AIBinder* binder = AIBinder_new(_g_aidl_android_aidl_tests_INamedCallback_clazz, static_cast<void*… in createBinder() local
93 std::shared_ptr<INamedCallback> INamedCallback::fromBinder(const ::ndk::SpAIBinder& binder) { in fromBinder()
DIOldName.cpp37 BpOldName::BpOldName(const ::ndk::SpAIBinder& binder) : BpCInterface(binder) {} in BpOldName()
81 …AIBinder* binder = AIBinder_new(_g_aidl_android_aidl_tests_IOldName_clazz, static_cast<void*>(this… in createBinder() local
93 std::shared_ptr<IOldName> IOldName::fromBinder(const ::ndk::SpAIBinder& binder) { in fromBinder()
DArrayOfInterfaces.cpp55 …aces::BpEmptyInterface::BpEmptyInterface(const ::ndk::SpAIBinder& binder) : BpCInterface(binder) {} in BpEmptyInterface()
62 …AIBinder* binder = AIBinder_new(_g_aidl_android_aidl_tests_ArrayOfInterfaces_IEmptyInterface_clazz… in createBinder() local
74 …:IEmptyInterface> ArrayOfInterfaces::IEmptyInterface::fromBinder(const ::ndk::SpAIBinder& binder) { in fromBinder()
192 …Interfaces::BpMyInterface::BpMyInterface(const ::ndk::SpAIBinder& binder) : BpCInterface(binder) {} in BpMyInterface()
272 …AIBinder* binder = AIBinder_new(_g_aidl_android_aidl_tests_ArrayOfInterfaces_IMyInterface_clazz, s… in createBinder() local
284 …faces::IMyInterface> ArrayOfInterfaces::IMyInterface::fromBinder(const ::ndk::SpAIBinder& binder) { in fromBinder()
DListOfInterfaces.cpp55 …aces::BpEmptyInterface::BpEmptyInterface(const ::ndk::SpAIBinder& binder) : BpCInterface(binder) {} in BpEmptyInterface()
62 …AIBinder* binder = AIBinder_new(_g_aidl_android_aidl_tests_ListOfInterfaces_IEmptyInterface_clazz,… in createBinder() local
74 …::IEmptyInterface> ListOfInterfaces::IEmptyInterface::fromBinder(const ::ndk::SpAIBinder& binder) { in fromBinder()
186 …Interfaces::BpMyInterface::BpMyInterface(const ::ndk::SpAIBinder& binder) : BpCInterface(binder) {} in BpMyInterface()
260 …AIBinder* binder = AIBinder_new(_g_aidl_android_aidl_tests_ListOfInterfaces_IMyInterface_clazz, st… in createBinder() local
272 …rfaces::IMyInterface> ListOfInterfaces::IMyInterface::fromBinder(const ::ndk::SpAIBinder& binder) { in fromBinder()
/system/connectivity/wificond/tests/
Dap_interface_impl_unittest.cpp101 auto binder = ap_interface_->GetBinder(); in TEST_F() local
123 auto binder = ap_interface_->GetBinder(); in TEST_F() local
145 auto binder = ap_interface_->GetBinder(); in TEST_F() local
/system/tools/aidl/tests/golden_output/aidl-test-interface-ndk-source/gen/android/aidl/tests/nested/
DINestedService.cpp60 BpNestedService::BpNestedService(const ::ndk::SpAIBinder& binder) : BpCInterface(binder) {} in BpNestedService()
147 …AIBinder* binder = AIBinder_new(_g_aidl_android_aidl_tests_nested_INestedService_clazz, static_cas… in createBinder() local
159 std::shared_ptr<INestedService> INestedService::fromBinder(const ::ndk::SpAIBinder& binder) { in fromBinder()
292 INestedService::BpCallback::BpCallback(const ::ndk::SpAIBinder& binder) : BpCInterface(binder) {} in BpCallback()
336 …AIBinder* binder = AIBinder_new(_g_aidl_android_aidl_tests_nested_INestedService_ICallback_clazz, … in createBinder() local
348 …INestedService::ICallback> INestedService::ICallback::fromBinder(const ::ndk::SpAIBinder& binder) { in fromBinder()
/system/tools/aidl/tests/lazy_test/
DLazyTestService.cpp21 namespace binder { namespace
DLazyTestServiceCb.cpp23 namespace binder { namespace
/system/security/keystore/
Dkeystore_get.cpp28 sp<IBinder> binder = sm->getService(String16("android.security.keystore")); in keystore_get() local
/system/memory/libmemunreachable/tests/
DBinder_test.cpp128 TEST_F(MemunreachableBinderTest, binder) { in TEST_F() argument
144 sp<IBinder> binder{new BinderObject()}; in TEST_F() local
/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-ndk-source/gen/android/aidl/loggable/
DILoggableInterface.cpp213 BpLoggableInterface::BpLoggableInterface(const ::ndk::SpAIBinder& binder) : BpCInterface(binder) {} in BpLoggableInterface()
406 …AIBinder* binder = AIBinder_new(_g_aidl_android_aidl_loggable_ILoggableInterface_clazz, static_cas… in createBinder() local
418 …d::shared_ptr<ILoggableInterface> ILoggableInterface::fromBinder(const ::ndk::SpAIBinder& binder) { in fromBinder()
516 ILoggableInterface::BpSub::BpSub(const ::ndk::SpAIBinder& binder) : BpCInterface(binder) {} in BpSub()
581 …AIBinder* binder = AIBinder_new(_g_aidl_android_aidl_loggable_ILoggableInterface_ISub_clazz, stati… in createBinder() local
593 …r<ILoggableInterface::ISub> ILoggableInterface::ISub::fromBinder(const ::ndk::SpAIBinder& binder) { in fromBinder()
/system/tools/aidl/tests/java/src/android/aidl/sdkversion/tests/
DAidlJavaVersionTests.java51 IBinder binder = ServiceManager.waitForService(ITestService.class.getName()); in setUp() local
/system/tools/aidl/tests/golden_output/aidl-test-versioned-interface-V1-ndk-source/gen/android/aidl/versioned/tests/
DIFooInterface.cpp131 BpFooInterface::BpFooInterface(const ::ndk::SpAIBinder& binder) : BpCInterface(binder) {} in BpFooInterface()
391 …AIBinder* binder = AIBinder_new(_g_aidl_android_aidl_versioned_tests_IFooInterface_clazz, static_c… in createBinder() local
411 std::shared_ptr<IFooInterface> IFooInterface::fromBinder(const ::ndk::SpAIBinder& binder) { in fromBinder()
/system/tools/aidl/tests/
Daidl_test_client_ndk_nested.cpp42 ndk::SpAIBinder binder = ndk::SpAIBinder(AServiceManager_getService(T::descriptor)); in getService() local
Daidl_test_client_ndk_primitives_test.cpp31 ndk::SpAIBinder binder = ndk::SpAIBinder(AServiceManager_getService(T::descriptor)); in getService() local
/system/netd/server/
DMDnsEventReporter.cpp78 const auto& binder = IInterface::asBinder(it->getListener()); in removeEventListenerImpl() local
/system/update_engine/aosp/
Dapex_handler_android.cc92 auto binder = android::defaultServiceManager()->waitForService( in GetApexService() local

123