Home
last modified time | relevance | path

Searched refs:linkToDeath (Results 1 – 25 of 278) sorted by relevance

12345678910>>...12

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBinderDeathDispatcherTest.java93 public void linkToDeath(DeathRecipient recipient, int flags) throws RemoteException { in linkToDeath() method in BinderDeathDispatcherTest.MyTarget
150 assertThat(d.linkToDeath(t1, r1)).isEqualTo(1); in testRegisterAndUnregister()
153 assertThat(d.linkToDeath(t1, r2)).isEqualTo(2); in testRegisterAndUnregister()
154 assertThat(d.linkToDeath(t1, r3)).isEqualTo(3); in testRegisterAndUnregister()
170 assertThat(d.linkToDeath(t1, r1)).isEqualTo(1); in testRegisterAndUnregister()
171 assertThat(d.linkToDeath(t2, r1)).isEqualTo(1); in testRegisterAndUnregister()
172 assertThat(d.linkToDeath(t3, r1)).isEqualTo(1); in testRegisterAndUnregister()
173 assertThat(d.linkToDeath(t3, r2)).isEqualTo(2); in testRegisterAndUnregister()
212 d.linkToDeath(t1, r1); in testRegisterAndKill()
213 d.linkToDeath(t1, r2); in testRegisterAndKill()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DAssistDataReceiverProxy.java45 linkToDeath(); in AssistDataReceiverProxy()
88 private void linkToDeath() { in linkToDeath() method in AssistDataReceiverProxy
90 mReceiver.asBinder().linkToDeath(this, 0); in linkToDeath()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiTrafficPollerTest.java130 verify(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in registersForBinderDeathOnAddClient()
140 .when(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in addCallbackFailureOnLinkToDeath()
143 verify(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in addCallbackFailureOnLinkToDeath()
DLocalOnlyHotspotRequestInfoTest.java73 verify(mAppBinder).linkToDeath(eq(mLOHSRequestInfo), eq(0)); in verifyBinderLinkToDeathIsCalled()
126 .linkToDeath(any(IBinder.DeathRecipient.class), eq(0)); in verifyRemoteExceptionTriggersCallback()
DHostapdHalTest.java123 when(mServiceManagerMock.linkToDeath(any(IHwBinder.DeathRecipient.class), in setUp()
129 when(mIHostapdMock.linkToDeath(any(IHwBinder.DeathRecipient.class), in setUp()
131 when(mIHostapdMock.linkToDeath(any(IHwBinder.DeathRecipient.class), in setUp()
676 mInOrder.verify(mServiceManagerMock).linkToDeath(mServiceManagerDeathCaptor.capture(), in executeAndValidateInitializationSequence()
684 mInOrder.verify(mIHostapdMock).linkToDeath(mHostapdDeathCaptor.capture(), in executeAndValidateInitializationSequence()
688 mInOrder.verify(mIHostapdMock, never()).linkToDeath( in executeAndValidateInitializationSequence()
720 mInOrder.verify(mServiceManagerMock).linkToDeath(mServiceManagerDeathCaptor.capture(), in executeAndValidateInitializationSequenceV1_1()
727 mInOrder.verify(mIHostapdMock).linkToDeath(mHostapdDeathCaptor.capture(), anyLong()); in executeAndValidateInitializationSequenceV1_1()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DExternalCallbackTrackerTest.java67 verify(mBinder).linkToDeath(any(), anyInt()); in testAddCallback()
75 doThrow(new RemoteException()).when(mBinder).linkToDeath(any(), anyInt()); in testAddCallbackFailureOnLinkToDeath()
117 verify(mBinder).linkToDeath(deathCaptor.capture(), anyInt()); in testCallbackRemovalOnDeath()
/frameworks/av/media/libmediaplayerservice/
DDeathNotifier.cpp49 service->linkToDeath(mDeathRecipient);
55 service->linkToDeath(mDeathRecipient, 0);
/frameworks/av/services/camera/libcameraservice/hidl/
DCameraHybridInterface.h42 virtual status_t linkToDeath(
94 linkToDeath( in linkToDeath() function
102 if (!mBase->linkToDeath(mObituaries.back(), 0)) { in linkToDeath()
/frameworks/native/libs/sensorprivacy/
DSensorPrivacyManager.cpp88 status_t SensorPrivacyManager::linkToDeath(const sp<IBinder::DeathRecipient>& recipient) in linkToDeath() function in android::SensorPrivacyManager
92 return IInterface::asBinder(service)->linkToDeath(recipient); in linkToDeath()
/frameworks/native/libs/binder/
DActivityManager.cpp101 status_t ActivityManager::linkToDeath(const sp<IBinder::DeathRecipient>& recipient) { in linkToDeath() function in android::ActivityManager
104 return IInterface::asBinder(service)->linkToDeath(recipient); in linkToDeath()
/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceRefcountedResourceTest.java113 verify(binderMock).linkToDeath(anyObject(), anyInt()); in testConstructor()
131 verify(binderMockChild).linkToDeath(anyObject(), anyInt()); in testConstructorWithChildren()
132 verify(binderMockParent).linkToDeath(anyObject(), anyInt()); in testConstructorWithChildren()
138 doThrow(new RemoteException()).when(binderMock).linkToDeath(anyObject(), anyInt()); in testFailLinkToDeath()
/frameworks/base/core/java/com/android/internal/os/
DBinderDeathDispatcher.java92 public int linkToDeath(@NonNull T target, @NonNull DeathRecipient recipient) { in linkToDeath() method in BinderDeathDispatcher
101 ib.linkToDeath(info, 0); in linkToDeath()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DUiAutomationManager.java98 owner.linkToDeath(mUiAutomationServiceOwnerDeathRecipient, 0); in registerUiTestAutomationServiceLocked()
115 mUiAutomationService.mServiceInterface.asBinder().linkToDeath(mUiAutomationService, in registerUiTestAutomationServiceLocked()
246 service.linkToDeath(this, 0); in connectServiceUnknownThread()
/frameworks/base/keystore/java/android/security/
DKeyStore.java485 mBinder.asBinder().linkToDeath(promise, 0); in addRngEntropy()
558 mBinder.asBinder().linkToDeath(promise, 0); in generateKeyInternal()
612 mBinder.asBinder().linkToDeath(promise, 0); in getKeyCharacteristics()
647 mBinder.asBinder().linkToDeath(promise, 0); in importKeyInternal()
754 mBinder.asBinder().linkToDeath(promise, 0); in importWrappedKeyInternal()
818 mBinder.asBinder().linkToDeath(promise, 0); in exportKey()
863 mBinder.asBinder().linkToDeath(promise, 0); in begin()
894 mBinder.asBinder().linkToDeath(promise, 0); in update()
928 mBinder.asBinder().linkToDeath(promise, 0); in finish()
974 mBinder.asBinder().linkToDeath(promise, 0); in abort()
[all …]
/frameworks/base/core/java/android/os/
DExternalVibration.java120 public void linkToDeath(IBinder.DeathRecipient recipient) { in linkToDeath() method in ExternalVibration
122 mToken.linkToDeath(recipient, 0); in linkToDeath()
DIHwBinder.java65 public boolean linkToDeath(DeathRecipient recipient, long cookie); in linkToDeath() method
DHwRemoteBinder.java48 public native boolean linkToDeath(DeathRecipient recipient, long cookie); in linkToDeath() method in HwRemoteBinder
/frameworks/base/telephony/java/android/telephony/mbms/vendor/
DMbmsStreamingServiceBase.java110 callback.asBinder().linkToDeath(new DeathRecipient() { in initialize()
229 callback.asBinder().linkToDeath(new DeathRecipient() { in startStreaming()
DMbmsGroupCallServiceBase.java102 callback.asBinder().linkToDeath(new DeathRecipient() {
169 callback.asBinder().linkToDeath(new DeathRecipient() {
DMbmsDownloadServiceBase.java163 callback.asBinder().linkToDeath(new DeathRecipient() { in initialize()
311 listener.asBinder().linkToDeath(deathRecipient, 0); in addStatusListener()
424 listener.asBinder().linkToDeath(deathRecipient, 0); in addProgressListener()
/frameworks/native/libs/sensorprivacy/include/sensorprivacy/
DSensorPrivacyManager.h37 status_t linkToDeath(const sp<IBinder::DeathRecipient>& recipient);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DDppManager.java240 if (!linkToDeath(mDppRequestInfo)) { in startDppAsConfiguratorInitiator()
322 if (!linkToDeath(mDppRequestInfo)) { in startDppAsEnrolleeInitiator()
597 private boolean linkToDeath(DppRequestInfo dppRequestInfo) { in linkToDeath() method in DppManager
615 dppRequestInfo.binder.linkToDeath(dppRequestInfo.dr, 0); in linkToDeath()
/frameworks/base/media/apex/java/android/media/
DSession2Link.java91 public void linkToDeath(@NonNull IBinder.DeathRecipient recipient, int flags) { in linkToDeath() method in Session2Link
94 mISession.asBinder().linkToDeath(recipient, flags); in linkToDeath()
/frameworks/native/libs/binder/include/binder/
DActivityManager.h82 status_t linkToDeath(const sp<IBinder::DeathRecipient>& recipient);
/frameworks/av/soundtrigger/
DSoundTrigger.cpp75 binder->linkToDeath(gDeathNotifier); in getSoundTriggerHwService()
110 IInterface::asBinder(soundTrigger->mISoundTrigger)->linkToDeath(soundTrigger); in attach()

12345678910>>...12