Home
last modified time | relevance | path

Searched defs:parser (Results 1 – 25 of 106) sorted by relevance

12345

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DLevelListDrawableTest.java136 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
DPaintDrawableTest.java128 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()
DAnimationDrawableTest.java281 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
DStateListDrawableTest.java210 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
DBitmapDrawableTest.java458 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
DAnimatedImageDrawableTest.java595 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
DDrawableTestUtils.java57 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/
DApplicationMediaCapabilitiesTest.java96 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/
DXmlUtils.java48 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/
DXmlUtils.java47 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/
DGlobalKeyMapping.java53 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/
DXmlApiParser.java138 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()
DApiDocumentParser.java51 ApiParser parser = getApiParser(path); in parseAsStream() local
/cts/tests/tests/security/src/android/security/cts/
DAssetManagerTest.java30 final XmlResourceParser[] parser = {null}; in testCloseThenFinalize() local
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2012-6702/
Dpoc.c27 XML_Parser parser; in main() local
/cts/tests/tests/content/src/android/content/res/cts/
DAssetManagerTest.java93 XmlResourceParser parser = mAssets.openXmlResourceParser("AndroidManifest.xml"); in testAssetOperations() local
213 private void beginDocument(final XmlPullParser parser, final String firstElementName) in beginDocument()
DTypedArrayTest.java92 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/
DButtonTest.java38 XmlPullParser parser = context.getResources().getXml(R.layout.togglebutton_layout); in testConstructor() local
DAbsoluteLayout_LayoutParamsTest.java53 XmlPullParser parser = mContext.getResources().getLayout(R.layout.absolute_layout); in getAttributeSet() local
DAbsListView_LayoutParamsTest.java47 XmlPullParser parser = mContext.getResources().getXml(R.layout.abslistview_layout); in setup() local
DFrameLayout_LayoutParamsTest.java55 XmlPullParser parser = mContext.getResources().getLayout(R.layout.framelayout_layout); in getAttributeSet() local
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DFontScaleActivity.java47 try (XmlResourceParser parser = getResources().getXml(R.layout.font_scale)) { in dumpFontSize()
/cts/tests/tests/view/src/android/view/cts/
DLayoutInflaterTest.java110 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/
DLockScreenInspector.java81 private <T extends MessageLite> T getDump(Parser<T> parser, String command) throws Exception { in getDump()
/cts/tests/tests/view/src/android/view/animation/cts/
DAlphaAnimationTest.java53 XmlResourceParser parser = mContext.getResources().getAnimation(R.anim.alpha); in testConstructor() local

12345