Home
last modified time | relevance | path

Searched refs:deathRecipient (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/telephony/java/android/telephony/mbms/vendor/
DMbmsDownloadServiceBase.java279 DeathRecipient deathRecipient = new DeathRecipient() { in addStatusListener() local
287 mDownloadCallbackDeathRecipients.put(listener.asBinder(), deathRecipient); in addStatusListener() local
288 listener.asBinder().linkToDeath(deathRecipient, 0); in addStatusListener()
330 DeathRecipient deathRecipient = in removeStatusListener() local
332 if (deathRecipient == null) { in removeStatusListener()
336 listener.asBinder().unlinkToDeath(deathRecipient, 0); in removeStatusListener()
392 DeathRecipient deathRecipient = new DeathRecipient() { in addProgressListener() local
400 mDownloadCallbackDeathRecipients.put(listener.asBinder(), deathRecipient); in addProgressListener() local
401 listener.asBinder().linkToDeath(deathRecipient, 0); in addProgressListener()
443 DeathRecipient deathRecipient = in removeProgressListener() local
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DWindowMagnificationConnectionWrapper.java42 void unlinkToDeath(@NonNull DeathRecipient deathRecipient) { in unlinkToDeath() argument
43 mConnection.asBinder().unlinkToDeath(deathRecipient, 0); in unlinkToDeath()
46 void linkToDeath(@NonNull DeathRecipient deathRecipient) throws RemoteException { in linkToDeath() argument
47 mConnection.asBinder().linkToDeath(deathRecipient, 0); in linkToDeath()
/frameworks/base/services/core/java/com/android/server/
DSensorPrivacyService.java248 DeathRecipient deathRecipient = new DeathRecipient(listener); in addListener() local
249 mDeathRecipients.put(listener, deathRecipient); in addListener()
256 DeathRecipient deathRecipient = mDeathRecipients.remove(listener); in removeListener() local
257 if (deathRecipient != null) { in removeListener()
258 deathRecipient.destroy(); in removeListener()
DTelephonyRegistry.java136 TelephonyRegistryDeathRecipient deathRecipient; field in TelephonyRegistry.Record
1169 r.deathRecipient = new TelephonyRegistryDeathRecipient(binder); in add()
1172 binder.linkToDeath(r.deathRecipient, 0); in add()
1197 if (r.deathRecipient != null) { in remove()
1199 binder.unlinkToDeath(r.deathRecipient, 0); in remove()
DConnectivityService.java5273 int providerId, IBinder.DeathRecipient deathRecipient) { in NetworkProviderInfo() argument
5278 mDeathRecipient = deathRecipient; in NetworkProviderInfo()
/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionManagerService.java181 IBinder.DeathRecipient deathRecipient = new IBinder.DeathRecipient() { in addCallback() local
189 linkDeathRecipientLocked(callback, deathRecipient); in addCallback()
201 IBinder.DeathRecipient deathRecipient) { in linkDeathRecipientLocked() argument
204 token.linkToDeath(deathRecipient, 0); in linkDeathRecipientLocked()
205 mDeathEaters.put(token, deathRecipient); in linkDeathRecipientLocked()
213 IBinder.DeathRecipient deathRecipient = mDeathEaters.remove(token); in unlinkDeathRecipientLocked() local
214 if (deathRecipient != null) { in unlinkDeathRecipientLocked()
215 token.unlinkToDeath(deathRecipient, 0); in unlinkDeathRecipientLocked()
/frameworks/base/core/java/android/view/
DRemoteAnimationDefinition.java133 public void linkToDeath(IBinder.DeathRecipient deathRecipient) { in linkToDeath() argument
137 .linkToDeath(deathRecipient, 0 /* flags */); in linkToDeath()
/frameworks/base/services/core/java/com/android/server/textclassifier/
DTextClassificationManagerService.java615 DeathRecipient deathRecipient = () -> remove(sessionId); in put() local
616 sessionId.getToken().linkToDeath(deathRecipient, /* flags= */ 0); in put()
617 mDeathRecipients.put(sessionId, deathRecipient); in put()
635 DeathRecipient deathRecipient = mDeathRecipients.get(sessionId); in remove() local
636 if (deathRecipient != null) { in remove()
637 sessionId.getToken().unlinkToDeath(deathRecipient, /* flags= */ 0); in remove()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiLockManagerTest.java100 ArgumentCaptor<IBinder.DeathRecipient> deathRecipient = in acquireWifiLockSuccessful() local
108 inOrder.verify(binder).linkToDeath(deathRecipient.capture(), eq(0)); in acquireWifiLockSuccessful()
123 ArgumentCaptor<IBinder.DeathRecipient> deathRecipient = in releaseWifiLockSuccessful() local
128 inOrder.verify(binder).unlinkToDeath(deathRecipient.capture(), eq(0)); in releaseWifiLockSuccessful()
133 ArgumentCaptor<IBinder.DeathRecipient> deathRecipient = in releaseWifiLockSuccessful_noBatteryStats() local
138 inOrder.verify(binder).unlinkToDeath(deathRecipient.capture(), eq(0)); in releaseWifiLockSuccessful_noBatteryStats()
142 ArgumentCaptor<IBinder.DeathRecipient> deathRecipient = in releaseLowLatencyWifiLockSuccessful() local
147 inOrder.verify(binder).unlinkToDeath(deathRecipient.capture(), eq(0)); in releaseLowLatencyWifiLockSuccessful()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareServiceImplTest.java311 ArgumentCaptor<IBinder.DeathRecipient> deathRecipient = ArgumentCaptor in testBinderDeath() local
316 verify(mBinderMock).linkToDeath(deathRecipient.capture(), eq(0)); in testBinderDeath()
317 deathRecipient.getValue().binderDied(); in testBinderDeath()
/frameworks/native/services/inputflinger/
DInputClassifier.cpp139 sp<android::hardware::hidl_death_recipient> deathRecipient) { in create() argument
149 const bool linked = service->linkToDeath(deathRecipient, 0 /* cookie */).withDefault(false); in create()
DInputClassifier.h125 sp<android::hardware::hidl_death_recipient> deathRecipient);
/frameworks/base/core/jni/
Dandroid_os_HwRemoteBinder.cpp178 for (const sp<HwBinderDeathRecipient>& deathRecipient : mList) { in ~HwBinderDeathRecipientList() local
179 deathRecipient->warnIfStillLive(); in ~HwBinderDeathRecipientList()
/frameworks/base/apex/statsd/service/java/com/android/server/stats/
DStatsCompanionService.java615 StatsdDeathRecipient deathRecipient = new StatsdDeathRecipient(statsd, receivers); in registerStatsdDeathRecipient() local
618 statsd.asBinder().linkToDeath(deathRecipient, /*flags=*/0); in registerStatsdDeathRecipient()
/frameworks/av/media/codec2/hidl/client/
Dclient.cpp1553 sp<HidlDeathRecipient> deathRecipient = new HidlDeathRecipient(); in setDeathListener() local
1554 deathRecipient->base = listener; in setDeathListener()
1555 deathRecipient->component = component; in setDeathListener()
1557 component->mDeathRecipient = deathRecipient; in setDeathListener()
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceManagerService.java265 IBinder.DeathRecipient deathRecipient, int flags) { in unlinkToDeath() argument
267 iinterface.asBinder().unlinkToDeath(deathRecipient, flags); in unlinkToDeath()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DHostapdHal.java261 private boolean linkToHostapdDeath(DeathRecipient deathRecipient, long cookie) { in linkToHostapdDeath() argument
265 if (!mIHostapd.linkToDeath(deathRecipient, cookie)) { in linkToHostapdDeath()
DSupplicantStaIfaceHal.java275 DeathRecipient deathRecipient, long cookie) { in linkToSupplicantDeath() argument
279 if (!mISupplicant.linkToDeath(deathRecipient, cookie)) { in linkToSupplicantDeath()
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java233 IBinder.DeathRecipient deathRecipient; // Who is watching for the death. field in ProcessRecord
840 if (deathRecipient != null && thread != null) { in unlinkDeathRecipient()
841 thread.asBinder().unlinkToDeath(deathRecipient, 0); in unlinkDeathRecipient()
843 deathRecipient = null; in unlinkDeathRecipient()
DActivityManagerService.java5107 app.deathRecipient = adr; in attachApplicationLocked()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DMultiClientInputMethodManagerService.java953 final ClientDeathRecipient deathRecipient = new ClientDeathRecipient(this, client); in addClientLocked() local
955 client.asBinder().linkToDeath(deathRecipient, 0); in addClientLocked()
DInputMethodManagerService.java2243 final ClientDeathRecipient deathRecipient = new ClientDeathRecipient(this, client); in addClient() local
2245 client.asBinder().linkToDeath(deathRecipient, 0); in addClient()
2260 callerPid, selfReportedDisplayId, deathRecipient)); in addClient()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java877 DeathRecipient deathRecipient = new DeathRecipient(); in WindowState() local
886 c.asBinder().linkToDeath(deathRecipient, 0); in WindowState()
901 mDeathRecipient = deathRecipient; in WindowState()
DWindowManagerService.java685 RotationWatcher(IRotationWatcher watcher, IBinder.DeathRecipient deathRecipient, in RotationWatcher() argument
688 mDeathRecipient = deathRecipient; in RotationWatcher()