Home
last modified time | relevance | path

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

12345678910>>...17

/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/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTests.java97 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 …]
DHighQualityShadowsRenderTests.java35 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/
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.java140 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/
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.java142 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/
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/services/tests/uiservicestests/src/com/android/server/notification/
DSnoozeHelperTest.java98 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/
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/base/services/core/java/com/android/server/tv/tunerresourcemanager/
DUseCasePriorityHints.java117 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/
DUserManagerServiceUserTypeTest.java228 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/
DUserTypeFactory.java85 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/
DResourceParser.cpp237 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/
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/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()

12345678910>>...17