/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BinderDeathDispatcherTest.java | 28 import android.os.IBinder.DeathRecipient; 48 public DeathRecipient mRecipient; 94 public void linkToDeath(DeathRecipient recipient, int flags) throws RemoteException { in linkToDeath() 107 public boolean unlinkToDeath(DeathRecipient recipient, int flags) { in unlinkToDeath() 142 DeathRecipient r1 = mock(DeathRecipient.class); in testRegisterAndUnregister() 143 DeathRecipient r2 = mock(DeathRecipient.class); in testRegisterAndUnregister() 144 DeathRecipient r3 = mock(DeathRecipient.class); in testRegisterAndUnregister() 145 DeathRecipient r4 = mock(DeathRecipient.class); in testRegisterAndUnregister() 146 DeathRecipient r5 = mock(DeathRecipient.class); in testRegisterAndUnregister() 205 DeathRecipient r1 = mock(DeathRecipient.class); in testRegisterAndKill() [all …]
|
/frameworks/native/libs/binder/tests/unit_fuzzers/ |
D | BpBinderFuzzFunctions.h | 48 const sp<IBinder::DeathRecipient>&)>> 51 const sp<IBinder::DeathRecipient>& s_recipient) -> void { 53 wp<IBinder::DeathRecipient> outRecipient(nullptr); 64 const sp<IBinder::DeathRecipient>&) -> void { 65 wp<IBinder::DeathRecipient> out_recipient(nullptr); 72 const sp<IBinder::DeathRecipient>&) -> void { bpbinder->remoteBinder(); }, 74 const sp<IBinder::DeathRecipient>&) -> void { 78 const sp<IBinder::DeathRecipient>&) -> void { 83 const sp<IBinder::DeathRecipient>&) -> void { bpbinder->enableCountByUid(); }, 85 const sp<IBinder::DeathRecipient>&) -> void { bpbinder->disableCountByUid(); }, [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/services/camera/libcameraservice/aidl/ |
D | DeathPipe.h | 45 status_t linkToDeath(const sp<IBinder::DeathRecipient>& recipient, void* cookie, 47 status_t unlinkToDeath(const wp<IBinder::DeathRecipient>& recipient, 48 void* cookie, uint32_t flags, wp<IBinder::DeathRecipient>* outRecipient); 66 wp<IBinder::DeathRecipient> recipient; // NDK death recipient 76 Obituary(const wp<IBinder::DeathRecipient>& recipient, void* cookie, in Obituary() 84 sp<IBinder::DeathRecipient> r = recipient.promote(); in onDeath()
|
D | AidlCameraServiceListener.h | 71 status_t linkToDeath(const sp<DeathRecipient>& recipient, void* cookie, 73 status_t unlinkToDeath(const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags, 74 wp<DeathRecipient>* outRecipient) override;
|
D | AidlCameraServiceListener.cpp | 61 status_t AidlCameraServiceListener::linkToDeath(const sp<DeathRecipient>& recipient, void* cookie, in linkToDeath() 65 status_t AidlCameraServiceListener::unlinkToDeath(const wp<DeathRecipient>& recipient, void* cookie, in unlinkToDeath() 67 wp<DeathRecipient>* outRecipient) { in unlinkToDeath()
|
D | DeathPipe.cpp | 32 status_t DeathPipe::linkToDeath(const sp<IBinder::DeathRecipient>& recipient, in linkToDeath() 56 status_t DeathPipe::unlinkToDeath(const wp<IBinder::DeathRecipient>& recipient, in unlinkToDeath() 58 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/opt/telephony/tests/telephonytests/src/android/telephony/ |
D | BinderCacheManagerTest.java | 70 IBinder.DeathRecipient recipient = populateCacheCaptureDeathRecipent(); in testAddListenerAndDie() 86 IBinder.DeathRecipient recipient = populateCacheCaptureDeathRecipent(); in testListenerNotCalledAfterRemoved() 99 IBinder.DeathRecipient recipient = populateCacheCaptureDeathRecipent(); in testAddListenerAlreadyDead() 112 private IBinder.DeathRecipient populateCacheCaptureDeathRecipent() throws Exception { in populateCacheCaptureDeathRecipent() 116 ArgumentCaptor<IBinder.DeathRecipient> captor = ArgumentCaptor.forClass( in populateCacheCaptureDeathRecipent() 117 IBinder.DeathRecipient.class); in populateCacheCaptureDeathRecipent() 119 IBinder.DeathRecipient recipient = captor.getValue(); in populateCacheCaptureDeathRecipent()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BinderDeathDispatcher.java | 22 import android.os.IBinder.DeathRecipient; 48 class RecipientsInfo implements DeathRecipient { 57 ArraySet<DeathRecipient> mRecipients = new ArraySet<>(); 69 final ArraySet<DeathRecipient> copy; in binderDied() 95 public int linkToDeath(@NonNull T target, @NonNull DeathRecipient recipient) { in linkToDeath() 115 public void unlinkToDeath(@NonNull T target, @NonNull DeathRecipient recipient) { in unlinkToDeath()
|
/frameworks/base/core/java/android/os/ |
D | IHwBinder.java | 47 public interface DeathRecipient { interface 63 public boolean linkToDeath(DeathRecipient recipient, long cookie); in linkToDeath() 69 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 | 310 public interface DeathRecipient { interface 342 public void linkToDeath(@NonNull DeathRecipient recipient, int flags) in linkToDeath() 363 public boolean unlinkToDeath(@NonNull DeathRecipient recipient, int flags); in unlinkToDeath()
|
/frameworks/base/telephony/java/android/telephony/mbms/vendor/ |
D | MbmsDownloadServiceBase.java | 52 private final Map<IBinder, DeathRecipient> mDownloadCallbackDeathRecipients = new HashMap<>(); 161 callback.asBinder().linkToDeath(new DeathRecipient() { in initialize() 300 DeathRecipient deathRecipient = new DeathRecipient() { in addStatusListener() 351 DeathRecipient deathRecipient = in removeStatusListener() 413 DeathRecipient deathRecipient = new DeathRecipient() { in addProgressListener() 464 DeathRecipient deathRecipient = in removeProgressListener()
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/ |
D | AnnouncementAggregator.java | 40 private final IBinder.DeathRecipient mDeathRecipient = new DeathRecipient(); 76 private class DeathRecipient implements IBinder.DeathRecipient { class in AnnouncementAggregator
|
/frameworks/native/include/binder/ |
D | IBinder.h | 195 class DeathRecipient : public virtual RefBase 232 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient, 247 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient, 250 wp<DeathRecipient>* outRecipient = nullptr) = 0;
|
/frameworks/native/libs/binder/include/binder/ |
D | IBinder.h | 195 class DeathRecipient : public virtual RefBase 232 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient, 247 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient, 250 wp<DeathRecipient>* outRecipient = nullptr) = 0;
|
/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/native/libs/binder/rust/src/ |
D | proxy.rs | 379 fn link_to_death(&mut self, recipient: &mut DeathRecipient) -> Result<()> { in link_to_death() 399 fn unlink_to_death(&mut self, recipient: &mut DeathRecipient) -> Result<()> { in unlink_to_death() 576 pub struct DeathRecipient { struct 592 unsafe impl Send for DeathRecipient {} implementation 599 unsafe impl Sync for DeathRecipient {} implementation 601 impl DeathRecipient { implementation 604 pub fn new<F>(callback: F) -> DeathRecipient in new() 627 DeathRecipient { in new() 706 unsafe impl AsNative<sys::AIBinder_DeathRecipient> for DeathRecipient { implementation 716 impl Drop for DeathRecipient { implementation
|
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/ |
D | SipTransportImplBaseTest.java | 117 ArgumentCaptor<IBinder.DeathRecipient> captor = in createDestroyDelegate() 118 ArgumentCaptor.forClass(IBinder.DeathRecipient.class); in createDestroyDelegate() 142 ArgumentCaptor<IBinder.DeathRecipient> captor = in testPhoneProcessCrash() 143 ArgumentCaptor.forClass(IBinder.DeathRecipient.class); in testPhoneProcessCrash() 146 IBinder.DeathRecipient recipient = captor.getValue(); in testPhoneProcessCrash()
|
/frameworks/av/services/mediaresourcemanager/ |
D | ResourceObserverService.cpp | 58 std::map<uintptr_t, std::shared_ptr<ResourceObserverService::DeathRecipient> > 61 struct ResourceObserverService::DeathRecipient { struct in android::ResourceObserverService 62 DeathRecipient(ResourceObserverService* _service, in DeathRecipient() function 65 ~DeathRecipient() {} in ~DeathRecipient() argument 83 std::shared_ptr<DeathRecipient> recipient; in BinderDiedCallback() 208 cookie, std::make_shared<DeathRecipient>(this, in_observer)); in registerObserver()
|