Home
last modified time | relevance | path

Searched defs:parser (Results 1 – 25 of 104) 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.java210 void parse(XmlPullParser parser) throws XmlPullParserException, IOException { in parse()
239 private String parseFeatures(XmlPullParser parser) throws XmlPullParserException, IOException { in parseFeatures()
244 private String parseProcess(XmlPullParser parser) throws XmlPullParserException, IOException { in parseProcess()
249 private String parseOpenGLCompressedTextureFormats(XmlPullParser parser) in parseOpenGLCompressedTextureFormats()
255 private String parseSystemLibraries(XmlPullParser parser) in parseSystemLibraries()
283 private String parseTag(XmlPullParser parser, String tag, String subTag, String delim, in parseTag()
315 private void addMetricsFromAttributes(XmlPullParser parser) { in addMetricsFromAttributes()
/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/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/
DTestPackageXmlParserTest.java71 TestPackageXmlParser parser = new TestPackageXmlParser(true); in testParse_instrPackage() local
83 TestPackageXmlParser parser = new TestPackageXmlParser(true); in testParse_hostTest() local
106 TestPackageXmlParser parser = new TestPackageXmlParser(false); in testParse_hostTest_noKnownFailures() local
128 TestPackageXmlParser parser = new TestPackageXmlParser(true); in testParse_badHostTest() local
143 TestPackageXmlParser parser = new TestPackageXmlParser(true); in assertTestType() local
153 TestPackageXmlParser parser = new TestPackageXmlParser(true); in testParse_noData() 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()
DColorDrawableTest.java100 final XmlPullParser parser = mContext.getResources().getXml(R.drawable.colordrawable_test); in testInflate() local
114 colorDrawable.inflate(mContext.getResources(), parser, attrs); in testInflate() local
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
DBitmapDrawableTest.java318 XmlResourceParser parser = mContext.getResources().getXml(R.xml.bitmapdrawable); in testInflate() local
321 bitmapDrawable.inflate(mContext.getResources(), parser, attrs); in testInflate() local
345 bitmapDrawable.inflate(mContext.getResources(), parser, attrs); in testInflate() local
353 bitmapDrawable.inflate(mContext.getResources(), parser, attrs); in testInflate() local
367 bitmapDrawable.inflate(mContext.getResources(), parser, null); in testInflate() local
DAnimationDrawableTest.java285 XmlResourceParser parser = getResourceParser(R.xml.anim_list_correct); in testInflate() local
325 XmlResourceParser parser = getResourceParser(R.drawable.animationdrawable); in testInflateWithNullParameters() local
358 XmlResourceParser parser = mResources.getXml(resId); in getResourceParser() local
/cts/tests/src/android/graphics/drawable/cts/
DDrawableTestUtils.java33 public static void skipCurrentTag(XmlPullParser parser) in skipCurrentTag()
52 public static AttributeSet getAttributeSet(XmlResourceParser parser, String searchedNodeName) in getAttributeSet()
/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/tests/widget/src/android/widget/cts/
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.java38 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.java37 XmlPullParser parser = mContext.getResources().getLayout(R.layout.absolute_layout); in getAttributeSet() local
DAbsListView_LayoutParamsTest.java37 XmlPullParser parser = mContext.getResources().getXml(R.layout.abslistview_layout); in setUp() local
DAnalogClockTest.java42 XmlPullParser parser = getActivity().getResources().getXml(R.layout.analogclock); in setUp() local
/cts/tests/SignatureTest/src/android/tests/sigtest/
DSimpleSignatureTest.java122 private void beginDocument(XmlPullParser parser, String firstElementName) in beginDocument()
141 private void start(XmlPullParser parser) throws XmlPullParserException, IOException { in start()
211 private JDiffField loadFieldInfo(String className, XmlPullParser parser) { in loadFieldInfo()
225 private JDiffMethod loadMethodInfo(String className, XmlPullParser parser) { in loadMethodInfo()
239 private JDiffConstructor loadConstructorInfo(XmlPullParser parser, in loadConstructorInfo()
254 private JDiffClassDescription loadClassInfo(XmlPullParser parser, in loadClassInfo()
316 private static int jdiffModifierToReflectionFormat(String name, XmlPullParser parser){ in jdiffModifierToReflectionFormat()
DSignatureTest.java81 …public static final void beginDocument(XmlPullParser parser, String firstElementName) throws XmlPu… in beginDocument()
100 public void start(XmlPullParser parser) throws XmlPullParserException, IOException { in start()
186 private JDiffField loadFieldInfo(String className, XmlPullParser parser) { in loadFieldInfo()
200 private JDiffMethod loadMethodInfo(String className, XmlPullParser parser) { in loadMethodInfo()
214 private JDiffConstructor loadConstructorInfo(XmlPullParser parser, in loadConstructorInfo()
229 private JDiffClassDescription loadClassInfo(XmlPullParser parser, in loadClassInfo()
291 private static int jdiffModifierToReflectionFormat(String name, XmlPullParser parser){ in jdiffModifierToReflectionFormat()
/cts/tests/tests/view/src/android/view/cts/
DLayoutInflaterTest.java97 XmlResourceParser parser = null; in getAttrs() local
265 XmlResourceParser parser = getContext().getResources().getLayout( in testInflate3() local
310 XmlResourceParser parser = getContext().getResources().getLayout( in testInflate4() local
388 XmlResourceParser parser = null; in getParser() local
/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