/frameworks/native/libs/fakeservicemanager/ |
D | test_sm.cpp | 38 static sp<IBinder> getBinder() { in getBinder() function 51 EXPECT_EQ(sm->addService(String16("foo"), getBinder(), false /*allowIsolated*/, in TEST() 63 EXPECT_EQ(sm->addService(String16("foo"), getBinder(), false /*allowIsolated*/, in TEST() 65 EXPECT_EQ(sm->addService(String16("foo"), getBinder(), false /*allowIsolated*/, in TEST() 71 EXPECT_EQ(sm->addService(String16("foo"), getBinder(), false /*allowIsolated*/, in TEST() 80 sp<IBinder> service = getBinder(); in TEST() 97 EXPECT_EQ(sm->addService(String16("sd"), getBinder(), false /*allowIsolated*/, in TEST() 99 EXPECT_EQ(sm->addService(String16("sc"), getBinder(), false /*allowIsolated*/, in TEST() 101 EXPECT_EQ(sm->addService(String16("sb"), getBinder(), false /*allowIsolated*/, in TEST() 103 EXPECT_EQ(sm->addService(String16("sa"), getBinder(), false /*allowIsolated*/, in TEST() [all …]
|
/frameworks/native/cmds/servicemanager/ |
D | test_sm.cpp | 46 static sp<IBinder> getBinder() { in getBinder() function 92 EXPECT_TRUE(sm->addService("foo", getBinder(), false /*allowIsolated*/, in TEST() 98 EXPECT_FALSE(sm->addService("", getBinder(), false /*allowIsolated*/, in TEST() 104 EXPECT_TRUE(sm->addService(std::string(127, 'a'), getBinder(), false /*allowIsolated*/, in TEST() 110 EXPECT_FALSE(sm->addService(std::string(128, 'a'), getBinder(), false /*allowIsolated*/, in TEST() 116 EXPECT_FALSE(sm->addService("happy$foo$foo", getBinder(), false /*allowIsolated*/, in TEST() 136 EXPECT_FALSE(sm->addService("foo", getBinder(), false /*allowIsolated*/, in TEST() 144 EXPECT_TRUE(sm->addService("foo", getBinder(), false /*allowIsolated*/, in TEST() 146 EXPECT_TRUE(sm->addService("foo", getBinder(), false /*allowIsolated*/, in TEST() 152 sp<IBinder> serviceA = getBinder(); in TEST() [all …]
|
/frameworks/native/libs/binder/ndk/ |
D | stability.cpp | 40 Stability::markVndk(binder->getBinder().get()); in AIBinder_markVendorStability() 44 Stability::markCompilationUnit(binder->getBinder().get()); in AIBinder_markSystemStability() 48 Stability::markVintf(binder->getBinder().get()); in AIBinder_markVintfStability() 53 Stability::forceDowngradeToVendorStability(binder->getBinder()); in AIBinder_forceDowngradeToVendorStability() 57 Stability::forceDowngradeToSystemStability(binder->getBinder()); in AIBinder_forceDowngradeToSystemStability()
|
D | ibinder.cpp | 102 const String16& descriptor = getBinder()->getInterfaceDescriptor(); in associateClass() 144 if (getBinder()->isBinderAlive()) { in associateClass() 284 strongRecip->pruneThisTransferEntry(getBinder(), recip.cookie); in ~ABpBinder() 366 return const_cast<AIBinder*>(lhs)->getBinder() < const_cast<AIBinder*>(rhs)->getBinder(); in AIBinder_lt() 550 ABBinderTag::attach(ret->getBinder()); in AIBinder_new() 569 return const_cast<AIBinder*>(binder)->getBinder()->isBinderAlive(); in AIBinder_isAlive() 577 return PruneStatusT(binder->getBinder()->pingBinder()); in AIBinder_ping() 600 status_t status = binder->getBinder()->dump(fd, utf16Args); in AIBinder_dump() 611 binder_status_t ret = recipient->linkToDeath(binder->getBinder(), cookie); in AIBinder_linkToDeath() 626 return recipient->unlinkToDeath(binder->getBinder(), cookie); in AIBinder_unlinkToDeath() [all …]
|
D | ibinder_internal.h | 46 virtual ::android::sp<::android::IBinder> getBinder() = 0; 51 ::android::sp<::android::IBinder> binder = const_cast<AIBinder*>(this)->getBinder(); in isRemote() 76 ::android::sp<::android::IBinder> getBinder() override { return this; } in getBinder() function 108 ::android::sp<::android::IBinder> getBinder() override { return mRemote; } in getBinder() function
|
D | libbinder.cpp | 28 return binder->getBinder(); in AIBinder_toPlatformBinder()
|
D | ibinder_jni.cpp | 44 return javaObjectForIBinder(env, binder->getBinder()); in AIBinder_toJavaBinder()
|
/frameworks/native/libs/binder/tests/parcel_fuzzer/ |
D | libbinder_ndk_driver.cpp | 33 cppBinders.push_back(binder.get()->getBinder()); in fuzzService() 40 fuzzService(binder->getBinder(), std::move(provider)); in fuzzService() 51 cppBinders.push_back(aiBinder->getBinder()); in fuzzRustService()
|
/frameworks/opt/net/ims/tests/src/com/android/ims/ |
D | ImsFeatureContainerTest.java | 63 ImsFeatureContainer c = new ImsFeatureContainer(mMmTelFeature.getBinder().asBinder(), in testParcelUnparcel() 64 mImsConfig.getIImsConfig(), mImsReg.getBinder(), mSipTransport, caps); in testParcelUnparcel() 69 assertEquals(mMmTelFeature.getBinder().asBinder(), result.imsFeature); in testParcelUnparcel() 71 assertEquals(mImsReg.getBinder(), result.imsRegistration); in testParcelUnparcel()
|
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ |
D | BinderCacheManagerTest.java | 62 assertEquals(mInterface, mBinderCache.getBinder()); in testGetConnection() 64 assertNull(mBinderCache.getBinder()); in testGetConnection() 76 assertNull(mBinderCache.getBinder()); in testAddListenerAndDie() 115 assertEquals(mInterface, mBinderCache.getBinder()); in populateCacheCaptureDeathRecipent()
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | ProvisioningManager.java | 962 public final IImsConfigCallback getBinder() { in getBinder() method in ProvisioningManager.Callback 1050 public final IFeatureProvisioningCallback getBinder() { in getBinder() method in ProvisioningManager.FeatureProvisioningCallback 1188 public final IRcsConfigCallback getBinder() { in getBinder() method in ProvisioningManager.RcsProvisioningCallback 1250 getITelephony().registerImsProvisioningChangedCallback(mSubId, callback.getBinder()); in registerProvisioningChangedCallback() 1279 getITelephony().unregisterImsProvisioningChangedCallback(mSubId, callback.getBinder()); in unregisterProvisioningChangedCallback() 1315 callback.getBinder()); in registerFeatureProvisioningChangedCallback() 1339 callback.getBinder()); in unregisterFeatureProvisioningChangedCallback() 1931 getITelephony().registerRcsProvisioningCallback(mSubId, callback.getBinder()); in registerRcsProvisioningCallback() 1971 mSubId, callback.getBinder()); in unregisterRcsProvisioningCallback()
|
D | ImsService.java | 301 return f.getBinder(); 312 return f.getBinder(); 323 return f.getBinder(); 398 return r.getBinder(); 411 return s.getBinder(); 473 return f.getBinder(); in createMmTelFeatureInternal() 485 return f.getBinder(); in createEmergencyOnlyMmTelFeatureInternal() 497 return f.getBinder(); in createRcsFeatureInternal()
|
D | ImsMmTelManager.java | 219 public final IImsCapabilityCallback getBinder() { in getBinder() method in ImsMmTelManager.CapabilityCallback 333 iTelephony.registerImsRegistrationCallback(mSubId, c.getBinder()); in registerImsRegistrationCallback() 377 iTelephony.registerImsRegistrationCallback(mSubId, c.getBinder()); in registerImsRegistrationCallback() 413 iTelephony.unregisterImsRegistrationCallback(mSubId, c.getBinder()); in unregisterImsRegistrationCallback() 445 iTelephony.unregisterImsRegistrationCallback(mSubId, c.getBinder()); in unregisterImsRegistrationCallback() 503 iTelephony.registerImsEmergencyRegistrationCallback(mSubId, c.getBinder()); in registerImsEmergencyRegistrationCallback() 553 iTelephony.unregisterImsEmergencyRegistrationCallback(mSubId, c.getBinder()); in unregisterImsEmergencyRegistrationCallback() 699 iTelephony.registerMmTelCapabilityCallback(mSubId, c.getBinder()); in registerMmTelCapabilityCallback() 746 iTelephony.unregisterMmTelCapabilityCallback(mSubId, c.getBinder()); in unregisterMmTelCapabilityCallback() 1720 return mBinderCache.getBinder(); in getITelephony()
|
D | ImsRcsManager.java | 202 public final IImsCapabilityCallback getBinder() { in getBinder() method in ImsRcsManager.AvailabilityCallbackAdapter 277 imsRcsController.registerImsRegistrationCallback(mSubId, c.getBinder()); in registerImsRegistrationCallback() 316 imsRcsController.unregisterImsRegistrationCallback(mSubId, c.getBinder()); in unregisterImsRegistrationCallback() 472 imsRcsController.registerRcsAvailabilityCallback(mSubId, adapter.getBinder()); in addOnAvailabilityChangedListener() 518 imsRcsController.unregisterRcsAvailabilityCallback(mSubId, callback.getBinder()); in removeOnAvailabilityChangedListener()
|
/frameworks/base/core/java/android/security/keystore/recovery/ |
D | RecoverySession.java | 114 mRecoveryController.getBinder().startRecoverySessionWithCertPath( in start() 151 .getBinder() in recoverKeyChainSnapshot() 205 mRecoveryController.getBinder().closeSession(mSessionId); in close()
|
/frameworks/base/core/jni/ |
D | android_os_HwRemoteBinder.cpp | 286 sp<hardware::IBinder> JHwRemoteBinder::getBinder() const { in getBinder() function in android::JHwRemoteBinder 333 JHwRemoteBinder::GetNativeContext(env, thiz)->getBinder(); in JHwRemoteBinder_native_transact() 359 sp<hardware::IBinder> binder = context->getBinder(); in JHwRemoteBinder_linkToDeath() 386 sp<hardware::IBinder> binder = context->getBinder(); in JHwRemoteBinder_unlinkToDeath() 426 sp<hardware::IBinder> cbinder = context->getBinder(); in toIBase() 451 JHwRemoteBinder::GetNativeContext(env, thiz)->getBinder().get()); in JHwRemoteBinder_hashCode()
|
/frameworks/base/telephony/java/android/telephony/ims/compat/ |
D | ImsService.java | 154 return f.getBinder(); in createEmergencyMMTelFeatureInternal() 164 return f.getBinder(); in createMMTelFeatureInternal() 174 return f.getBinder(); in createRcsFeatureInternal()
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
D | FusedProvider.java | 40 public IBinder getBinder() { in getBinder() method in FusedProvider
|
D | GeofenceProvider.java | 54 public IBinder getBinder() { in getBinder() method in GeofenceProvider
|
/frameworks/base/telephony/java/android/telephony/ims/compat/feature/ |
D | RcsFeature.java | 50 public final IImsRcsFeature getBinder() { in getBinder() method in RcsFeature
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | MessengerService.java | 42 return mMessenger.getBinder(); in onBind()
|
/frameworks/base/media/lib/tvremote/tests/src/com/android/media/tv/remoteprovider/ |
D | TvRemoteProviderTest.java | 67 ITvRemoteProvider binder = (ITvRemoteProvider) tvProvider.getBinder(); in testOpenRemoteInputBridge() 113 ITvRemoteProvider binder = (ITvRemoteProvider) tvProvider.getBinder(); in testOpenGamepadRemoteInputBridge()
|
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/ |
D | LocalTransportService.java | 43 return sTransport.getBinder(); in onBind()
|
/frameworks/base/telephony/java/android/telephony/satellite/stub/ |
D | SatelliteService.java | 60 return new SatelliteImplBase(Runnable::run).getBinder(); in onBind()
|
/frameworks/base/packages/EncryptedLocalTransport/src/com/android/encryptedlocaltransport/ |
D | EncryptedLocalTransportService.java | 45 return sTransport.getBinder(); in onBind()
|