Searched defs:recipient (Results 1 - 19 of 19) 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/base/core/java/android/os/
H A DHwRemoteBinder.java45 public native boolean linkToDeath(DeathRecipient recipient, long cookie); argument
46 public native boolean unlinkToDeath(DeathRecipient recipient); argument
61 private static final void sendDeathNotice(DeathRecipient recipient, long cookie) { argument
62 recipient.serviceDied(cookie);
H A DIHwBinder.java39 public boolean linkToDeath(DeathRecipient recipient, long cookie); argument
40 public boolean unlinkToDeath(DeathRecipient recipient); argument
H A DIBinder.java115 * IBinder protocol transaction code: interrogate the recipient side
276 * Register the recipient for a notification if this binder
291 public void linkToDeath(@NonNull DeathRecipient recipient, int flags) argument
296 * The recipient will no longer be called if this object
299 * @return {@code true} if the <var>recipient</var> is successfully
306 * <var>recipient</var> has not been registered with the IBinder, and
307 * the IBinder is still alive. Note that if the <var>recipient</var>
312 public boolean unlinkToDeath(@NonNull DeathRecipient recipient, int flags); argument
H A DBinder.java637 public void linkToDeath(@NonNull DeathRecipient recipient, int flags) { argument
643 public boolean unlinkToDeath(@NonNull DeathRecipient recipient, int flags) { argument
775 public native void linkToDeath(DeathRecipient recipient, int flags) argument
777 public native boolean unlinkToDeath(DeathRecipient recipient, int flags); argument
841 private static final void sendDeathNotice(DeathRecipient recipient) { argument
842 if (false) Log.v("JavaBinder", "sendDeathNotice to " + recipient);
844 recipient.binderDied();
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A DMockWeaverService.java80 public boolean linkToDeath(DeathRecipient recipient, long cookie) throws RemoteException { argument
100 public boolean unlinkToDeath(DeathRecipient recipient) throws RemoteException { argument
/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/native/libs/binder/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.java58 public ContentObserverProxy(IContentObserver remoteObserver, DeathRecipient recipient) { argument
62 remoteObserver.asBinder().linkToDeath(recipient, 0);
68 public boolean unlinkToDeath(DeathRecipient recipient) { argument
69 return mRemote.asBinder().unlinkToDeath(recipient, 0);
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DICameraDeviceUserWrapper.java57 public void unlinkToDeath(IBinder.DeathRecipient recipient, int flags) { argument
59 mRemoteDevice.asBinder().unlinkToDeath(recipient, flags);
/frameworks/native/libs/binder/
H A DBpBinder.cpp175 const sp<DeathRecipient>& recipient, void* cookie, uint32_t flags)
178 ob.recipient = recipient;
182 LOG_ALWAYS_FATAL_IF(recipient == NULL,
183 "linkToDeath(): recipient must be non-NULL");
209 const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags,
221 if ((obit.recipient == recipient
222 || (recipient == NULL && obit.cookie == cookie))
225 *outRecipient = mObituaries->itemAt(i).recipient;
174 linkToDeath( const sp<DeathRecipient>& recipient, void* cookie, uint32_t flags) argument
208 unlinkToDeath( const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags, wp<DeathRecipient>* outRecipient) argument
278 sp<DeathRecipient> recipient = obit.recipient.promote(); local
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_HwRemoteBinder.cpp131 // recipient on the VM side, but the list is being torn down.
140 "Releasing leaked death recipient: %s", nameUtf.c_str());
179 void HwBinderDeathRecipientList::add(const sp<HwBinderDeathRecipient>& recipient) { argument
182 mList.push_back(recipient);
185 void HwBinderDeathRecipientList::remove(const sp<HwBinderDeathRecipient>& recipient) { argument
190 if (*iter == recipient) {
197 sp<HwBinderDeathRecipient> HwBinderDeathRecipientList::find(jobject recipient) { argument
201 if (deathRecipient->matches(recipient)) {
350 jobject recipient, jlong cookie)
352 if (recipient
349 JHwRemoteBinder_linkToDeath(JNIEnv* env, jobject thiz, jobject recipient, jlong cookie) argument
375 JHwRemoteBinder_unlinkToDeath(JNIEnv* env, jobject thiz, jobject recipient) argument
[all...]
H A Dandroid_util_Binder.cpp392 // Per-IBinder death recipient bookkeeping. This is how we reconcile local jobject
393 // death recipient references passed in through JNI with the permanent corresponding
406 void add(const sp<JavaDeathRecipient>& recipient);
407 void remove(const sp<JavaDeathRecipient>& recipient);
408 sp<JavaDeathRecipient> find(jobject recipient);
488 // recipient on the VM side, but the list is being torn down.
497 "Releasing leaked death recipient: %s", nameUtf.c_str());
508 //ALOGI("Removing death ref: recipient=%p\n", mObject);
546 void DeathRecipientList::add(const sp<JavaDeathRecipient>& recipient) { argument
549 LOGDEATH("DRL @ %p : add JDR %p", this, recipient
553 remove(const sp<JavaDeathRecipient>& recipient) argument
566 find(jobject recipient) argument
1201 android_os_BinderProxy_linkToDeath(JNIEnv* env, jobject obj, jobject recipient, jint flags) argument
1232 android_os_BinderProxy_unlinkToDeath(JNIEnv* env, jobject obj, jobject recipient, jint flags) argument
[all...]
/frameworks/opt/chips/src/com/android/ex/chips/
H A DDropdownChipLayouter.java94 * Layouts and binds recipient information to the view. If convertView is null, inflates a new
99 * @param entry The recipient entry to get information from.
280 protected void bindDrawableToDeleteView(final StateListDrawable drawable, String recipient, argument
291 res.getString(R.string.dropdown_delete_button_desc, recipient));
458 * Given a constraint and a recipient entry, tries to find the constraint in the name and
459 * destination in the recipient entry. A foreground font color style will be applied to the
464 * @param entry The recipient entry to style results for.
/frameworks/native/libs/binder/tests/
H A DbinderSafeInterfaceTest.cpp372 static sp<IBinder::DeathRecipient> recipient = new ExitOnDeath; local
373 return recipient;
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasClient.java532 String recipient = null; field in class:BluetoothMasClient.MessagesFilter
559 recipient = null;
561 recipient = filter;
/frameworks/base/core/java/android/app/
H A DInstrumentation.java376 * @param recipient Called the next time the thread's message queue is
379 public void waitForIdle(Runnable recipient) { argument
380 mMessageQueue.addIdleHandler(new Idler(recipient));
975 * be processed. Finished at some point after the recipient has returned
1034 * Dispatch a pointer event. Finished at some point after the recipient has
1054 * Dispatch a trackball event. Finished at some point after the recipient has
/frameworks/native/libs/gui/
H A DSurfaceComposerClient.cpp649 const sp<IBinder::DeathRecipient>& recipient,
652 return IInterface::asBinder(sm)->linkToDeath(recipient, cookie, flags);
648 linkToComposerDeath( const sp<IBinder::DeathRecipient>& recipient, void* cookie, uint32_t flags) argument
/frameworks/base/telephony/java/android/telephony/
H A DTelephony.java1798 * A string encoding of the recipient IDs of the recipients of
1894 * This is a single-recipient version of {@code getOrCreateThreadId}.
1897 * @param recipient the recipient to send to.
1899 public static long getOrCreateThreadId(Context context, String recipient) { argument
1902 recipients.add(recipient);
1920 for (String recipient : recipients) {
1921 if (Mms.isEmailAddress(recipient)) {
1922 recipient = Mms.extractAddrSpec(recipient);
[all...]

Completed in 420 milliseconds