/frameworks/av/include/media/ |
H A D | IMediaDeathNotifier.h | 39 static void addObitRecipient(const wp<IMediaDeathNotifier>& recipient); 40 static void removeObitRecipient(const wp<IMediaDeathNotifier>& recipient);
|
/frameworks/base/core/java/android/os/ |
H A D | IBinder.java | 106 * IBinder protocol transaction code: interrogate the recipient side 230 * Register the recipient for a notification if this binder 245 public void linkToDeath(DeathRecipient recipient, int flags) argument 250 * The recipient will no longer be called if this object 253 * @return {@code true} if the <var>recipient</var> is successfully 260 * <var>recipient</var> has not been registered with the IBinder, and 261 * the IBinder is still alive. Note that if the <var>recipient</var> 266 public boolean unlinkToDeath(DeathRecipient recipient, int flags); argument
|
H A D | Binder.java | 390 public void linkToDeath(DeathRecipient recipient, int flags) { argument 396 public boolean unlinkToDeath(DeathRecipient recipient, int flags) { argument 502 public native void linkToDeath(DeathRecipient recipient, int flags) argument 504 public native boolean unlinkToDeath(DeathRecipient recipient, int flags); argument 548 private static final void sendDeathNotice(DeathRecipient recipient) { argument 549 if (false) Log.v("JavaBinder", "sendDeathNotice to " + recipient); 551 recipient.binderDied();
|
/frameworks/av/media/libmedia/ |
H A D | IMediaDeathNotifier.cpp | 62 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/libs/binder/ |
H A D | BpBinder.cpp | 174 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/include/binder/ |
H A D | BpBinder.h | 44 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 D | Binder.h | 42 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient, 46 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
|
H A D | IBinder.h | 91 * Register the @a recipient for a notification if this binder 105 * @note This link always holds a weak reference to its recipient. 112 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient, 118 * The @a recipient will no longer be called if this object 120 * supply a NULL @a recipient, and the recipient previously 123 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
|
/frameworks/base/core/java/android/database/ |
H A D | CursorToBulkCursorAdaptor.java | 58 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/jni/ |
H A D | android_util_Binder.cpp | 356 // Per-IBinder death recipient bookkeeping. This is how we reconcile local jobject 357 // death recipient references passed in through JNI with the permanent corresponding 370 void add(const sp<JavaDeathRecipient>& recipient); 371 void remove(const sp<JavaDeathRecipient>& recipient); 372 sp<JavaDeathRecipient> find(jobject recipient); 443 // recipient on the VM side, but the list is being torn down. 452 "Releasing leaked death recipient: %s", nameUtf.c_str()); 463 //ALOGI("Removing death ref: recipient=%p\n", mObject); 501 void DeathRecipientList::add(const sp<JavaDeathRecipient>& recipient) { argument 504 LOGDEATH("DRL @ %p : add JDR %p", this, recipient 508 remove(const sp<JavaDeathRecipient>& recipient) argument 521 find(jobject recipient) argument 1134 android_os_BinderProxy_linkToDeath(JNIEnv* env, jobject obj, jobject recipient, jint flags) argument 1165 android_os_BinderProxy_unlinkToDeath(JNIEnv* env, jobject obj, jobject recipient, jint flags) argument [all...] |
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
H A D | BluetoothMasRequestGetMessagesListing.java | 84 if (filter.recipient != null) { 85 oap.add(OAP_TAGID_FILTER_RECIPIENT, filter.recipient);
|
H A D | BluetoothMasClient.java | 533 String recipient = null; field in class:BluetoothMasClient.MessagesFilter 557 recipient = null; 559 recipient = filter;
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | TextServicesManagerService.java | 411 final InternalDeathRecipient recipient = 414 if (recipient == null) { 416 Slog.w(TAG, "Didn't create a death recipient."); 431 recipient.mScLocale, recipient.mScListener, bundle); 758 InternalDeathRecipient recipient = null; 768 recipient = new InternalDeathRecipient( 770 scListener.asBinder().linkToDeath(recipient, 0); 771 mListeners.add(recipient); 777 return recipient; [all...] |
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
H A D | PduComposer.java | 793 boolean recipient = false; 797 recipient = true; 802 recipient = true; 807 recipient = true; 811 if (false == recipient) {
|
/frameworks/opt/telephony/src/java/android/provider/ |
H A D | Telephony.java | 1734 * A string encoding of the recipient IDs of the recipients of 1830 * This is a single-recipient version of {@code getOrCreateThreadId}. 1833 * @param recipient the recipient to send to. 1836 public static long getOrCreateThreadId(Context context, String recipient) { argument 1839 recipients.add(recipient); 1858 for (String recipient : recipients) { 1859 if (Mms.isEmailAddress(recipient)) { 1860 recipient = Mms.extractAddrSpec(recipient); [all...] |
/frameworks/native/include/gui/ |
H A D | SurfaceComposerClient.h | 66 status_t linkToComposerDeath(const sp<IBinder::DeathRecipient>& recipient,
|
/frameworks/base/core/java/android/app/ |
H A D | Instrumentation.java | 319 * @param recipient Called the next time the thread's message queue is 322 public void waitForIdle(Runnable recipient) { argument 323 mMessageQueue.addIdleHandler(new Idler(recipient)); 867 * be processed. Finished at some point after the recipient has returned 926 * Dispatch a pointer event. Finished at some point after the recipient has 946 * Dispatch a trackball event. Finished at some point after the recipient has
|
/frameworks/native/libs/gui/ |
H A D | SurfaceComposerClient.cpp | 469 const sp<IBinder::DeathRecipient>& recipient, 472 return sm->asBinder()->linkToDeath(recipient, cookie, flags); 468 linkToComposerDeath( const sp<IBinder::DeathRecipient>& recipient, void* cookie, uint32_t flags) argument
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | RecipientEditTextView.java | 601 * @param contact The recipient entry to pull data from. 619 * @param contact The recipient entry to pull data from. 724 * Returns the avatar icon to use for this recipient entry. Returns null if we don't want to 725 * draw an icon for this recipient. 741 // TODO: cache this in the recipient entry? 1142 * Create a chip that represents just the email address of a recipient. At some later 1599 * if the touch target is a recipient chip. If it is and the chip 1906 // recipient that is editable. 2097 * Replace the more chip, if it exists, with all of the recipient chips it had 2123 // As we find the matching recipient fo [all...] |