Home
last modified time | relevance | path

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

/frameworks/base/telephony/java/android/telephony/mbms/vendor/
DMbmsDownloadServiceBase.java302 DeathRecipient deathRecipient = new DeathRecipient() { in addStatusListener() local
310 mDownloadCallbackDeathRecipients.put(listener.asBinder(), deathRecipient); in addStatusListener() local
311 listener.asBinder().linkToDeath(deathRecipient, 0); in addStatusListener()
353 DeathRecipient deathRecipient = in removeStatusListener() local
355 if (deathRecipient == null) { in removeStatusListener()
359 listener.asBinder().unlinkToDeath(deathRecipient, 0); in removeStatusListener()
415 DeathRecipient deathRecipient = new DeathRecipient() { in addProgressListener() local
423 mDownloadCallbackDeathRecipients.put(listener.asBinder(), deathRecipient); in addProgressListener() local
424 listener.asBinder().linkToDeath(deathRecipient, 0); in addProgressListener()
466 DeathRecipient deathRecipient = in removeProgressListener() local
[all …]
/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
1165 r.deathRecipient = new TelephonyRegistryDeathRecipient(binder); in add()
1168 binder.linkToDeath(r.deathRecipient, 0); in add()
1193 if (r.deathRecipient != null) { in remove()
1195 binder.unlinkToDeath(r.deathRecipient, 0); in remove()
DConnectivityService.java5254 int providerId, IBinder.DeathRecipient deathRecipient) { in NetworkProviderInfo() argument
5259 mDeathRecipient = deathRecipient; in NetworkProviderInfo()
/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionManagerService.java179 IBinder.DeathRecipient deathRecipient = new IBinder.DeathRecipient() { in addCallback() local
187 linkDeathRecipientLocked(callback, deathRecipient); in addCallback()
199 IBinder.DeathRecipient deathRecipient) { in linkDeathRecipientLocked() argument
202 token.linkToDeath(deathRecipient, 0); in linkDeathRecipientLocked()
203 mDeathEaters.put(token, deathRecipient); in linkDeathRecipientLocked()
211 IBinder.DeathRecipient deathRecipient = mDeathEaters.remove(token); in unlinkDeathRecipientLocked() local
212 if (deathRecipient != null) { in unlinkDeathRecipientLocked()
213 token.unlinkToDeath(deathRecipient, 0); in unlinkDeathRecipientLocked()
/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()
127 ArgumentCaptor<IBinder.DeathRecipient> deathRecipient = in releaseWifiLockSuccessful() local
132 inOrder.verify(binder).unlinkToDeath(deathRecipient.capture(), eq(0)); in releaseWifiLockSuccessful()
137 ArgumentCaptor<IBinder.DeathRecipient> deathRecipient = in releaseWifiLockSuccessful_noBatteryStats() local
142 inOrder.verify(binder).unlinkToDeath(deathRecipient.capture(), eq(0)); in releaseWifiLockSuccessful_noBatteryStats()
146 ArgumentCaptor<IBinder.DeathRecipient> deathRecipient = in releaseLowLatencyWifiLockSuccessful() local
151 inOrder.verify(binder).unlinkToDeath(deathRecipient.capture(), eq(0)); in releaseLowLatencyWifiLockSuccessful()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareServiceImplTest.java305 ArgumentCaptor<IBinder.DeathRecipient> deathRecipient = ArgumentCaptor in testBinderDeath() local
310 verify(mBinderMock).linkToDeath(deathRecipient.capture(), eq(0)); in testBinderDeath()
311 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/opt/net/wifi/service/java/com/android/server/wifi/
DHostapdHal.java241 private boolean linkToHostapdDeath(HwRemoteBinder.DeathRecipient deathRecipient, long cookie) { in linkToHostapdDeath() argument
245 if (!mIHostapd.linkToDeath(deathRecipient, cookie)) { in linkToHostapdDeath()
DSupplicantStaIfaceHal.java271 HwRemoteBinder.DeathRecipient deathRecipient, long cookie) { in linkToSupplicantDeath() argument
275 if (!mISupplicant.linkToDeath(deathRecipient, cookie)) { in linkToSupplicantDeath()
/frameworks/av/media/codec2/hidl/client/
Dclient.cpp1374 sp<HidlDeathRecipient> deathRecipient = new HidlDeathRecipient(); in setDeathListener() local
1375 deathRecipient->base = listener; in setDeathListener()
1376 deathRecipient->component = component; in setDeathListener()
1378 component->mDeathRecipient = deathRecipient; in setDeathListener()
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceManagerService.java203 IBinder.DeathRecipient deathRecipient, int flags) { in unlinkToDeath() argument
205 iinterface.asBinder().unlinkToDeath(deathRecipient, flags); in unlinkToDeath()
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java219 IBinder.DeathRecipient deathRecipient; // Who is watching for the death. field in ProcessRecord
698 if (deathRecipient != null && thread != null) { in unlinkDeathRecipient()
699 thread.asBinder().unlinkToDeath(deathRecipient, 0); in unlinkDeathRecipient()
701 deathRecipient = null; in unlinkDeathRecipient()
DActivityManagerService.java4873 app.deathRecipient = adr; in attachApplicationLocked()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DMultiClientInputMethodManagerService.java911 final ClientDeathRecipient deathRecipient = new ClientDeathRecipient(this, client); in addClientLocked() local
913 client.asBinder().linkToDeath(deathRecipient, 0); in addClientLocked()
DInputMethodManagerService.java1901 final ClientDeathRecipient deathRecipient = new ClientDeathRecipient(this, client); in addClient() local
1903 client.asBinder().linkToDeath(deathRecipient, 0); in addClient()
1918 callerPid, selfReportedDisplayId, deathRecipient)); in addClient()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java752 DeathRecipient deathRecipient = new DeathRecipient(); in WindowState() local
760 c.asBinder().linkToDeath(deathRecipient, 0); in WindowState()
774 mDeathRecipient = deathRecipient; in WindowState()
DWindowManagerService.java622 RotationWatcher(IRotationWatcher watcher, IBinder.DeathRecipient deathRecipient, in RotationWatcher() argument
625 mDeathRecipient = deathRecipient; in RotationWatcher()