/packages/apps/ContactsCommon/src/com/android/contacts/common/compat/ |
TelephonyThreadsCompat.java | 49 public static long getOrCreateThreadId(Context context, String recipient) { 51 return Telephony.Threads.getOrCreateThreadId(context, recipient); 53 return getOrCreateThreadIdInternal(context, recipient); 80 private static long getOrCreateThreadIdInternal(Context context, String recipient) { 83 recipients.add(recipient); 100 for (String recipient : recipients) { 101 if (isEmailAddress(recipient)) { 102 recipient = extractAddrSpec(recipient); 105 uriBuilder.appendQueryParameter("recipient", recipient) [all...] |
/frameworks/av/include/media/ |
IMediaDeathNotifier.h | 39 static void addObitRecipient(const wp<IMediaDeathNotifier>& recipient); 40 static void removeObitRecipient(const wp<IMediaDeathNotifier>& recipient);
|
/external/dbus/bus/ |
dispatch.h | 34 DBusConnection *recipient,
|
/frameworks/base/core/java/android/os/ |
IBinder.java | 112 * IBinder protocol transaction code: interrogate the recipient side 257 * Register the recipient for a notification if this binder 272 public void linkToDeath(DeathRecipient recipient, int flags) 277 * The recipient will no longer be called if this object 280 * @return {@code true} if the <var>recipient</var> is successfully 287 * <var>recipient</var> has not been registered with the IBinder, and 288 * the IBinder is still alive. Note that if the <var>recipient</var> 293 public boolean unlinkToDeath(DeathRecipient recipient, int flags);
|
Binder.java | 509 public void linkToDeath(DeathRecipient recipient, int flags) { 515 public boolean unlinkToDeath(DeathRecipient recipient, int flags) { 621 public native void linkToDeath(DeathRecipient recipient, int flags) 623 public native boolean unlinkToDeath(DeathRecipient recipient, int flags); 685 private static final void sendDeathNotice(DeathRecipient recipient) { 686 if (false) Log.v("JavaBinder", "sendDeathNotice to " + recipient); 688 recipient.binderDied();
|
/frameworks/av/media/libmedia/ |
IMediaDeathNotifier.cpp | 62 IMediaDeathNotifier::addObitRecipient(const wp<IMediaDeathNotifier>& recipient) 66 sObitRecipients.add(recipient); 70 IMediaDeathNotifier::removeObitRecipient(const wp<IMediaDeathNotifier>& recipient) 74 sObitRecipients.remove(recipient);
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
ContactRecipientAutoCompleteView.java | 151 for (final DrawableRecipientChip recipient : recips) { 152 final RecipientEntry entry = recipient.getEntry(); 164 publishProgress(new ChipReplacementTuple(recipient, 171 publishProgress(new ChipReplacementTuple(recipient, 176 publishProgress(new ChipReplacementTuple(recipient, null)); 181 publishProgress(new ChipReplacementTuple(recipient, null)); 252 for (final DrawableRecipientChip recipient : recips) { 253 final RecipientEntry entry = recipient.getEntry(); 256 contacts.add(ParticipantData.getFromRecipientEntry(recipient.getEntry())); 272 for (final DrawableRecipientChip recipient : recips) [all...] |
/packages/apps/Messaging/src/com/android/messaging/sms/ |
MmsSmsUtils.java | 148 * This is a single-recipient version of 152 public static long getOrCreateThreadId(final Context context, final String recipient) { 155 recipients.add(recipient); 173 for (String recipient : recipients) { 174 if (isEmailAddress(recipient)) { 175 recipient = extractAddrSpec(recipient); 178 uriBuilder.appendQueryParameter("recipient", recipient);
|
/frameworks/native/libs/binder/ |
BpBinder.cpp | 175 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; 278 sp<DeathRecipient> recipient = obit.recipient.promote(); local [all...] |
/external/tcpdump/ |
print-zephyr.c | 49 const char *recipient; member in struct:z_packet 106 z_triple(char *class, char *inst, const char *recipient) 108 if (!*recipient) 109 recipient = "*"; 110 snprintf(z_buf, sizeof(z_buf), "<%s,%s,%s>", class, inst, recipient); 146 z.recipient = 0; 176 PARSE_FIELD_STR(z.recipient); 311 if (!*z.recipient) 312 z.recipient = "*"; 314 ND_PRINT((ndo, " to %s", z_triple(z.class, z.inst, z.recipient))); [all...] |
/frameworks/native/include/binder/ |
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
|
Binder.h | 42 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient, 46 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
|
IBinder.h | 100 * Register the @a recipient for a notification if this binder 114 * @note This link always holds a weak reference to its recipient. 121 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient, 127 * The @a recipient will no longer be called if this object 129 * supply a NULL @a recipient, and the recipient previously 132 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
GetOrCreateConversationAction.java | 69 for (String recipient : recipients) { 70 recipient = recipient.trim(); 71 if (!TextUtils.isEmpty(recipient)) { 72 participants.add(ParticipantData.getFromRawPhoneBySystemLocale(recipient)); 74 LogUtil.w(LogUtil.BUGLE_TAG, "getOrCreateConversation hit empty recipient");
|
InsertNewMessageAction.java | 169 for (final String recipient : recipients) { 171 insertSendingSmsMessage(message, subId, recipient, 248 for (final String recipient : recipientsList.split(",")) { 249 participants.add(ParticipantData.getFromRawPhoneBySimLocale(recipient, subId)); 349 final String recipient, final long timestamp, final String sendingConversationId) { 365 threadId = MmsUtils.getOrCreateSmsThreadId(context, recipient); 368 ParticipantData.getFromRawPhoneBySimLocale(recipient, subId)); 381 recipient,
|
/system/core/libbinderwrapper/ |
real_binder_wrapper.cc | 27 // Class that handles binder death notifications. libbinder wants the recipient 28 // to be wrapped in sp<>, so registering RealBinderWrapper as a recipient would 89 sp<DeathRecipient> recipient(new DeathRecipient(callback)); 90 if (binder->linkToDeath(recipient) != OK) { 95 death_recipients_[binder] = recipient;
|
/frameworks/base/core/java/android/database/ |
CursorToBulkCursorAdaptor.java | 58 public ContentObserverProxy(IContentObserver remoteObserver, DeathRecipient recipient) { 62 remoteObserver.asBinder().linkToDeath(recipient, 0); 68 public boolean unlinkToDeath(DeathRecipient recipient) { 69 return mRemote.asBinder().unlinkToDeath(recipient, 0);
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
CallLogListItemHelper.java | 258 final CharSequence recipient; local 260 recipient = details.getPreferredName(); 262 recipient = details.displayNumber + details.postDialDigits; 264 return recipient;
|
/frameworks/base/core/jni/ |
android_util_Binder.cpp | 344 // Per-IBinder death recipient bookkeeping. This is how we reconcile local jobject 345 // death recipient references passed in through JNI with the permanent corresponding 358 void add(const sp<JavaDeathRecipient>& recipient); 359 void remove(const sp<JavaDeathRecipient>& recipient); 360 sp<JavaDeathRecipient> find(jobject recipient); 440 // recipient on the VM side, but the list is being torn down. 449 "Releasing leaked death recipient: %s", nameUtf.c_str()); 460 //ALOGI("Removing death ref: recipient=%p\n", mObject); 498 void DeathRecipientList::add(const sp<JavaDeathRecipient>& recipient) { 501 LOGDEATH("DRL @ %p : add JDR %p", this, recipient.get()) [all...] |
/packages/services/Car/bluetooth/bt-map-client-lib/src/com/google/android/auto/mapservice/ |
BluetoothMapMessage.java | 66 public void setRecipient(String recipient) { 67 mRecipient = recipient;
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
SmsMessagingDemo.java | 99 Toast.makeText(SmsMessagingDemo.this, "Please enter a message recipient.", 117 String recipient = recipientTextEdit.getText().toString(); 119 sms.sendTextMessage(recipient, null, message, PendingIntent.getBroadcast(
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
ICameraDeviceUserWrapper.java | 57 public void unlinkToDeath(IBinder.DeathRecipient recipient, int flags) { 59 mRemoteDevice.asBinder().unlinkToDeath(recipient, flags);
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
BluetoothMasRequestGetMessagesListing.java | 83 if (filter.recipient != null) { 84 oap.add(OAP_TAGID_FILTER_RECIPIENT, filter.recipient);
|
/packages/services/Car/service/src/com/android/car/ |
CarHvacService.java | 84 for (HvacDeathRecipient recipient : mDeathRecipientMap.values()) { 85 recipient.release(); 117 Log.e(TAG, "Failed to link death for recipient. " + e);
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/ |
MapStepsConvo.java | 40 null /*recipient*/, 53 null /*recipient*/, 64 null /*recipient*/, 75 null /*recipient*/, 86 null /*recipient*/, 97 null /*recipient*/, 108 null /*recipient*/, 119 null /*recipient*/, 136 * @param recipient substring of the recipient nam [all...] |