/frameworks/base/core/java/android/os/ |
H A D | IHwBinder.java | 57 * @param cookie cookie this death recipient was registered with. 64 * Notifies the death recipient with the cookie when the process containing 67 * @param recipient callback object to be called on object death. 71 public boolean linkToDeath(DeathRecipient recipient, long cookie); argument 73 * Unregisters the death recipient from this binder. 75 * @param recipient callback to no longer recieve death notifications on this binder. 78 public boolean unlinkToDeath(DeathRecipient recipient); argument
|
H A D | HwRemoteBinder.java | 45 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 D | IBinder.java | 115 * 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 D | Binder.java | 677 public void linkToDeath(@NonNull DeathRecipient recipient, int flags) { argument 683 public boolean unlinkToDeath(@NonNull DeathRecipient recipient, int flags) { argument 1139 public native void linkToDeath(DeathRecipient recipient, int flags) argument 1141 public native boolean unlinkToDeath(DeathRecipient recipient, int flags); argument 1190 private static final void sendDeathNotice(DeathRecipient recipient) { argument 1191 if (false) Log.v("JavaBinder", "sendDeathNotice to " + recipient); 1193 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 | ActivityManager.cpp | 92 status_t ActivityManager::linkToDeath(const sp<IBinder::DeathRecipient>& recipient) { argument 95 return IInterface::asBinder(service)->linkToDeath(recipient); 100 status_t ActivityManager::unlinkToDeath(const sp<IBinder::DeathRecipient>& recipient) { argument 103 return IInterface::asBinder(service)->unlinkToDeath(recipient);
|
H A D | BpBinder.cpp | 224 const sp<DeathRecipient>& recipient, void* cookie, uint32_t flags) 227 ob.recipient = recipient; 231 LOG_ALWAYS_FATAL_IF(recipient == NULL, 232 "linkToDeath(): recipient must be non-NULL"); 258 const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags, 270 if ((obit.recipient == recipient 271 || (recipient == NULL && obit.cookie == cookie)) 274 *outRecipient = mObituaries->itemAt(i).recipient; 223 linkToDeath( const sp<DeathRecipient>& recipient, void* cookie, uint32_t flags) argument 257 unlinkToDeath( const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags, wp<DeathRecipient>* outRecipient) argument 327 sp<DeathRecipient> recipient = obit.recipient.promote(); local [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
H A D | MockWeaverService.java | 80 public boolean linkToDeath(DeathRecipient recipient, long cookie) throws RemoteException { argument 100 public boolean unlinkToDeath(DeathRecipient recipient) throws RemoteException { argument
|
/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/native/include/binder/ |
H A D | BpBinder.h | 49 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient, 52 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient, 117 wp<DeathRecipient> recipient; member in struct:android::BpBinder::Obituary
|
/frameworks/native/libs/binder/include/binder/ |
H A D | BpBinder.h | 49 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient, 52 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient, 117 wp<DeathRecipient> recipient; member in struct:android::BpBinder::Obituary
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
H A D | ICameraDeviceUserWrapper.java | 57 public void unlinkToDeath(IBinder.DeathRecipient recipient, int flags) { argument 59 mRemoteDevice.asBinder().unlinkToDeath(recipient, flags);
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | DropdownChipLayouter.java | 94 * 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/base/core/jni/ |
H A D | android_os_HwRemoteBinder.cpp | 135 // recipient on the VM side, but the list is being torn down. 144 "Releasing leaked death recipient: %s", nameUtf.c_str()); 183 void HwBinderDeathRecipientList::add(const sp<HwBinderDeathRecipient>& recipient) { argument 186 mList.push_back(recipient); 189 void HwBinderDeathRecipientList::remove(const sp<HwBinderDeathRecipient>& recipient) { argument 194 if (*iter == recipient) { 201 sp<HwBinderDeathRecipient> HwBinderDeathRecipientList::find(jobject recipient) { argument 205 if (deathRecipient->matches(recipient)) { 354 jobject recipient, jlong cookie) 356 if (recipient 353 JHwRemoteBinder_linkToDeath(JNIEnv* env, jobject thiz, jobject recipient, jlong cookie) argument 379 JHwRemoteBinder_unlinkToDeath(JNIEnv* env, jobject thiz, jobject recipient) argument [all...] |
H A D | android_util_Binder.cpp | 423 // Per-IBinder death recipient bookkeeping. This is how we reconcile local jobject 424 // death recipient references passed in through JNI with the permanent corresponding 437 void add(const sp<JavaDeathRecipient>& recipient); 438 void remove(const sp<JavaDeathRecipient>& recipient); 439 sp<JavaDeathRecipient> find(jobject recipient); 518 // recipient on the VM side, but the list is being torn down. 527 "Releasing leaked death recipient: %s", nameUtf.c_str()); 538 //ALOGI("Removing death ref: recipient=%p\n", mObject); 576 void DeathRecipientList::add(const sp<JavaDeathRecipient>& recipient) { argument 579 LOGDEATH("DRL @ %p : add JDR %p", this, recipient 583 remove(const sp<JavaDeathRecipient>& recipient) argument 596 find(jobject recipient) argument 1294 android_os_BinderProxy_linkToDeath(JNIEnv* env, jobject obj, jobject recipient, jint flags) argument 1320 android_os_BinderProxy_unlinkToDeath(JNIEnv* env, jobject obj, jobject recipient, jint flags) argument [all...] |
/frameworks/native/libs/binder/tests/ |
H A D | binderSafeInterfaceTest.cpp | 372 static sp<IBinder::DeathRecipient> recipient = new ExitOnDeath; local 373 return recipient;
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/ |
H A D | RttServiceImplTest.java | 498 // (4) trigger first death recipient (which will map to the even UID) 1476 public void answer(IBinder.DeathRecipient recipient, int flags) { argument 1477 mUniqueExecs.add(recipient); 1482 public boolean answer(IBinder.DeathRecipient recipient, int flags) { argument 1483 mUniqueExecs.add(recipient);
|
/frameworks/native/libs/gui/ |
H A D | SurfaceComposerClient.cpp | 599 const sp<IBinder::DeathRecipient>& recipient, 602 return IInterface::asBinder(sf)->linkToDeath(recipient, cookie, flags); 598 linkToComposerDeath( const sp<IBinder::DeathRecipient>& recipient, void* cookie, uint32_t flags) argument
|
/frameworks/base/core/java/android/app/ |
H A D | Instrumentation.java | 378 * @param recipient Called the next time the thread's message queue is 381 public void waitForIdle(Runnable recipient) { argument 382 mMessageQueue.addIdleHandler(new Idler(recipient)); 1007 * be processed. Finished at some point after the recipient has returned 1066 * Dispatch a pointer event. Finished at some point after the recipient has 1086 * Dispatch a trackball event. Finished at some point after the recipient has
|
/frameworks/base/telephony/java/android/provider/ |
H A D | Telephony.java | 1814 * A string encoding of the recipient IDs of the recipients of 1910 * This is a single-recipient version of {@code getOrCreateThreadId}. 1913 * @param recipient the recipient to send to. 1915 public static long getOrCreateThreadId(Context context, String recipient) { argument 1918 recipients.add(recipient); 1936 for (String recipient : recipients) { 1937 if (Mms.isEmailAddress(recipient)) { 1938 recipient = Mms.extractAddrSpec(recipient); [all...] |