/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/ |
D | StackOverflowXmlParser.java | 52 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/ |
D | LayoutParserWrapperTest.java | 31 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/ |
D | XmlFlattener_test.cpp | 93 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/ |
D | KeyChainSnapshotDeserializer.java | 91 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/ |
D | XmlUtils.java | 34 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/ |
D | BridgeXmlBlockParserTest.java | 58 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/ |
D | VendorConfig.java | 155 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/ |
D | SELinuxMMAC.java | 181 parser.require(XmlPullParser.START_TAG, null, "policy"); in readInstallPolicy() 184 if (parser.getEventType() != XmlPullParser.START_TAG) { in readInstallPolicy() 254 parser.require(XmlPullParser.START_TAG, null, "signer"); in readSignerOrThrow() 265 if (parser.getEventType() != XmlPullParser.START_TAG) { in readSignerOrThrow() 304 parser.require(XmlPullParser.START_TAG, null, "package"); in readPackageOrThrow() 308 if (parser.getEventType() != XmlPullParser.START_TAG) { in readPackageOrThrow() 325 parser.require(XmlPullParser.START_TAG, null, "cert"); in readCert() 331 parser.require(XmlPullParser.START_TAG, null, "seinfo"); in readSeinfo() 336 if (p.getEventType() != XmlPullParser.START_TAG) { in skip() 345 case XmlPullParser.START_TAG: in skip()
|
/frameworks/base/cmds/idmap2/tests/ |
D | XmlParserTests.cpp | 58 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/base/services/permission/java/com/android/server/permission/access/util/ |
D | BinaryXmlPullParserExtensions.kt | 53 XmlPullParser.START_DOCUMENT, XmlPullParser.START_TAG -> nextTagOrEnd() in forEachTag() 59 XmlPullParser.START_TAG -> { in forEachTag() 75 XmlPullParser.START_TAG -> nextTagOrEnd() in forEachTag() 110 XmlPullParser.START_TAG, XmlPullParser.END_TAG, XmlPullParser.END_DOCUMENT -> in nextTagOrEnd()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
D | SimpleInflater.java | 92 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/ |
D | WatchlistConfig.java | 120 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/ |
D | FontResourcesParser.java | 143 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/ |
D | UseCasePriorityHints.java | 141 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/base/services/companion/java/com/android/server/companion/ |
D | DataStoreUtils.java | 20 import static org.xmlpull.v1.XmlPullParser.START_TAG; 47 return parser.getEventType() == START_TAG && tag.equals(parser.getName()); in isStartOfTag()
|
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/pidfparser/pidf/ |
D | Presence.java | 151 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/ |
D | XmlTest.java | 24 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/graphics/java/android/graphics/ |
D | FontListParser.java | 162 parser.require(XmlPullParser.START_TAG, null, "familyset"); in readFamilies() 164 if (parser.getEventType() != XmlPullParser.START_TAG) continue; in readFamilies() 261 if (parser.getEventType() != XmlPullParser.START_TAG) continue; in readFamily() 326 if (parser.getEventType() != XmlPullParser.START_TAG) continue; in readNamedFamilyList() 374 if (parser.getEventType() != XmlPullParser.START_TAG) continue; in readFont() 471 case XmlPullParser.START_TAG: in skip()
|
/frameworks/libs/modules-utils/java/com/android/modules/utils/ |
D | BinaryXmlPullParser.java | 145 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/ |
D | XmlBlockBenchmark.java | 22 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/ |
D | SliceProviderPermissions.java | 103 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/core/java/com/android/internal/util/ |
D | XmlUtils.java | 1057 if (eventType == parser.START_TAG) { in readThisMapXml() 1085 if (eventType == parser.START_TAG) { in readThisArrayMapXml() 1142 if (eventType == parser.START_TAG) { in readThisListXml() 1207 if (eventType == parser.START_TAG) { in readThisSetXml() 1302 if (eventType == parser.START_TAG) { in readThisIntArrayXml() 1353 if (eventType == parser.START_TAG) { in readThisLongArrayXml() 1400 if (eventType == parser.START_TAG) { in readThisDoubleArrayXml() 1447 if (eventType == parser.START_TAG) { in readThisStringArrayXml() 1494 if (eventType == parser.START_TAG) { in readThisBooleanArrayXml() 1537 if (eventType == parser.START_TAG) { in readValueXml() [all …]
|
/frameworks/base/core/java/android/os/ |
D | UserBatteryConsumer.java | 88 if (eventType != XmlPullParser.START_TAG in createFromXml() 95 if (eventType == XmlPullParser.START_TAG) { in createFromXml()
|
/frameworks/base/services/core/java/com/android/server/app/ |
D | GameManagerSettings.java | 229 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() 286 if (type == XmlPullParser.START_TAG && TAG_GAME_MODE_CONFIG.equals(tagName)) { in readPackage()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiUtils.java | 591 if (parser.getEventType() != XmlPullParser.START_TAG) { in skip() 600 case XmlPullParser.START_TAG: in skip() 611 parser.require(XmlPullParser.START_TAG, NS, "config"); in readDevices() 613 if (parser.getEventType() != XmlPullParser.START_TAG) { in readDevices() 642 parser.require(XmlPullParser.START_TAG, NS, "device"); in readDeviceConfig() 644 if (parser.getEventType() != XmlPullParser.START_TAG) { in readDeviceConfig()
|