Home
last modified time | relevance | path

Searched refs:recipient (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/core/java/android/os/
DHwRemoteBinder.java45 public native boolean linkToDeath(DeathRecipient recipient, long cookie); in linkToDeath() argument
46 public native boolean unlinkToDeath(DeathRecipient recipient); in unlinkToDeath() argument
61 private static final void sendDeathNotice(DeathRecipient recipient, long cookie) { in sendDeathNotice() argument
62 recipient.serviceDied(cookie); in sendDeathNotice()
DIHwBinder.java71 public boolean linkToDeath(DeathRecipient recipient, long cookie); in linkToDeath() argument
78 public boolean unlinkToDeath(DeathRecipient recipient); in unlinkToDeath() argument
DIBinder.java291 public void linkToDeath(@NonNull DeathRecipient recipient, int flags) in linkToDeath() argument
312 public boolean unlinkToDeath(@NonNull DeathRecipient recipient, int flags); in unlinkToDeath() argument
DBinder.java677 public void linkToDeath(@NonNull DeathRecipient recipient, int flags) { in linkToDeath() argument
683 public boolean unlinkToDeath(@NonNull DeathRecipient recipient, int flags) { in unlinkToDeath() argument
1139 public native void linkToDeath(DeathRecipient recipient, int flags) in linkToDeath() argument
1141 public native boolean unlinkToDeath(DeathRecipient recipient, int flags); in unlinkToDeath() argument
1190 private static final void sendDeathNotice(DeathRecipient recipient) { in sendDeathNotice() argument
1191 if (false) Log.v("JavaBinder", "sendDeathNotice to " + recipient); in sendDeathNotice()
1193 recipient.binderDied(); in sendDeathNotice()
/frameworks/native/libs/binder/
DBpBinder.cpp224 const sp<DeathRecipient>& recipient, void* cookie, uint32_t flags) in linkToDeath() argument
227 ob.recipient = recipient; in linkToDeath()
231 LOG_ALWAYS_FATAL_IF(recipient == NULL, in linkToDeath()
258 const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags, in unlinkToDeath() argument
270 if ((obit.recipient == recipient in unlinkToDeath()
271 || (recipient == NULL && obit.cookie == cookie)) in unlinkToDeath()
274 *outRecipient = mObituaries->itemAt(i).recipient; in unlinkToDeath()
327 sp<DeathRecipient> recipient = obit.recipient.promote(); in reportOneDeath() local
328 ALOGV("Reporting death to recipient: %p\n", recipient.get()); in reportOneDeath()
329 if (recipient == NULL) return; in reportOneDeath()
[all …]
DActivityManager.cpp92 status_t ActivityManager::linkToDeath(const sp<IBinder::DeathRecipient>& recipient) { in linkToDeath() argument
95 return IInterface::asBinder(service)->linkToDeath(recipient); in linkToDeath()
100 status_t ActivityManager::unlinkToDeath(const sp<IBinder::DeathRecipient>& recipient) { in unlinkToDeath() argument
103 return IInterface::asBinder(service)->unlinkToDeath(recipient); in unlinkToDeath()
/frameworks/base/core/jni/
Dandroid_os_HwRemoteBinder.cpp183 void HwBinderDeathRecipientList::add(const sp<HwBinderDeathRecipient>& recipient) { in add() argument
186 mList.push_back(recipient); in add()
189 void HwBinderDeathRecipientList::remove(const sp<HwBinderDeathRecipient>& recipient) { in remove() argument
194 if (*iter == recipient) { in remove()
201 sp<HwBinderDeathRecipient> HwBinderDeathRecipientList::find(jobject recipient) { in find() argument
205 if (deathRecipient->matches(recipient)) { in find()
354 jobject recipient, jlong cookie) in JHwRemoteBinder_linkToDeath() argument
356 if (recipient == NULL) { in JHwRemoteBinder_linkToDeath()
366 sp<HwBinderDeathRecipient> jdr = new HwBinderDeathRecipient(env, recipient, cookie, list); in JHwRemoteBinder_linkToDeath()
380 jobject recipient) in JHwRemoteBinder_unlinkToDeath() argument
[all …]
Dandroid_os_HwRemoteBinder.h43 void add(const sp<HwBinderDeathRecipient>& recipient);
44 void remove(const sp<HwBinderDeathRecipient>& recipient);
45 sp<HwBinderDeathRecipient> find(jobject recipient);
Dandroid_util_Binder.cpp437 void add(const sp<JavaDeathRecipient>& recipient);
438 void remove(const sp<JavaDeathRecipient>& recipient);
439 sp<JavaDeathRecipient> find(jobject recipient);
576 void DeathRecipientList::add(const sp<JavaDeathRecipient>& recipient) { in add() argument
579 LOGDEATH("DRL @ %p : add JDR %p", this, recipient.get()); in add()
580 mList.push_back(recipient); in add()
583 void DeathRecipientList::remove(const sp<JavaDeathRecipient>& recipient) { in remove() argument
588 if (*iter == recipient) { in remove()
589 LOGDEATH("DRL @ %p : remove JDR %p", this, recipient.get()); in remove()
596 sp<JavaDeathRecipient> DeathRecipientList::find(jobject recipient) { in find() argument
[all …]
/frameworks/av/media/libmedia/
DIMediaDeathNotifier.cpp62 IMediaDeathNotifier::addObitRecipient(const wp<IMediaDeathNotifier>& recipient) in addObitRecipient() argument
66 sObitRecipients.add(recipient); in addObitRecipient()
70 IMediaDeathNotifier::removeObitRecipient(const wp<IMediaDeathNotifier>& recipient) in removeObitRecipient() argument
74 sObitRecipients.remove(recipient); in removeObitRecipient()
/frameworks/base/core/java/android/database/
DCursorToBulkCursorAdaptor.java58 public ContentObserverProxy(IContentObserver remoteObserver, DeathRecipient recipient) { in ContentObserverProxy() argument
62 remoteObserver.asBinder().linkToDeath(recipient, 0); in ContentObserverProxy()
68 public boolean unlinkToDeath(DeathRecipient recipient) { in unlinkToDeath() argument
69 return mRemote.asBinder().unlinkToDeath(recipient, 0); in unlinkToDeath()
/frameworks/native/libs/binder/include/binder/
DActivityManager.h57 status_t linkToDeath(const sp<IBinder::DeathRecipient>& recipient);
58 status_t unlinkToDeath(const sp<IBinder::DeathRecipient>& recipient);
DBpBinder.h49 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient,
52 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
117 wp<DeathRecipient> recipient; member
DBinder.h42 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient,
46 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
DIBinder.h134 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient,
145 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
/frameworks/av/include/media/
DIMediaDeathNotifier.h39 static void addObitRecipient(const wp<IMediaDeathNotifier>& recipient);
40 static void removeObitRecipient(const wp<IMediaDeathNotifier>& recipient);
/frameworks/av/media/libmedia/include/media/
DIMediaDeathNotifier.h39 static void addObitRecipient(const wp<IMediaDeathNotifier>& recipient);
40 static void removeObitRecipient(const wp<IMediaDeathNotifier>& recipient);
/frameworks/base/core/proto/android/os/
Dmessage.proto29 // User-defined message code so that the recipient can identify what this
34 // String representation of an arbitrary object to send to the recipient.
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DMockWeaverService.java80 public boolean linkToDeath(DeathRecipient recipient, long cookie) throws RemoteException { in linkToDeath() argument
100 public boolean unlinkToDeath(DeathRecipient recipient) throws RemoteException { in unlinkToDeath() argument
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
DPduComposer.java793 boolean recipient = false; in makeSendReqPdu()
797 recipient = true; in makeSendReqPdu()
802 recipient = true; in makeSendReqPdu()
807 recipient = true; in makeSendReqPdu()
811 if (false == recipient) { in makeSendReqPdu()
/frameworks/base/core/java/android/hardware/camera2/impl/
DICameraDeviceUserWrapper.java57 public void unlinkToDeath(IBinder.DeathRecipient recipient, int flags) { in unlinkToDeath() argument
59 mRemoteDevice.asBinder().unlinkToDeath(recipient, flags); in unlinkToDeath()
/frameworks/base/telephony/java/android/provider/
DTelephony.java1915 public static long getOrCreateThreadId(Context context, String recipient) { in getOrCreateThreadId() argument
1918 recipients.add(recipient); in getOrCreateThreadId()
1936 for (String recipient : recipients) { in getOrCreateThreadId()
1937 if (Mms.isEmailAddress(recipient)) { in getOrCreateThreadId()
1938 recipient = Mms.extractAddrSpec(recipient); in getOrCreateThreadId()
1941 uriBuilder.appendQueryParameter("recipient", recipient); in getOrCreateThreadId()
/frameworks/opt/chips/src/com/android/ex/chips/
DDropdownChipLayouter.java280 protected void bindDrawableToDeleteView(final StateListDrawable drawable, String recipient, in bindDrawableToDeleteView() argument
291 res.getString(R.string.dropdown_delete_button_desc, recipient)); in bindDrawableToDeleteView()
/frameworks/native/libs/gui/include/gui/
DSurfaceComposerClient.h71 status_t linkToComposerDeath(const sp<IBinder::DeathRecipient>& recipient,
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp599 const sp<IBinder::DeathRecipient>& recipient, in linkToComposerDeath() argument
602 return IInterface::asBinder(sf)->linkToDeath(recipient, cookie, flags); in linkToComposerDeath()

12