/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/ |
D | KeyChainSnapshotDeserializer.java | 87 XmlPullParser parser = Xml.newPullParser(); in deserializeInternal() local 159 private static List<WrappedApplicationKey> readWrappedApplicationKeys(XmlPullParser parser) in readWrappedApplicationKeys() 173 private static WrappedApplicationKey readWrappedApplicationKey(XmlPullParser parser) in readWrappedApplicationKey() 212 XmlPullParser parser) throws IOException, XmlPullParserException, in readKeyChainProtectionParamsList() 228 private static KeyChainProtectionParams readKeyChainProtectionParams(XmlPullParser parser) in readKeyChainProtectionParams() 272 private static KeyDerivationParams readKeyDerivationParams(XmlPullParser parser) in readKeyDerivationParams() 334 private static int readIntTag(XmlPullParser parser, String tagName) in readIntTag() 348 private static long readLongTag(XmlPullParser parser, String tagName) in readLongTag() 362 private static String readStringTag(XmlPullParser parser, String tagName) in readStringTag() 370 private static byte[] readBlobTag(XmlPullParser parser, String tagName) in readBlobTag() [all …]
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/ |
D | RenderTests.java | 97 LayoutPullParser parser = LayoutPullParser.createFromString( in testActivityOnOldTheme() local 128 LayoutPullParser parser = createParserFromPath("four_corners.xml"); in testTranslucentBars() local 156 LayoutPullParser parser = createParserFromPath("allwidgets.xml"); in testAllWidgets() local 184 LayoutPullParser parser = createParserFromPath("allwidgets.xml"); in testAllWidgetsTablet() local 219 LayoutPullParser parser = LayoutPullParser.createFromString(simpleActivity); in testActivityActionBar() local 266 LayoutPullParser parser = LayoutPullParser.createFromString( in testOnApplyInsetsCall() local 296 LayoutPullParser parser = createParserFromPath("expand_vert_layout.xml"); in testExpand() local 338 LayoutPullParser parser = createParserFromPath("expand_vert_layout.xml"); in testShrink() local 393 LayoutPullParser parser = LayoutPullParser.createFromString(layout); in testVectorAnimation() local 425 LayoutPullParser parser = LayoutPullParser.createFromString( in testVectorDrawable() local [all …]
|
D | HighQualityShadowsRenderTests.java | 35 LayoutPullParser parser = createParserFromPath("shadows_test.xml"); in testHighQualityRectangleShadow() local 54 LayoutPullParser parser = createParserFromPath("shadows_rounded_edge_test.xml"); in testRoundedEdgeRectangle() local 72 LayoutPullParser parser = createParserFromPath("large_view_shadows_test.xml"); in testLargeView() local 90 LayoutPullParser parser = createParserFromPath("shadow_sizes_test.xml"); in testShadowSizes() local 107 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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | FrameParserTest.java | 140 FrameParser parser = new FrameParser( in parseProbeResponseFrame() local 165 FrameParser parser = new FrameParser( in canParseStatusCodeOutOfNonHtOpenAuthenticationReply() local 187 FrameParser parser = new FrameParser( in canParseStatusCodeOutOfNonHtAssociationResponse() local 220 FrameParser parser = new FrameParser( in doesNotParseStatusCodeOutOfNonHtOpenAuthenticationRequest() local 243 FrameParser parser = new FrameParser( in doesNotParseStatusCodeOutOfNonHtOpenAssociationRequest() local 277 FrameParser parser = new FrameParser( in parseDeauthenticationResultCode() local 302 FrameParser parser = new FrameParser( in parseDisassociationResultCode() local 325 FrameParser parser = new FrameParser( in parseActionNoAckSubtype() 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/graphics/java/android/graphics/ |
D | FontListParser.java | 52 XmlPullParser parser = Xml.newPullParser(); in parse() local 61 private static FontConfig readFamilies(XmlPullParser parser, String fontDir) in readFamilies() 85 public static FontConfig.Family readFamily(XmlPullParser parser, String fontDir) in readFamily() 116 private static FontConfig.Font readFont(XmlPullParser parser, String fontDir) in readFont() 143 private static FontVariationAxis readAxis(XmlPullParser parser) in readAxis() 154 public static FontConfig.Alias readAlias(XmlPullParser parser) in readAlias() 172 public static void skip(XmlPullParser parser) throws XmlPullParserException, IOException { in skip()
|
/frameworks/base/core/java/android/view/animation/ |
D | AnimationUtils.java | 136 XmlResourceParser parser = null; in loadAnimation() local 155 private static Animation createAnimationFromXml(Context c, XmlPullParser parser) in createAnimationFromXml() 162 private static Animation createAnimationFromXml(Context c, XmlPullParser parser, in createAnimationFromXml() 217 XmlResourceParser parser = null; in loadLayoutAnimation() local 237 XmlPullParser parser) throws XmlPullParserException, IOException { in createLayoutAnimationFromXml() 243 XmlPullParser parser, AttributeSet attrs) throws XmlPullParserException, IOException { in createLayoutAnimationFromXml() 339 XmlResourceParser parser = null; in loadInterpolator() local 369 XmlResourceParser parser = null; in loadInterpolator() local 390 …ate static Interpolator createInterpolatorFromXml(Resources res, Theme theme, XmlPullParser parser) in createInterpolatorFromXml()
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlPullParser.cpp | 216 XmlPullParser* parser = reinterpret_cast<XmlPullParser*>(user_data); in StartNamespaceHandler() local 228 XmlPullParser* parser = reinterpret_cast<XmlPullParser*>(user_data); in StartElementHandler() local 252 XmlPullParser* parser = reinterpret_cast<XmlPullParser*>(user_data); in CharacterDataHandler() local 260 XmlPullParser* parser = reinterpret_cast<XmlPullParser*>(user_data); in EndElementHandler() local 273 XmlPullParser* parser = reinterpret_cast<XmlPullParser*>(user_data); in EndNamespaceHandler() local 284 XmlPullParser* parser = reinterpret_cast<XmlPullParser*>(user_data); in CommentDataHandler() local 292 XmlPullParser* parser = reinterpret_cast<XmlPullParser*>(user_data); in StartCdataSectionHandler() local 300 XmlPullParser* parser = reinterpret_cast<XmlPullParser*>(user_data); in EndCdataSectionHandler() local 307 Maybe<StringPiece> FindAttribute(const XmlPullParser* parser, in FindAttribute() 316 Maybe<StringPiece> FindNonEmptyAttribute(const XmlPullParser* parser, 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/opt/telephony/src/java/com/android/internal/telephony/ |
D | TelephonyComponentFactory.java | 142 private void parseXml(@NonNull XmlPullParser parser) { in parseXml() 152 private void parseInjection(@NonNull XmlPullParser parser) { in parseInjection() 159 private void parseComponents(@NonNull XmlPullParser parser) { in parseComponents() 166 private void parseComponent(@NonNull XmlPullParser parser) { in parseComponent() 184 private void parseXmlByTag(@NonNull XmlPullParser parser, boolean allowDuplicate, in parseXmlByTag() 208 private void setAttributes(@NonNull XmlPullParser parser) { in setAttributes()
|
/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/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | SnoozeHelperTest.java | 98 XmlPullParser parser = Xml.newPullParser(); in testWriteXMLformattedCorrectly_testReadingCorrectTime() local 117 XmlPullParser parser = Xml.newPullParser(); in testWriteXML_afterReading_noNPE() local 140 XmlPullParser parser = Xml.newPullParser(); in testWriteXMLformattedCorrectly_testCorrectContextURI() local 162 XmlPullParser parser = Xml.newPullParser(); in testReadValidSnoozedFromCorrectly_timeDeadline() local 186 XmlPullParser parser = Xml.newPullParser(); in testReadExpiredSnoozedNotification() local 230 XmlPullParser parser = Xml.newPullParser(); in testScheduleRepostsForPersistedNotifications() local
|
/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/core/tests/coretests/src/android/content/res/ |
D | FontResourcesParserTest.java | 63 XmlResourceParser parser = mResources.getXml(R.font.samplexmlfontforparsing); in testParse() local 99 XmlResourceParser parser = mResources.getXml(R.font.samplexmldownloadedfont); in testParseDownloadableFont() local 112 XmlResourceParser parser = mResources.getXml(R.font.samplexmldownloadedfontsinglecerts); in testParseDownloadableFont_singleCerts() local 133 XmlResourceParser parser = mResources.getXml(R.font.samplexmldownloadedfontmulticerts); in testParseDownloadableFont_multipleCerts() local
|
/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/ |
D | UseCasePriorityHints.java | 117 XmlPullParser parser = Xml.newPullParser(); in parseInternal() local 140 private void readUseCase(XmlPullParser parser) in readUseCase() 179 private void skip(XmlPullParser parser) throws XmlPullParserException, IOException { in skip() 196 private int readAttributeToInt(String attributeName, XmlPullParser parser) { in readAttributeToInt() 206 private static int formatTypeToNum(String attributeName, XmlPullParser parser) { in formatTypeToNum()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceUserTypeTest.java | 228 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_profile); in testUserTypeFactoryCustomize_profile() local 284 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_full); in testUserTypeFactoryCustomize_full() local 311 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_eraseArray); in testUserTypeFactoryCustomize_eraseArray() local 333 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_illegalOemName); in testUserTypeFactoryCustomize_illegalOemName() local 354 XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_illegalUserBaseType); in testUserTypeFactoryCustomize_illegalUserBaseType() local
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserTypeFactory.java | 85 try (XmlResourceParser parser = in getUserTypes() 222 XmlResourceParser parser) { in customizeBuilders() 321 private static void setIntAttribute(XmlResourceParser parser, String attributeName, in setIntAttribute() 344 private static void setResAttribute(XmlResourceParser parser, String attributeName, in setResAttribute() 363 private static void setResAttributeArray(XmlResourceParser parser, Consumer<int[]> fcn) in setResAttributeArray()
|
/frameworks/base/tools/aapt2/ |
D | ResourceParser.cpp | 237 xml::XmlPullParser* parser, std::string* out_raw_string, StyleString* out_style_string, in FlattenXmlSubtree() 387 bool ResourceParser::Parse(xml::XmlPullParser* parser) { in Parse() 414 bool ResourceParser::ParseResources(xml::XmlPullParser* parser) { in ParseResources() 486 bool ResourceParser::ParseResource(xml::XmlPullParser* parser, in ParseResource() 704 bool ResourceParser::ParseItem(xml::XmlPullParser* parser, in ParseItem() 727 std::unique_ptr<Item> ResourceParser::ParseXml(xml::XmlPullParser* parser, in ParseXml() 788 bool ResourceParser::ParseString(xml::XmlPullParser* parser, in ParseString() 844 bool ResourceParser::ParsePublic(xml::XmlPullParser* parser, ParsedResource* out_resource) { in ParsePublic() 892 bool ResourceParser::ParsePublicGroup(xml::XmlPullParser* parser, ParsedResource* out_resource) { in ParsePublicGroup() 997 bool ResourceParser::ParseSymbolImpl(xml::XmlPullParser* parser, in ParseSymbolImpl() [all …]
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
D | SimpleInflater.java | 66 XmlResourceParser parser = getResources().getXml(resId); in inflate() local 85 public T inflate(XmlPullParser parser) { in inflate() 142 private void rInflate(XmlPullParser parser, T parent, final AttributeSet attrs) in rInflate() 184 protected boolean onInterceptCreateItem(XmlPullParser parser, T parent, AttributeSet attrs) in onInterceptCreateItem()
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | FontCustomizationParser.java | 53 XmlPullParser parser = Xml.newPullParser(); in parse() local 74 private static Result readFamilies(XmlPullParser parser, String fontDir) in readFamilies() 93 private static void readFamily(XmlPullParser parser, String fontDir, Result out) in readFamily()
|