Home
last modified time | relevance | path

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

12345678910>>...13

/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()
DShellRoot.java53 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/
DWindowMagnificationManagerTest.java57 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/
DExternalCallbackTrackerTest.java69 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/
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/base/services/accessibility/java/com/android/server/accessibility/magnification/
DWindowMagnificationConnectionWrapper.java46 void linkToDeath(@NonNull DeathRecipient deathRecipient) throws RemoteException { in linkToDeath() method in WindowMagnificationConnectionWrapper
47 mConnection.asBinder().linkToDeath(deathRecipient, 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/base/core/tests/coretests/src/android/os/
DBinderDeathRecipientTest.java101 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/
DWifiTrafficPollerTest.java133 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()
DLocalOnlyHotspotRequestInfoTest.java67 verify(mAppBinder).linkToDeath(eq(mLOHSRequestInfo), eq(0)); in verifyBinderLinkToDeathIsCalled()
112 .linkToDeath(any(IBinder.DeathRecipient.class), eq(0)); in verifyRemoteExceptionTriggersCallback()
/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/keystore/java/android/security/
DKeyStore.java483 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/
DUiAutomationManager.java102 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/
DExternalVibration.java124 public void linkToDeath(IBinder.DeathRecipient recipient) { in linkToDeath() method in ExternalVibration
126 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/
DMbmsGroupCallServiceBase.java102 callback.asBinder().linkToDeath(new DeathRecipient() {
169 callback.asBinder().linkToDeath(new DeathRecipient() {
DMbmsStreamingServiceBase.java110 callback.asBinder().linkToDeath(new DeathRecipient() { in initialize()
229 callback.asBinder().linkToDeath(new DeathRecipient() { in startStreaming()
DMbmsDownloadServiceBase.java163 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/
DRemoteAnimationDefinition.java133 public void linkToDeath(IBinder.DeathRecipient deathRecipient) { in linkToDeath() method in RemoteAnimationDefinition
137 .linkToDeath(deathRecipient, 0 /* flags */); in linkToDeath()
/frameworks/native/libs/sensorprivacy/include/sensorprivacy/
DSensorPrivacyManager.h37 status_t linkToDeath(const sp<IBinder::DeathRecipient>& recipient);

12345678910>>...13