/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/ |
D | RenderTests.java | 67 LayoutPullParser parser = createLayoutPullParser("simple_activity.xml"); in testActivityOnOldTheme() local 81 LayoutPullParser parser = createLayoutPullParser("four_corners.xml"); in testTranslucentBars() local 123 LayoutPullParser parser = createLayoutPullParser("simple_activity.xml"); in testActivityActionBar() local 161 LayoutPullParser parser = createLayoutPullParser("insets.xml"); in testOnApplyInsetsCall() local 179 LayoutPullParser parser = createLayoutPullParser("expand_vert_layout.xml"); in testExpand() local 214 LayoutPullParser parser = createLayoutPullParser("indeterminate_progressbar.xml"); in testVectorAnimation() local 240 LayoutPullParser parser = createLayoutPullParser("vector_drawable.xml"); in testVectorDrawable() local 259 LayoutPullParser parser = createLayoutPullParser("vector_drawable_android.xml"); in testVectorDrawable91383() local 276 LayoutPullParser parser = createLayoutPullParser("scrolled.xml"); in testScrollingAndMeasure() local 329 LayoutPullParser parser = new LayoutPullParser("/empty.xml"); in testGetResourceNameVariants() local [all …]
|
/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 | 45 XmlPullParser parser = Xml.newPullParser(); in parse() local 54 private static FontConfig readFamilies(XmlPullParser parser) in readFamilies() 75 private static FontConfig.Family readFamily(XmlPullParser parser) in readFamily() 106 private static FontConfig.Font readFont(XmlPullParser parser) in readFont() 132 private static FontVariationAxis readAxis(XmlPullParser parser) in readAxis() 140 private static FontConfig.Alias readAlias(XmlPullParser parser) in readAlias() 155 private static void skip(XmlPullParser parser) throws XmlPullParserException, IOException { in skip()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | FrameParserTest.java | 139 FrameParser parser = new FrameParser( in parseProbeResponseFrame() local 164 FrameParser parser = new FrameParser( in canParseStatusCodeOutOfNonHtOpenAuthenticationReply() local 186 FrameParser parser = new FrameParser( in canParseStatusCodeOutOfNonHtAssociationResponse() local 219 FrameParser parser = new FrameParser( in doesNotParseStatusCodeOutOfNonHtOpenAuthenticationRequest() local 242 FrameParser parser = new FrameParser( in doesNotParseStatusCodeOutOfNonHtOpenAssociationRequest() local
|
/frameworks/base/core/java/android/view/animation/ |
D | AnimationUtils.java | 105 XmlResourceParser parser = null; in loadAnimation() local 124 private static Animation createAnimationFromXml(Context c, XmlPullParser parser) in createAnimationFromXml() 130 private static Animation createAnimationFromXml(Context c, XmlPullParser parser, in createAnimationFromXml() 183 XmlResourceParser parser = null; in loadLayoutAnimation() local 203 XmlPullParser parser) throws XmlPullParserException, IOException { in createLayoutAnimationFromXml() 209 XmlPullParser parser, AttributeSet attrs) throws XmlPullParserException, IOException { in createLayoutAnimationFromXml() 305 XmlResourceParser parser = null; in loadInterpolator() local 335 XmlResourceParser parser = null; in loadInterpolator() local 356 …ate static Interpolator createInterpolatorFromXml(Resources res, Theme theme, XmlPullParser parser) in createInterpolatorFromXml()
|
/frameworks/base/tools/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/core/java/android/security/net/config/ |
D | XmlConfigSource.java | 100 try (XmlResourceParser parser = mContext.getResources().getXml(mResourceId)) { in ensureInitialized() 112 private Pin parsePin(XmlResourceParser parser) in parsePin() 141 private PinSet parsePinSet(XmlResourceParser parser) in parsePinSet() 172 private Domain parseDomain(XmlResourceParser parser, Set<String> seenDomains) in parseDomain() 192 private CertificatesEntryRef parseCertificatesEntry(XmlResourceParser parser, in parseCertificatesEntry() 218 private Collection<CertificatesEntryRef> parseTrustAnchors(XmlResourceParser parser, in parseTrustAnchors() 235 XmlResourceParser parser, Set<String> seenDomains, in parseConfigEntry() 322 private void parseNetworkSecurityConfig(XmlResourceParser parser) in parseNetworkSecurityConfig() 413 try (XmlResourceParser parser = resources.getXml(resId)) { in parseDebugOverridesResource() 440 public ParserException(XmlPullParser parser, String message, Throwable cause) { in ParserException() [all …]
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlPullParser.cpp | 210 XmlPullParser* parser = reinterpret_cast<XmlPullParser*>(user_data); in StartNamespaceHandler() local 222 XmlPullParser* parser = reinterpret_cast<XmlPullParser*>(user_data); in StartElementHandler() local 246 XmlPullParser* parser = reinterpret_cast<XmlPullParser*>(user_data); in CharacterDataHandler() local 254 XmlPullParser* parser = reinterpret_cast<XmlPullParser*>(user_data); in EndElementHandler() local 267 XmlPullParser* parser = reinterpret_cast<XmlPullParser*>(user_data); in EndNamespaceHandler() local 278 XmlPullParser* parser = reinterpret_cast<XmlPullParser*>(user_data); in CommentDataHandler() local 285 Maybe<StringPiece> FindAttribute(const XmlPullParser* parser, in FindAttribute() 294 Maybe<StringPiece> FindNonEmptyAttribute(const XmlPullParser* parser, in FindNonEmptyAttribute()
|
D | XmlDom.cpp | 77 static void AddToStack(Stack* stack, XML_Parser parser, in AddToStack() 96 XML_Parser parser = reinterpret_cast<XML_Parser>(user_data); in StartNamespaceHandler() local 113 XML_Parser parser = reinterpret_cast<XML_Parser>(user_data); in EndNamespaceHandler() local 128 XML_Parser parser = reinterpret_cast<XML_Parser>(user_data); in StartElementHandler() local 151 XML_Parser parser = reinterpret_cast<XML_Parser>(user_data); in EndElementHandler() local 161 XML_Parser parser = reinterpret_cast<XML_Parser>(user_data); in CharacterDataHandler() local 182 XML_Parser parser = reinterpret_cast<XML_Parser>(user_data); in CommentDataHandler() local 195 XML_Parser parser = XML_ParserCreateNS(nullptr, kXmlNamespaceSep); in Inflate() local 228 static void CopyAttributes(Element* el, android::ResXMLParser* parser, StringPool* out_pool) { in CopyAttributes()
|
/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/tools/aapt2/ |
D | ResourceParser.cpp | 155 xml::XmlPullParser* parser, std::string* out_raw_string, StyleString* out_style_string, in FlattenXmlSubtree() 262 bool ResourceParser::Parse(xml::XmlPullParser* parser) { in Parse() 290 bool ResourceParser::ParseResources(xml::XmlPullParser* parser) { in ParseResources() 362 bool ResourceParser::ParseResource(xml::XmlPullParser* parser, in ParseResource() 553 bool ResourceParser::ParseItem(xml::XmlPullParser* parser, in ParseItem() 576 std::unique_ptr<Item> ResourceParser::ParseXml(xml::XmlPullParser* parser, in ParseXml() 639 bool ResourceParser::ParseString(xml::XmlPullParser* parser, in ParseString() 695 bool ResourceParser::ParsePublic(xml::XmlPullParser* parser, in ParsePublic() 733 bool ResourceParser::ParsePublicGroup(xml::XmlPullParser* parser, in ParsePublicGroup() 827 bool ResourceParser::ParseSymbolImpl(xml::XmlPullParser* parser, in ParseSymbolImpl() [all …]
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/mdnsFilter/ |
D | VendorConfig.java | 128 private static @NonNull String readText(XmlPullParser parser) in readText() 152 @NonNull XmlPullParser parser, @NonNull String tagName, boolean resolveReferences) in readSimpleTag() 180 private static @NonNull <T> ArrayList<T> readTagList(@NonNull XmlPullParser parser, in readTagList() 214 try (XmlResourceParser parser = context.getResources().getXml(R.xml.vendorconfigs)) { in readVendorConfigs() 254 @NonNull XmlPullParser parser, @NonNull String tagName) throws XmlPullParserException, in readVendorConfig() 323 T readTag(XmlPullParser parser, String tagName) throws XmlPullParserException, IOException; in readTag()
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | FontResourcesParserTest.java | 61 XmlResourceParser parser = mResources.getXml(R.font.samplexmlfont); in testParse() local 89 XmlResourceParser parser = mResources.getXml(R.font.samplexmldownloadedfont); in testParseDownloadableFont() local 102 XmlResourceParser parser = mResources.getXml(R.font.samplexmldownloadedfontsinglecerts); in testParseDownloadableFont_singleCerts() local 123 XmlResourceParser parser = mResources.getXml(R.font.samplexmldownloadedfontmulticerts); in testParseDownloadableFont_multipleCerts() local
|
/frameworks/support/compat/java/android/support/v4/content/res/ |
D | TypedArrayUtils.java | 54 public static boolean hasAttribute(@NonNull XmlPullParser parser, @NonNull String attrName) { in hasAttribute() 65 public static float getNamedFloat(@NonNull TypedArray a, @NonNull XmlPullParser parser, in getNamedFloat() 82 public static boolean getNamedBoolean(@NonNull TypedArray a, @NonNull XmlPullParser parser, in getNamedBoolean() 99 public static int getNamedInt(@NonNull TypedArray a, @NonNull XmlPullParser parser, in getNamedInt() 117 public static int getNamedColor(@NonNull TypedArray a, @NonNull XmlPullParser parser, in getNamedColor() 135 public static int getNamedResourceId(@NonNull TypedArray a, @NonNull XmlPullParser parser, in getNamedResourceId() 152 public static String getNamedString(@NonNull TypedArray a, @NonNull XmlPullParser parser, in getNamedString() 167 public static TypedValue peekNamedValue(TypedArray a, XmlPullParser parser, String attrName, in peekNamedValue()
|
/frameworks/support/transition/src/android/support/transition/ |
D | TransitionInflater.java | 68 XmlResourceParser parser = mContext.getResources().getXml(resource); in inflateTransition() local 90 XmlResourceParser parser = mContext.getResources().getXml(resource); in inflateTransitionManager() local 111 private Transition createTransitionFromXml(XmlPullParser parser, in createTransitionFromXml() 220 private void getTargetIds(XmlPullParser parser, in getTargetIds() 279 private TransitionManager createTransitionManagerFromXml(XmlPullParser parser, in createTransitionManagerFromXml() 306 private void loadTransition(AttributeSet attrs, XmlPullParser parser, ViewGroup sceneRoot, in loadTransition()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
D | SimpleInflater.java | 68 XmlResourceParser parser = getResources().getXml(resId); in inflate() local 88 public T inflate(XmlPullParser parser) { in inflate() 144 private void rInflate(XmlPullParser parser, T parent, final AttributeSet attrs) in rInflate() 186 protected boolean onInterceptCreateItem(XmlPullParser parser, T parent, AttributeSet attrs) in onInterceptCreateItem()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | XmlUtils.java | 51 public static void skipCurrentTag(XmlPullParser parser) in skipCurrentTag() 738 XmlPullParser parser = Xml.newPullParser(); in readMapXml() local 759 XmlPullParser parser = Xml.newPullParser(); in readListXml() local 782 XmlPullParser parser = Xml.newPullParser(); in readSetXml() local 801 public static final HashMap<String, ?> readThisMapXml(XmlPullParser parser, String endTag, in readThisMapXml() 821 public static final HashMap<String, ?> readThisMapXml(XmlPullParser parser, String endTag, in readThisMapXml() 850 public static final ArrayMap<String, ?> readThisArrayMapXml(XmlPullParser parser, String endTag, in readThisArrayMapXml() 889 public static final ArrayList readThisListXml(XmlPullParser parser, String endTag, in readThisListXml() 908 private static final ArrayList readThisListXml(XmlPullParser parser, String endTag, in readThisListXml() 950 public static final HashSet readThisSetXml(XmlPullParser parser, String endTag, String[] name) in readThisSetXml() [all …]
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
D | FilterList.java | 29 public FilterList readFromXml(XmlPullParser parser) throws IOException, XmlPullParserException { in readFromXml() 37 protected void readChild(XmlPullParser parser) throws IOException, XmlPullParserException { in readChild()
|
/frameworks/base/tools/aapt2/compile/ |
D | InlineXmlFormatParser_test.cpp | 32 InlineXmlFormatParser parser; local 51 InlineXmlFormatParser parser; local 106 InlineXmlFormatParser parser; local
|
/frameworks/base/core/java/android/transition/ |
D | TransitionInflater.java | 77 XmlResourceParser parser = mContext.getResources().getXml(resource); in inflateTransition() local 106 XmlResourceParser parser = mContext.getResources().getXml(resource); in inflateTransitionManager() local 127 private Transition createTransitionFromXml(XmlPullParser parser, in createTransitionFromXml() 238 private void getTargetIds(XmlPullParser parser, in getTargetIds() 294 private TransitionManager createTransitionManagerFromXml(XmlPullParser parser, in createTransitionManagerFromXml()
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
D | ComplexColor_Accessor.java | 36 @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) in createGradientColorFromXmlInner() 42 @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) in createColorStateListFromXmlInner()
|
/frameworks/base/core/java/android/preference/ |
D | GenericInflater.java | 240 public T inflate(XmlPullParser parser, P root) { in inflate() 262 XmlResourceParser parser = getContext().getResources().getXml(resource); in inflate() local 291 public T inflate(XmlPullParser parser, P root, in inflate() 422 private final T createItemFromTag(XmlPullParser parser, String name, AttributeSet attrs) { in createItemFromTag() 462 private void rInflate(XmlPullParser parser, T parent, final AttributeSet attrs) in rInflate() 514 protected boolean onCreateCustomFromTag(XmlPullParser parser, T parent, in onCreateCustomFromTag()
|
/frameworks/base/core/java/android/content/res/ |
D | FontResourcesParser.java | 115 public static @Nullable FamilyResourceEntry parse(XmlPullParser parser, Resources resources) in parse() 129 private static @Nullable FamilyResourceEntry readFamilies(XmlPullParser parser, in readFamilies() 143 private static @Nullable FamilyResourceEntry readFamily(XmlPullParser parser, in readFamily() 198 private static FontFileResourceEntry readFont(XmlPullParser parser, Resources resources) in readFont() 217 private static void skip(XmlPullParser parser) throws XmlPullParserException, IOException { in skip()
|
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/ |
D | AnimationUtilsCompat.java | 70 XmlResourceParser parser = null; in loadInterpolator() local 101 XmlPullParser parser) in createInterpolatorFromXml()
|