Home
last modified time | relevance | path

Searched refs:xpp (Results 1 – 9 of 9) sorted by relevance

/packages/providers/MediaProvider/src/com/android/providers/media/util/
DSpecialFormatDetector.java137 XmlPullParser xpp = xmlPullParserFactory.newPullParser(); in isMotionPhoto() local
138 xpp.setInput(new StringReader(xmp)); in isMotionPhoto()
139 xpp.next(); in isMotionPhoto()
140 if (!isStartTag(xpp, XMP_META_TAG)) { in isMotionPhoto()
147 return isMotionPhoto(xpp); in isMotionPhoto()
153 private static boolean isMotionPhoto(XmlPullParser xpp) throws Exception { in isMotionPhoto() argument
157 xpp.next(); in isMotionPhoto()
158 if (!isStartTag(xpp)) { in isMotionPhoto()
162 switch (xpp.getName()) { in isMotionPhoto()
164 if (!isMotionPhotoFlagSet(xpp)) { in isMotionPhoto()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImageProperties.java166 XmlPullParser xpp = XmlPullParserFactory.newInstance().newPullParser(); in parse() local
167 xpp.setInput(inputStream, "utf-8"); in parse()
168 int event = xpp.getEventType(); in parse()
172 String tag = xpp.getName(); in parse()
174 mVersion = xpp.getAttributeValue(null, "version"); in parse()
175 mImageHandle = xpp.getAttributeValue(null, "handle"); in parse()
176 mFriendlyName = xpp.getAttributeValue(null, "friendly-name"); in parse()
178 String encoding = xpp.getAttributeValue(null, "encoding"); in parse()
179 String pixel = xpp.getAttributeValue(null, "pixel"); in parse()
180 String size = xpp.getAttributeValue(null, "size"); in parse()
[all …]
DBipImageDescriptor.java178 XmlPullParser xpp = XmlPullParserFactory.newInstance().newPullParser(); in parse() local
179 xpp.setInput(inputStream, "utf-8"); in parse()
180 int event = xpp.getEventType(); in parse()
184 String tag = xpp.getName(); in parse()
186 mEncoding = new BipEncoding(xpp.getAttributeValue(null, "encoding")); in parse()
187 mPixel = new BipPixel(xpp.getAttributeValue(null, "pixel")); in parse()
188 mSize = parseInt(xpp.getAttributeValue(null, "size")); in parse()
189 mMaxSize = parseInt(xpp.getAttributeValue(null, "maxsize")); in parse()
192 xpp.getAttributeValue(null, "transformation")); in parse()
200 event = xpp.next(); in parse()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/obex/
DMessagesListing.java45 XmlPullParser xpp = XmlPullParserFactory.newInstance().newPullParser(); in parse() local
46 xpp.setInput(in, "utf-8"); in parse()
48 int event = xpp.getEventType(); in parse()
52 if (xpp.getName().equals("msg")) { in parse()
56 for (int i = 0; i < xpp.getAttributeCount(); i++) { in parse()
57 attrs.put(xpp.getAttributeName(i), xpp.getAttributeValue(i)); in parse()
71 event = xpp.next(); in parse()
DFolderListing.java44 XmlPullParser xpp = XmlPullParserFactory.newInstance().newPullParser(); in parse() local
45 xpp.setInput(in, "utf-8"); in parse()
47 int event = xpp.getEventType(); in parse()
51 if (xpp.getName().equals("folder")) { in parse()
52 mFolders.add(xpp.getAttributeValue(null, "name")); in parse()
57 event = xpp.next(); in parse()
DEventReport.java93 XmlPullParser xpp = XmlPullParserFactory.newInstance().newPullParser(); in fromStream() local
94 xpp.setInput(in, "utf-8"); in fromStream()
96 int event = xpp.getEventType(); in fromStream()
100 if (xpp.getName().equals("event")) { in fromStream()
103 for (int i = 0; i < xpp.getAttributeCount(); i++) { in fromStream()
104 attrs.put(xpp.getAttributeName(i), xpp.getAttributeValue(i)); in fromStream()
115 event = xpp.next(); in fromStream()
/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/compat/
DTvInputInfoCompatTest.java59 XmlPullParser xpp = null; in setUp()
61 xpp = XmlPullParserFactory.newInstance().newPullParser(); in setUp()
62 xpp.setInput(new StringReader(mInputXml)); in setUp()
63 xpp.setFeature(XmlResourceParser.FEATURE_PROCESS_NAMESPACES, true); in setUp()
67 return xpp; in setUp()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/manifest/
DAppManifestConfigParserTests.java43 XmlPullParser xpp = factory.newPullParser(); in testParseManifest() local
45 xpp.setInput(new StringReader(sXml)); in testParseManifest()
46 AppManifestConfig config = AppManifestConfigParser.getConfig(xpp); in testParseManifest()
/packages/apps/DocumentsUI/tests/res/raw/
Dimages_tar7963 …l����� ��7qV� �b��:}F�eD���b���^�P�|�� �=M\]��ԋ�ԕ�?F?�4�FB��P��d�'Np{�xpp*�26B�b��c�t�3֟*e�…