Home
last modified time | relevance | path

Searched refs:DeathRecipient (Results 1 – 25 of 213) sorted by relevance

123456789

/frameworks/base/core/java/android/os/
DIHwBinder.java35 public interface DeathRecipient { interface
39 public boolean linkToDeath(DeathRecipient recipient, long cookie); in linkToDeath()
40 public boolean unlinkToDeath(DeathRecipient recipient); in unlinkToDeath()
DHwRemoteBinder.java45 public native boolean linkToDeath(DeathRecipient recipient, long cookie); in linkToDeath()
46 public native boolean unlinkToDeath(DeathRecipient recipient); in unlinkToDeath()
61 private static final void sendDeathNotice(DeathRecipient recipient, long cookie) { in sendDeathNotice()
DIBinder.java254 public interface DeathRecipient { interface
274 public void linkToDeath(DeathRecipient recipient, int flags) in linkToDeath()
295 public boolean unlinkToDeath(DeathRecipient recipient, int flags); in unlinkToDeath()
DBinder.java614 public void linkToDeath(DeathRecipient recipient, int flags) { in linkToDeath()
620 public boolean unlinkToDeath(DeathRecipient recipient, int flags) { in unlinkToDeath()
759 public native void linkToDeath(DeathRecipient recipient, int flags) in linkToDeath()
761 public native boolean unlinkToDeath(DeathRecipient recipient, int flags); in unlinkToDeath()
825 private static final void sendDeathNotice(DeathRecipient recipient) { in sendDeathNotice()
DCommonTimeConfig.java421 private IBinder.DeathRecipient mDeathHandler = new IBinder.DeathRecipient() {
/frameworks/native/libs/binder/include/binder/
DBpBinder.h44 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient,
47 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
50 wp<DeathRecipient>* outRecipient = NULL);
103 wp<DeathRecipient> recipient;
DIBinder.h102 class DeathRecipient : public virtual RefBase
134 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient,
145 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
148 wp<DeathRecipient>* outRecipient = NULL) = 0;
DBinder.h42 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient,
46 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
49 wp<DeathRecipient>* outRecipient = NULL);
/frameworks/support/customtabs/src/android/support/customtabs/
DCustomTabsService.java24 import android.os.IBinder.DeathRecipient;
81 private final Map<IBinder, DeathRecipient> mDeathRecipientMap = new ArrayMap<>();
94 DeathRecipient deathRecipient = new IBinder.DeathRecipient() {
160 DeathRecipient deathRecipient = in cleanUpSession()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DStateMachineDeathRecipient.java20 import android.os.IBinder.DeathRecipient;
29 public class StateMachineDeathRecipient implements DeathRecipient {
/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionManagerService.java62 private final Map<IBinder, IBinder.DeathRecipient> mDeathEaters;
78 mDeathEaters = new ArrayMap<IBinder, IBinder.DeathRecipient>(); in MediaProjectionManagerService()
128 IBinder.DeathRecipient deathRecipient = new IBinder.DeathRecipient() { in addCallback()
148 IBinder.DeathRecipient deathRecipient) { in linkDeathRecipientLocked()
160 IBinder.DeathRecipient deathRecipient = mDeathEaters.remove(token); in unlinkDeathRecipientLocked()
341 private IBinder.DeathRecipient mDeathEater;
406 mDeathEater = new IBinder.DeathRecipient() { in start()
/frameworks/base/core/java/android/database/
DCursorToBulkCursorAdaptor.java35 implements IBinder.DeathRecipient {
58 public ContentObserverProxy(IContentObserver remoteObserver, DeathRecipient recipient) { in ContentObserverProxy()
68 public boolean unlinkToDeath(DeathRecipient recipient) { in unlinkToDeath()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiLockManagerTest.java71 ArgumentCaptor<IBinder.DeathRecipient> deathRecipient = in acquireWifiLockSuccessful()
72 ArgumentCaptor.forClass(IBinder.DeathRecipient.class); in acquireWifiLockSuccessful()
83 ArgumentCaptor<IBinder.DeathRecipient> deathRecipient = in releaseWifiLockSuccessful()
84 ArgumentCaptor.forClass(IBinder.DeathRecipient.class); in releaseWifiLockSuccessful()
DSoftApManagerTest.java33 import android.os.IBinder.DeathRecipient;
78 final ArgumentCaptor<DeathRecipient> mDeathListenerCaptor =
79 ArgumentCaptor.forClass(DeathRecipient.class);
/frameworks/base/services/core/java/com/android/server/utils/
DManagedApplicationService.java25 import android.os.IBinder.DeathRecipient;
48 private final DeathRecipient mDeathRecipient = new DeathRecipient() {
/frameworks/native/libs/binder/
DBpBinder.cpp175 const sp<DeathRecipient>& recipient, void* cookie, uint32_t flags) in linkToDeath()
209 const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags, in unlinkToDeath()
210 wp<DeathRecipient>* outRecipient) in unlinkToDeath()
278 sp<DeathRecipient> recipient = obit.recipient.promote(); in reportOneDeath()
DBinder.cpp141 const sp<DeathRecipient>& /*recipient*/, void* /*cookie*/, in linkToDeath() argument
148 const wp<DeathRecipient>& /*recipient*/, void* /*cookie*/, in unlinkToDeath() argument
149 uint32_t /*flags*/, wp<DeathRecipient>* /*outRecipient*/) in unlinkToDeath() argument
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareServiceImplTest.java233 ArgumentCaptor<IBinder.DeathRecipient> deathRecipient = ArgumentCaptor in testBinderDeath()
234 .forClass(IBinder.DeathRecipient.class); in testBinderDeath()
574 IBinder.DeathRecipient dr = getInternalStateDeathRecipient(clientId); in validateInternalStateCleanedUp()
653 private IBinder.DeathRecipient getInternalStateDeathRecipient(int clientId) throws Exception { in getInternalStateDeathRecipient()
657 SparseArray<IBinder.DeathRecipient> deathRecipientsByClientId = in getInternalStateDeathRecipient()
658 (SparseArray<IBinder.DeathRecipient>) field.get(mDut); in getInternalStateDeathRecipient()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareServiceImpl.java58 private final SparseArray<IBinder.DeathRecipient> mDeathRecipientsByClientId =
148 IBinder.DeathRecipient dr = new IBinder.DeathRecipient() { in connect()
198 IBinder.DeathRecipient dr = mDeathRecipientsByClientId.get(clientId); in disconnect()
/frameworks/av/media/libstagefright/include/
DMediaSync.h144 public IBinder::DeathRecipient {
172 public IBinder::DeathRecipient {
/frameworks/native/include/private/gui/
DComposerService.h44 sp<IBinder::DeathRecipient> mDeathObserver;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsServiceControllerTest.java222 ArgumentCaptor<IBinder.DeathRecipient> deathCaptor = in testBindServiceAndBinderDied()
223 ArgumentCaptor.forClass(IBinder.DeathRecipient.class); in testBindServiceAndBinderDied()
437 private IBinder.DeathRecipient getDeathRecipient() throws RemoteException { in getDeathRecipient()
438 ArgumentCaptor<IBinder.DeathRecipient> deathCaptor = in getDeathRecipient()
439 ArgumentCaptor.forClass(IBinder.DeathRecipient.class); in getDeathRecipient()
/frameworks/native/services/vr/hardware_composer/
Dvr_composer.h21 public IBinder::DeathRecipient {
/frameworks/av/media/libstagefright/include/foundation/
DAWakeLock.h44 class PMDeathRecipient : public IBinder::DeathRecipient {
/frameworks/av/include/media/
DIMediaDeathNotifier.h42 class DeathNotifier: public IBinder::DeathRecipient

123456789