/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/ |
D | KeyChainSnapshotDeserializer.java | 88 TypedXmlPullParser parser = Xml.resolvePullParser(inputStream); in deserializeInternal() local 159 private static List<WrappedApplicationKey> readWrappedApplicationKeys(TypedXmlPullParser parser) in readWrappedApplicationKeys() 173 private static WrappedApplicationKey readWrappedApplicationKey(TypedXmlPullParser parser) in readWrappedApplicationKey() 212 TypedXmlPullParser parser) throws IOException, XmlPullParserException, in readKeyChainProtectionParamsList() 228 private static KeyChainProtectionParams readKeyChainProtectionParams(TypedXmlPullParser parser) in readKeyChainProtectionParams() 272 private static KeyDerivationParams readKeyDerivationParams(TypedXmlPullParser parser) in readKeyDerivationParams() 334 private static int readIntTag(TypedXmlPullParser parser, String tagName) in readIntTag() 348 private static long readLongTag(TypedXmlPullParser parser, String tagName) in readLongTag() 362 private static String readStringTag(TypedXmlPullParser parser, String tagName) in readStringTag() 370 private static byte[] readBlobTag(TypedXmlPullParser parser, String tagName) in readBlobTag() [all …]
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/ |
D | RenderTests.java | 103 LayoutPullParser parser = LayoutPullParser.createFromString( in testActivityOnOldTheme() local 140 LayoutPullParser parser = createParserFromPath("four_corners.xml"); in testTranslucentBars() local 168 LayoutPullParser parser = createParserFromPath("allwidgets.xml"); in testAllWidgets() local 188 LayoutPullParser parser = createParserFromPath("allwidgets.xml"); in testAllWidgetsTablet() local 224 LayoutPullParser parser = LayoutPullParser.createFromString(simpleActivity); in testActivityActionBar() local 271 LayoutPullParser parser = LayoutPullParser.createFromString( in testOnApplyInsetsCall() local 301 LayoutPullParser parser = createParserFromPath("expand_vert_layout.xml"); in testExpand() local 343 LayoutPullParser parser = createParserFromPath("expand_vert_layout.xml"); in testShrink() local 398 LayoutPullParser parser = LayoutPullParser.createFromString(layout); in testVectorAnimation() local 430 LayoutPullParser parser = LayoutPullParser.createFromString( in testVectorDrawable() local [all …]
|
D | ShadowsRenderTests.java | 35 LayoutPullParser parser = createParserFromPath("shadows_test.xml"); in testRectangleShadow() local 51 LayoutPullParser parser = createParserFromPath("shadows_rounded_edge_test.xml"); in testRoundedEdgeRectangle() local 66 LayoutPullParser parser = createParserFromPath("large_view_shadows_test.xml"); in testLargeView() local 82 LayoutPullParser parser = createParserFromPath("shadow_sizes_test.xml"); in testShadowSizes() local 97 LayoutPullParser parser = createParserFromPath("shadows_scrollview.xml"); in testWidgetWithScroll() local
|
/frameworks/base/tests/UsbTests/src/com/android/server/usb/ |
D | UsbDescriptorParserTests.java | 66 UsbDescriptorParser parser = new UsbDescriptorParser("test-usb-addr", descriptors); in loadParser() local 87 UsbDescriptorParser parser = loadParser(R.raw.usbdescriptors_headset); in testHeadsetDescriptorParser() local 113 UsbDescriptorParser parser = loadParser(R.raw.usbdescriptors_headphones); in testHeadphoneDescriptorParser() local 139 UsbDescriptorParser parser = loadParser(R.raw.usbdescriptors_lineout); in testLineoutDescriptorParser() local 161 UsbDescriptorParser parser = loadParser(R.raw.usbdescriptors_nothing); in testNothingDescriptorParser() local 183 UsbDescriptorParser parser = loadParser(R.raw.usbdescriptors_massstorage); in testMassStorageDescriptorParser() local
|
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/ |
D | StackOverflowXmlParser.java | 39 XmlPullParser parser = Xml.newPullParser(); in parse() local 49 private List<Entry> readFeed(XmlPullParser parser) throws XmlPullParserException, IOException { in readFeed() 85 private Entry readEntry(XmlPullParser parser) throws XmlPullParserException, IOException { in readEntry() 109 private String readTitle(XmlPullParser parser) throws IOException, XmlPullParserException { in readTitle() 117 private String readLink(XmlPullParser parser) throws IOException, XmlPullParserException { in readLink() 133 private String readSummary(XmlPullParser parser) throws IOException, XmlPullParserException { in readSummary() 141 private String readText(XmlPullParser parser) throws IOException, XmlPullParserException { in readText() 153 private void skip(XmlPullParser parser) throws XmlPullParserException, IOException { in skip()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceUserTypeTest.java | 319 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_profile); in testUserTypeFactoryCustomize_profile() local 407 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_full); in testUserTypeFactoryCustomize_full() local 436 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_eraseArray); in testUserTypeFactoryCustomize_eraseArray() local 458 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_illegalOemName); in testUserTypeFactoryCustomize_illegalOemName() local 479 XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_illegalUserBaseType); in testUserTypeFactoryCustomize_illegalUserBaseType() local 488 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_eraseArray); in testUserTypeFactoryVersion_versionMissing() local 494 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_profile); in testUserTypeFactoryVersion_versionPresent() local 503 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_profile); in testUserTypeFactoryUpgrades_validUpgrades() local 522 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_full); in testUserTypeFactoryUpgrades_illegalBaseTypeUpgrade() local
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | SnoozeHelperTest.java | 99 TypedXmlPullParser parser = Xml.newFastPullParser(); in testWriteXMLformattedCorrectly_testReadingCorrectTime() local 118 TypedXmlPullParser parser = Xml.newFastPullParser(); in testWriteXML_afterReading_noNPE() local 141 TypedXmlPullParser parser = Xml.newFastPullParser(); in testWriteXMLformattedCorrectly_testCorrectContextURI() local 163 TypedXmlPullParser parser = Xml.newFastPullParser(); in testReadValidSnoozedFromCorrectly_timeDeadline() local 187 TypedXmlPullParser parser = Xml.newFastPullParser(); in testReadExpiredSnoozedNotification() local 220 TypedXmlPullParser parser = Xml.newFastPullParser(); in testScheduleRepostsForPersistedNotifications() local 255 TypedXmlPullParser parser = Xml.newFastPullParser(); in testLongTagPersistedNotification() local
|
D | NotificationAssistantsTest.java | 146 final TypedXmlPullParser parser = Xml.newFastPullParser(); in testReadXml_userDisabled() local 169 final TypedXmlPullParser parser = Xml.newFastPullParser(); in testReadXml_upgradeUserSet() local 189 final TypedXmlPullParser parser = Xml.newFastPullParser(); in testReadXml_upgradeUserSet_preS_VersionThree() local 210 final TypedXmlPullParser parser = Xml.newFastPullParser(); in testReadXml_upgradeUserSet_preS_VersionOne() local 230 final TypedXmlPullParser parser = Xml.newFastPullParser(); in testReadXml_upgradeUserSet_preS_noUserSet() local 250 final TypedXmlPullParser parser = Xml.newFastPullParser(); in testReadXml_upgradeUserSet_preS_noUserSet_diffDefault() local 275 final TypedXmlPullParser parser = Xml.newFastPullParser(); in testReadXml_multiApproved() local 293 TypedXmlPullParser parser = Xml.newFastPullParser(); in testXmlUpgradeExistingApprovedComponents() local
|
/frameworks/base/core/java/android/view/animation/ |
D | AnimationUtils.java | 137 XmlResourceParser parser = null; in loadAnimation() local 149 private static Animation createAnimationFromXml(Context c, XmlPullParser parser) in createAnimationFromXml() 157 Context c, XmlPullParser parser, AnimationSet parent, AttributeSet attrs) in createAnimationFromXml() 214 XmlResourceParser parser = null; in loadLayoutAnimation() local 227 Context c, XmlPullParser parser) in createLayoutAnimationFromXml() 234 Context c, XmlPullParser parser, AttributeSet attrs) in createLayoutAnimationFromXml() 331 XmlResourceParser parser = null; in loadInterpolator() local 355 XmlResourceParser parser = null; in loadInterpolator() local 371 Resources res, Theme theme, XmlPullParser parser) in createInterpolatorFromXml()
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlPullParser.cpp | 218 XmlPullParser* parser = reinterpret_cast<XmlPullParser*>(user_data); in StartNamespaceHandler() local 230 XmlPullParser* parser = reinterpret_cast<XmlPullParser*>(user_data); in StartElementHandler() local 254 XmlPullParser* parser = reinterpret_cast<XmlPullParser*>(user_data); in CharacterDataHandler() local 262 XmlPullParser* parser = reinterpret_cast<XmlPullParser*>(user_data); in EndElementHandler() local 275 XmlPullParser* parser = reinterpret_cast<XmlPullParser*>(user_data); in EndNamespaceHandler() local 286 XmlPullParser* parser = reinterpret_cast<XmlPullParser*>(user_data); in CommentDataHandler() local 294 XmlPullParser* parser = reinterpret_cast<XmlPullParser*>(user_data); in StartCdataSectionHandler() local 302 XmlPullParser* parser = reinterpret_cast<XmlPullParser*>(user_data); in EndCdataSectionHandler() local 309 std::optional<StringPiece> FindAttribute(const XmlPullParser* parser, StringPiece name) { in FindAttribute() 317 std::optional<StringPiece> FindNonEmptyAttribute(const XmlPullParser* parser, StringPiece name) { in FindNonEmptyAttribute()
|
/frameworks/base/core/java/android/security/net/config/ |
D | XmlConfigSource.java | 82 try (XmlResourceParser parser = mContext.getResources().getXml(mResourceId)) { in ensureInitialized() 94 private Pin parsePin(XmlResourceParser parser) in parsePin() 123 private PinSet parsePinSet(XmlResourceParser parser) in parsePinSet() 154 private Domain parseDomain(XmlResourceParser parser, Set<String> seenDomains) in parseDomain() 174 private CertificatesEntryRef parseCertificatesEntry(XmlResourceParser parser, in parseCertificatesEntry() 202 private Collection<CertificatesEntryRef> parseTrustAnchors(XmlResourceParser parser, in parseTrustAnchors() 219 XmlResourceParser parser, Set<String> seenDomains, in parseConfigEntry() 306 private void parseNetworkSecurityConfig(XmlResourceParser parser) in parseNetworkSecurityConfig() 397 try (XmlResourceParser parser = resources.getXml(resId)) { in parseDebugOverridesResource() 424 public ParserException(XmlPullParser parser, String message, Throwable cause) { in ParserException() [all …]
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/impl/ |
D | LayoutParserWrapperTest.java | 38 LayoutParserWrapper parser = getParserFromString(sDataBindingLayout); in testDataBindingLayout() local 63 LayoutParserWrapper parser = getParserFromString(sNonDataBindingLayout); in testNonDataBindingLayout() local 87 XmlPullParser parser = new KXmlParser(); in getParserFromString() local
|
/frameworks/base/tools/aapt2/compile/ |
D | InlineXmlFormatParser_test.cpp | 39 InlineXmlFormatParser parser; local 59 InlineXmlFormatParser parser; local 113 InlineXmlFormatParser parser; local 182 InlineXmlFormatParser parser; local 200 InlineXmlFormatParser parser; local 218 InlineXmlFormatParser parser; local
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | TelephonyComponentFactory.java | 150 private void parseXml(@NonNull XmlPullParser parser) { in parseXml() 160 private void parseInjection(@NonNull XmlPullParser parser) { in parseInjection() 167 private void parseComponents(@NonNull XmlPullParser parser) { in parseComponents() 174 private void parseComponent(@NonNull XmlPullParser parser) { in parseComponent() 192 private void parseXmlByTag(@NonNull XmlPullParser parser, boolean allowDuplicate, in parseXmlByTag() 216 private void setAttributes(@NonNull XmlPullParser parser) { in setAttributes()
|
/frameworks/base/telephony/java/com/android/internal/telephony/util/ |
D | XmlUtils.java | 31 public static void beginDocument(XmlPullParser parser, String firstElementName) in beginDocument() 51 public static void nextElement(XmlPullParser parser) in nextElement() 62 public static boolean nextElementWithin(XmlPullParser parser, int outerDepth) in nextElementWithin()
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
D | VCardParserTests.java | 96 VCardParser parser = new VCardParser_V21(); in testSimple() local 114 VCardParser parser = new VCardParser_V21(); in testNest() local 148 VCardParser parser = new VCardParser_V30(); in testIosMultiline() local 180 VCardParser parser = new VCardParser_V21(); in testParseOne() local 221 VCardParser parser = new VCardParser_V21(); in testParseOne() local
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | PropertyNodesVerifier.java | 50 public void verify(int resId, int vcardType, final VCardParser parser) in verify() 53 vcardType, parser); in verify() local 57 final VCardParser parser = VCardUtils.getAppropriateParser(vcardType); in verify() local 61 public void verify(InputStream is, int vcardType, final VCardParser parser) in verify()
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/mdnsFilter/ |
D | VendorConfig.java | 129 private static @NonNull String readText(XmlPullParser parser) in readText() 153 @NonNull XmlPullParser parser, @NonNull String tagName, boolean resolveReferences) in readSimpleTag() 181 private static @NonNull <T> ArrayList<T> readTagList(@NonNull XmlPullParser parser, in readTagList() 215 try (XmlResourceParser parser = context.getResources().getXml(R.xml.vendorconfigs)) { in readVendorConfigs() 255 @NonNull XmlPullParser parser, @NonNull String tagName) throws XmlPullParserException, in readVendorConfig() 324 T readTag(XmlPullParser parser, String tagName) throws XmlPullParserException, IOException; in readTag()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserTypeFactory.java | 86 try (XmlResourceParser parser = in getUserTypes() 361 XmlResourceParser parser) { in customizeBuilders() 471 private static void setIntAttribute(XmlResourceParser parser, String attributeName, in setIntAttribute() 494 private static void setResAttribute(XmlResourceParser parser, String attributeName, in setResAttribute() 513 private static void setResAttributeArray(XmlResourceParser parser, Consumer<int[]> fcn) in setResAttributeArray() 545 try (XmlResourceParser parser = in getUserTypeVersion() 552 static int getUserTypeVersion(XmlResourceParser parser) { in getUserTypeVersion() 580 try (XmlResourceParser parser = in getUserTypeUpgrades() 589 ArrayMap<String, UserTypeDetails.Builder> builders, XmlResourceParser parser) { in parseUserUpgrades()
|
/frameworks/base/graphics/java/android/graphics/ |
D | FontListParser.java | 79 XmlPullParser parser = Xml.newPullParser(); in parse() local 121 XmlPullParser parser = Xml.newPullParser(); in parse() local 145 public static FontConfig readFamilies( in readFamilies() 238 private static boolean keepReading(XmlPullParser parser) in keepReading() 253 public static @Nullable FontConfig.FontFamily readFamily(XmlPullParser parser, String fontDir, in readFamily() 289 private static void throwIfAttributeExists(String attrName, XmlPullParser parser) { in throwIfAttributeExists() 299 public static @Nullable FontConfig.NamedFamilyList readNamedFamily( in readNamedFamily() 319 public static @Nullable FontConfig.NamedFamilyList readNamedFamilyList( in readNamedFamilyList() 354 private static @Nullable FontConfig.Font readFont( in readFont() 438 private static FontVariationAxis readAxis(XmlPullParser parser) in readAxis() [all …]
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/ |
D | BridgeContextTest.java | 54 LayoutPullParser parser = LayoutPullParser.createFromPath("/empty.xml"); in basic() local 101 LayoutPullParser parser = LayoutPullParser.createFromPath("/empty.xml"); in checkNoErrorWhenUsingDefaults() local 135 LayoutPullParser parser = LayoutPullParser.createFromPath("/empty.xml"); in noExceptionForCustomService() local 156 LayoutPullParser parser = LayoutPullParser.createFromPath("/empty.xml"); in dynamicTheming() local 190 LayoutPullParser parser = LayoutPullParser.createFromPath("/empty.xml"); in noCrashInPowerManager() local
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | FontResourcesParserTest.java | 65 XmlResourceParser parser = mResources.getXml(R.font.samplexmlfontforparsing); in testParse() local 101 XmlResourceParser parser = mResources.getXml(R.font.samplexmldownloadedfont); in testParseDownloadableFont() local 115 XmlResourceParser parser = mResources.getXml(R.font.samplexmldownloadedfontsinglecerts); in testParseDownloadableFont_singleCerts() local 136 XmlResourceParser parser = mResources.getXml(R.font.samplexmldownloadedfontmulticerts); in testParseDownloadableFont_multipleCerts() local
|
/frameworks/base/tools/aapt2/ |
D | ResourceParser.cpp | 245 xml::XmlPullParser* parser, std::string* out_raw_string, android::StyleString* out_style_string, in FlattenXmlSubtree() 396 bool ResourceParser::Parse(xml::XmlPullParser* parser) { in Parse() 423 bool ResourceParser::ParseResources(xml::XmlPullParser* parser) { in ParseResources() 497 bool ResourceParser::ParseResource(xml::XmlPullParser* parser, in ParseResource() 728 bool ResourceParser::ParseItem(xml::XmlPullParser* parser, in ParseItem() 745 xml::XmlPullParser* parser) { in CreateFlattenSubTree() 769 std::unique_ptr<Item> ResourceParser::ParseXml(xml::XmlPullParser* parser, const uint32_t type_mask, in ParseXml() 833 bool ResourceParser::ParseString(xml::XmlPullParser* parser, in ParseString() 887 bool ResourceParser::ParseMacro(xml::XmlPullParser* parser, ParsedResource* out_resource) { in ParseMacro() 916 bool ResourceParser::ParsePublic(xml::XmlPullParser* parser, ParsedResource* out_resource) { in ParsePublic() [all …]
|
/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/ |
D | UseCasePriorityHints.java | 118 TypedXmlPullParser parser = Xml.resolvePullParser(in); in parseInternal() local 139 private void readUseCase(TypedXmlPullParser parser) in readUseCase() 178 private void skip(TypedXmlPullParser parser) throws XmlPullParserException, IOException { in skip() 195 private int readAttributeToInt(String attributeName, TypedXmlPullParser parser) in readAttributeToInt() 206 private static int formatTypeToNum(String attributeName, TypedXmlPullParser parser) { in formatTypeToNum()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | PowerProfileTest.java | 136 final XmlResourceParser parser = getTestModemElement(R.xml.power_profile_test_modem, in testModemPowerProfile_defaultRat() local 204 final XmlResourceParser parser = getTestModemElement(R.xml.power_profile_test_modem, in testModemPowerProfile_partiallyDefined() local 357 final XmlResourceParser parser = getTestModemElement(R.xml.power_profile_test_modem, in testModemPowerProfile_fullyDefined() local 511 XmlResourceParser parser = resources.getXml(xmlId); in getTestModemElement() local
|