/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()
|
D | ShellRoot.java | 53 client.asBinder().linkToDeath(mDeathRecipient, 0); in ShellRoot() 151 mAccessibilityWindow.asBinder().linkToDeath(mAccessibilityWindowDeath, 0); in setAccessibilityWindow()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/ |
D | WindowMagnificationManagerTest.java | 57 verify(mMockConnection.asBinder()).linkToDeath(any(IBinder.DeathRecipient.class), eq(0)); in setConnection_connectionIsNull_wrapperIsNullAndLinkToDeath() 66 verify(mMockConnection.asBinder()).linkToDeath(any(IBinder.DeathRecipient.class), eq(0)); in setConnection_connectionIsNull_setMirrorWindowCallbackAndHasWrapper() 126 }).when(mBinder).linkToDeath( in MockWindowMagnificationConnection()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | ExternalCallbackTrackerTest.java | 69 verify(mBinder).linkToDeath(any(), anyInt()); in testAddCallback() 77 doThrow(new RemoteException()).when(mBinder).linkToDeath(any(), anyInt()); in testAddCallbackFailureOnLinkToDeath() 119 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/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | WindowMagnificationConnectionWrapper.java | 46 void linkToDeath(@NonNull DeathRecipient deathRecipient) throws RemoteException { in linkToDeath() method in WindowMagnificationConnectionWrapper 47 mConnection.asBinder().linkToDeath(deathRecipient, 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/base/core/tests/coretests/src/android/os/ |
D | BinderDeathRecipientTest.java | 101 testAppBinder.linkToDeath(simpleDeathRecipient, 0); in binderDied_noArgs() 132 testApp1Binder.linkToDeath(sameDeathRecipient, 0); in binderDied_iBinderArg() 135 testApp2Binder.linkToDeath(sameDeathRecipient, 0); in binderDied_iBinderArg()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiTrafficPollerTest.java | 133 verify(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in registersForBinderDeathOnAddClient() 143 .when(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in addCallbackFailureOnLinkToDeath() 146 verify(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in addCallbackFailureOnLinkToDeath()
|
D | LocalOnlyHotspotRequestInfoTest.java | 67 verify(mAppBinder).linkToDeath(eq(mLOHSRequestInfo), eq(0)); in verifyBinderLinkToDeathIsCalled() 112 .linkToDeath(any(IBinder.DeathRecipient.class), eq(0)); in verifyRemoteExceptionTriggersCallback()
|
/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/keystore/java/android/security/ |
D | KeyStore.java | 483 mBinder.asBinder().linkToDeath(promise, 0); in addRngEntropy() 556 mBinder.asBinder().linkToDeath(promise, 0); in generateKeyInternal() 610 mBinder.asBinder().linkToDeath(promise, 0); in getKeyCharacteristics() 645 mBinder.asBinder().linkToDeath(promise, 0); in importKeyInternal() 752 mBinder.asBinder().linkToDeath(promise, 0); in importWrappedKeyInternal() 816 mBinder.asBinder().linkToDeath(promise, 0); in exportKey() 861 mBinder.asBinder().linkToDeath(promise, 0); in begin() 892 mBinder.asBinder().linkToDeath(promise, 0); in update() 926 mBinder.asBinder().linkToDeath(promise, 0); in finish() 972 mBinder.asBinder().linkToDeath(promise, 0); in abort() [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | UiAutomationManager.java | 102 owner.linkToDeath(mUiAutomationServiceOwnerDeathRecipient, 0); in registerUiTestAutomationServiceLocked() 119 mUiAutomationService.mServiceInterface.asBinder().linkToDeath(mUiAutomationService, in registerUiTestAutomationServiceLocked() 251 service.linkToDeath(this, 0); in connectServiceUnknownThread()
|
/frameworks/base/core/java/android/os/ |
D | ExternalVibration.java | 124 public void linkToDeath(IBinder.DeathRecipient recipient) { in linkToDeath() method in ExternalVibration 126 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 | MbmsGroupCallServiceBase.java | 102 callback.asBinder().linkToDeath(new DeathRecipient() { 169 callback.asBinder().linkToDeath(new DeathRecipient() {
|
D | MbmsStreamingServiceBase.java | 110 callback.asBinder().linkToDeath(new DeathRecipient() { in initialize() 229 callback.asBinder().linkToDeath(new DeathRecipient() { in startStreaming()
|
D | MbmsDownloadServiceBase.java | 163 callback.asBinder().linkToDeath(new DeathRecipient() { in initialize() 288 listener.asBinder().linkToDeath(deathRecipient, 0); in addStatusListener() 401 listener.asBinder().linkToDeath(deathRecipient, 0); in addProgressListener()
|
/frameworks/base/core/java/android/view/ |
D | RemoteAnimationDefinition.java | 133 public void linkToDeath(IBinder.DeathRecipient deathRecipient) { in linkToDeath() method in RemoteAnimationDefinition 137 .linkToDeath(deathRecipient, 0 /* flags */); in linkToDeath()
|
/frameworks/native/libs/sensorprivacy/include/sensorprivacy/ |
D | SensorPrivacyManager.h | 37 status_t linkToDeath(const sp<IBinder::DeathRecipient>& recipient);
|