Home
last modified time | relevance | path

Searched refs:getBinder (Results 1 – 25 of 112) 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.cpp101 String8 descriptor(getBinder()->getInterfaceDescriptor()); in associateClass()
103 if (getBinder()->isBinderAlive()) { in associateClass()
410 ABBinderTag::attach(ret->getBinder()); in AIBinder_new()
429 return const_cast<AIBinder*>(binder)->getBinder()->isBinderAlive(); in AIBinder_isAlive()
437 return PruneStatusT(binder->getBinder()->pingBinder()); in AIBinder_ping()
460 status_t status = binder->getBinder()->dump(fd, utf16Args); in AIBinder_dump()
472 return recipient->linkToDeath(binder->getBinder(), cookie); in AIBinder_linkToDeath()
483 return recipient->unlinkToDeath(binder->getBinder(), cookie); in AIBinder_unlinkToDeath()
612 if ((*in)->getBinder() != binder) { in AIBinder_transact()
614 << " but called with " << (*in)->getBinder(); 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()
/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.java204 public final IImsCapabilityCallback getBinder() { in getBinder() method in ImsMmTelManager.CapabilityCallback
302 iTelephony.registerImsRegistrationCallback(mSubId, c.getBinder()); in registerImsRegistrationCallback()
346 iTelephony.registerImsRegistrationCallback(mSubId, c.getBinder()); in registerImsRegistrationCallback()
382 iTelephony.unregisterImsRegistrationCallback(mSubId, c.getBinder()); in unregisterImsRegistrationCallback()
414 iTelephony.unregisterImsRegistrationCallback(mSubId, c.getBinder()); in unregisterImsRegistrationCallback()
548 iTelephony.registerMmTelCapabilityCallback(mSubId, c.getBinder()); in registerMmTelCapabilityCallback()
596 iTelephony.unregisterMmTelCapabilityCallback(mSubId, c.getBinder()); in unregisterMmTelCapabilityCallback()
DRcsUceAdapter.java225 public final IRcsUcePublishStateCallback getBinder() { in getBinder() method in RcsUceAdapter.PublishStateCallback
422 imsRcsController.registerUcePublishStateCallback(mSubId, c.getBinder()); in registerPublishStateCallback()
460 imsRcsController.unregisterUcePublishStateCallback(mSubId, c.getBinder()); in unregisterPublishStateCallback()
DProvisioningManager.java916 public final IImsConfigCallback getBinder() { in getBinder() method in ProvisioningManager.Callback
968 getITelephony().registerImsProvisioningChangedCallback(mSubId, callback.getBinder()); in registerProvisioningChangedCallback()
989 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/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/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/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/packages/FusedLocation/src/com/android/location/fused/
DFusedLocationService.java34 return mProvider.getBinder(); in onBind()
/frameworks/base/location/lib/api/
Dcurrent.txt6 method @Deprecated public android.os.IBinder getBinder();
11 method public android.os.IBinder getBinder();
/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/core/java/android/app/
DPackageDeleteObserver.java43 public IPackageDeleteObserver2 getBinder() { in getBinder() method in PackageDeleteObserver
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsServiceControllerCompat.java113 return adapter.getBinder(); in getRegistration()
195 return mmTelAdapter.getBinder(); in createMMTelCompat()
/frameworks/base/core/java/android/app/job/
DJobService.java71 return mEngine.getBinder(); in onBind()

12345