Home
last modified time | relevance | path

Searched defs:parser (Results 1 – 25 of 365) sorted by relevance

12345678910>>...15

/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTests.java96 LayoutPullParser parser = LayoutPullParser.createFromString( in testActivityOnOldTheme() local
127 LayoutPullParser parser = createParserFromPath("four_corners.xml"); in testTranslucentBars() local
155 LayoutPullParser parser = createParserFromPath("allwidgets.xml"); in testAllWidgets() local
183 LayoutPullParser parser = createParserFromPath("allwidgets.xml"); in testAllWidgetsTablet() local
218 LayoutPullParser parser = LayoutPullParser.createFromString(simpleActivity); in testActivityActionBar() local
265 LayoutPullParser parser = LayoutPullParser.createFromString( in testOnApplyInsetsCall() local
295 LayoutPullParser parser = createParserFromPath("expand_vert_layout.xml"); in testExpand() local
348 LayoutPullParser parser = LayoutPullParser.createFromString(layout); in testVectorAnimation() local
380 LayoutPullParser parser = LayoutPullParser.createFromString( in testVectorDrawable() local
413 LayoutPullParser parser = LayoutPullParser.createFromString( in testVectorDrawable91383() local
[all …]
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotDeserializer.java87 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/base/tests/UsbTests/src/com/android/server/usb/
DUsbDescriptorParserTests.java66 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/
DFrameParserTest.java139 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
276 FrameParser parser = new FrameParser( in parseDeauthenticationResultCode() local
301 FrameParser parser = new FrameParser( in parseDisassociationResultCode() local
324 FrameParser parser = new FrameParser( in parseActionNoAckSubtype() local
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DStackOverflowXmlParser.java39 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/
DFontListParser.java52 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/
DAnimationUtils.java136 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/
DXmlPullParser.cpp216 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/
DXmlConfigSource.java82 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/
DTelephonyComponentFactory.java144 private void parseXml(@NonNull XmlPullParser parser) { in parseXml()
154 private void parseInjection(@NonNull XmlPullParser parser) { in parseInjection()
161 private void parseComponents(@NonNull XmlPullParser parser) { in parseComponents()
168 private void parseComponent(@NonNull XmlPullParser parser) { in parseComponent()
186 private void parseXmlByTag(@NonNull XmlPullParser parser, boolean allowDuplicate, in parseXmlByTag()
210 private void setAttributes(@NonNull XmlPullParser parser) { in setAttributes()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/impl/
DLayoutParserWrapperTest.java38 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/
DInlineXmlFormatParser_test.cpp39 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/telephony/java/com/android/internal/telephony/util/
DXmlUtils.java31 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/
DVCardParserTests.java96 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/
DPropertyNodesVerifier.java50 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/
DVendorConfig.java129 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/
DFontResourcesParserTest.java63 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/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DSimpleInflater.java66 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/tools/aapt2/
DResourceParser.cpp233 xml::XmlPullParser* parser, std::string* out_raw_string, StyleString* out_style_string, in FlattenXmlSubtree()
383 bool ResourceParser::Parse(xml::XmlPullParser* parser) { in Parse()
410 bool ResourceParser::ParseResources(xml::XmlPullParser* parser) { in ParseResources()
483 bool ResourceParser::ParseResource(xml::XmlPullParser* parser, in ParseResource()
701 bool ResourceParser::ParseItem(xml::XmlPullParser* parser, in ParseItem()
724 std::unique_ptr<Item> ResourceParser::ParseXml(xml::XmlPullParser* parser, in ParseXml()
787 bool ResourceParser::ParseString(xml::XmlPullParser* parser, in ParseString()
843 bool ResourceParser::ParsePublic(xml::XmlPullParser* parser, ParsedResource* out_resource) { in ParsePublic()
891 bool ResourceParser::ParsePublicGroup(xml::XmlPullParser* parser, ParsedResource* out_resource) { in ParsePublicGroup()
997 bool ResourceParser::ParseSymbolImpl(xml::XmlPullParser* parser, in ParseSymbolImpl()
[all …]
/frameworks/base/graphics/java/android/graphics/fonts/
DFontCustomizationParser.java53 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()
/frameworks/base/services/core/java/com/android/server/firewall/
DFilterList.java29 public FilterList readFromXml(XmlPullParser parser) throws IOException, XmlPullParserException { in readFromXml()
37 protected void readChild(XmlPullParser parser) throws IOException, XmlPullParserException { in readChild()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DParserFactory.java55 XmlPullParser parser = sParserFactory.createXmlParserForFile(filePath); in create() local
69 XmlPullParser parser = create(); in create() local
82 XmlPullParser parser = sParserFactory.createXmlParser(); in create() local
/frameworks/base/core/java/com/android/internal/util/
DXmlUtils.java55 public static void skipCurrentTag(XmlPullParser parser) in skipCurrentTag()
739 XmlPullParser parser = Xml.newPullParser(); in readMapXml() local
760 XmlPullParser parser = Xml.newPullParser(); in readListXml() local
783 XmlPullParser parser = Xml.newPullParser(); in readSetXml() local
802 public static final HashMap<String, ?> readThisMapXml(XmlPullParser parser, String endTag, in readThisMapXml()
822 public static final HashMap<String, ?> readThisMapXml(XmlPullParser parser, String endTag, in readThisMapXml()
851 public static final ArrayMap<String, ?> readThisArrayMapXml(XmlPullParser parser, String endTag, in readThisArrayMapXml()
890 public static final ArrayList readThisListXml(XmlPullParser parser, String endTag, in readThisListXml()
909 private static final ArrayList readThisListXml(XmlPullParser parser, String endTag, in readThisListXml()
951 public static final HashSet readThisSetXml(XmlPullParser parser, String endTag, String[] name) in readThisSetXml()
[all …]
/frameworks/layoutlib/bridge/src/android/content/res/
DComplexColor_Accessor.java36 @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/transition/
DTransitionInflater.java77 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()

12345678910>>...15