/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | DrawableTestUtils.java | 37 import org.xmlpull.v1.XmlPullParser; 57 public static void skipCurrentTag(XmlPullParser parser) in skipCurrentTag() 61 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT in skipCurrentTag() 62 && (type != XmlPullParser.END_TAG in skipCurrentTag() 80 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT in getAttributeSet() 81 && type != XmlPullParser.START_TAG) { in getAttributeSet() 88 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT in getAttributeSet() 89 && (type != XmlPullParser.END_TAG || parser.getDepth() > outerDepth)) { in getAttributeSet() 90 if (type == XmlPullParser.END_TAG || type == XmlPullParser.TEXT) { in getAttributeSet() 96 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT in getAttributeSet() [all …]
|
D | PaintDrawableTest.java | 41 import org.xmlpull.v1.XmlPullParser; 204 while (type != XmlPullParser.START_TAG && type != XmlPullParser.END_DOCUMENT) { in getAttributeSet() 207 if (type != XmlPullParser.START_TAG) { in getAttributeSet() 220 while (parser.nextTag() != XmlPullParser.END_TAG) { in gotoTag() 231 protected boolean inflateTag(String name, Resources r, XmlPullParser parser, in inflateTag()
|
D | CustomDrawableTest.java | 39 import org.xmlpull.v1.XmlPullParser; 61 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) in inflate()
|
D | AnimatedVectorDrawableTest.java | 52 import org.xmlpull.v1.XmlPullParser; 83 XmlPullParser parser = mResources.getXml(mResId); in testInflate() 87 while ((type=parser.next()) != XmlPullParser.START_TAG && in testInflate() 88 type != XmlPullParser.END_DOCUMENT) { in testInflate() 92 if (type != XmlPullParser.START_TAG) { in testInflate() 115 XmlPullParser parser = mResources.getXml(mResId); in testGetOpticalInsets()
|
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/ |
D | ApplicationMediaCapabilitiesTest.java | 31 import org.xmlpull.v1.XmlPullParser; 109 final XmlPullParser parser = Xml.newPullParser(); in testReadFromCorrectXmlWithInputStreamInAssets() 132 final XmlPullParser parser = Xml.newPullParser(); in testReadMediaCapabilitiesXmlWithSupportAllHdr() 160 final XmlPullParser parser = Xml.newPullParser(); in testReadFromWrongMediaCapabilityXml() 176 final XmlPullParser parser = Xml.newPullParser(); in testReadFromWrongMediaCapabilityXml2() 191 final XmlPullParser parser = Xml.newPullParser(); in testReadFromXmlWithWrongBoolean() 206 final XmlPullParser parser = Xml.newPullParser(); in testReadXmlSupportHdrWithoutSupportHevc() 222 final XmlPullParser parser = Xml.newPullParser(); in testReadXmlConflictSupportedValue() 237 final XmlPullParser parser = Xml.newPullParser(); in testReadXmlWithEmptyFormat() 252 final XmlPullParser parser = Xml.newPullParser(); in testReadXmlFormatWithoutSupported() [all …]
|
/cts/tests/signature/lib/android/src/android/signature/cts/ |
D | XmlApiParser.java | 34 import org.xmlpull.v1.XmlPullParser; 138 JDiffClassDescription currentClass, XmlPullParser parser) { in loadFieldInfo() 234 private static JDiffMethod loadMethodInfo(String className, XmlPullParser parser) { in loadMethodInfo() 251 XmlPullParser parser, JDiffClassDescription currentClass) { in loadConstructorInfo() 269 XmlPullParser parser, boolean isInterface, String pkg) { in loadClassInfo() 304 private static int jdiffModifierToReflectionFormat(String name, XmlPullParser parser) { in jdiffModifierToReflectionFormat() 363 XmlPullParser parser; in parseAsStream() 384 private final XmlPullParser parser; 392 ClassDescriptionSpliterator(XmlPullParser parser) in ClassDescriptionSpliterator() 435 private void beginDocument(XmlPullParser parser) in beginDocument() [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TableLayout_LayoutParamsTest.java | 38 import org.xmlpull.v1.XmlPullParser; 176 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT in getAttrs() 177 && type != XmlPullParser.START_TAG) { in getAttrs() 184 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT in getAttrs() 185 && (type != XmlPullParser.END_TAG || parser.getDepth() > outerDepth)) { in getAttrs() 186 if (type == XmlPullParser.END_TAG || type == XmlPullParser.TEXT) { in getAttrs() 192 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT in getAttrs() 193 && (type != XmlPullParser.END_TAG || parser.getDepth() > outerDepth)) { in getAttrs() 194 if (type == XmlPullParser.END_TAG || type == XmlPullParser.TEXT) { in getAttrs()
|
D | TableRow_LayoutParamsTest.java | 43 import org.xmlpull.v1.XmlPullParser; 200 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT in getAttrs() 201 && type != XmlPullParser.START_TAG) { in getAttrs() 208 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT in getAttrs() 209 && (type != XmlPullParser.END_TAG || parser.getDepth() > outerDepth)) { in getAttrs() 210 if (type == XmlPullParser.END_TAG || type == XmlPullParser.TEXT) { in getAttrs() 216 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT in getAttrs() 217 && (type != XmlPullParser.END_TAG || parser.getDepth() > outerDepth)) { in getAttrs() 218 if (type == XmlPullParser.END_TAG || type == XmlPullParser.TEXT) { in getAttrs()
|
D | ButtonTest.java | 30 import org.xmlpull.v1.XmlPullParser; 38 XmlPullParser parser = context.getResources().getXml(R.layout.togglebutton_layout); in testConstructor()
|
D | RadioGroup_LayoutParamsTest.java | 38 import org.xmlpull.v1.XmlPullParser; 161 XmlPullParser parser = mContext.getResources().getLayout(resId); in getAttributeSet() 165 while ((type = parser.next()) != XmlPullParser.START_TAG in getAttributeSet() 166 && type != XmlPullParser.END_DOCUMENT) { in getAttributeSet() 175 assertEquals("No RadioGroup element found", XmlPullParser.START_TAG, type); in getAttributeSet()
|
D | AbsoluteLayout_LayoutParamsTest.java | 37 import org.xmlpull.v1.XmlPullParser; 53 XmlPullParser parser = mContext.getResources().getLayout(R.layout.absolute_layout); in getAttributeSet()
|
D | AbsListView_LayoutParamsTest.java | 36 import org.xmlpull.v1.XmlPullParser; 47 XmlPullParser parser = mContext.getResources().getXml(R.layout.abslistview_layout); in setup()
|
D | ViewSwitcherTest.java | 41 import org.xmlpull.v1.XmlPullParser; 62 XmlPullParser parser = mContext.getResources().getXml(R.layout.viewswitcher_layout); in testConstructor()
|
D | FrameLayout_LayoutParamsTest.java | 39 import org.xmlpull.v1.XmlPullParser; 55 XmlPullParser parser = mContext.getResources().getLayout(R.layout.framelayout_layout); in getAttributeSet()
|
D | ViewFlipperTest.java | 42 import org.xmlpull.v1.XmlPullParser; 68 XmlPullParser parser = mActivity.getResources().getXml(R.layout.viewflipper_layout); in testConstructor()
|
D | AbsoluteLayoutTest.java | 43 import org.xmlpull.v1.XmlPullParser; 75 XmlPullParser parser = mActivity.getResources().getLayout(R.layout.absolute_layout); in getAttributeSet()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | XmlUtils.java | 19 import org.xmlpull.v1.XmlPullParser; 48 public static void skipCurrentTag(XmlPullParser parser) in skipCurrentTag() 52 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT in skipCurrentTag() 53 && (type != XmlPullParser.END_TAG in skipCurrentTag() 710 XmlPullParser parser = Xml.newPullParser(); in readMapXml() 731 XmlPullParser parser = Xml.newPullParser(); in readListXml() 754 XmlPullParser parser = Xml.newPullParser(); in readSetXml() 773 public static final HashMap<String, ?> readThisMapXml(XmlPullParser parser, String endTag, in readThisMapXml() 793 public static final HashMap<String, ?> readThisMapXml(XmlPullParser parser, String endTag, in readThisMapXml() 822 public static final ArrayMap<String, ?> readThisArrayMapXml(XmlPullParser parser, String endTag, in readThisArrayMapXml() [all …]
|
/cts/tests/tests/view/src/android/view/cts/util/ |
D | XmlUtils.java | 27 import org.xmlpull.v1.XmlPullParser; 47 public static void skipCurrentTag(XmlPullParser parser) in skipCurrentTag() 51 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT in skipCurrentTag() 52 && (type != XmlPullParser.END_TAG in skipCurrentTag() 709 XmlPullParser parser = Xml.newPullParser(); in readMapXml() 730 XmlPullParser parser = Xml.newPullParser(); in readListXml() 753 XmlPullParser parser = Xml.newPullParser(); in readSetXml() 772 public static final HashMap<String, ?> readThisMapXml(XmlPullParser parser, String endTag, in readThisMapXml() 792 public static final HashMap<String, ?> readThisMapXml(XmlPullParser parser, String endTag, in readThisMapXml() 821 public static final ArrayMap<String, ?> readThisArrayMapXml(XmlPullParser parser, String endTag, in readThisArrayMapXml() [all …]
|
/cts/tests/tests/resourcesloader/src/android/content/res/loader/cts/ |
D | Utils.kt | 26 import org.xmlpull.v1.XmlPullParser in <lambda>() 47 fun XmlPullParser.advanceToRoot() = apply { in dpToPx() method 48 while (next() != XmlPullParser.START_TAG) { in dpToPx()
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/ |
D | GlobalKeyMapping.java | 26 import org.xmlpull.v1.XmlPullParser; 91 private void nextElement(XmlPullParser parser) throws XmlPullParserException, IOException { in nextElement() 99 private void beginDocument(XmlPullParser parser, String firstElementName) in beginDocument()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | AssetManagerTest.java | 38 import org.xmlpull.v1.XmlPullParser; 213 private void beginDocument(final XmlPullParser parser, final String firstElementName) in beginDocument() 216 while ((type = parser.next()) != XmlPullParser.START_TAG) { in beginDocument() 219 if (type != XmlPullParser.START_TAG) { in beginDocument()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | FontScaleActivity.java | 30 import org.xmlpull.v1.XmlPullParser; 49 while (parser.next() != XmlPullParser.START_TAG) { } in dumpFontSize()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | WidgetTestUtils.java | 41 import org.xmlpull.v1.XmlPullParser; 98 public static final void beginDocument(XmlPullParser parser, String firstElementName) in beginDocument() 104 while ((type = parser.next()) != XmlPullParser.START_TAG in beginDocument() 105 && type != XmlPullParser.END_DOCUMENT) { in beginDocument()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | LayoutInflaterTest.java | 57 import org.xmlpull.v1.XmlPullParser; 121 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT in getAttrs() 122 && type != XmlPullParser.START_TAG) { in getAttrs() 129 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT in getAttrs() 130 && (type != XmlPullParser.END_TAG || parser.getDepth() > outerDepth)) { in getAttrs() 131 if (type == XmlPullParser.END_TAG || type == XmlPullParser.TEXT) { in getAttrs()
|
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/ |
D | MediaBitstreamsTest.java | 40 import org.xmlpull.v1.XmlPullParser; 161 XmlPullParser parser = XmlPullParserFactory.newInstance().newPullParser(); in bitstreams() 164 parser.require(XmlPullParser.START_TAG, null, MediaBitstreams.DYNAMIC_CONFIG); in bitstreams() 165 while (parser.next() != XmlPullParser.END_DOCUMENT) { in bitstreams() 166 if (parser.getEventType() != XmlPullParser.START_TAG in bitstreams() 175 while (parser.next() != XmlPullParser.END_DOCUMENT) { in bitstreams() 176 if (parser.getEventType() != XmlPullParser.START_TAG) { in bitstreams()
|