Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImageProperties.java265 XmlSerializer xmlMsgElement = new FastXmlSerializer(); in toString() local
267 xmlMsgElement.setOutput(writer); in toString()
268 xmlMsgElement.startDocument("UTF-8", true); in toString()
269 xmlMsgElement.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true); in toString()
270 xmlMsgElement.startTag(null, "image-properties"); in toString()
271 xmlMsgElement.attribute(null, "version", mVersion); in toString()
272 xmlMsgElement.attribute(null, "handle", mImageHandle); in toString()
282 xmlMsgElement.startTag(null, "native"); in toString()
283 xmlMsgElement.attribute(null, "encoding", encoding.toString()); in toString()
284 xmlMsgElement.attribute(null, "pixel", pixel.toString()); in toString()
[all …]
DBipImageDescriptor.java293 XmlSerializer xmlMsgElement = new FastXmlSerializer(); in toString() local
295 xmlMsgElement.setOutput(writer); in toString()
296 xmlMsgElement.startDocument("UTF-8", true); in toString()
297 xmlMsgElement.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true); in toString()
298 xmlMsgElement.startTag(null, "image-descriptor"); in toString()
299 xmlMsgElement.attribute(null, "version", sVersion); in toString()
300 xmlMsgElement.startTag(null, "image"); in toString()
301 xmlMsgElement.attribute(null, "encoding", mEncoding.toString()); in toString()
302 xmlMsgElement.attribute(null, "pixel", mPixel.toString()); in toString()
304 xmlMsgElement.attribute(null, "size", Integer.toString(mSize)); in toString()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapMessageListingElement.java269 public void encode(XmlSerializer xmlMsgElement, boolean includeThreadId) in encode() argument
272 xmlMsgElement.startTag(null, "msg"); in encode()
273 xmlMsgElement.attribute(null, "handle", BluetoothMapUtils.getMapHandle(mCpHandle, mType)); in encode()
286 xmlMsgElement.attribute(null, "subject", in encode()
291 xmlMsgElement.attribute(null, "datetime", in encode()
295 xmlMsgElement.attribute(null, "sender_name", in encode()
299 xmlMsgElement.attribute(null, "sender_addressing", mSenderAddressing); in encode()
302 xmlMsgElement.attribute(null, "replyto_addressing", mReplytoAddressing); in encode()
305 xmlMsgElement.attribute(null, "recipient_name", in encode()
309 xmlMsgElement.attribute(null, "recipient_addressing", mRecipientAddressing); in encode()
[all …]
DBluetoothMapMessageListing.java94 XmlSerializer xmlMsgElement = null; in encode() local
102 xmlMsgElement = Xml.newSerializer(); in encode()
103 xmlMsgElement.setOutput(sw); in encode()
104 xmlMsgElement.text("\n"); in encode()
106 xmlMsgElement = new FastXmlSerializer(0); in encode()
107 xmlMsgElement.setOutput(sw); in encode()
108 xmlMsgElement.startDocument("UTF-8", true); in encode()
109 xmlMsgElement.setFeature( in encode()
112 xmlMsgElement.startTag(null, "MAP-msg-listing"); in encode()
113 xmlMsgElement.attribute(null, "version", version); in encode()
[all …]
DBluetoothMapFolderElement.java269 XmlSerializer xmlMsgElement = new FastXmlSerializer(0); in encode() local
285 xmlMsgElement.setOutput(sw); in encode()
286 xmlMsgElement.startDocument("UTF-8", true); in encode()
287 xmlMsgElement.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true); in encode()
288 xmlMsgElement.startTag(null, "folder-listing"); in encode()
289 xmlMsgElement.attribute(null, "version", BluetoothMapUtils.MAP_V10_STR); in encode()
291 xmlMsgElement.startTag(null, "folder"); in encode()
292 xmlMsgElement.attribute(null, "name", folders[i].getName()); in encode()
293 xmlMsgElement.endTag(null, "folder"); in encode()
295 xmlMsgElement.endTag(null, "folder-listing"); in encode()
[all …]