Home
last modified time | relevance | path

Searched refs:deathRecipient (Results 1 – 16 of 16) 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/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.java112 TelephonyRegistryDeathRecipient deathRecipient; field in TelephonyRegistry.Record
910 r.deathRecipient = new TelephonyRegistryDeathRecipient(binder); in add()
913 binder.linkToDeath(r.deathRecipient, 0); in add()
938 if (r.deathRecipient != null) { in remove()
940 binder.unlinkToDeath(r.deathRecipient, 0); in remove()
/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/native/services/inputflinger/
DInputClassifier.cpp144 MotionClassifier::MotionClassifier(sp<android::hardware::hidl_death_recipient> deathRecipient) : in MotionClassifier() argument
145 mDeathRecipient(deathRecipient), mEvents(MAX_EVENTS) { in MotionClassifier()
223 std::thread([deathRecipient = mDeathRecipient](){ in callInputClassifierHal()
224 sp<android::hardware::hidl_death_recipient> recipient = deathRecipient.promote(); in callInputClassifierHal()
DInputClassifier.h126 explicit MotionClassifier(sp<android::hardware::hidl_death_recipient> deathRecipient = nullptr);
/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/base/core/jni/
Dandroid_os_HwRemoteBinder.cpp178 for (const sp<HwBinderDeathRecipient>& deathRecipient : mList) { in ~HwBinderDeathRecipientList() local
179 deathRecipient->warnIfStillLive(); in ~HwBinderDeathRecipientList()
/frameworks/av/media/codec2/hidl/client/
Dclient.cpp1352 sp<HidlDeathRecipient> deathRecipient = new HidlDeathRecipient(); in setDeathListener() local
1353 deathRecipient->base = listener; in setDeathListener()
1354 deathRecipient->component = component; in setDeathListener()
1356 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.java218 IBinder.DeathRecipient deathRecipient; // Who is watching for the death. field in ProcessRecord
695 if (deathRecipient != null && thread != null) { in unlinkDeathRecipient()
696 thread.asBinder().unlinkToDeath(deathRecipient, 0); in unlinkDeathRecipient()
698 deathRecipient = null; in unlinkDeathRecipient()
DActivityManagerService.java4844 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/
DWindowManagerService.java621 RotationWatcher(IRotationWatcher watcher, IBinder.DeathRecipient deathRecipient, in RotationWatcher() argument
624 mDeathRecipient = deathRecipient; in RotationWatcher()