/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | LevelListDrawableTest.java | 136 XmlResourceParser parser = getResourceParser(R.xml.level_list_correct); in testInflate() local 163 XmlResourceParser parser = getResourceParser(R.xml.level_list_missing_item_drawable); in testInflateMissingContent() local 170 XmlResourceParser parser = getResourceParser(R.xml.level_list_correct); in testInflateWithNullResources() local 178 XmlResourceParser parser = getResourceParser(R.xml.level_list_correct); in testInflateWithNullParser() local 185 XmlResourceParser parser = getResourceParser(R.xml.level_list_correct); in testInflateWithNullAttrSet() local 211 XmlResourceParser parser = mResources.getXml(resId); in getResourceParser() local
|
D | PaintDrawableTest.java | 128 XmlResourceParser parser = getParser(); in testInflateTag() local 197 private AttributeSet getAttributeSet(XmlResourceParser parser) throws XmlPullParserException, in getAttributeSet() 214 private void gotoTag(XmlResourceParser parser, String tagName) throws XmlPullParserException, in gotoTag() 231 protected boolean inflateTag(String name, Resources r, XmlPullParser parser, in inflateTag()
|
D | AnimationDrawableTest.java | 281 XmlResourceParser parser = getResourceParser(R.xml.anim_list_correct); in testInflateCorrect() local 300 XmlResourceParser parser = getResourceParser(R.xml.anim_list_missing_item_drawable); in testInflateMissingDrawable() local 312 XmlResourceParser parser = getResourceParser(R.drawable.animationdrawable); in testInflateNullResources() local 320 XmlResourceParser parser = getResourceParser(R.drawable.animationdrawable); in testInflateNullXmlPullParser() local 328 XmlResourceParser parser = getResourceParser(R.drawable.animationdrawable); in testInflateNullAttributeSet() local 345 XmlResourceParser parser = mResources.getXml(resId); in getResourceParser() local
|
D | StateListDrawableTest.java | 210 final XmlResourceParser parser = getResourceParser(drawableResId); in verifyPreloadDensityTestForDrawableInner() local 265 XmlResourceParser parser = getResourceParser(R.xml.selector_correct); in testInflate() local 317 XmlResourceParser parser = getResourceParser(R.xml.level_list_correct); in testInflateWithNullResources() local 324 XmlResourceParser parser = getResourceParser(R.xml.level_list_correct); in testInflateWithNullParser() local 331 XmlResourceParser parser = getResourceParser(R.xml.level_list_correct); in testInflateWithNullAttrSet() local 419 XmlResourceParser parser = mResources.getXml(resId); in getResourceParser() local
|
D | BitmapDrawableTest.java | 458 XmlResourceParser parser = mContext.getResources().getXml(R.xml.bitmapdrawable); in testInflate() local 461 bitmapDrawable.inflate(mContext.getResources(), parser, attrs); in testInflate() local 486 bitmapDrawable.inflate(mContext.getResources(), parser, attrs); in testInflate() local 495 bitmapDrawable.inflate(mContext.getResources(), parser, attrs); in testInflate() local 511 bitmapDrawable.inflate(mContext.getResources(), parser, null); in testInflate() local
|
D | AnimatedImageDrawableTest.java | 595 XmlPullParser parser = res.getXml(R.drawable.animatedimagedrawable_tag); in testCreateFromXml() local 604 XmlPullParser parser = res.getXml(R.drawable.animatedimagedrawable); in testCreateFromXmlClass() local 613 XmlPullParser parser = res.getXml(R.drawable.animatedimagedrawable_class); in testCreateFromXmlClassAttribute() local 622 XmlPullParser parser = res.getXml(R.drawable.animatedimagedrawable_nosrc); in testMissingSrcInflate() local 649 XmlPullParser parser = res.getXml(resId); in parseXml() local 716 XmlPullParser parser = res.getXml(R.drawable.animatedimagedrawable_loop_count); in testRepeatCountFromXml() local 736 XmlPullParser parser = res.getXml(R.drawable.animatedimagedrawable_loop_count_infinite); in testInfiniteRepeatCountFromXml() local
|
D | DrawableTestUtils.java | 57 public static void skipCurrentTag(XmlPullParser parser) in skipCurrentTag() 76 public static AttributeSet getAttributeSet(XmlResourceParser parser, String searchedNodeName) in getAttributeSet() 115 final XmlResourceParser parser = res.getXml(resId); in getResourceParser() local
|
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/ |
D | ApplicationMediaCapabilitiesTest.java | 96 XmlResourceParser parser = mContext.getResources().getXml(R.xml.mediacapabilities); in testReadMediaCapabilitiesXml() local 109 final XmlPullParser parser = Xml.newPullParser(); in testReadFromCorrectXmlWithInputStreamInAssets() local 132 final XmlPullParser parser = Xml.newPullParser(); in testReadMediaCapabilitiesXmlWithSupportAllHdr() local 281 final XmlPullParser parser = Xml.newPullParser(); in testUnspecifiedCodecMimetype() local 293 final XmlPullParser parser = Xml.newPullParser(); in testUnsupportedCodecMimetype() local 307 final XmlPullParser parser = Xml.newPullParser(); in testUnsupportedHdrtype() local
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | XmlUtils.java | 48 public static void skipCurrentTag(XmlPullParser parser) in skipCurrentTag() 710 XmlPullParser parser = Xml.newPullParser(); in readMapXml() local 731 XmlPullParser parser = Xml.newPullParser(); in readListXml() local 754 XmlPullParser parser = Xml.newPullParser(); in readSetXml() local 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() 861 public static final ArrayList readThisListXml(XmlPullParser parser, String endTag, in readThisListXml() 880 private static final ArrayList readThisListXml(XmlPullParser parser, String endTag, in readThisListXml() 922 public static final HashSet readThisSetXml(XmlPullParser parser, String endTag, String[] name) in readThisSetXml() [all …]
|
/cts/tests/tests/view/src/android/view/cts/util/ |
D | XmlUtils.java | 47 public static void skipCurrentTag(XmlPullParser parser) in skipCurrentTag() 709 XmlPullParser parser = Xml.newPullParser(); in readMapXml() local 730 XmlPullParser parser = Xml.newPullParser(); in readListXml() local 753 XmlPullParser parser = Xml.newPullParser(); in readSetXml() local 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() 860 public static final ArrayList readThisListXml(XmlPullParser parser, String endTag, in readThisListXml() 879 private static final ArrayList readThisListXml(XmlPullParser parser, String endTag, in readThisListXml() 921 public static final HashSet readThisSetXml(XmlPullParser parser, String endTag, String[] name) in readThisSetXml() [all …]
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/ |
D | GlobalKeyMapping.java | 53 try (XmlResourceParser parser = context.getResources().getXml( in loadGlobalKeys() 91 private void nextElement(XmlPullParser parser) throws XmlPullParserException, IOException { in nextElement() 99 private void beginDocument(XmlPullParser parser, String firstElementName) in beginDocument()
|
/cts/tests/signature/lib/android/src/android/signature/cts/ |
D | XmlApiParser.java | 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() local 384 private final XmlPullParser parser; field in XmlApiParser.ClassDescriptionSpliterator 392 ClassDescriptionSpliterator(XmlPullParser parser) in ClassDescriptionSpliterator() 435 private void beginDocument(XmlPullParser parser) in beginDocument()
|
D | ApiDocumentParser.java | 51 ApiParser parser = getApiParser(path); in parseAsStream() local
|
/cts/tests/tests/security/src/android/security/cts/ |
D | AssetManagerTest.java | 30 final XmlResourceParser[] parser = {null}; in testCloseThenFinalize() local
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2012-6702/ |
D | poc.c | 27 XML_Parser parser; in main() local
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | AssetManagerTest.java | 93 XmlResourceParser parser = mAssets.openXmlResourceParser("AndroidManifest.xml"); in testAssetOperations() local 213 private void beginDocument(final XmlPullParser parser, final String firstElementName) in beginDocument()
|
D | TypedArrayTest.java | 92 XmlResourceParser parser = in testSourceResourceIdFromLayout() local 283 final XmlResourceParser parser = getContext().getResources().getXml(R.xml.test_color); in testNonResourceString() local 298 try (final XmlResourceParser parser = resources.getXml(R.xml.empty)) { in testEmptyXmlAttributeDoesNotFallbackToTheme()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ButtonTest.java | 38 XmlPullParser parser = context.getResources().getXml(R.layout.togglebutton_layout); in testConstructor() local
|
D | AbsoluteLayout_LayoutParamsTest.java | 53 XmlPullParser parser = mContext.getResources().getLayout(R.layout.absolute_layout); in getAttributeSet() local
|
D | AbsListView_LayoutParamsTest.java | 47 XmlPullParser parser = mContext.getResources().getXml(R.layout.abslistview_layout); in setup() local
|
D | FrameLayout_LayoutParamsTest.java | 55 XmlPullParser parser = mContext.getResources().getLayout(R.layout.framelayout_layout); in getAttributeSet() local
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | FontScaleActivity.java | 47 try (XmlResourceParser parser = getResources().getXml(R.layout.font_scale)) { in dumpFontSize()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | LayoutInflaterTest.java | 110 XmlResourceParser parser = null; in getAttrs() local 278 XmlResourceParser parser = mContext.getResources().getLayout(R.layout.inflater_layout); in testInflateParser() local 318 XmlResourceParser parser = mContext.getResources().getLayout(R.layout.inflater_layout); in testInflateParserAttachToRoot() local 512 XmlResourceParser parser = null; in getParser() local
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | LockScreenInspector.java | 81 private <T extends MessageLite> T getDump(Parser<T> parser, String command) throws Exception { in getDump()
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | AlphaAnimationTest.java | 53 XmlResourceParser parser = mContext.getResources().getAnimation(R.anim.alpha); in testConstructor() local
|