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.java271 public void encode(XmlSerializer xmlMsgElement, boolean includeThreadId) in encode() argument
275 xmlMsgElement.startTag(null, "msg"); in encode()
276 xmlMsgElement.attribute(null, "handle", in encode()
280 xmlMsgElement.attribute(null, "subject", in encode()
284 xmlMsgElement.attribute(null, "datetime", this.getDateTimeString()); in encode()
286 xmlMsgElement.attribute(null, "sender_name", in encode()
289 xmlMsgElement.attribute(null, "sender_addressing", mSenderAddressing); in encode()
291 xmlMsgElement.attribute(null, "replyto_addressing",mReplytoAddressing); in encode()
293 xmlMsgElement.attribute(null, "recipient_name", in encode()
296 xmlMsgElement.attribute(null, "recipient_addressing", mRecipientAddressing); in encode()
[all …]
DBluetoothMapMessageListing.java93 XmlSerializer xmlMsgElement = new FastXmlSerializer(); in encode() local
95 xmlMsgElement.setOutput(sw); in encode()
96 xmlMsgElement.startDocument("UTF-8", true); in encode()
97 xmlMsgElement.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true); in encode()
98 xmlMsgElement.startTag(null, "MAP-msg-listing"); in encode()
99 xmlMsgElement.attribute(null, "version", version); in encode()
102 element.encode(xmlMsgElement, includeThreadId); // Append the list element in encode()
104 xmlMsgElement.endTag(null, "MAP-msg-listing"); in encode()
105 xmlMsgElement.endDocument(); in encode()
DBluetoothMapFolderElement.java255 XmlSerializer xmlMsgElement = new FastXmlSerializer(); in encode() local
268 xmlMsgElement.setOutput(sw); in encode()
269 xmlMsgElement.startDocument("UTF-8", true); in encode()
270 xmlMsgElement.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true); in encode()
271 xmlMsgElement.startTag(null, "folder-listing"); in encode()
272 xmlMsgElement.attribute(null, "version", BluetoothMapUtils.MAP_V10_STR); in encode()
275 xmlMsgElement.startTag(null, "folder"); in encode()
276 xmlMsgElement.attribute(null, "name", folders[i].getName()); in encode()
277 xmlMsgElement.endTag(null, "folder"); in encode()
279 xmlMsgElement.endTag(null, "folder-listing"); in encode()
[all …]