Home
last modified time | relevance | path

Searched defs:parser (Results 1 – 25 of 105) 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.java527 XmlPullParser parser = mRes.getXml(R.drawable.animatedimagedrawable_tag); in testCreateFromXml() local
535 XmlPullParser parser = mRes.getXml(R.drawable.animatedimagedrawable); in testCreateFromXmlClass() local
543 XmlPullParser parser = mRes.getXml(R.drawable.animatedimagedrawable_class); in testCreateFromXmlClassAttribute() local
551 XmlPullParser parser = mRes.getXml(R.drawable.animatedimagedrawable_nosrc); in testMissingSrcInflate() local
577 XmlPullParser parser = mRes.getXml(resId); in parseXml() local
643 XmlPullParser parser = mRes.getXml(R.drawable.animatedimagedrawable_loop_count); in testRepeatCountFromXml() local
662 XmlPullParser parser = mRes.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/tools/dasm/src/dasm/
Dparser.java14 public class parser extends java_cup.runtime.lr_parser { class
17 public parser() {super();} in parser() method in parser
811 java_cup.runtime.lr_parser parser, in do_action()
870 parser(DAsm dAsm, Scanner scanner) { in parser() method in parser
895 java_cup.runtime.lr_parser CUP$parser, in CUP$do_action()
/cts/tests/signature/lib/android/src/android/signature/cts/
DApiDocumentParser.java79 XmlPullParser parser = factory.newPullParser(); in parseAsStream() local
86 private final XmlPullParser parser; field in ApiDocumentParser.ClassDescriptionSpliterator
92 … ClassDescriptionSpliterator(XmlPullParser parser) throws IOException, XmlPullParserException { in ClassDescriptionSpliterator()
134 private void beginDocument(XmlPullParser parser, String firstElementName) in beginDocument()
DCurrentApi.java78 static JDiffField loadFieldInfo(String className, XmlPullParser parser) { in loadFieldInfo()
93 static JDiffMethod loadMethodInfo(String className, XmlPullParser parser) { in loadMethodInfo()
108 XmlPullParser parser, JDiffClassDescription currentClass) { in loadConstructorInfo()
123 XmlPullParser parser, boolean isInterface, String pkg) { in loadClassInfo()
182 private static int jdiffModifierToReflectionFormat(String name, XmlPullParser parser){ in jdiffModifierToReflectionFormat()
/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/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/content/src/android/content/cts/util/
DXmlUtils.java50 public static void skipCurrentTag(XmlPullParser parser) in skipCurrentTag()
737 XmlPullParser parser = Xml.newPullParser(); in readMapXml() local
758 XmlPullParser parser = Xml.newPullParser(); in readListXml() local
781 XmlPullParser parser = Xml.newPullParser(); in readSetXml() local
800 public static final HashMap<String, ?> readThisMapXml(XmlPullParser parser, String endTag, in readThisMapXml()
820 public static final HashMap<String, ?> readThisMapXml(XmlPullParser parser, String endTag, in readThisMapXml()
849 public static final ArrayMap<String, ?> readThisArrayMapXml(XmlPullParser parser, String endTag, in readThisArrayMapXml()
888 public static final ArrayList readThisListXml(XmlPullParser parser, String endTag, in readThisListXml()
907 private static final ArrayList readThisListXml(XmlPullParser parser, String endTag, in readThisListXml()
949 public static final HashSet readThisSetXml(XmlPullParser parser, String endTag, String[] name) in readThisSetXml()
[all …]
/cts/tools/dasm/src/java_cup/
Dparser.java11 public class parser extends java_cup.runtime.lr_parser { class
14 public parser() {super();} in parser() method in parser
302 java_cup.runtime.lr_parser parser, in do_action()
429 java_cup.runtime.lr_parser CUP$parser, in CUP$do_action()
/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
274 final XmlResourceParser parser = getContext().getResources().getXml(R.xml.test_color); in testNonResourceString() local
289 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
DAnalogClockTest.java47 XmlPullParser parser = mActivity.getResources().getXml(R.layout.analogclock); in setup() 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/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DVintfFilesCollector.java82 XmlPullParser parser = XmlPullParserFactory.newInstance().newPullParser(); in guessFileName() local

12345