/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BinderDeathDispatcherTest.java | 93 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/ |
D | AssistDataReceiverProxy.java | 45 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/ |
D | WifiTrafficPollerTest.java | 130 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()
|
D | LocalOnlyHotspotRequestInfoTest.java | 73 verify(mAppBinder).linkToDeath(eq(mLOHSRequestInfo), eq(0)); in verifyBinderLinkToDeathIsCalled() 126 .linkToDeath(any(IBinder.DeathRecipient.class), eq(0)); in verifyRemoteExceptionTriggersCallback()
|
D | HostapdHalTest.java | 123 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/ |
D | ExternalCallbackTrackerTest.java | 67 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/ |
D | DeathNotifier.cpp | 49 service->linkToDeath(mDeathRecipient); 55 service->linkToDeath(mDeathRecipient, 0);
|
/frameworks/av/services/camera/libcameraservice/hidl/ |
D | CameraHybridInterface.h | 42 virtual status_t linkToDeath( 94 linkToDeath( in linkToDeath() function 102 if (!mBase->linkToDeath(mObituaries.back(), 0)) { in linkToDeath()
|
/frameworks/native/libs/sensorprivacy/ |
D | SensorPrivacyManager.cpp | 88 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/ |
D | ActivityManager.cpp | 101 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/ |
D | IpSecServiceRefcountedResourceTest.java | 113 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/ |
D | BinderDeathDispatcher.java | 92 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/ |
D | UiAutomationManager.java | 98 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/ |
D | KeyStore.java | 485 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/ |
D | ExternalVibration.java | 120 public void linkToDeath(IBinder.DeathRecipient recipient) { in linkToDeath() method in ExternalVibration 122 mToken.linkToDeath(recipient, 0); in linkToDeath()
|
D | IHwBinder.java | 65 public boolean linkToDeath(DeathRecipient recipient, long cookie); in linkToDeath() method
|
D | HwRemoteBinder.java | 48 public native boolean linkToDeath(DeathRecipient recipient, long cookie); in linkToDeath() method in HwRemoteBinder
|
/frameworks/base/telephony/java/android/telephony/mbms/vendor/ |
D | MbmsStreamingServiceBase.java | 110 callback.asBinder().linkToDeath(new DeathRecipient() { in initialize() 229 callback.asBinder().linkToDeath(new DeathRecipient() { in startStreaming()
|
D | MbmsGroupCallServiceBase.java | 102 callback.asBinder().linkToDeath(new DeathRecipient() { 169 callback.asBinder().linkToDeath(new DeathRecipient() {
|
D | MbmsDownloadServiceBase.java | 163 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/ |
D | SensorPrivacyManager.h | 37 status_t linkToDeath(const sp<IBinder::DeathRecipient>& recipient);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | DppManager.java | 240 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/ |
D | Session2Link.java | 91 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/ |
D | ActivityManager.h | 82 status_t linkToDeath(const sp<IBinder::DeathRecipient>& recipient);
|
/frameworks/av/soundtrigger/ |
D | SoundTrigger.cpp | 75 binder->linkToDeath(gDeathNotifier); in getSoundTriggerHwService() 110 IInterface::asBinder(soundTrigger->mISoundTrigger)->linkToDeath(soundTrigger); in attach()
|