Searched refs:DeathRecipient (Results 1 - 25 of 251) sorted by relevance

1234567891011

/frameworks/base/core/java/android/os/
H A DIHwBinder.java53 public interface DeathRecipient { interface in interface:IHwBinder
71 public boolean linkToDeath(DeathRecipient recipient, long cookie);
78 public boolean unlinkToDeath(DeathRecipient recipient);
H A DHwRemoteBinder.java45 public native boolean linkToDeath(DeathRecipient recipient, long cookie);
46 public native boolean unlinkToDeath(DeathRecipient recipient);
61 private static final void sendDeathNotice(DeathRecipient recipient, long cookie) {
H A DIBinder.java82 * a {@link DeathRecipient} with the IBinder, which will be called when its
271 public interface DeathRecipient { interface in interface:IBinder
279 * then the given {@link DeathRecipient}'s
280 * {@link DeathRecipient#binderDied DeathRecipient.binderDied()} method
291 public void linkToDeath(@NonNull DeathRecipient recipient, int flags)
301 * {@link DeathRecipient#binderDied DeathRecipient.binderDied()} method
312 public boolean unlinkToDeath(@NonNull DeathRecipient recipient, int flags);
/frameworks/native/include/binder/
H A DActivityManager.h57 status_t linkToDeath(const sp<IBinder::DeathRecipient>& recipient);
58 status_t unlinkToDeath(const sp<IBinder::DeathRecipient>& recipient);
H A DBinder.h42 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient,
46 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
49 wp<DeathRecipient>* outRecipient = NULL);
H A DBpBinder.h49 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient,
52 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
55 wp<DeathRecipient>* outRecipient = NULL);
117 wp<DeathRecipient> recipient;
H A DIBinder.h94 // DeathRecipient is pure abstract, there is no virtual method
102 class DeathRecipient : public virtual RefBase class in class:android::IBinder
116 * then DeathRecipient::binderDied() will be called with a reference
134 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient,
145 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
148 wp<DeathRecipient>* outRecipient = NULL) = 0;
/frameworks/native/libs/binder/include/binder/
H A DActivityManager.h57 status_t linkToDeath(const sp<IBinder::DeathRecipient>& recipient);
58 status_t unlinkToDeath(const sp<IBinder::DeathRecipient>& recipient);
H A DBinder.h42 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient,
46 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
49 wp<DeathRecipient>* outRecipient = NULL);
H A DBpBinder.h49 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient,
52 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
55 wp<DeathRecipient>* outRecipient = NULL);
117 wp<DeathRecipient> recipient;
H A DIBinder.h94 // DeathRecipient is pure abstract, there is no virtual method
102 class DeathRecipient : public virtual RefBase class in class:android::IBinder
116 * then DeathRecipient::binderDied() will be called with a reference
134 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient,
145 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
148 wp<DeathRecipient>* outRecipient = NULL) = 0;
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
H A DAnnouncementAggregator.java40 private final IBinder.DeathRecipient mDeathRecipient = new DeathRecipient();
75 private class DeathRecipient implements IBinder.DeathRecipient { class in class:AnnouncementAggregator
/frameworks/native/include/private/gui/
H A DComposerService.h44 sp<IBinder::DeathRecipient> mDeathObserver;
/frameworks/native/libs/gui/include/private/gui/
H A DComposerService.h44 sp<IBinder::DeathRecipient> mDeathObserver;
/frameworks/support/browser/src/main/java/androidx/browser/customtabs/
H A DCustomTabsService.java24 import android.os.IBinder.DeathRecipient;
101 private final Map<IBinder, DeathRecipient> mDeathRecipientMap = new ArrayMap<>();
114 DeathRecipient deathRecipient = new IBinder.DeathRecipient() {
176 * Can also be used to clean up {@link DeathRecipient} instances allocated for the given token.
178 * @param sessionToken The session token for which the {@link DeathRecipient} call has been
187 DeathRecipient deathRecipient =
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A DMockWeaverService.java9 import android.os.IHwBinder.DeathRecipient;
80 public boolean linkToDeath(DeathRecipient recipient, long cookie) throws RemoteException {
100 public boolean unlinkToDeath(DeathRecipient recipient) throws RemoteException {
/frameworks/av/include/media/
H A DIMediaDeathNotifier.h42 class DeathNotifier: public IBinder::DeathRecipient
/frameworks/av/media/libmedia/include/media/
H A DIMediaDeathNotifier.h42 class DeathNotifier: public IBinder::DeathRecipient
/frameworks/av/media/libmediaplayer2/nuplayer2/
H A DJWakeLock.h44 class PMDeathRecipient : public IBinder::DeathRecipient {
49 // IBinder::DeathRecipient
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DAWakeLock.h44 class PMDeathRecipient : public IBinder::DeathRecipient {
49 // IBinder::DeathRecipient
/frameworks/native/services/thermalservice/
H A DThermalService.h31 public IBinder::DeathRecipient {
/frameworks/native/services/vr/hardware_composer/
H A Dvr_composer.h21 public IBinder::DeathRecipient {
36 // IBinder::DeathRecipient:
/frameworks/base/telephony/java/android/telephony/mbms/vendor/
H A DMbmsDownloadServiceBase.java54 private final Map<IBinder, DeathRecipient> mDownloadCallbackDeathRecipients = new HashMap<>();
163 callback.asBinder().linkToDeath(new DeathRecipient() {
279 DeathRecipient deathRecipient = new DeathRecipient() {
330 DeathRecipient deathRecipient =
392 DeathRecipient deathRecipient = new DeathRecipient() {
443 DeathRecipient deathRecipient =
/frameworks/base/core/java/android/database/
H A DCursorToBulkCursorAdaptor.java35 implements IBinder.DeathRecipient {
58 public ContentObserverProxy(IContentObserver remoteObserver, DeathRecipient recipient) {
68 public boolean unlinkToDeath(DeathRecipient recipient) {
/frameworks/native/libs/binder/
H A DActivityManager.cpp92 status_t ActivityManager::linkToDeath(const sp<IBinder::DeathRecipient>& recipient) {
100 status_t ActivityManager::unlinkToDeath(const sp<IBinder::DeathRecipient>& recipient) {

Completed in 390 milliseconds

1234567891011