Home
last modified time | relevance | path

Searched refs:getBinder (Results 1 – 25 of 118) sorted by relevance

12345

/frameworks/native/libs/fakeservicemanager/
Dtest_sm.cpp36 static sp<IBinder> getBinder() { in getBinder() function
49 EXPECT_EQ(sm->addService(String16("foo"), getBinder(), false /*allowIsolated*/, in TEST()
55 EXPECT_EQ(sm->addService(String16("foo"), getBinder(), false /*allowIsolated*/, in TEST()
57 EXPECT_EQ(sm->addService(String16("foo"), getBinder(), false /*allowIsolated*/, in TEST()
63 sp<IBinder> service = getBinder(); in TEST()
80 EXPECT_EQ(sm->addService(String16("sd"), getBinder(), false /*allowIsolated*/, in TEST()
82 EXPECT_EQ(sm->addService(String16("sc"), getBinder(), false /*allowIsolated*/, in TEST()
84 EXPECT_EQ(sm->addService(String16("sb"), getBinder(), false /*allowIsolated*/, in TEST()
86 EXPECT_EQ(sm->addService(String16("sa"), getBinder(), false /*allowIsolated*/, in TEST()
104 sp<IBinder> service = getBinder(); in TEST()
[all …]
/frameworks/native/cmds/servicemanager/
Dtest_sm.cpp41 static sp<IBinder> getBinder() { in getBinder() function
80 EXPECT_TRUE(sm->addService("foo", getBinder(), false /*allowIsolated*/, in TEST()
86 EXPECT_FALSE(sm->addService("", getBinder(), false /*allowIsolated*/, in TEST()
92 EXPECT_TRUE(sm->addService(std::string(127, 'a'), getBinder(), false /*allowIsolated*/, in TEST()
98 EXPECT_FALSE(sm->addService(std::string(128, 'a'), getBinder(), false /*allowIsolated*/, in TEST()
104 EXPECT_FALSE(sm->addService("happy$foo$foo", getBinder(), false /*allowIsolated*/, in TEST()
124 EXPECT_FALSE(sm->addService("foo", getBinder(), false /*allowIsolated*/, in TEST()
132 EXPECT_TRUE(sm->addService("foo", getBinder(), false /*allowIsolated*/, in TEST()
134 EXPECT_TRUE(sm->addService("foo", getBinder(), false /*allowIsolated*/, in TEST()
146 EXPECT_FALSE(sm->addService("foo", getBinder(), false /*allowIsolated*/, in TEST()
[all …]
/frameworks/native/libs/binder/ndk/
Dstability.cpp36 Stability::markVndk(binder->getBinder().get()); in AIBinder_markVendorStability()
40 Stability::markCompilationUnit(binder->getBinder().get()); in AIBinder_markSystemStability()
44 Stability::markVintf(binder->getBinder().get()); in AIBinder_markVintfStability()
Dibinder.cpp100 String8 descriptor(getBinder()->getInterfaceDescriptor()); in associateClass()
403 ABBinderTag::attach(ret->getBinder()); in AIBinder_new()
422 return const_cast<AIBinder*>(binder)->getBinder()->isBinderAlive(); in AIBinder_isAlive()
430 return PruneStatusT(binder->getBinder()->pingBinder()); in AIBinder_ping()
453 status_t status = binder->getBinder()->dump(fd, utf16Args); in AIBinder_dump()
465 return recipient->linkToDeath(binder->getBinder(), cookie); in AIBinder_linkToDeath()
476 return recipient->unlinkToDeath(binder->getBinder(), cookie); in AIBinder_unlinkToDeath()
605 if ((*in)->getBinder() != binder) { in AIBinder_transact()
607 << " but called with " << (*in)->getBinder(); in AIBinder_transact()
613 status_t status = binder->getBinder()->transact(code, *(*in)->get(), (*out)->get(), flags); in AIBinder_transact()
[all …]
Dibinder_internal.h45 virtual ::android::sp<::android::IBinder> getBinder() = 0;
50 ::android::sp<::android::IBinder> binder = const_cast<AIBinder*>(this)->getBinder(); in isRemote()
67 ::android::sp<::android::IBinder> getBinder() override { return this; } in getBinder() function
99 ::android::sp<::android::IBinder> getBinder() override { return remote(); } in getBinder() function
Dibinder_jni.cpp44 return javaObjectForIBinder(env, binder->getBinder()); in AIBinder_toJavaBinder()
Dparcel_internal.h45 const AIBinder* getBinder() { return mBinder; } in getBinder() function
/frameworks/base/telephony/java/android/telephony/ims/
DImsRcsManager.java144 public final IImsCapabilityCallback getBinder() { in getBinder() method in ImsRcsManager.AvailabilityCallback
199 imsRcsController.registerImsRegistrationCallback(mSubId, c.getBinder()); in registerImsRegistrationCallback()
223 imsRcsController.unregisterImsRegistrationCallback(mSubId, c.getBinder()); in unregisterImsRegistrationCallback()
334 imsRcsController.registerRcsAvailabilityCallback(mSubId, c.getBinder()); in registerRcsAvailabilityCallback()
369 imsRcsController.unregisterRcsAvailabilityCallback(mSubId, c.getBinder()); in unregisterRcsAvailabilityCallback()
DImsService.java173 return r != null ? r.getBinder() : null;
212 return f.getBinder(); in createMmTelFeatureInternal()
224 return f.getBinder(); in createRcsFeatureInternal()
DImsMmTelManager.java203 public final IImsCapabilityCallback getBinder() { in getBinder() method in ImsMmTelManager.CapabilityCallback
301 iTelephony.registerImsRegistrationCallback(mSubId, c.getBinder()); in registerImsRegistrationCallback()
345 iTelephony.registerImsRegistrationCallback(mSubId, c.getBinder()); in registerImsRegistrationCallback()
381 iTelephony.unregisterImsRegistrationCallback(mSubId, c.getBinder()); in unregisterImsRegistrationCallback()
413 iTelephony.unregisterImsRegistrationCallback(mSubId, c.getBinder()); in unregisterImsRegistrationCallback()
547 iTelephony.registerMmTelCapabilityCallback(mSubId, c.getBinder()); in registerMmTelCapabilityCallback()
595 iTelephony.unregisterMmTelCapabilityCallback(mSubId, c.getBinder()); in unregisterMmTelCapabilityCallback()
DProvisioningManager.java915 public final IImsConfigCallback getBinder() { in getBinder() method in ProvisioningManager.Callback
967 getITelephony().registerImsProvisioningChangedCallback(mSubId, callback.getBinder()); in registerProvisioningChangedCallback()
988 getITelephony().unregisterImsProvisioningChangedCallback(mSubId, callback.getBinder()); in unregisterProvisioningChangedCallback()
/frameworks/base/core/java/android/security/keystore/recovery/
DRecoverySession.java114 mRecoveryController.getBinder().startRecoverySessionWithCertPath( in start()
151 .getBinder() in recoverKeyChainSnapshot()
205 mRecoveryController.getBinder().closeSession(mSessionId); in close()
/frameworks/base/core/jni/
Dandroid_os_HwRemoteBinder.cpp289 sp<hardware::IBinder> JHwRemoteBinder::getBinder() const { in getBinder() function in android::JHwRemoteBinder
336 JHwRemoteBinder::GetNativeContext(env, thiz)->getBinder(); in JHwRemoteBinder_native_transact()
362 sp<hardware::IBinder> binder = context->getBinder(); in JHwRemoteBinder_linkToDeath()
389 sp<hardware::IBinder> binder = context->getBinder(); in JHwRemoteBinder_unlinkToDeath()
429 sp<hardware::IBinder> cbinder = context->getBinder(); in toIBase()
454 JHwRemoteBinder::GetNativeContext(env, thiz)->getBinder().get()); in JHwRemoteBinder_hashCode()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DTestImsServiceControllerAdapter.java80 return new ImsRegistrationImplBase().getBinder(); in getRegistration()
96 public IImsServiceController getBinder() { in getBinder() method in TestImsServiceControllerAdapter
/frameworks/base/telephony/java/android/telephony/ims/compat/
DImsService.java145 return f.getBinder(); in createEmergencyMMTelFeatureInternal()
156 return f.getBinder(); in createMMTelFeatureInternal()
167 return f.getBinder(); in createRcsFeatureInternal()
/frameworks/base/location/lib/java/com/android/location/provider/
DFusedProvider.java40 public IBinder getBinder() { in getBinder() method in FusedProvider
DGeofenceProvider.java54 public IBinder getBinder() { in getBinder() method in GeofenceProvider
/frameworks/base/telephony/java/android/telephony/ims/compat/feature/
DRcsFeature.java50 public final IImsRcsFeature getBinder() { in getBinder() method in RcsFeature
/frameworks/base/media/lib/tvremote/tests/src/com/android/media/tv/remoteprovider/
DTvRemoteProviderTest.java66 ITvRemoteProvider binder = (ITvRemoteProvider) tvProvider.getBinder(); in testOpenRemoteInputBridge()
112 ITvRemoteProvider binder = (ITvRemoteProvider) tvProvider.getBinder(); in testOpenGamepadRemoteInputBridge()
/frameworks/base/core/tests/coretests/src/android/os/
DMessengerService.java42 return mMessenger.getBinder(); in onBind()
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/
DLocalTransportService.java43 return sTransport.getBinder(); in onBind()
/frameworks/base/packages/EncryptedLocalTransport/src/com/android/encryptedlocaltransport/
DEncryptedLocalTransportService.java45 return sTransport.getBinder(); in onBind()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DInlinePresentationStyleUtilsTest.java151 assertNull(bundle.getBinder("binder")); in testFilterContentTypes_binder_removedBinder()
165 assertNull(child2.getBinder("binder")); in testFilterContentTypes_binderInChild_removedBinder()
/frameworks/base/core/java/android/app/
DPackageDeleteObserver.java43 public IPackageDeleteObserver2 getBinder() { in getBinder() method in PackageDeleteObserver
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/
DJobService.java71 return mEngine.getBinder(); in onBind()

12345