/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 | 320 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/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 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 D | Telephony.java | 1196 * 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...] |
/frameworks/base/services/java/com/android/server/ |
H A D | TextServicesManagerService.java | 409 final InternalDeathRecipient recipient = 412 if (recipient == null) { 414 Slog.w(TAG, "Didn't create a death recipient."); 429 recipient.mScLocale, recipient.mScListener, bundle); 756 InternalDeathRecipient recipient = null; 766 recipient = new InternalDeathRecipient( 768 scListener.asBinder().linkToDeath(recipient, 0); 769 mListeners.add(recipient); 775 return recipient; [all...] |
/frameworks/opt/mms/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/native/include/gui/ |
H A D | SurfaceComposerClient.h | 64 status_t linkToComposerDeath(const sp<IBinder::DeathRecipient>& recipient,
|
/frameworks/base/core/java/android/app/ |
H A D | Instrumentation.java | 308 * @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/native/libs/gui/ |
H A D | SurfaceComposerClient.cpp | 427 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
|