/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | AndroidManifestConfigParserTest.java | 47 XmlResourceParser parser = createParser(R.xml.android_manifest_valid); in testGetAdServicesConfigResourceId_valid() local 60 XmlResourceParser parser = createParser(R.xml.android_manifest_diff_attr_order_valid); in testGetAdServicesConfigResourceId_attrOrderChange_valid() local 73 XmlResourceParser parser = in testGetAdServicesConfigResourceId_withPropertyNameRef_valid() local 87 XmlResourceParser parser = createParser(R.xml.android_manifest_missing_property); in testGetAdServicesConfigResourceId_missingProperty() local 99 XmlResourceParser parser = in testGetAdServicesConfigResourceId_missingPropertyInsideApplication() local 113 XmlResourceParser parser = createParser(R.xml.android_manifest_missing_property_name); in testGetAdServicesConfigResourceId_missingPropertyDueToNoNameAttr() local 125 XmlResourceParser parser = createParser(R.xml.android_manifest_incorrect_property_name); in testGetAdServicesConfigResourceId_missingPropertyDueToIncorrectName() local 137 XmlResourceParser parser = in testGetAdServicesConfigResourceId_missingPropertyDueToIncorrectDepth() local 150 XmlResourceParser parser = createParser(R.xml.android_manifest_missing_resource); in testGetAdServicesConfigResourceId_invalidPropertyDueToMissingResourceAttr() local 165 XmlResourceParser parser = createParser(R.xml.android_manifest_missing_resource); in testGetAdServicesConfigResourceId_onSPlus_throwsException() local
|
D | AppManifestConfigParserTest.java | 44 XmlResourceParser parser = in testValidXml() local 210 XmlResourceParser parser = in testInvalidXml_missingSdkLibrary() local 225 XmlResourceParser parser = in testInvalidXml_incorrectValues() local 240 XmlResourceParser parser = in testValidXml_missingAllTags() local 268 XmlResourceParser parser = in testValidXml_missingAttribution() local 290 XmlResourceParser parser = in testValidXml_missingCustomAudiences() local 312 XmlResourceParser parser = in testValidXml_missingProtectedSignals() local 334 XmlResourceParser parser = in testValidXml_missingAdSelection() local 356 XmlResourceParser parser = in testValidXml_missingTopics() local 378 XmlResourceParser parser = in testValidXml_missingAdId() local [all …]
|
/packages/modules/Wifi/service/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
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioFadeConfigurationHelper.java | 103 XmlPullParser parser = Xml.newPullParser(); in parseFadeManagerConfigFile() local 136 private void parseFadeConfigs(XmlPullParser parser) throws XmlPullParserException, IOException { in parseFadeConfigs() 150 private CarAudioFadeConfiguration parseFadeConfig(XmlPullParser parser) in parseFadeConfig() 196 private void parseFadeState(XmlPullParser parser, FadeManagerConfiguration.Builder builder) in parseFadeState() 205 private void parseFadeableUsages(XmlPullParser parser, FadeManagerConfiguration.Builder builder) in parseFadeableUsages() 220 private void parseUnfadeableContentTypes(XmlPullParser parser, in parseUnfadeableContentTypes() 233 private void parseUnfadeableAudioAttributes(XmlPullParser parser, in parseUnfadeableAudioAttributes() 249 private void parseFadeOutConfigurations(XmlPullParser parser, in parseFadeOutConfigurations() 263 private void parseFadeInConfigurations(XmlPullParser parser, in parseFadeInConfigurations() 277 private void parseFadeConfiguration(XmlPullParser parser, in parseFadeConfiguration() [all …]
|
D | CarAudioParserUtils.java | 58 /* package */ static List<AudioAttributes> parseAudioAttributes(XmlPullParser parser, in parseAudioAttributes() 83 static AudioAttributes parseAudioAttribute(XmlPullParser parser, in parseAudioAttribute() 97 private static boolean parseUsage(XmlPullParser parser, AudioAttributes.Builder builder, in parseUsage() 112 static int parseUsageValue(XmlPullParser parser, String attrValue) in parseUsageValue() 127 private static boolean parseContentType(XmlPullParser parser, AudioAttributes.Builder builder) in parseContentType() 138 static int parseContentTypeValue(XmlPullParser parser) in parseContentTypeValue() 147 private static boolean parseTags(XmlPullParser parser, AudioAttributes.Builder builder) in parseTags() 175 /* package */ static void skip(XmlPullParser parser) in skip()
|
D | CarAudioZonesHelper.java | 241 XmlPullParser parser = Xml.newPullParser(); in parseCarAudioZones() local 279 private void parseMirroringDevices(XmlPullParser parser) in parseMirroringDevices() 299 private void parseMirroringDevice(XmlPullParser parser) { in parseMirroringDevice() 321 private void parseCarAudioContexts(XmlPullParser parser) in parseCarAudioContexts() 338 private void parseCarAudioContext(XmlPullParser parser, int contextId) in parseCarAudioContext() 384 private SparseArray<CarAudioZone> parseAudioZones(XmlPullParser parser) in parseAudioZones() 419 private CarAudioZone parseAudioZone(XmlPullParser parser) in parseAudioZone() 458 private int getZoneId(boolean isPrimary, XmlPullParser parser) { in getZoneId() 489 private void parseOccupantZoneId(int audioZoneId, XmlPullParser parser) { in parseOccupantZoneId() 508 private void parseInputAudioDevices(XmlPullParser parser, CarAudioZone zone) in parseInputAudioDevices() [all …]
|
/packages/services/Car/tests/CarTelemetryApp/tests/src/com/android/car/ |
D | ConfigParserTest.java | 104 XmlPullParser parser = createParserForXML(configXML); in test_parseConfigReturnsCorrectMetricsConfig() local 173 XmlPullParser parser = createParserForXML(configXML); in test_emptyOrNoConfigNameReturnsNoConfig() local 215 XmlPullParser parser = createParserForXML(configXML); in test_malformedOrNoConfigVersionReturnsNoConfig() local 257 XmlPullParser parser = createParserForXML(configXML); in test_emptyOrNoConfigScriptNameReturnsNoConfig() local 282 XmlPullParser parser = createParserForXML(configXML); in test_emptyOrNoSubscribersTagsReturnsNoConfig() local 325 XmlPullParser parser = createParserForXML(configXML); in test_emptyOrNoSubscriberHandlerReturnsNoConfig() local 363 XmlPullParser parser = createParserForXML(configXML); in test_noPublisherTagOrTypeReturnsNoConfig() local 390 XmlPullParser parser = createParserForXML(configXML); in test_parseStatsPublisherCorrectly() local 424 XmlPullParser parser = createParserForXML(configXML); in test_parseVehiclePropertyPublisherCorrectly() local 457 XmlPullParser parser = createParserForXML(configXML); in test_parseCarTelemetrydPublisherCorrectly() local [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | XmlParseUtils.java | 33 public ParseException(final String msg, final XmlPullParser parser) { in ParseException() 40 public IllegalStartTag(final XmlPullParser parser, final String tag, final String parent) { in IllegalStartTag() 47 public IllegalEndTag(final XmlPullParser parser, final String tag, final String parent) { in IllegalEndTag() 54 public IllegalAttribute(final XmlPullParser parser, final String tag, in IllegalAttribute() 62 public NonEmptyTag(final XmlPullParser parser, final String tag) { in NonEmptyTag() 67 public static void checkEndTag(final String tag, final XmlPullParser parser) in checkEndTag() 75 final String attrName, final String tag, final XmlPullParser parser) in checkAttributeExists()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | ApplicationSelfCertifiedNetworkCapabilitiesTest.kt | 50 val parser = mResource.getXml( in parseXmlWithWrongTag_shouldIgnoreWrongTag() constant 60 val parser = mResource.getXml( in parseXmlWithWrongDeclaration_shouldThrowException() constant 71 val parser = mResource.getXml(R.xml.self_certified_capabilities_other) in checkIfSelfCertifiedNetworkCapabilitiesDeclared_shouldThrowExceptionWhenNoDeclaration() constant 89 val parser = mResource.getXml(R.xml.self_certified_capabilities_both) in checkIfSelfCertifiedNetworkCapabilitiesDeclared_shouldPassIfDeclarationExist() constant
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | HbpcdLookupDatabaseHelper.java | 160 XmlResourceParser parser = r.getXml(R.xml.hbpcd_lookup_tables); in initDatabase() local 196 private void loadTable(SQLiteDatabase db, XmlPullParser parser, String tableName) in loadTable() 229 private ContentValues getTableMccIddRow(XmlPullParser parser) in getTableMccIddRow() 250 private ContentValues getTableMccLookupTableRow(XmlPullParser parser) in getTableMccLookupTableRow() 285 private ContentValues getTableMccSidConflictRow(XmlPullParser parser) in getTableMccSidConflictRow() 306 private ContentValues getTableMccSidRangeRow(XmlPullParser parser) in getTableMccSidRangeRow() 329 private ContentValues getTableNanpAreaCodeRow(XmlPullParser parser) in getTableNanpAreaCodeRow() 348 private ContentValues getTableArbitraryMccSidMatch(XmlPullParser parser) in getTableArbitraryMccSidMatch()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarUxRestrictionsConfigurationXmlParser.java | 120 XmlResourceParser parser = mContext.getResources().getXml(xmlResource); in parse() local 147 private boolean traverseUntilStartTag(XmlResourceParser parser) in traverseUntilStartTag() 158 private boolean traverseUntilEndOfDocument(XmlResourceParser parser) in traverseUntilEndOfDocument() 198 private void parseLocalRestrictionParameters(XmlResourceParser parser, in parseLocalRestrictionParameters() 225 private void parseRestrictionParameters(XmlResourceParser parser, in parseRestrictionParameters() 258 XmlResourceParser parser) { in setStringRestrictionParameters() 273 XmlResourceParser parser) { in setContentRestrictionParameters() 293 private boolean mapDrivingStateToRestrictions(XmlResourceParser parser) in mapDrivingStateToRestrictions() 394 private boolean parseAllRestrictions(XmlResourceParser parser, in parseAllRestrictions() 441 private List<DrivingStateRestrictions> parseRestrictions(XmlResourceParser parser) in parseRestrictions() [all …]
|
/packages/services/Car/tests/OemCarServiceTestApp/src/com/android/car/oem/utils/ |
D | OemCarServiceHelper.java | 87 XmlPullParser parser = Xml.newPullParser(); in parseAudioManagementConfiguration() local 179 private void parseFocusInteractions(XmlPullParser parser) in parseFocusInteractions() 192 private void parseFocusInteraction(XmlPullParser parser, ArrayMap<AudioAttributes, in parseFocusInteraction() 212 private void parseExclusiveOrRejectFocusAttributes(XmlPullParser parser, in parseExclusiveOrRejectFocusAttributes() 248 private void parseDuckingInteractions(XmlPullParser parser) in parseDuckingInteractions() 261 private void parseDuckingInteraction(XmlPullParser parser, ArrayMap<AudioAttributes, in parseDuckingInteraction() 279 private List<AudioAttributes> parseVolumePriority(XmlPullParser parser) in parseVolumePriority() 284 private void parseToDuckAttributes(XmlPullParser parser, ArrayMap<AudioAttributes, in parseToDuckAttributes() 297 private List<AudioAttributes> parseAttributes(XmlPullParser parser) in parseAttributes() 326 private void skip(XmlPullParser parser) throws XmlPullParserException, IOException { in skip()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyboardBuilder.java | 170 final XmlResourceParser parser = mResources.getXml(xmlId); in load() local 219 private void parseKeyboard(final XmlPullParser parser) in parseKeyboard() 237 private void parseKeyboardAttributes(final XmlPullParser parser) { in parseKeyboardAttributes() 298 private void parseKeyboardContent(final XmlPullParser parser, final boolean skip) in parseKeyboardContent() 338 private KeyboardRow parseRowAttributes(final XmlPullParser parser) in parseRowAttributes() 355 private void parseRowContent(final XmlPullParser parser, final KeyboardRow row, in parseRowContent() 391 private void parseGridRows(final XmlPullParser parser, final boolean skip) in parseGridRows() 470 private void parseKey(final XmlPullParser parser, final KeyboardRow row, final boolean skip) in parseKey() 494 private void parseSpacer(final XmlPullParser parser, final KeyboardRow row, final boolean skip) in parseSpacer() 511 private void parseIncludeKeyboardContent(final XmlPullParser parser, final boolean skip) in parseIncludeKeyboardContent() [all …]
|
/packages/services/Car/tests/CarTelemetryApp/src/com/android/car/cartelemetryapp/ |
D | ConfigParser.java | 105 Map<String, MetricsConfig> getConfigs(@NonNull XmlPullParser parser) { in getConfigs() 129 private MetricsConfig parseMetricsConfig(@NonNull XmlPullParser parser) in parseMetricsConfig() 190 private List<Subscriber> parseSubscribers(@NonNull XmlPullParser parser) in parseSubscribers() 210 private Subscriber parseSubscriber(@NonNull XmlPullParser parser) in parseSubscriber() 253 private Publisher parsePublisher(@NonNull XmlPullParser parser) in parsePublisher() 289 private VehiclePropertyPublisher parseVehiclePropertyPublisher(@NonNull XmlPullParser parser) in parseVehiclePropertyPublisher() 325 private CarTelemetrydPublisher parseCarTelemetrydPublisher(@NonNull XmlPullParser parser) in parseCarTelemetrydPublisher() 350 private StatsPublisher parseStatsPublisher(@NonNull XmlPullParser parser) in parseStatsPublisher() 375 private ConnectivityPublisher parseConnectivityPublisher(@NonNull XmlPullParser parser) in parseConnectivityPublisher()
|
/packages/apps/TV/src/com/android/tv/parental/ |
D | ContentRatingsParser.java | 75 try (XmlResourceParser parser = in parse() 92 XmlResourceParser parser, String domain, boolean isCustom) in parse() 184 XmlResourceParser parser, String domain, boolean isCustom) in parseRatingSystemDefinition() 261 private Rating.Builder parseRatingDefinition(XmlResourceParser parser) in parseRatingDefinition() 331 private SubRating.Builder parseSubRatingDefinition(XmlResourceParser parser) in parseSubRatingDefinition() 380 private Order.Builder parseOrder(XmlResourceParser parser) in parseOrder() 414 private Order.Builder parseRating(XmlResourceParser parser, Order.Builder builder) in parseRating() 444 private Rating.Builder parseSubRating(XmlResourceParser parser, Rating.Builder builder) in parseSubRating() 476 private String getTitle(XmlResourceParser parser, int index) { in getTitle()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/ |
D | AppManifestConfigParser.java | 58 static AppManifestConfig getConfig(@NonNull XmlResourceParser parser) in getConfig() 216 private static String getSdkLibrary(@NonNull XmlResourceParser parser) { in getSdkLibrary() 220 private static boolean getAllowAllToAccess(@NonNull XmlResourceParser parser) { in getAllowAllToAccess() 226 private static List<String> getAllowAdPartnersToAccess( in getAllowAdPartnersToAccess() 242 private static String getAttributeValue(@NonNull XmlResourceParser parser, String name) { in getAttributeValue()
|
D | AndroidManifestConfigParser.java | 65 public static Integer getAdServicesConfigResourceId( in getAdServicesConfigResourceId() 96 private static boolean hasReachedEndOfApplication(@NonNull XmlResourceParser parser) in hasReachedEndOfApplication() 101 private static boolean isTagType(@NonNull XmlResourceParser parser, @NonNull String tag) { in isTagType() 105 private static Optional<Integer> getResourceIdIfAdServicesProperty( in getResourceIdIfAdServicesProperty() 143 private static boolean isAttributeType( in isAttributeType()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/utils/ |
D | XmlUtils.java | 29 XmlPullParser parser, String endTag, String[] name, ReadMapCallback callback) in readThisArrayMapXml() 61 XmlPullParser parser, in readThisListXml() 96 public static String[] readThisStringArrayXml(XmlPullParser parser, String endTag, String[] name) in readThisStringArrayXml() 134 XmlPullParser parser, String[] name, ReadMapCallback callback, boolean arrayMap) in readThisValueXml() 200 private static final Object readThisPrimitiveValueXml(XmlPullParser parser, String tagName) in readThisPrimitiveValueXml()
|
/packages/modules/Permission/SafetyCenter/Persistence/java/com/android/safetycenter/persistence/ |
D | SafetyCenterIssuesPersistence.java | 84 XmlPullParser parser = Xml.newPullParser(); in read() local 97 private static List<PersistedSafetyCenterIssue> parseXml(XmlPullParser parser) in parseXml() 114 private static List<PersistedSafetyCenterIssue> parseIssues(XmlPullParser parser) in parseIssues() 143 private static PersistedSafetyCenterIssue parseIssue(XmlPullParser parser) in parseIssue() 194 private static void validateElementStart(XmlPullParser parser, String name) in validateElementStart() 201 private static void validateElementEnd(XmlPullParser parser, String name) in validateElementEnd()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | AutoInstallsLayout.java | 246 protected int parseLayout(XmlPullParser parser) in parseLayout() 268 protected void parseContainerAndScreen(XmlPullParser parser, int[] out) { in parseContainerAndScreen() 283 XmlPullParser parser, ArrayMap<String, TagParser> tagParserMap) in parseAndAddNode() 372 int parseAndAdd(XmlPullParser parser) in parseAndAdd() 382 public int parseAndAdd(XmlPullParser parser) { in parseAndAdd() 419 protected int invalidPackageOrClass(XmlPullParser parser) { in invalidPackageOrClass() 431 public int parseAndAdd(XmlPullParser parser) { in parseAndAdd() 452 public int parseAndAdd(XmlPullParser parser) { in parseAndAdd() 482 public ComponentName getComponentName(XmlPullParser parser) { in getComponentName() 493 public int parseAndAdd(XmlPullParser parser) in parseAndAdd() [all …]
|
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/model/ |
D | RoleParser.java | 159 try (XmlResourceParser parser = getRolesXml()) { in parse() 189 private Pair<ArrayMap<String, PermissionSet>, ArrayMap<String, Role>> parseXml( in parseXml() 223 private Pair<ArrayMap<String, PermissionSet>, ArrayMap<String, Role>> parseRoles( in parseRoles() 268 private PermissionSet parsePermissionSet(@NonNull XmlResourceParser parser) in parsePermissionSet() 315 private Permission parsePermission(@NonNull XmlResourceParser parser, in parsePermission() 330 private Role parseRole(@NonNull XmlResourceParser parser, in parseRole() 547 private List<RequiredComponent> parseRequiredComponents( in parseRequiredComponents() 586 private RequiredComponent parseRequiredComponent(@NonNull XmlResourceParser parser, in parseRequiredComponent() 673 private IntentFilterData parseIntentFilterData(@NonNull XmlResourceParser parser) in parseIntentFilterData() 756 private List<Permission> parsePermissions(@NonNull XmlResourceParser parser, in parsePermissions() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | XmlUtilHelper.java | 62 public static void skipCurrentTag(XmlPullParser parser) in skipCurrentTag() 746 XmlPullParser parser = Xml.newPullParser(); in readMapXml() local 767 XmlPullParser parser = Xml.newPullParser(); in readListXml() local 790 XmlPullParser parser = Xml.newPullParser(); in readSetXml() local 809 public static final HashMap<String, ?> readThisMapXml(XmlPullParser parser, String endTag, in readThisMapXml() 829 public static final HashMap<String, ?> readThisMapXml(XmlPullParser parser, String endTag, in readThisMapXml() 858 public static final ArrayMap<String, ?> readThisArrayMapXml(XmlPullParser parser, String endTag, in readThisArrayMapXml() 897 public static final ArrayList readThisListXml(XmlPullParser parser, String endTag, in readThisListXml() 916 private static final ArrayList readThisListXml(XmlPullParser parser, String endTag, in readThisListXml() 958 public static final HashSet readThisSetXml(XmlPullParser parser, String endTag, String[] name) in readThisSetXml() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
D | BaseAccountType.java | 663 protected final void parseEditSchema(Context context, XmlPullParser parser, AttributeSet attrs) in parseEditSchema() 734 public List<DataKind> parseDataKindTag(Context context, XmlPullParser parser, in parseDataKindTag() 754 public abstract List<DataKind> parseDataKind(Context context, XmlPullParser parser, in parseDataKind() 761 protected final DataKind newDataKind(Context context, XmlPullParser parser, in newDataKind() 806 private void parseTypes(Context context, XmlPullParser parser, AttributeSet attrs, in parseTypes() 837 private EditType parseTypeTag(XmlPullParser parser, AttributeSet attrs, DataKind kind) in parseTypeTag() 886 public List<DataKind> parseDataKind(Context context, XmlPullParser parser, in parseDataKind() 1001 public List<DataKind> parseDataKind(Context context, XmlPullParser parser, in parseDataKind() 1027 public List<DataKind> parseDataKind(Context context, XmlPullParser parser, in parseDataKind() 1086 public List<DataKind> parseDataKind(Context context, XmlPullParser parser, in parseDataKind() [all …]
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/ |
D | HdHomeRunChannelScan.java | 93 XmlPullParser parser = Xml.newPullParser(); in scan() local 122 private void readProgram(XmlPullParser parser) throws XmlPullParserException, IOException { in readProgram() 177 private String readText(XmlPullParser parser, String name) in readText() 190 private void skip(XmlPullParser parser) throws XmlPullParserException, IOException { in skip()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/account/ |
D | BaseAccountType.java | 529 protected final void parseEditSchema(Context context, XmlPullParser parser, AttributeSet attrs) in parseEditSchema() 842 Context context, XmlPullParser parser, AttributeSet attrs) in parseDataKindTag() 860 Context context, XmlPullParser parser, AttributeSet attrs) in parseDataKind() 866 XmlPullParser parser, in newDataKind() 915 XmlPullParser parser, in parseTypes() 991 public List<DataKind> parseDataKind(Context context, XmlPullParser parser, AttributeSet attrs) in parseDataKind() 1175 public List<DataKind> parseDataKind(Context context, XmlPullParser parser, AttributeSet attrs) in parseDataKind() 1216 public List<DataKind> parseDataKind(Context context, XmlPullParser parser, AttributeSet attrs) in parseDataKind() 1321 public List<DataKind> parseDataKind(Context context, XmlPullParser parser, AttributeSet attrs) in parseDataKind() 1372 public List<DataKind> parseDataKind(Context context, XmlPullParser parser, AttributeSet attrs) in parseDataKind() [all …]
|