Home
last modified time | relevance | path

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

/frameworks/support/customtabs/src/android/support/customtabs/
DCustomTabsService.java66 DeathRecipient deathRecipient = new IBinder.DeathRecipient() {
73 callback.asBinder().linkToDeath(deathRecipient, 0);
74 mDeathRecipientMap.put(callback.asBinder(), deathRecipient);
118 DeathRecipient deathRecipient = in cleanUpSession() local
120 binder.unlinkToDeath(deathRecipient, 0); in cleanUpSession()
/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionManagerService.java127 IBinder.DeathRecipient deathRecipient = new IBinder.DeathRecipient() { in addCallback() local
135 linkDeathRecipientLocked(callback, deathRecipient); in addCallback()
147 IBinder.DeathRecipient deathRecipient) { in linkDeathRecipientLocked() argument
150 token.linkToDeath(deathRecipient, 0); in linkDeathRecipientLocked()
151 mDeathEaters.put(token, deathRecipient); in linkDeathRecipientLocked()
159 IBinder.DeathRecipient deathRecipient = mDeathEaters.remove(token); in unlinkDeathRecipientLocked() local
160 if (deathRecipient != null) { in unlinkDeathRecipientLocked()
161 token.unlinkToDeath(deathRecipient, 0); in unlinkDeathRecipientLocked()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiLockManagerTest.java72 ArgumentCaptor<IBinder.DeathRecipient> deathRecipient = in acquireWifiLockSuccessful() local
79 inOrder.verify(binder).linkToDeath(deathRecipient.capture(), eq(0)); in acquireWifiLockSuccessful()
84 ArgumentCaptor<IBinder.DeathRecipient> deathRecipient = in releaseWifiLockSuccessful() local
89 inOrder.verify(binder).unlinkToDeath(deathRecipient.capture(), eq(0)); in releaseWifiLockSuccessful()
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java137 IBinder.DeathRecipient deathRecipient; // Who is watching for the death. field in ProcessRecord
538 if (deathRecipient != null && thread != null) { in unlinkDeathRecipient()
539 thread.asBinder().unlinkToDeath(deathRecipient, 0); in unlinkDeathRecipient()
541 deathRecipient = null; in unlinkDeathRecipient()
DActivityManagerService.java6472 app.deathRecipient = adr; in attachApplicationLocked()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java543 DeathRecipient deathRecipient = new DeathRecipient(); in WindowState() local
550 c.asBinder().linkToDeath(deathRecipient, 0); in WindowState()
564 mDeathRecipient = deathRecipient; in WindowState()
DWindowManagerService.java570 IBinder.DeathRecipient deathRecipient; field in WindowManagerService.RotationWatcher
573 deathRecipient = d; in RotationWatcher()
6941 binder.unlinkToDeath(removed.deathRecipient, 0); in removeRotationWatcher()