Home
last modified time | relevance | path

Searched refs:START_TAG (Results 1 – 25 of 151) sorted by relevance

1234567

/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DStackOverflowXmlParser.java52 parser.require(XmlPullParser.START_TAG, ns, "feed"); in readFeed()
54 if (parser.getEventType() != XmlPullParser.START_TAG) { in readFeed()
86 parser.require(XmlPullParser.START_TAG, ns, "entry"); in readEntry()
91 if (parser.getEventType() != XmlPullParser.START_TAG) { in readEntry()
110 parser.require(XmlPullParser.START_TAG, ns, "title"); in readTitle()
119 parser.require(XmlPullParser.START_TAG, ns, "link"); in readLink()
134 parser.require(XmlPullParser.START_TAG, ns, "summary"); in readSummary()
154 if (parser.getEventType() != XmlPullParser.START_TAG) { in skip()
163 case XmlPullParser.START_TAG: in skip()
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/impl/
DLayoutParserWrapperTest.java31 import static org.xmlpull.v1.XmlPullParser.START_TAG;
40 assertEquals("Expected START_TAG", START_TAG, parser.next()); in testDataBindingLayout()
42 for (int next = parser.next(); next != START_TAG && next != END_DOCUMENT; in testDataBindingLayout()
44 assertEquals("Expected START_TAG", START_TAG, parser.getEventType()); in testDataBindingLayout()
65 assertEquals("Expected START_TAG", START_TAG, parser.next()); in testNonDataBindingLayout()
67 for (int next = parser.next(); next != START_TAG && next != END_DOCUMENT; in testNonDataBindingLayout()
69 assertEquals("Expected START_TAG", START_TAG, parser.getEventType()); in testNonDataBindingLayout()
/frameworks/base/services/core/java/com/android/server/pm/
DSELinuxMMAC.java103 parser.require(XmlPullParser.START_TAG, null, "policy"); in readInstallPolicy()
106 if (parser.getEventType() != XmlPullParser.START_TAG) { in readInstallPolicy()
174 parser.require(XmlPullParser.START_TAG, null, "signer"); in readSignerOrThrow()
185 if (parser.getEventType() != XmlPullParser.START_TAG) { in readSignerOrThrow()
224 parser.require(XmlPullParser.START_TAG, null, "package"); in readPackageOrThrow()
228 if (parser.getEventType() != XmlPullParser.START_TAG) { in readPackageOrThrow()
245 parser.require(XmlPullParser.START_TAG, null, "cert"); in readCert()
251 parser.require(XmlPullParser.START_TAG, null, "seinfo"); in readSeinfo()
256 if (p.getEventType() != XmlPullParser.START_TAG) { in skip()
265 case XmlPullParser.START_TAG: in skip()
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/
DBridgeXmlBlockParserTest.java51 assertEquals(XmlPullParser.START_TAG, parser.next()); in testXmlBlockParser()
56 assertEquals(XmlPullParser.START_TAG, parser.next()); in testXmlBlockParser()
63 assertEquals(XmlPullParser.START_TAG, parser.next()); in testXmlBlockParser()
69 assertEquals(XmlPullParser.START_TAG, parser.next()); in testXmlBlockParser()
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/mdnsFilter/
DVendorConfig.java154 parser.require(XmlPullParser.START_TAG, null, tagName); in readSimpleTag()
185 parser.require(XmlPullParser.START_TAG, null, tagName); in readTagList()
187 if (parser.getEventType() != XmlPullParser.START_TAG) { in readTagList()
219 } while (parsingEvent != XmlResourceParser.START_TAG); in readVendorConfigs()
256 parser.require(XmlPullParser.START_TAG, null, tagName); in readVendorConfig()
263 if (parser.getEventType() != XmlPullParser.START_TAG) { in readVendorConfig()
/frameworks/base/graphics/java/android/graphics/
DFontListParser.java59 parser.require(XmlPullParser.START_TAG, null, "familyset"); in readFamilies()
61 if (parser.getEventType() != XmlPullParser.START_TAG) continue; in readFamilies()
82 if (parser.getEventType() != XmlPullParser.START_TAG) continue; in readFamily()
119 if (parser.getEventType() != XmlPullParser.START_TAG) continue; in readFont()
159 case XmlPullParser.START_TAG: in skip()
/frameworks/base/tools/aapt2/flatten/
DXmlFlattener_test.cpp94 ASSERT_EQ(android::ResXMLTree::START_TAG, tree.next()); in TEST_F()
107 ASSERT_EQ(android::ResXMLTree::START_TAG, tree.next()); in TEST_F()
121 ASSERT_EQ(android::ResXMLTree::START_TAG, tree.next()); in TEST_F()
172 ASSERT_EQ(tree.next(), android::ResXMLTree::START_TAG); in TEST_F()
206 while (tree.next() != android::ResXMLTree::START_TAG) { in TEST_F()
221 while (tree.next() != android::ResXMLTree::START_TAG) { in TEST_F()
/frameworks/base/core/java/android/content/res/
DFontResourcesParser.java118 while ((type=parser.next()) != XmlPullParser.START_TAG in parse()
123 if (type != XmlPullParser.START_TAG) { in parse()
131 parser.require(XmlPullParser.START_TAG, null, "font-family"); in readFamilies()
180 if (parser.getEventType() != XmlPullParser.START_TAG) continue; in readFamily()
221 case XmlPullParser.START_TAG: in skip()
DXmlBlock.java200 return mEventType == START_TAG ? nativeGetAttributeCount(mParseState) : -1; in getAttributeCount()
252 case START_TAG: in next()
276 if(getEventType() != START_TAG) { in nextText()
304 if (eventType != START_TAG && eventType != END_TAG) { in nextTag()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DSimpleInflater.java95 while ((type = parser.next()) != XmlPullParser.START_TAG in inflate()
100 if (type != XmlPullParser.START_TAG) { in inflate()
152 if (type != XmlPullParser.START_TAG) { in rInflate()
/frameworks/support/compat/java/android/support/v4/content/res/
DFontResourcesParserCompat.java146 while ((type = parser.next()) != XmlPullParser.START_TAG in parse()
151 if (type != XmlPullParser.START_TAG) { in parse()
159 parser.require(XmlPullParser.START_TAG, null, "font-family"); in readFamilies()
192 if (parser.getEventType() != XmlPullParser.START_TAG) continue; in readFamily()
261 case XmlPullParser.START_TAG: in skip()
/frameworks/base/core/java/com/android/internal/util/
DXmlUtils.java829 if (eventType == parser.START_TAG) { in readThisMapXml()
858 if (eventType == parser.START_TAG) { in readThisArrayMapXml()
915 if (eventType == parser.START_TAG) { in readThisListXml()
980 if (eventType == parser.START_TAG) { in readThisSetXml()
1100 if (eventType == parser.START_TAG) { in readThisIntArrayXml()
1167 if (eventType == parser.START_TAG) { in readThisLongArrayXml()
1227 if (eventType == parser.START_TAG) { in readThisDoubleArrayXml()
1287 if (eventType == parser.START_TAG) { in readThisStringArrayXml()
1347 if (eventType == parser.START_TAG) { in readThisBooleanArrayXml()
1396 if (eventType == parser.START_TAG) { in readValueXml()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/content/res/
DAppCompatColorStateListInflater.java58 while ((type = parser.next()) != XmlPullParser.START_TAG in createFromXml()
63 if (type != XmlPullParser.START_TAG) { in createFromXml()
108 if (type != XmlPullParser.START_TAG || depth > innerDepth in inflate()
/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreferenceInflater.java148 } while (type != XmlPullParser.START_TAG && type != XmlPullParser.END_DOCUMENT); in inflate()
150 if (type != XmlPullParser.START_TAG) { in inflate()
323 if (type != XmlPullParser.START_TAG) { in rInflate()
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DSimpleInflater.java72 if (eventType == XmlPullParser.START_TAG) { in parseMenu()
88 case XmlPullParser.START_TAG: in parseMenu()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayoutParserWrapper.java71 case START_TAG: in peekTillLayoutStart()
110 if (mEventType == START_TAG) { in peekNext()
178 if (mEventType != START_TAG) { in getAttributeValue()
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
DAnimatedVectorDrawableDupPerf.java69 while ((type=parser.next()) != XmlPullParser.START_TAG && in create()
73 if (type != XmlPullParser.START_TAG) { in create()
/frameworks/base/core/java/android/preference/
DGenericInflater.java301 while ((type = parser.next()) != parser.START_TAG in inflate()
306 if (type != parser.START_TAG) { in inflate()
470 if (type != parser.START_TAG) { in rInflate()
/frameworks/base/core/java/android/nfc/cardemulation/
DNfcFServiceInfo.java109 while (eventType != XmlPullParser.START_TAG && in NfcFServiceInfo()
138 if (eventType == XmlPullParser.START_TAG && in NfcFServiceInfo()
150 } else if (eventType == XmlPullParser.START_TAG && in NfcFServiceInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DShortcutParser.java83 if (type != XmlPullParser.START_TAG) { in getShortcuts()
119 if (type != XmlPullParser.START_TAG) { in parseShortcut()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DMetaDataTest.java64 while ((type = xml.next()) != XmlPullParser.START_TAG in checkMetaData()
67 assertEquals(XmlPullParser.START_TAG, type); in checkMetaData()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeXmlBlockParser.java327 case START_TAG: in eventTypeToString()
362 if (getEventType() != START_TAG) { in nextText()
393 if (eventType != START_TAG && eventType != END_TAG) { in nextTag()
/frameworks/support/transition/src/android/support/transition/
DTransitionInflater.java127 if (type != XmlPullParser.START_TAG) { in createTransitionFromXml()
230 if (type != XmlPullParser.START_TAG) { in getTargetIds()
290 if (type != XmlPullParser.START_TAG) { in createTransitionManagerFromXml()
/frameworks/base/core/java/android/view/animation/
DAnimationUtils.java142 if (type != XmlPullParser.START_TAG) { in createAnimationFromXml()
219 if (type != XmlPullParser.START_TAG) { in createLayoutAnimationFromXml()
368 if (type != XmlPullParser.START_TAG) { in createInterpolatorFromXml()
/frameworks/base/graphics/java/android/graphics/drawable/
DLevelListDrawable.java107 if (type != XmlPullParser.START_TAG) { in inflateChildElements()
138 if (type != XmlPullParser.START_TAG) { in inflateChildElements()

1234567