Home
last modified time | relevance | path

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

12345678910>>...12

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBinderDeathDispatcherTest.java27 import android.os.IBinder.DeathRecipient;
47 public DeathRecipient mRecipient;
93 public void linkToDeath(DeathRecipient recipient, int flags) throws RemoteException { in linkToDeath()
106 public boolean unlinkToDeath(DeathRecipient recipient, int flags) { in unlinkToDeath()
141 DeathRecipient r1 = mock(DeathRecipient.class); in testRegisterAndUnregister()
142 DeathRecipient r2 = mock(DeathRecipient.class); in testRegisterAndUnregister()
143 DeathRecipient r3 = mock(DeathRecipient.class); in testRegisterAndUnregister()
144 DeathRecipient r4 = mock(DeathRecipient.class); in testRegisterAndUnregister()
145 DeathRecipient r5 = mock(DeathRecipient.class); in testRegisterAndUnregister()
204 DeathRecipient r1 = mock(DeathRecipient.class); in testRegisterAndKill()
[all …]
/frameworks/av/services/camera/libcameraservice/hidl/
DCameraHybridInterface.h43 const sp<IBinder::DeathRecipient>& recipient,
47 const wp<IBinder::DeathRecipient>& recipient,
50 wp<IBinder::DeathRecipient>* outRecipient = nullptr);
55 wp<IBinder::DeathRecipient> recipient;
60 const wp<IBinder::DeathRecipient>& r, in Obituary()
79 sp<IBinder::DeathRecipient> dr = recipient.promote(); in serviceDied()
95 const sp<IBinder::DeathRecipient>& recipient, in linkToDeath()
115 const wp<IBinder::DeathRecipient>& recipient, in unlinkToDeath()
117 wp<IBinder::DeathRecipient>* outRecipient) { in unlinkToDeath()
/frameworks/av/media/libmediaplayerservice/
DDeathNotifier.cpp25 class DeathNotifier::DeathRecipient : class in android::DeathNotifier
26 public IBinder::DeathRecipient,
31 DeathRecipient(Notify const& notify): mNotify{notify} { in DeathRecipient() function in android::DeathNotifier::DeathRecipient
48 mDeathRecipient{new DeathRecipient(notify)} {
54 mDeathRecipient{new DeathRecipient(notify)} {
DDeathNotifier.h41 class DeathRecipient; variable
42 sp<DeathRecipient> mDeathRecipient;
/frameworks/av/services/audiopolicy/service/
DBinderProxy.h45 : mServiceName(serviceName), mDeathRecipient(new DeathRecipient(this)) {} in BinderProxy()
75 sp<IBinder::DeathRecipient> mDeathRecipient;
77 class DeathRecipient : public IBinder::DeathRecipient {
79 DeathRecipient(BinderProxy* proxy) : mProxy(proxy) {} in DeathRecipient() function
DCaptureStateNotifier.cpp13 class CaptureStateNotifier::DeathRecipient : public IBinder::DeathRecipient { class in android::CaptureStateNotifier
15 DeathRecipient(CaptureStateNotifier* notifier) : mNotifier(notifier) {} in DeathRecipient() function in android::CaptureStateNotifier::DeathRecipient
26 : mDeathRecipient(new DeathRecipient(this)), mActive( in CaptureStateNotifier()
DCaptureStateNotifier.h67 sp<IBinder::DeathRecipient> mDeathRecipient;
70 class DeathRecipient; variable
/frameworks/base/core/java/com/android/internal/os/
DBinderDeathDispatcher.java22 import android.os.IBinder.DeathRecipient;
49 class RecipientsInfo implements DeathRecipient {
58 ArraySet<DeathRecipient> mRecipients = new ArraySet<>();
66 final ArraySet<DeathRecipient> copy; in binderDied()
92 public int linkToDeath(@NonNull T target, @NonNull DeathRecipient recipient) { in linkToDeath()
112 public void unlinkToDeath(@NonNull T target, @NonNull DeathRecipient recipient) { in unlinkToDeath()
/frameworks/base/core/java/android/os/
DIHwBinder.java49 public interface DeathRecipient { interface
65 public boolean linkToDeath(DeathRecipient recipient, long cookie); in linkToDeath()
71 public boolean unlinkToDeath(DeathRecipient recipient); in unlinkToDeath()
DHwRemoteBinder.java48 public native boolean linkToDeath(DeathRecipient recipient, long cookie); in linkToDeath()
49 public native boolean unlinkToDeath(DeathRecipient recipient); in unlinkToDeath()
64 private static final void sendDeathNotice(DeathRecipient recipient, long cookie) { in sendDeathNotice()
DIBinder.java298 public interface DeathRecipient { interface
325 public void linkToDeath(@NonNull DeathRecipient recipient, int flags) in linkToDeath()
346 public boolean unlinkToDeath(@NonNull DeathRecipient recipient, int flags); in unlinkToDeath()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayAreaOrganizerController.java37 private class DeathRecipient implements IBinder.DeathRecipient { class in DisplayAreaOrganizerController
41 DeathRecipient(IDisplayAreaOrganizer organizer, int feature) { in DeathRecipient() method in DisplayAreaOrganizerController.DeathRecipient
78 final DeathRecipient dr = new DeathRecipient(organizer, feature); in registerOrganizer()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DWindowMagnificationManagerTest.java57 verify(mMockConnection.asBinder()).linkToDeath(any(IBinder.DeathRecipient.class), eq(0)); in setConnection_connectionIsNull_wrapperIsNullAndLinkToDeath()
66 verify(mMockConnection.asBinder()).linkToDeath(any(IBinder.DeathRecipient.class), eq(0)); in setConnection_connectionIsNull_setMirrorWindowCallbackAndHasWrapper()
117 private IBinder.DeathRecipient mDeathRecipient;
127 any(IBinder.DeathRecipient.class), eq(0)); in MockWindowMagnificationConnection()
134 public IBinder.DeathRecipient getDeathRecipient() { in getDeathRecipient()
/frameworks/base/telephony/java/android/telephony/mbms/vendor/
DMbmsDownloadServiceBase.java54 private final Map<IBinder, DeathRecipient> mDownloadCallbackDeathRecipients = new HashMap<>();
163 callback.asBinder().linkToDeath(new DeathRecipient() { in initialize()
279 DeathRecipient deathRecipient = new DeathRecipient() { in addStatusListener()
330 DeathRecipient deathRecipient = in removeStatusListener()
392 DeathRecipient deathRecipient = new DeathRecipient() { in addProgressListener()
443 DeathRecipient deathRecipient = in removeProgressListener()
/frameworks/base/services/core/java/com/android/server/
DSensorPrivacyService.java229 private final ArrayMap<ISensorPrivacyListener, DeathRecipient> mDeathRecipients;
248 DeathRecipient deathRecipient = new DeathRecipient(listener); in addListener()
256 DeathRecipient deathRecipient = mDeathRecipients.remove(listener); in removeListener()
278 private final class DeathRecipient implements IBinder.DeathRecipient { class in SensorPrivacyService
282 DeathRecipient(ISensorPrivacyListener listener) { in DeathRecipient() method in SensorPrivacyService.DeathRecipient
/frameworks/native/include/binder/
DIBinder.h156 class DeathRecipient : public virtual RefBase
189 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient,
204 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
207 wp<DeathRecipient>* outRecipient = nullptr) = 0;
DBinder.h48 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient,
53 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
56 wp<DeathRecipient>* outRecipient = nullptr);
/frameworks/native/libs/binder/include/binder/
DIBinder.h156 class DeathRecipient : public virtual RefBase
189 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient,
204 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
207 wp<DeathRecipient>* outRecipient = nullptr) = 0;
DBpBinder.h55 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient,
60 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
63 wp<DeathRecipient>* outRecipient = nullptr);
127 wp<DeathRecipient> recipient;
DBinder.h48 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient,
53 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
56 wp<DeathRecipient>* outRecipient = nullptr);
DActivityManager.h82 status_t linkToDeath(const sp<IBinder::DeathRecipient>& recipient);
83 status_t unlinkToDeath(const sp<IBinder::DeathRecipient>& recipient);
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DAnnouncementAggregator.java40 private final IBinder.DeathRecipient mDeathRecipient = new DeathRecipient();
75 private class DeathRecipient implements IBinder.DeathRecipient { class in AnnouncementAggregator
/frameworks/base/core/tests/coretests/src/android/os/
DBinderDeathRecipientTest.java65 private Set<Pair<IBinder, IBinder.DeathRecipient>> mLinkedDeathRecipients = new ArraySet<>();
99 final IBinder.DeathRecipient simpleDeathRecipient = in binderDied_noArgs()
116 final IBinder.DeathRecipient sameDeathRecipient = new IBinder.DeathRecipient() { in binderDied_iBinderArg()
158 for (Pair<IBinder, IBinder.DeathRecipient> linkedPair : mLinkedDeathRecipients) { in tearDown()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DWindowMagnificationConnectionWrapper.java19 import static android.os.IBinder.DeathRecipient;
42 void unlinkToDeath(@NonNull DeathRecipient deathRecipient) { in unlinkToDeath()
46 void linkToDeath(@NonNull DeathRecipient deathRecipient) throws RemoteException { in linkToDeath()
/frameworks/native/libs/sensorprivacy/include/sensorprivacy/
DSensorPrivacyManager.h37 status_t linkToDeath(const sp<IBinder::DeathRecipient>& recipient);
38 status_t unlinkToDeath(const sp<IBinder::DeathRecipient>& recipient);

12345678910>>...12