Home
last modified time | relevance | path

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

1234567891011

/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/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/tools/aapt2/format/binary/
DXmlFlattener_test.cpp93 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F()
104 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F()
113 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F()
151 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F()
304 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F()
305 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F()
311 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F()
317 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F()
324 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F()
330 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F()
[all …]
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotDeserializer.java91 parser.require(XmlPullParser.START_TAG, NAMESPACE, TAG_KEY_CHAIN_SNAPSHOT); in deserializeInternal()
95 if (parser.getEventType() != XmlPullParser.START_TAG) { in deserializeInternal()
161 parser.require(XmlPullParser.START_TAG, NAMESPACE, TAG_APPLICATION_KEYS); in readWrappedApplicationKeys()
164 if (parser.getEventType() != XmlPullParser.START_TAG) { in readWrappedApplicationKeys()
175 parser.require(XmlPullParser.START_TAG, NAMESPACE, TAG_APPLICATION_KEY); in readWrappedApplicationKey()
178 if (parser.getEventType() != XmlPullParser.START_TAG) { in readWrappedApplicationKey()
214 parser.require(XmlPullParser.START_TAG, NAMESPACE, TAG_KEY_CHAIN_PROTECTION_PARAMS_LIST); in readKeyChainProtectionParamsList()
218 if (parser.getEventType() != XmlPullParser.START_TAG) { in readKeyChainProtectionParamsList()
230 parser.require(XmlPullParser.START_TAG, NAMESPACE, TAG_KEY_CHAIN_PROTECTION_PARAMS); in readKeyChainProtectionParams()
234 if (parser.getEventType() != XmlPullParser.START_TAG) { in readKeyChainProtectionParams()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/util/
DXmlUtils.java34 while ((type = parser.next()) != parser.START_TAG && type != parser.END_DOCUMENT) { in beginDocument()
38 if (type != parser.START_TAG) { in beginDocument()
54 while ((type = parser.next()) != parser.START_TAG && type != parser.END_DOCUMENT) { in nextElement()
70 if (type == XmlPullParser.START_TAG && parser.getDepth() == outerDepth + 1) { in nextElementWithin()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/
DBridgeXmlBlockParserTest.java58 assertEquals(XmlPullParser.START_TAG, parser.next()); in testXmlBlockParser()
61 assertEquals(XmlPullParser.START_TAG, parser.next()); in testXmlBlockParser()
65 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.java155 parser.require(XmlPullParser.START_TAG, null, tagName); in readSimpleTag()
186 parser.require(XmlPullParser.START_TAG, null, tagName); in readTagList()
188 if (parser.getEventType() != XmlPullParser.START_TAG) { in readTagList()
220 } while (parsingEvent != XmlResourceParser.START_TAG); in readVendorConfigs()
257 parser.require(XmlPullParser.START_TAG, null, tagName); in readVendorConfig()
264 if (parser.getEventType() != XmlPullParser.START_TAG) { in readVendorConfig()
/frameworks/base/services/core/java/com/android/server/pm/
DSELinuxMMAC.java183 parser.require(XmlPullParser.START_TAG, null, "policy"); in readInstallPolicy()
186 if (parser.getEventType() != XmlPullParser.START_TAG) { in readInstallPolicy()
256 parser.require(XmlPullParser.START_TAG, null, "signer"); in readSignerOrThrow()
267 if (parser.getEventType() != XmlPullParser.START_TAG) { in readSignerOrThrow()
306 parser.require(XmlPullParser.START_TAG, null, "package"); in readPackageOrThrow()
310 if (parser.getEventType() != XmlPullParser.START_TAG) { in readPackageOrThrow()
327 parser.require(XmlPullParser.START_TAG, null, "cert"); in readCert()
333 parser.require(XmlPullParser.START_TAG, null, "seinfo"); in readSeinfo()
338 if (p.getEventType() != XmlPullParser.START_TAG) { in skip()
347 case XmlPullParser.START_TAG: in skip()
/frameworks/base/cmds/idmap2/tests/
DXmlParserTests.cpp58 ASSERT_EQ(root_iter->event(), XmlParser::Event::START_TAG); in TEST()
62 ASSERT_EQ(a_iter->event(), XmlParser::Event::START_TAG); in TEST()
66 ASSERT_EQ(c_iter->event(), XmlParser::Event::START_TAG); in TEST()
74 ASSERT_EQ(a_iter->event(), XmlParser::Event::START_TAG); in TEST()
/frameworks/opt/car/services/updatableServices/src/com/android/server/wm/
DCarDisplayCompatConfig.java140 parser.require(XmlPullParser.START_TAG, NAMESPACE, CONFIG); in readConfig()
142 if (parser.getEventType() != XmlPullParser.START_TAG) { in readConfig()
156 parser.require(XmlPullParser.START_TAG, NAMESPACE, SCALE); in readScale()
194 if (parser.getEventType() != XmlPullParser.START_TAG) { in skipTag()
203 case XmlPullParser.START_TAG: in skipTag()
/frameworks/base/services/permission/java/com/android/server/permission/access/util/
DBinaryXmlPullParserExtensions.kt53 XmlPullParser.START_TAG -> nextTagOrEnd() in forEachTag()
59 XmlPullParser.START_TAG -> { in forEachTag()
75 XmlPullParser.START_TAG -> nextTagOrEnd() in forEachTag()
111 XmlPullParser.START_TAG, in nextTagOrEnd()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DSimpleInflater.java92 while ((type = parser.next()) != XmlPullParser.START_TAG in inflate()
97 if (type != XmlPullParser.START_TAG) { in inflate()
150 if (type != XmlPullParser.START_TAG) { in rInflate()
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DWatchlistConfig.java120 parser.require(XmlPullParser.START_TAG, null, XmlTags.WATCHLIST_CONFIG); in reloadConfig()
121 while (parser.nextTag() == XmlPullParser.START_TAG) { in reloadConfig()
155 parser.require(XmlPullParser.START_TAG, null, tagName); in parseHashes()
157 while (parser.nextTag() == XmlPullParser.START_TAG) { in parseHashes()
158 parser.require(XmlPullParser.START_TAG, null, XmlTags.HASH); in parseHashes()
/frameworks/base/core/java/android/content/res/
DFontResourcesParser.java143 while ((type=parser.next()) != XmlPullParser.START_TAG in parse()
148 if (type != XmlPullParser.START_TAG) { in parse()
156 parser.require(XmlPullParser.START_TAG, null, "font-family"); in readFamilies()
214 if (parser.getEventType() != XmlPullParser.START_TAG) continue; in readFamily()
258 case XmlPullParser.START_TAG: in skip()
/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/
DUseCasePriorityHints.java141 parser.require(XmlPullParser.START_TAG, NS, "config"); in readUseCase()
143 if (parser.getEventType() != XmlPullParser.START_TAG) { in readUseCase()
179 if (parser.getEventType() != XmlPullParser.START_TAG) { in skip()
188 case XmlPullParser.START_TAG: in skip()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/pidfparser/pidf/
DPresence.java151 if (eventType == XmlPullParser.START_TAG) { in parse()
188 return (eventType == XmlPullParser.START_TAG && Tuple.ELEMENT_NAME.equals(name)) ? in isTupleElement()
193 return (eventType == XmlPullParser.START_TAG && Note.ELEMENT_NAME.equals(name)) ? in isNoteElement()
/frameworks/base/core/tests/coretests/src/android/util/
DXmlTest.java24 import static org.xmlpull.v1.XmlPullParser.START_TAG;
94 assertNext(in, START_TAG, "tag"); in doLargeValues()
276 assertNext(in, START_TAG, "one"); in doVerifyRead()
279 assertNext(in, START_TAG, "two"); in doVerifyRead()
320 assertNext(in, START_TAG, "three"); in doVerifyRead()
326 assertNext(in, START_TAG, "four"); in doVerifyRead()
/frameworks/base/services/companion/java/com/android/server/companion/utils/
DDataStoreUtils.java20 import static org.xmlpull.v1.XmlPullParser.START_TAG;
50 return parser.getEventType() == START_TAG && tag.equals(parser.getName()); in isStartOfTag()
/frameworks/libs/modules-utils/java/com/android/modules/utils/
DBinaryXmlPullParser.java145 case START_TAG: in next()
175 case XmlPullParser.START_TAG: in nextToken()
278 case XmlPullParser.START_TAG: { in consumeToken()
372 if (getEventType() != START_TAG) { in nextText()
396 if (eventType != START_TAG && eventType != END_TAG) { in nextTag()
556 case START_TAG: in getNamespace()
579 case START_TAG: in isEmptyElementTag()
/frameworks/base/apct-tests/perftests/core/src/android/content/res/
DXmlBlockBenchmark.java22 import static org.xmlpull.v1.XmlPullParser.START_TAG;
86 if (parseState == START_TAG) { in safeNext()
181 if (parseState == START_TAG) { in benchmarkAttributeFunction()
289 } else if (parseState == START_TAG) { in parseOneXmlDocument()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceProviderPermissions.java103 while (parser.getEventType() != XmlPullParser.START_TAG in createFrom()
113 if (parser.getEventType() == XmlPullParser.START_TAG in createFrom()
183 if (parser.getEventType() == XmlPullParser.START_TAG in readFrom()
/frameworks/base/graphics/java/android/graphics/
DFontListParser.java167 parser.require(XmlPullParser.START_TAG, null, "familyset"); in readFamilies()
169 if (parser.getEventType() != XmlPullParser.START_TAG) continue; in readFamilies()
268 if (parser.getEventType() != XmlPullParser.START_TAG) continue; in readFamily()
333 if (parser.getEventType() != XmlPullParser.START_TAG) continue; in readNamedFamilyList()
382 if (parser.getEventType() != XmlPullParser.START_TAG) continue; in readFont()
492 case XmlPullParser.START_TAG: in skip()
/frameworks/base/core/java/com/android/internal/util/
DXmlUtils.java1058 if (eventType == parser.START_TAG) { in readThisMapXml()
1086 if (eventType == parser.START_TAG) { in readThisArrayMapXml()
1143 if (eventType == parser.START_TAG) { in readThisListXml()
1208 if (eventType == parser.START_TAG) { in readThisSetXml()
1303 if (eventType == parser.START_TAG) { in readThisIntArrayXml()
1354 if (eventType == parser.START_TAG) { in readThisLongArrayXml()
1401 if (eventType == parser.START_TAG) { in readThisDoubleArrayXml()
1448 if (eventType == parser.START_TAG) { in readThisStringArrayXml()
1495 if (eventType == parser.START_TAG) { in readThisBooleanArrayXml()
1538 if (eventType == parser.START_TAG) { in readValueXml()
[all …]
/frameworks/base/core/java/android/os/
DUserBatteryConsumer.java89 if (eventType != XmlPullParser.START_TAG in createFromXml()
96 if (eventType == XmlPullParser.START_TAG) { in createFromXml()
/frameworks/base/services/core/java/com/android/server/app/
DGameManagerSettings.java229 while ((type = parser.next()) != XmlPullParser.START_TAG in readPersistentDataLocked()
233 if (type != XmlPullParser.START_TAG) { in readPersistentDataLocked()
246 if (type == XmlPullParser.START_TAG && TAG_PACKAGE.equals(tagName)) { in readPersistentDataLocked()
287 if (type == XmlPullParser.START_TAG && TAG_GAME_MODE_CONFIG.equals(tagName)) { in readPackage()

1234567891011