/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BinderDeathDispatcherTest.java | 27 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/ |
D | CameraHybridInterface.h | 43 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/ |
D | DeathNotifier.cpp | 25 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)} {
|
D | DeathNotifier.h | 41 class DeathRecipient; variable 42 sp<DeathRecipient> mDeathRecipient;
|
/frameworks/av/services/audiopolicy/service/ |
D | BinderProxy.h | 45 : 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
|
D | CaptureStateNotifier.cpp | 13 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()
|
D | CaptureStateNotifier.h | 67 sp<IBinder::DeathRecipient> mDeathRecipient; 70 class DeathRecipient; variable
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BinderDeathDispatcher.java | 22 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/ |
D | IHwBinder.java | 49 public interface DeathRecipient { interface 65 public boolean linkToDeath(DeathRecipient recipient, long cookie); in linkToDeath() 71 public boolean unlinkToDeath(DeathRecipient recipient); in unlinkToDeath()
|
D | HwRemoteBinder.java | 48 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()
|
D | IBinder.java | 298 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/ |
D | DisplayAreaOrganizerController.java | 37 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/ |
D | WindowMagnificationManagerTest.java | 57 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/ |
D | MbmsDownloadServiceBase.java | 54 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/ |
D | SensorPrivacyService.java | 229 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/ |
D | IBinder.h | 156 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;
|
D | Binder.h | 48 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/ |
D | IBinder.h | 156 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;
|
D | BpBinder.h | 55 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;
|
D | Binder.h | 48 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient, 53 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient, 56 wp<DeathRecipient>* outRecipient = nullptr);
|
D | ActivityManager.h | 82 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/ |
D | AnnouncementAggregator.java | 40 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/ |
D | BinderDeathRecipientTest.java | 65 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/ |
D | WindowMagnificationConnectionWrapper.java | 19 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/ |
D | SensorPrivacyManager.h | 37 status_t linkToDeath(const sp<IBinder::DeathRecipient>& recipient); 38 status_t unlinkToDeath(const sp<IBinder::DeathRecipient>& recipient);
|