/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 | 107 * 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 D | Binder.java | 336 public void linkToDeath(DeathRecipient recipient, int flags) { argument 342 public boolean unlinkToDeath(DeathRecipient recipient, int flags) { argument 399 public native void linkToDeath(DeathRecipient recipient, int flags) argument 401 public native boolean unlinkToDeath(DeathRecipient recipient, int flags); argument 446 private static final void sendDeathNotice(DeathRecipient recipient) { argument 447 if (false) Log.v("JavaBinder", "sendDeathNotice to " + recipient); 449 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...] |
H A D | Binder.cpp | 120 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
|
/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 | 40 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient, 44 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
|
H A D | IBinder.h | 99 * Register the @a recipient for a notification if this binder 113 * @note This link always holds a weak reference to its recipient. 120 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient, 126 * The @a recipient will no longer be called if this object 128 * supply a NULL @a recipient, and the recipient previously 131 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
|
/frameworks/base/core/java/android/database/ |
H A D | CursorToBulkCursorAdaptor.java | 61 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/jni/ |
H A D | android_util_Binder.cpp | 365 // 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 1105 android_os_BinderProxy_linkToDeath(JNIEnv* env, jobject obj, jobject recipient, jint flags) argument 1136 android_os_BinderProxy_unlinkToDeath(JNIEnv* env, jobject obj, jobject recipient, jint flags) argument [all...] |
/frameworks/base/core/java/android/provider/ |
H A D | Telephony.java | 1190 * A string encoding of the recipient IDs of the recipients of 1256 * This is a single-recipient version of 1260 public static long getOrCreateThreadId(Context context, String recipient) { argument 1263 recipients.add(recipient); 1281 for (String recipient : recipients) { 1282 if (Mms.isEmailAddress(recipient)) { 1283 recipient = Mms.extractAddrSpec(recipient); 1286 uriBuilder.appendQueryParameter("recipient", recipient); [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | TextServicesManagerService.java | 299 final InternalDeathRecipient recipient = 302 if (recipient == null) { 304 Slog.w(TAG, "Didn't create a death recipient."); 319 recipient.mScLocale, recipient.mScListener, bundle); 631 InternalDeathRecipient recipient = null; 641 recipient = new InternalDeathRecipient( 643 scListener.asBinder().linkToDeath(recipient, 0); 644 mListeners.add(recipient); 650 return recipient; [all...] |
/frameworks/base/core/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/native/include/gui/ |
H A D | SurfaceComposerClient.h | 115 status_t linkToComposerDeath(const sp<IBinder::DeathRecipient>& recipient,
|
/frameworks/native/libs/gui/ |
H A D | SurfaceComposerClient.cpp | 337 const sp<IBinder::DeathRecipient>& recipient, 340 return sm->asBinder()->linkToDeath(recipient, cookie, flags); 336 linkToComposerDeath( const sp<IBinder::DeathRecipient>& recipient, void* cookie, uint32_t flags) argument
|
/frameworks/base/core/java/android/app/ |
H A D | Instrumentation.java | 307 * @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)); 855 * be processed. Finished at some point after the recipient has returned 914 * Dispatch a pointer event. Finished at some point after the recipient has 934 * Dispatch a trackball event. Finished at some point after the recipient has
|