Searched refs:recipient (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/core/java/android/os/
H A DIBinder.java107 * IBinder protocol transaction code: interrogate the recipient side
187 * Register the recipient for a notification if this binder
202 public void linkToDeath(DeathRecipient recipient, int flags) argument
207 * The recipient will no longer be called if this object
210 * @return Returns true if the <var>recipient</var> is successfully
217 * <var>recipient</var> has not been registered with the IBinder, and
218 * the IBinder is still alive. Note that if the <var>recipient</var>
223 public boolean unlinkToDeath(DeathRecipient recipient, int flags); argument
H A DBinder.java289 public void linkToDeath(DeathRecipient recipient, int flags) { argument
295 public boolean unlinkToDeath(DeathRecipient recipient, int flags) { argument
345 public native void linkToDeath(DeathRecipient recipient, int flags) argument
347 public native boolean unlinkToDeath(DeathRecipient recipient, int flags); argument
378 private static final void sendDeathNotice(DeathRecipient recipient) { argument
379 if (Config.LOGV) Log.v("JavaBinder", "sendDeathNotice to " + recipient);
381 recipient.binderDied();
/frameworks/base/include/media/
H A DIMediaDeathNotifier.h39 static void addObitRecipient(const wp<IMediaDeathNotifier>& recipient);
40 static void removeObitRecipient(const wp<IMediaDeathNotifier>& recipient);
/frameworks/base/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/base/libs/binder/
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...]
H A DBinder.cpp119 const sp<DeathRecipient>& recipient, void* cookie, uint32_t flags)
125 const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags,
118 linkToDeath( const sp<DeathRecipient>& recipient, void* cookie, uint32_t flags) argument
124 unlinkToDeath( const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags, wp<DeathRecipient>* outRecipient) argument
/frameworks/base/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
H A DBinder.h40 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient,
44 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
H A DIBinder.h98 * Register the @a recipient for a notification if this binder
112 * @note This link always holds a weak reference to its recipient.
119 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient,
125 * The @a recipient will no longer be called if this object
127 * supply a NULL @a recipient, and the recipient previously
130 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
/frameworks/base/core/java/android/database/
H A DCursorToBulkCursorAdaptor.java48 public ContentObserverProxy(IContentObserver remoteObserver, DeathRecipient recipient) { argument
52 remoteObserver.asBinder().linkToDeath(recipient, 0);
58 public boolean unlinkToDeath(DeathRecipient recipient) { argument
59 return mRemote.asBinder().unlinkToDeath(recipient, 0);
/frameworks/base/core/java/android/provider/
H A DTelephony.java1148 * A string encoding of the recipient IDs of the recipients of
1214 * This is a single-recipient version of
1218 public static long getOrCreateThreadId(Context context, String recipient) { argument
1221 recipients.add(recipient);
1239 for (String recipient : recipients) {
1240 if (Mms.isEmailAddress(recipient)) {
1241 recipient = Mms.extractAddrSpec(recipient);
1244 uriBuilder.appendQueryParameter("recipient", recipient);
[all...]
/frameworks/base/core/java/com/google/android/mms/pdu/
H A DPduComposer.java793 boolean recipient = false;
797 recipient = true;
802 recipient = true;
807 recipient = true;
811 if (false == recipient) {
/frameworks/base/include/surfaceflinger/
H A DSurfaceComposerClient.h138 status_t linkToComposerDeath(const sp<IBinder::DeathRecipient>& recipient,
/frameworks/base/core/jni/
H A Dandroid_util_Binder.cpp409 //LOGI("Removing death ref: recipient=%p\n", mObject);
968 jobject recipient, jint flags)
970 if (recipient == NULL) {
978 LOGW("Binder has been finalized when calling linkToDeath() with recip=%p)\n", recipient);
982 LOGV("linkToDeath: binder=%p recipient=%p\n", target, recipient);
985 sp<JavaDeathRecipient> jdr = new JavaDeathRecipient(env, recipient);
986 status_t err = target->linkToDeath(jdr, recipient, flags);
988 // Failure adding the death recipient, so clear its reference
997 jobject recipient, jin
967 android_os_BinderProxy_linkToDeath(JNIEnv* env, jobject obj, jobject recipient, jint flags) argument
996 android_os_BinderProxy_unlinkToDeath(JNIEnv* env, jobject obj, jobject recipient, jint flags) argument
[all...]
/frameworks/base/libs/surfaceflinger_client/
H A DSurfaceComposerClient.cpp197 const sp<IBinder::DeathRecipient>& recipient,
201 return sm->asBinder()->linkToDeath(recipient, cookie, flags);
196 linkToComposerDeath( const sp<IBinder::DeathRecipient>& recipient, void* cookie, uint32_t flags) argument
/frameworks/base/core/java/android/app/
H A DInstrumentation.java307 * @param recipient Called the next time the thread's message queue is
310 public void waitForIdle(Runnable recipient) { argument
311 mMessageQueue.addIdleHandler(new Idler(recipient));
849 * be processed. Finished at some point after the recipient has returned
889 * Dispatch a pointer event. Finished at some point after the recipient has
909 * Dispatch a trackball event. Finished at some point after the recipient has

Completed in 562 milliseconds