Searched defs:recipient (Results 1 - 11 of 11) sorted by relevance

/frameworks/av/media/libmedia/
H A DIMediaDeathNotifier.cpp62 IMediaDeathNotifier::addObitRecipient(const wp<IMediaDeathNotifier>& recipient) argument
66 sObitRecipients.add(recipient);
70 IMediaDeathNotifier::removeObitRecipient(const wp<IMediaDeathNotifier>& recipient) argument
74 sObitRecipients.remove(recipient);
/frameworks/native/include/binder/
H A DBpBinder.h44 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient,
47 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
103 wp<DeathRecipient> recipient; member in struct:android::BpBinder::Obituary
/frameworks/base/core/java/android/database/
H A DCursorToBulkCursorAdaptor.java61 public ContentObserverProxy(IContentObserver remoteObserver, DeathRecipient recipient) { argument
65 remoteObserver.asBinder().linkToDeath(recipient, 0);
71 public boolean unlinkToDeath(DeathRecipient recipient) { argument
72 return mRemote.asBinder().unlinkToDeath(recipient, 0);
/frameworks/base/core/java/android/os/
H A DIBinder.java107 * IBinder protocol transaction code: interrogate the recipient side
231 * Register the recipient for a notification if this binder
246 public void linkToDeath(DeathRecipient recipient, int flags) argument
251 * The recipient will no longer be called if this object
254 * @return Returns true if the <var>recipient</var> is successfully
261 * <var>recipient</var> has not been registered with the IBinder, and
262 * the IBinder is still alive. Note that if the <var>recipient</var>
267 public boolean unlinkToDeath(DeathRecipient recipient, int flags); argument
H A DBinder.java320 public void linkToDeath(DeathRecipient recipient, int flags) { argument
326 public boolean unlinkToDeath(DeathRecipient recipient, int flags) { argument
383 public native void linkToDeath(DeathRecipient recipient, int flags) argument
385 public native boolean unlinkToDeath(DeathRecipient recipient, int flags); argument
430 private static final void sendDeathNotice(DeathRecipient recipient) { argument
431 if (false) Log.v("JavaBinder", "sendDeathNotice to " + recipient);
433 recipient.binderDied();
/frameworks/native/libs/binder/
H A DBinder.cpp120 const sp<DeathRecipient>& recipient, void* cookie, uint32_t flags)
126 const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags,
119 linkToDeath( const sp<DeathRecipient>& recipient, void* cookie, uint32_t flags) argument
125 unlinkToDeath( const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags, wp<DeathRecipient>* outRecipient) argument
H A DBpBinder.cpp174 const sp<DeathRecipient>& recipient, void* cookie, uint32_t flags)
177 ob.recipient = recipient;
181 LOG_ALWAYS_FATAL_IF(recipient == NULL,
182 "linkToDeath(): recipient must be non-NULL");
208 const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags,
220 if ((obit.recipient == recipient
221 || (recipient == NULL && obit.cookie == cookie))
225 *outRecipient = mObituaries->itemAt(i).recipient;
173 linkToDeath( const sp<DeathRecipient>& recipient, void* cookie, uint32_t flags) argument
207 unlinkToDeath( const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags, wp<DeathRecipient>* outRecipient) argument
278 sp<DeathRecipient> recipient = obit.recipient.promote(); local
[all...]
/frameworks/native/libs/gui/
H A DSurfaceComposerClient.cpp427 const sp<IBinder::DeathRecipient>& recipient,
430 return sm->asBinder()->linkToDeath(recipient, cookie, flags);
426 linkToComposerDeath( const sp<IBinder::DeathRecipient>& recipient, void* cookie, uint32_t flags) argument
/frameworks/base/core/java/android/app/
H A DInstrumentation.java308 * @param recipient Called the next time the thread's message queue is
311 public void waitForIdle(Runnable recipient) { argument
312 mMessageQueue.addIdleHandler(new Idler(recipient));
856 * be processed. Finished at some point after the recipient has returned
915 * Dispatch a pointer event. Finished at some point after the recipient has
935 * Dispatch a trackball event. Finished at some point after the recipient has
/frameworks/base/core/jni/
H A Dandroid_util_Binder.cpp365 // Per-IBinder death recipient bookkeeping. This is how we reconcile local jobject
366 // death recipient references passed in through JNI with the permanent corresponding
379 void add(const sp<JavaDeathRecipient>& recipient);
380 void remove(const sp<JavaDeathRecipient>& recipient);
381 sp<JavaDeathRecipient> find(jobject recipient);
452 // recipient on the VM side, but the list is being torn down.
461 "Releasing leaked death recipient: %s", nameUtf.c_str());
472 //ALOGI("Removing death ref: recipient=%p\n", mObject);
510 void DeathRecipientList::add(const sp<JavaDeathRecipient>& recipient) { argument
513 LOGDEATH("DRL @ %p : add JDR %p", this, recipient
517 remove(const sp<JavaDeathRecipient>& recipient) argument
530 find(jobject recipient) argument
1099 android_os_BinderProxy_linkToDeath(JNIEnv* env, jobject obj, jobject recipient, jint flags) argument
1130 android_os_BinderProxy_unlinkToDeath(JNIEnv* env, jobject obj, jobject recipient, jint flags) argument
[all...]
/frameworks/opt/telephony/src/java/android/provider/
H A DTelephony.java1196 * A string encoding of the recipient IDs of the recipients of
1262 * This is a single-recipient version of
1266 public static long getOrCreateThreadId(Context context, String recipient) { argument
1269 recipients.add(recipient);
1287 for (String recipient : recipients) {
1288 if (Mms.isEmailAddress(recipient)) {
1289 recipient = Mms.extractAddrSpec(recipient);
1292 uriBuilder.appendQueryParameter("recipient", recipient);
[all...]

Completed in 90 milliseconds