Home
last modified time | relevance | path

Searched refs:bmsg (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/obex/
DBmessageBuilder.java62 public static String createBmessage(Bmessage bmsg) { in createBmessage() argument
65 b.build(bmsg); in createBmessage()
70 private void build(Bmessage bmsg) { in build() argument
75 + bmsg.mMessage.getBytes().length; in build()
80 mBmsg.append(BMSG_STATUS).append(bmsg.mBmsgStatus).append(CRLF); in build()
81 mBmsg.append(BMSG_TYPE).append(bmsg.mBmsgType).append(CRLF); in build()
82 mBmsg.append(BMSG_FOLDER).append(bmsg.mBmsgFolder).append(CRLF); in build()
84 for (VCardEntry vcard : bmsg.mOriginators) { in build()
91 for (VCardEntry vcard : bmsg.mRecipients) { in build()
98 if (bmsg.mBbodyEncoding != null) { in build()
[all …]
DRequestGetMessage.java81 String bmsg; in readResponse() local
83 bmsg = baos.toString(StandardCharsets.UTF_8.name()); in readResponse()
91 mBmessage = BmessageParser.createBmessage(bmsg); in readResponse()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/
DMceStateMachine.java350 Bmessage bmsg = new Bmessage(); in sendMapMessage() local
352 bmsg.setType(getDefaultMessageType()); in sendMapMessage()
353 bmsg.setStatus(Bmessage.Status.READ); in sendMapMessage()
361 mDatabase.addThreadContactsToEntries(bmsg, contact.getLastPathSegment()); in sendMapMessage()
368 bmsg.addRecipient(destEntry); in sendMapMessage()
377 bmsg.addRecipient(destEntry); in sendMapMessage()
387 bmsg.setBodyContent(message); in sendMapMessage()
389 mSentReceiptRequested.put(bmsg, sentIntent); in sendMapMessage()
392 mDeliveryReceiptRequested.put(bmsg, deliveredIntent); in sendMapMessage()
394 sendMessage(MSG_OUTBOUND_MESSAGE, bmsg); in sendMapMessage()
DMapClientContent.java567 boolean addThreadContactsToEntries(Bmessage bmsg, String thread) { in addThreadContactsToEntries() argument
588 bmsg, cursor.getString(cursor.getColumnIndex("recipient_ids")).split(" ")); in addThreadContactsToEntries()
597 private void addRecipientsToEntries(Bmessage bmsg, String[] recipients) { in addRecipientsToEntries() argument
615 bmsg.addRecipient(destEntry); in addRecipientsToEntries()