Home
last modified time | relevance | path

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

1234567

/frameworks/native/libs/fakeservicemanager/
Dtest_sm.cpp38 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/
Dtest_sm.cpp46 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/
Dstability.cpp40 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()
Dibinder.cpp102 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 …]
Dibinder_internal.h46 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
Dlibbinder.cpp28 return binder->getBinder(); in AIBinder_toPlatformBinder()
Dibinder_jni.cpp44 return javaObjectForIBinder(env, binder->getBinder()); in AIBinder_toJavaBinder()
/frameworks/native/libs/binder/tests/parcel_fuzzer/
Dlibbinder_ndk_driver.cpp33 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/
DImsFeatureContainerTest.java63 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/
DBinderCacheManagerTest.java62 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/
DProvisioningManager.java962 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()
DImsService.java301 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()
DImsMmTelManager.java219 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()
DImsRcsManager.java202 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/
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.cpp286 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/
DImsService.java154 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/
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/core/tests/coretests/src/android/os/
DMessengerService.java42 return mMessenger.getBinder(); in onBind()
/frameworks/base/media/lib/tvremote/tests/src/com/android/media/tv/remoteprovider/
DTvRemoteProviderTest.java67 ITvRemoteProvider binder = (ITvRemoteProvider) tvProvider.getBinder(); in testOpenRemoteInputBridge()
113 ITvRemoteProvider binder = (ITvRemoteProvider) tvProvider.getBinder(); in testOpenGamepadRemoteInputBridge()
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/
DLocalTransportService.java43 return sTransport.getBinder(); in onBind()
/frameworks/base/telephony/java/android/telephony/satellite/stub/
DSatelliteService.java60 return new SatelliteImplBase(Runnable::run).getBinder(); in onBind()
/frameworks/base/packages/EncryptedLocalTransport/src/com/android/encryptedlocaltransport/
DEncryptedLocalTransportService.java45 return sTransport.getBinder(); in onBind()

1234567