/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/base/tools/aapt2/format/binary/ |
D | XmlFlattener_test.cpp | 94 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F() 105 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F() 114 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F() 152 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() 306 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F() 312 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F() 318 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F() 325 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F() 331 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F() [all …]
|
/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/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/ |
D | KeyChainSnapshotDeserializer.java | 90 parser.require(XmlPullParser.START_TAG, NAMESPACE, TAG_KEY_CHAIN_SNAPSHOT); in deserializeInternal() 94 if (parser.getEventType() != XmlPullParser.START_TAG) { in deserializeInternal() 160 parser.require(XmlPullParser.START_TAG, NAMESPACE, TAG_APPLICATION_KEYS); in readWrappedApplicationKeys() 163 if (parser.getEventType() != XmlPullParser.START_TAG) { in readWrappedApplicationKeys() 174 parser.require(XmlPullParser.START_TAG, NAMESPACE, TAG_APPLICATION_KEY); in readWrappedApplicationKey() 177 if (parser.getEventType() != XmlPullParser.START_TAG) { in readWrappedApplicationKey() 213 parser.require(XmlPullParser.START_TAG, NAMESPACE, TAG_KEY_CHAIN_PROTECTION_PARAMS_LIST); in readKeyChainProtectionParamsList() 217 if (parser.getEventType() != XmlPullParser.START_TAG) { in readKeyChainProtectionParamsList() 229 parser.require(XmlPullParser.START_TAG, NAMESPACE, TAG_KEY_CHAIN_PROTECTION_PARAMS); in readKeyChainProtectionParams() 233 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/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/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/ |
D | BridgeXmlBlockParserTest.java | 58 assertEquals(XmlPullParser.START_TAG, parser.next()); in testXmlBlockParser() 63 assertEquals(XmlPullParser.START_TAG, parser.next()); in testXmlBlockParser() 70 assertEquals(XmlPullParser.START_TAG, parser.next()); in testXmlBlockParser() 76 assertEquals(XmlPullParser.START_TAG, parser.next()); in testXmlBlockParser()
|
/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/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/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() 213 if (parser.getEventType() != XmlPullParser.START_TAG) continue; in readFamily() 257 case XmlPullParser.START_TAG: in skip()
|
/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/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/core/tests/coretests/src/android/util/ |
D | XmlTest.java | 24 import static org.xmlpull.v1.XmlPullParser.START_TAG; 92 assertNext(in, START_TAG, "tag"); in doLargeValues() 274 assertNext(in, START_TAG, "one"); in doVerifyRead() 277 assertNext(in, START_TAG, "two"); in doVerifyRead() 318 assertNext(in, START_TAG, "three"); in doVerifyRead() 324 assertNext(in, START_TAG, "four"); in doVerifyRead()
|
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/pidfparser/pidf/ |
D | Presence.java | 144 if (eventType == XmlPullParser.START_TAG) { in parse() 168 return (eventType == XmlPullParser.START_TAG && Tuple.ELEMENT_NAME.equals(name)) ? in isTupleElement() 173 return (eventType == XmlPullParser.START_TAG && Note.ELEMENT_NAME.equals(name)) ? in isNoteElement()
|
/frameworks/base/graphics/java/android/graphics/ |
D | FontListParser.java | 138 parser.require(XmlPullParser.START_TAG, null, "familyset"); in readFamilies() 140 if (parser.getEventType() != XmlPullParser.START_TAG) continue; in readFamilies() 188 if (parser.getEventType() != XmlPullParser.START_TAG) continue; in readFamily() 238 if (parser.getEventType() != XmlPullParser.START_TAG) continue; in readFont() 335 case XmlPullParser.START_TAG: in skip()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | BinaryXmlPullParser.java | 143 case START_TAG: in next() 173 case XmlPullParser.START_TAG: in nextToken() 276 case XmlPullParser.START_TAG: { in consumeToken() 370 if (getEventType() != START_TAG) { in nextText() 394 if (eventType != START_TAG && eventType != END_TAG) { in nextTag() 554 case START_TAG: in getNamespace() 577 case START_TAG: in isEmptyElementTag()
|
D | XmlUtils.java | 1056 if (eventType == parser.START_TAG) { in readThisMapXml() 1084 if (eventType == parser.START_TAG) { in readThisArrayMapXml() 1141 if (eventType == parser.START_TAG) { in readThisListXml() 1206 if (eventType == parser.START_TAG) { in readThisSetXml() 1301 if (eventType == parser.START_TAG) { in readThisIntArrayXml() 1352 if (eventType == parser.START_TAG) { in readThisLongArrayXml() 1399 if (eventType == parser.START_TAG) { in readThisDoubleArrayXml() 1446 if (eventType == parser.START_TAG) { in readThisStringArrayXml() 1493 if (eventType == parser.START_TAG) { in readThisBooleanArrayXml() 1536 if (eventType == parser.START_TAG) { in readValueXml() [all …]
|
/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/android/os/ |
D | AggregateBatteryConsumer.java | 98 if (eventType != XmlPullParser.START_TAG || !parser.getName().equals( in parseXml() 109 if (eventType == XmlPullParser.START_TAG) { in parseXml()
|
D | UserBatteryConsumer.java | 114 if (eventType != XmlPullParser.START_TAG in createFromXml() 121 if (eventType == XmlPullParser.START_TAG) { in createFromXml()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiUtils.java | 582 if (parser.getEventType() != XmlPullParser.START_TAG) { in skip() 591 case XmlPullParser.START_TAG: in skip() 602 parser.require(XmlPullParser.START_TAG, NS, "config"); in readDevices() 604 if (parser.getEventType() != XmlPullParser.START_TAG) { in readDevices() 633 parser.require(XmlPullParser.START_TAG, NS, "device"); in readDeviceConfig() 635 if (parser.getEventType() != XmlPullParser.START_TAG) { in readDeviceConfig()
|
/frameworks/base/core/java/android/nfc/cardemulation/ |
D | NfcFServiceInfo.java | 119 while (eventType != XmlPullParser.START_TAG && in NfcFServiceInfo() 149 if (eventType == XmlPullParser.START_TAG && in NfcFServiceInfo() 161 } else if (eventType == XmlPullParser.START_TAG && in NfcFServiceInfo() 174 } else if (eventType == XmlPullParser.START_TAG && tagName.equals("t3tPmm-filter") in NfcFServiceInfo()
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
D | SimpleInflater.java | 72 if (eventType == XmlPullParser.START_TAG) { in parseMenu() 88 case XmlPullParser.START_TAG: in parseMenu()
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | FontCustomizationParser.java | 111 parser.require(XmlPullParser.START_TAG, null, "fonts-modification"); in readFamilies() 113 if (parser.getEventType() != XmlPullParser.START_TAG) continue; in readFamilies()
|