Home
last modified time | relevance | path

Searched refs:xmlMsgElement (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapMessageListingElement.java256 …public void encode(XmlSerializer xmlMsgElement, boolean includeThreadId) throws IllegalArgumentExc… in encode() argument
260 xmlMsgElement.startTag(null, "msg"); in encode()
261xmlMsgElement.attribute(null, "handle", BluetoothMapUtils.getMapHandle(mCpHandle, mType)); in encode()
263 xmlMsgElement.attribute(null, "subject", stripInvalidChars(mSubject)); in encode()
265 xmlMsgElement.attribute(null, "datetime", this.getDateTimeString()); in encode()
267 xmlMsgElement.attribute(null, "sender_name", stripInvalidChars(mSenderName)); in encode()
269 xmlMsgElement.attribute(null, "sender_addressing", mSenderAddressing); in encode()
271 xmlMsgElement.attribute(null, "replyto_addressing",mReplytoAddressing); in encode()
273 xmlMsgElement.attribute(null, "recipient_name", stripInvalidChars(mRecipientName)); in encode()
275 xmlMsgElement.attribute(null, "recipient_addressing", mRecipientAddressing); in encode()
[all …]
DBluetoothMapFolderElement.java222 XmlSerializer xmlMsgElement = new FastXmlSerializer(); in encode() local
235 xmlMsgElement.setOutput(sw); in encode()
236 xmlMsgElement.startDocument("UTF-8", true); in encode()
237 xmlMsgElement.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true); in encode()
238 xmlMsgElement.startTag(null, "folder-listing"); in encode()
239 xmlMsgElement.attribute(null, "version", "1.0"); in encode()
242 xmlMsgElement.startTag(null, "folder"); in encode()
243 xmlMsgElement.attribute(null, "name", folders[i].getName()); in encode()
244 xmlMsgElement.endTag(null, "folder"); in encode()
246 xmlMsgElement.endTag(null, "folder-listing"); in encode()
[all …]
DBluetoothMapMessageListing.java89 XmlSerializer xmlMsgElement = new FastXmlSerializer(); in encode() local
91 xmlMsgElement.setOutput(sw); in encode()
92 xmlMsgElement.startDocument("UTF-8", true); in encode()
93 xmlMsgElement.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true); in encode()
94 xmlMsgElement.startTag(null, "MAP-msg-listing"); in encode()
95 xmlMsgElement.attribute(null, "version", "1.0"); in encode()
98 element.encode(xmlMsgElement, includeThreadId); // Append the list element in encode()
100 xmlMsgElement.endTag(null, "MAP-msg-listing"); in encode()
101 xmlMsgElement.endDocument(); in encode()