/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/ |
D | RenderTests.java | 102 LayoutPullParser parser = LayoutPullParser.createFromString( in testActivityOnOldTheme() local 139 LayoutPullParser parser = createParserFromPath("four_corners.xml"); in testTranslucentBars() local 167 LayoutPullParser parser = createParserFromPath("allwidgets.xml"); in testAllWidgets() local 187 LayoutPullParser parser = createParserFromPath("allwidgets.xml"); in testAllWidgetsTablet() local 223 LayoutPullParser parser = LayoutPullParser.createFromString(simpleActivity); in testActivityActionBar() local 270 LayoutPullParser parser = LayoutPullParser.createFromString( in testOnApplyInsetsCall() local 300 LayoutPullParser parser = createParserFromPath("expand_vert_layout.xml"); in testExpand() local 342 LayoutPullParser parser = createParserFromPath("expand_vert_layout.xml"); in testShrink() local 397 LayoutPullParser parser = LayoutPullParser.createFromString(layout); in testVectorAnimation() local 429 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/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/base/core/java/com/android/internal/vibrator/persistence/ |
D | XmlReader.java | 42 public static void readDocumentStartTag(TypedXmlPullParser parser, String expectedRootTag) in readDocumentStartTag() 56 public static void readDocumentStart(TypedXmlPullParser parser) in readDocumentStart() 75 public static void readDocumentEndTag(TypedXmlPullParser parser) in readDocumentEndTag() 104 public static boolean readNextTagWithin(TypedXmlPullParser parser, int outerDepth) in readNextTagWithin() 137 public static void readEndTag(TypedXmlPullParser parser) in readEndTag() 148 public static void readEndTag(TypedXmlPullParser parser, String tagName, int tagDepth) in readEndTag() 161 TypedXmlPullParser parser, String attrName, int defaultValue) in readAttributeIntNonNegative() 170 public static int readAttributeIntNonNegative(TypedXmlPullParser parser, String attrName) in readAttributeIntNonNegative() 183 TypedXmlPullParser parser, String attrName, int lowerInclusive, int upperInclusive) in readAttributeIntInRange() 200 TypedXmlPullParser parser, String attrName, float lowerInclusive, in readAttributeFloatInRange() [all …]
|
/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/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 boolean parseCertificateTransparency(XmlResourceParser parser) in parseCertificateTransparency() 179 private CertificatesEntryRef parseCertificatesEntry(XmlResourceParser parser, in parseCertificatesEntry() 207 private Collection<CertificatesEntryRef> parseTrustAnchors(XmlResourceParser parser, in parseTrustAnchors() 224 XmlResourceParser parser, Set<String> seenDomains, in parseConfigEntry() 319 private void parseNetworkSecurityConfig(XmlResourceParser parser) in parseNetworkSecurityConfig() 410 try (XmlResourceParser parser = resources.getXml(resId)) { in parseDebugOverridesResource() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceUserTypeTest.java | 360 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_profile); in testUserTypeFactoryCustomize_profile() local 474 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_full); in testUserTypeFactoryCustomize_full() local 503 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_eraseArray); in testUserTypeFactoryCustomize_eraseArray() local 525 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_illegalOemName); in testUserTypeFactoryCustomize_illegalOemName() local 546 XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_illegalUserBaseType); in testUserTypeFactoryCustomize_illegalUserBaseType() local 555 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_eraseArray); in testUserTypeFactoryVersion_versionMissing() local 561 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_profile); in testUserTypeFactoryVersion_versionPresent() local 570 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_profile); in testUserTypeFactoryUpgrades_validUpgrades() local 589 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_full); in testUserTypeFactoryUpgrades_illegalBaseTypeUpgrade() local
|
/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/services/tests/uiservicestests/src/com/android/server/notification/ |
D | SnoozeHelperTest.java | 109 TypedXmlPullParser parser = Xml.newFastPullParser(); in testWriteXMLformattedCorrectly_testReadingCorrectTime() local 128 TypedXmlPullParser parser = Xml.newFastPullParser(); in testWriteXML_afterReading_noNPE() local 151 TypedXmlPullParser parser = Xml.newFastPullParser(); in testWriteXMLformattedCorrectly_testCorrectContextURI() local 173 TypedXmlPullParser parser = Xml.newFastPullParser(); in testReadValidSnoozedFromCorrectly_timeDeadline() local 197 TypedXmlPullParser parser = Xml.newFastPullParser(); in testReadExpiredSnoozedNotification() local 230 TypedXmlPullParser parser = Xml.newFastPullParser(); in testScheduleRepostsForPersistedNotifications() local 265 TypedXmlPullParser parser = Xml.newFastPullParser(); in testLongTagPersistedNotification() local
|
D | NotificationAssistantsTest.java | 177 final TypedXmlPullParser parser = Xml.newFastPullParser(); in testWriteXml_userTurnedOffNAS() local 203 final TypedXmlPullParser parser = Xml.newFastPullParser(); in testReadXml_userDisabled() local 226 final TypedXmlPullParser parser = Xml.newFastPullParser(); in testReadXml_userDisabled_restore() local 253 final TypedXmlPullParser parser = Xml.newFastPullParser(); in testReadXml_upgradeUserSet() local 273 final TypedXmlPullParser parser = Xml.newFastPullParser(); in testReadXml_upgradeUserSet_preS_VersionThree() local 294 final TypedXmlPullParser parser = Xml.newFastPullParser(); in testReadXml_upgradeUserSet_preS_VersionOne() local 314 final TypedXmlPullParser parser = Xml.newFastPullParser(); in testReadXml_upgradeUserSet_preS_noUserSet() local 334 final TypedXmlPullParser parser = Xml.newFastPullParser(); in testReadXml_upgradeUserSet_preS_noUserSet_diffDefault() local 359 final TypedXmlPullParser parser = Xml.newFastPullParser(); in testReadXml_multiApproved() local 377 TypedXmlPullParser parser = Xml.newFastPullParser(); in testXmlUpgradeExistingApprovedComponents() 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 | 155 private void parseXml(@NonNull XmlPullParser parser) { in parseXml() 165 private void parseInjection(@NonNull XmlPullParser parser) { in parseInjection() 172 private void parseComponents(@NonNull XmlPullParser parser) { in parseComponents() 179 private void parseComponent(@NonNull XmlPullParser parser) { in parseComponent() 197 private void parseXmlByTag(@NonNull XmlPullParser parser, boolean allowDuplicate, in parseXmlByTag() 221 private void setAttributes(@NonNull XmlPullParser parser) { in setAttributes()
|
/frameworks/base/core/java/android/view/animation/ |
D | AnimationUtils.java | 219 XmlResourceParser parser = null; in loadAnimation() local 231 private static Animation createAnimationFromXml(Context c, XmlPullParser parser) in createAnimationFromXml() 239 Context c, XmlPullParser parser, AnimationSet parent, AttributeSet attrs) in createAnimationFromXml() 296 XmlResourceParser parser = null; in loadLayoutAnimation() local 309 Context c, XmlPullParser parser) in createLayoutAnimationFromXml() 316 Context c, XmlPullParser parser, AttributeSet attrs) in createLayoutAnimationFromXml() 413 XmlResourceParser parser = null; in loadInterpolator() local 437 XmlResourceParser parser = null; in loadInterpolator() local 453 Resources res, Theme theme, XmlPullParser parser) in createInterpolatorFromXml()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/ |
D | BridgeContextTest.java | 64 LayoutPullParser parser = LayoutPullParser.createFromPath("/empty.xml"); in basic() local 111 LayoutPullParser parser = LayoutPullParser.createFromPath("/empty.xml"); in checkNoErrorWhenUsingDefaults() local 145 LayoutPullParser parser = LayoutPullParser.createFromPath("/empty.xml"); in noExceptionForCustomService() local 166 LayoutPullParser parser = LayoutPullParser.createFromPath("/empty.xml"); in dynamicTheming() local 200 LayoutPullParser parser = LayoutPullParser.createFromPath("/empty.xml"); in noCrashInPowerManager() local 223 LayoutPullParser parser = LayoutPullParser.createFromPath("/empty.xml"); in testTypedValue() local 279 LayoutPullParser parser = LayoutPullParser.createFromPath("/empty.xml"); in testWindowMetrics() local
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | PowerProfileTest.java | 147 XmlPullParser parser = Xml.newPullParser(); in configDefaults() local 179 final XmlPullParser parser = getTestModemElement("power_profile_test_modem", in testModemPowerProfile_defaultRat() local 247 final XmlPullParser parser = getTestModemElement("power_profile_test_modem", in testModemPowerProfile_partiallyDefined() local 400 final XmlPullParser parser = getTestModemElement("power_profile_test_modem", in testModemPowerProfile_fullyDefined() local 552 XmlPullParser parser = resolveParser(resourceName); in getTestModemElement() local
|
/frameworks/base/core/java/android/os/vibrator/persistence/ |
D | VibrationXmlParser.java | 280 public static ParsedVibration parseElement(@NonNull TypedXmlPullParser parser, @Flags int flags) in parseElement() 304 private static ParsedVibration parseElementInternal( in parseElementInternal() 321 private static ParsedVibration parseVibrationSelectInternal( in parseVibrationSelectInternal() 336 private static VibrationEffect parseVibrationEffectInternal( in parseVibrationEffectInternal() 353 TypedXmlPullParser parser = Xml.newFastPullParser(); in parseDocumentInternal() local 372 T parse(@NonNull TypedXmlPullParser parser, @Flags int flags) in parse()
|
/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/graphics/java/android/graphics/ |
D | FontListParser.java | 84 XmlPullParser parser = Xml.newPullParser(); in parse() local 126 XmlPullParser parser = Xml.newPullParser(); in parse() local 150 public static FontConfig readFamilies( in readFamilies() 245 private static boolean keepReading(XmlPullParser parser) in keepReading() 260 public static @Nullable FontConfig.FontFamily readFamily(XmlPullParser parser, String fontDir, in readFamily() 296 private static void throwIfAttributeExists(String attrName, XmlPullParser parser) { in throwIfAttributeExists() 306 public static @Nullable FontConfig.NamedFamilyList readNamedFamily( in readNamedFamily() 326 public static @Nullable FontConfig.NamedFamilyList readNamedFamilyList( in readNamedFamilyList() 361 private static @Nullable FontConfig.Font readFont( in readFont() 459 private static FontVariationAxis readAxis(XmlPullParser parser) in readAxis() [all …]
|
/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/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/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/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/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/base/services/core/java/com/android/server/appop/ |
D | LegacyAppOpStateParser.java | 53 TypedXmlPullParser parser = Xml.resolvePullParser(stream); in readState() local 100 private void readPackage(TypedXmlPullParser parser, in readPackage() 123 private void readPackageUid(TypedXmlPullParser parser, String pkgName, in readPackageUid() 146 private void readUidOps(TypedXmlPullParser parser, SparseArray<SparseIntArray> uidModes) in readUidOps() 180 private void readUser(TypedXmlPullParser parser, in readUser() 204 private void readPackageOp(TypedXmlPullParser parser, int userId, in readPackageOp() 227 private void readOp(TypedXmlPullParser parser, int userId, @NonNull String pkgName, in readOp()
|