Home
last modified time | relevance | path

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

12345

/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DAbstractXmlPullParser.java44 XmlPullParser parser = fact.newPullParser(); in parse() local
54 abstract void parse(XmlPullParser parser) throws XmlPullParserException, IOException; in parse()
63 protected int parseIntAttr(XmlPullParser parser, String name) { in parseIntAttr()
78 protected boolean parseBooleanAttr(XmlPullParser parser, String name) { in parseBooleanAttr()
91 protected String getAttribute(XmlPullParser parser, String name) { in getAttribute()
DDeviceInfoResult.java227 void parse(XmlPullParser parser) throws XmlPullParserException, IOException { in parse()
256 private String parseFeatures(XmlPullParser parser) throws XmlPullParserException, IOException { in parseFeatures()
261 private String parseProcess(XmlPullParser parser) throws XmlPullParserException, IOException { in parseProcess()
266 private String parseOpenGLCompressedTextureFormats(XmlPullParser parser) in parseOpenGLCompressedTextureFormats()
272 private String parseSystemLibraries(XmlPullParser parser) in parseSystemLibraries()
300 private String parseTag(XmlPullParser parser, String tag, String subTag, String delim, in parseTag()
332 private void addMetricsFromAttributes(XmlPullParser parser) { in addMetricsFromAttributes()
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/
DTestPackageXmlParserTest.java97 TestPackageXmlParser parser = new TestPackageXmlParser(true); in testParse_instrPackage() local
111 TestPackageXmlParser parser = new TestPackageXmlParser(true); in testParse_hostTest() local
135 TestPackageXmlParser parser = new TestPackageXmlParser(false); in testParse_hostTest_noKnownFailures() local
158 TestPackageXmlParser parser = new TestPackageXmlParser(true); in testParse_badHostTest() local
174 TestPackageXmlParser parser = new TestPackageXmlParser(true); in assertTestType() local
185 TestPackageXmlParser parser = new TestPackageXmlParser(true); in testParse_noData() local
194 TestPackageXmlParser parser = new TestPackageXmlParser(true); in testParse_instancedMultiple() local
218 TestPackageXmlParser parser = new TestPackageXmlParser(true); in testParse_instancedSingle() local
239 TestPackageXmlParser parser = new TestPackageXmlParser(true); in testParse_instancedEmptys() local
262 TestPackageXmlParser parser = new TestPackageXmlParser(true); in testParse_instancedNoInstances() local
/cts/tests/tests/widget/src/android/widget/cts/
DSwitchTest.java41 XmlResourceParser parser = mContext.getResources().getLayout(R.layout.switch_layout); in testConstructor() local
52 XmlResourceParser parser = mContext.getResources().getLayout(R.layout.switch_layout); in testAccessThumbTint() local
67 XmlResourceParser parser = mContext.getResources().getLayout(R.layout.switch_layout); in testAccessTrackTint() local
DCheckBoxTest.java31 XmlPullParser parser = mContext.getResources().getXml(R.layout.checkbox_layout); in testConstructor() local
DButtonTest.java32 XmlPullParser parser = mContext.getResources().getXml(R.layout.togglebutton_layout); in testConstructor() local
DFrameLayout_LayoutParamsTest.java39 XmlPullParser parser = mContext.getResources().getLayout(R.layout.framelayout_layout); in getAttributeSet() local
DImageButtonTest.java31 XmlPullParser parser = getContext().getResources().getXml(R.layout.imagebutton_test); in testConstructor() local
DAbsoluteLayout_LayoutParamsTest.java38 XmlPullParser parser = mContext.getResources().getLayout(R.layout.absolute_layout); in getAttributeSet() local
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/
DTestResultsTest.java55 TestResults parser = new TestResults(); in testParse_empty() local
64 TestResults parser = new TestResults(); in testParse_package() local
77 TestResults parser = new TestResults(); in testParse_corrupt() local
91 TestResults parser = new TestResults(); in testParse_test() local
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DPaintDrawableTest.java105 XmlResourceParser parser = getParser(); in testInflateTag() local
175 private AttributeSet getAtrributeSet(XmlResourceParser parser) throws XmlPullParserException, in getAtrributeSet()
192 private void gotoTag(XmlResourceParser parser, String tagName) throws XmlPullParserException, in gotoTag()
209 protected boolean inflateTag(String name, Resources r, XmlPullParser parser, in inflateTag()
DAnimationDrawableTest.java281 XmlResourceParser parser = getResourceParser(R.xml.anim_list_correct); in testInflateCorrect() local
299 XmlResourceParser parser = getResourceParser(R.xml.anim_list_missing_item_drawable); in testInflateMissingDrawable() local
310 XmlResourceParser parser = getResourceParser(R.drawable.animationdrawable); in testInflateNullResources() local
321 XmlResourceParser parser = getResourceParser(R.drawable.animationdrawable); in testInflateNullXmlPullParser() local
332 XmlResourceParser parser = getResourceParser(R.drawable.animationdrawable); in testInflateNullAttributeSet() local
352 XmlResourceParser parser = mResources.getXml(resId); in getResourceParser() local
DDrawableTestUtils.java33 public static void skipCurrentTag(XmlPullParser parser) in skipCurrentTag()
52 public static AttributeSet getAttributeSet(XmlResourceParser parser, String searchedNodeName) in getAttributeSet()
DLevelListDrawableTest.java113 XmlResourceParser parser = getResourceParser(R.xml.level_list_correct); in testInflate() local
146 XmlResourceParser parser = getResourceParser(R.xml.level_list_correct); in testInflateWithNullParameters() local
187 XmlResourceParser parser = getInstrumentation().getTargetContext().getResources().getXml( in getResourceParser() local
DStateListDrawableTest.java157 XmlResourceParser parser = getResourceParser(R.xml.selector_correct); in testInflate() local
206 XmlResourceParser parser = getResourceParser(R.xml.level_list_correct); in testInflateWithNullParameters() local
248 XmlResourceParser parser = getInstrumentation().getTargetContext().getResources().getXml( in getResourceParser() local
DColorDrawableTest.java99 final XmlPullParser parser = mContext.getResources().getXml(R.drawable.colordrawable_test); in testInflate() local
113 colorDrawable.inflate(mContext.getResources(), parser, attrs); in testInflate() local
DBitmapDrawableTest.java348 XmlResourceParser parser = mContext.getResources().getXml(R.xml.bitmapdrawable); in testInflate() local
351 bitmapDrawable.inflate(mContext.getResources(), parser, attrs); in testInflate() local
376 bitmapDrawable.inflate(mContext.getResources(), parser, attrs); in testInflate() local
385 bitmapDrawable.inflate(mContext.getResources(), parser, attrs); in testInflate() local
401 bitmapDrawable.inflate(mContext.getResources(), parser, null); in testInflate() 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/src/android/signature/cts/
DSignatureTest.java125 private void beginDocument(XmlPullParser parser, String firstElementName) in beginDocument()
144 private void start(XmlPullParser parser) throws XmlPullParserException, IOException { in start()
229 private JDiffField loadFieldInfo(String className, XmlPullParser parser) { in loadFieldInfo()
243 private JDiffMethod loadMethodInfo(String className, XmlPullParser parser) { in loadMethodInfo()
257 private JDiffConstructor loadConstructorInfo(XmlPullParser parser, in loadConstructorInfo()
272 private JDiffClassDescription loadClassInfo(XmlPullParser parser, in loadClassInfo()
334 private static int jdiffModifierToReflectionFormat(String name, XmlPullParser parser){ in jdiffModifierToReflectionFormat()
/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/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/tests/tests/content/src/android/content/res/cts/
DAssetManagerTest.java69 XmlResourceParser parser = mAssets.openXmlResourceParser("AndroidManifest.xml"); in testAssetOperations() local
127 private void beginDocument(final XmlPullParser parser,final String firstElementName) in beginDocument()
/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/tools/signature-tools/test/signature/converter/dex/
DGenericSignatureParserTest.java42 private GenericSignatureParser parser; field in GenericSignatureParserTest

12345