/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/apps/Settings/tests/robotests/src/com/android/settings/core/ |
D | PreferenceXmlParserUtilsTest.java | 69 XmlResourceParser parser = getChildByType(R.xml.display_settings, in testDataTitleValid_ReturnsPreferenceTitle() local 79 XmlResourceParser parser = getParentPrimedParser(R.xml.display_settings); in testDataKeywordsValid_ReturnsPreferenceKeywords() local 88 XmlResourceParser parser = getChildByType(R.xml.display_settings, in testDataKeyValid_ReturnsPreferenceKey() local 98 XmlResourceParser parser = getChildByType(R.xml.display_settings, in testDataSummaryValid_ReturnsPreferenceSummary() local 109 XmlResourceParser parser = getChildByType(R.xml.display_settings, "CheckBoxPreference"); in testDataSummaryOnOffValid_ReturnsPreferenceSummaryOnOff() local 121 XmlResourceParser parser = getChildByType(R.xml.display_settings, "ListPreference"); in testDataEntriesValid_ReturnsPreferenceEntries() local 135 XmlResourceParser parser = getParentPrimedParser(R.xml.display_settings); in testDataKeyInvalid_ReturnsNull() local 144 XmlResourceParser parser = getChildByType(R.xml.about_legal, "Preference"); in testControllerAttribute_returnsValidData() local 153 XmlResourceParser parser = getParentPrimedParser(R.xml.display_settings); in testDataSummaryInvalid_ReturnsNull() local 161 XmlResourceParser parser = getParentPrimedParser(R.xml.display_settings); in testDataSummaryOffInvalid_ReturnsNull() local [all …]
|
/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/audio/ |
D | CarAudioZonesHelper.java | 104 final XmlPullParser parser = Xml.newPullParser(); in parseCarAudioZones() local 131 private void parseAudioZones(XmlPullParser parser, List<CarAudioZone> carAudioZones) in parseAudioZones() 145 private CarAudioZone parseAudioZone(XmlPullParser parser) in parseAudioZone() 172 private void parseDisplays(XmlPullParser parser, CarAudioZone zone) in parseDisplays() 183 private DisplayAddress.Physical parsePhysicalDisplayAddress(XmlPullParser parser) { in parsePhysicalDisplayAddress() 202 private void parseVolumeGroups(XmlPullParser parser, CarAudioZone zone) in parseVolumeGroups() 216 private CarVolumeGroup parseVolumeGroup(XmlPullParser parser, int zoneId, int groupId) in parseVolumeGroup() 233 XmlPullParser parser, CarVolumeGroup group, int busNumber) in parseVolumeGroupContexts() 247 private void skip(XmlPullParser parser) throws XmlPullParserException, IOException { in skip()
|
D | CarAudioZonesHelperLegacy.java | 96 try (XmlResourceParser parser = mContext.getResources().getXml(mXmlConfiguration)) { in loadVolumeGroups() 126 private CarVolumeGroup parseVolumeGroup(int id, AttributeSet attrs, XmlResourceParser parser) in parseVolumeGroup()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarUxRestrictionsConfigurationXmlParser.java | 84 XmlResourceParser parser = mContext.getResources().getXml(xmlResource); in parse() local 110 private boolean traverseUntilStartTag(XmlResourceParser parser) in traverseUntilStartTag() 121 private boolean traverseUntilEndOfDocument(XmlResourceParser parser) in traverseUntilEndOfDocument() 160 private boolean mapDrivingStateToRestrictions(XmlResourceParser parser, AttributeSet attrs) in mapDrivingStateToRestrictions() 223 private boolean parseAllRestrictions(XmlResourceParser parser, AttributeSet attrs, in parseAllRestrictions() 265 private DrivingStateRestrictions parseRestrictions(XmlResourceParser parser, AttributeSet attrs) in parseRestrictions() 304 private boolean traverseToTag(XmlResourceParser parser, String tag) in traverseToTag() 322 private boolean parseRestrictionParameters(XmlResourceParser parser, AttributeSet attrs) in parseRestrictionParameters()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/ |
D | DelegatingFieldParser.java | 31 public void setFieldParser(final String name, final FieldParser parser) { in setFieldParser() 32 parsers.put(name.toLowerCase(), parser); in setFieldParser() local 44 final FieldParser parser = getParser(name); in parse() local
|
/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/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/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/apps/PermissionController/src/com/android/packageinstaller/role/model/ |
D | Roles.java | 131 try (XmlResourceParser parser = context.getResources().getXml(R.xml.roles)) { in load() 147 private static Pair<ArrayMap<String, PermissionSet>, ArrayMap<String, Role>> parseXml( in parseXml() 181 private static Pair<ArrayMap<String, PermissionSet>, ArrayMap<String, Role>> parseRoles( in parseRoles() 226 private static PermissionSet parsePermissionSet(@NonNull XmlResourceParser parser) in parsePermissionSet() 263 private static Role parseRole(@NonNull XmlResourceParser parser, in parseRole() 418 private static List<RequiredComponent> parseRequiredComponents( in parseRequiredComponents() 457 private static RequiredComponent parseRequiredComponent(@NonNull XmlResourceParser parser, in parseRequiredComponent() 538 private static IntentFilterData parseIntentFilterData(@NonNull XmlResourceParser parser) in parseIntentFilterData() 621 private static List<String> parsePermissions(@NonNull XmlResourceParser parser, in parsePermissions() 672 private static List<AppOp> parseAppOps(@NonNull XmlResourceParser parser) throws IOException, in parseAppOps() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | AutoInstallsLayout.java | 209 protected int parseLayout(XmlPullParser parser, IntArray screenIds) in parseLayout() 231 protected void parseContainerAndScreen(XmlPullParser parser, int[] out) { in parseContainerAndScreen() 246 XmlPullParser parser, ArrayMap<String, TagParser> tagParserMap, IntArray screenIds) in parseAndAddNode() 327 int parseAndAdd(XmlPullParser parser) in parseAndAdd() 337 public int parseAndAdd(XmlPullParser parser) { in parseAndAdd() 374 protected int invalidPackageOrClass(XmlPullParser parser) { in invalidPackageOrClass() 386 public int parseAndAdd(XmlPullParser parser) { in parseAndAdd() 417 public int parseAndAdd(XmlPullParser parser) { in parseAndAdd() 452 protected Intent parseIntent(XmlPullParser parser) { in parseIntent() 473 public int parseAndAdd(XmlPullParser parser) in parseAndAdd() [all …]
|
D | DefaultLayoutParser.java | 78 protected void parseContainerAndScreen(XmlPullParser parser, int[] out) { in parseContainerAndScreen() 93 protected int invalidPackageOrClass(XmlPullParser parser) { in invalidPackageOrClass() 187 protected Intent parseIntent(XmlPullParser parser) { in parseIntent() 207 public int parseAndAdd(XmlPullParser parser) throws XmlPullParserException, in parseAndAdd() 235 public int parseAndAdd(XmlPullParser parser) throws XmlPullParserException, in parseAndAdd() 261 public int parseAndAdd(XmlPullParser parser) throws XmlPullParserException, in parseAndAdd()
|
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/ |
D | FixedScaleDrawable.java | 37 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs) { } in inflate() 40 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) { } in inflate()
|
/packages/apps/CarrierConfig/src/com/android/carrierconfig/ |
D | DefaultCarrierConfigService.java | 85 XmlPullParser parser = mFactory.newPullParser(); in onLoadConfig() local 183 static PersistableBundle readConfigFromXml(XmlPullParser parser, @Nullable CarrierIdentifier id) in readConfigFromXml() 238 static boolean checkFilters(XmlPullParser parser, CarrierIdentifier id) { in checkFilters()
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
D | BaseAccountType.java | 658 protected final void parseEditSchema(Context context, XmlPullParser parser, AttributeSet attrs) in parseEditSchema() 729 public List<DataKind> parseDataKindTag(Context context, XmlPullParser parser, in parseDataKindTag() 749 public abstract List<DataKind> parseDataKind(Context context, XmlPullParser parser, in parseDataKind() 756 protected final DataKind newDataKind(Context context, XmlPullParser parser, in newDataKind() 801 private void parseTypes(Context context, XmlPullParser parser, AttributeSet attrs, in parseTypes() 832 private EditType parseTypeTag(XmlPullParser parser, AttributeSet attrs, DataKind kind) in parseTypeTag() 881 public List<DataKind> parseDataKind(Context context, XmlPullParser parser, in parseDataKind() 996 public List<DataKind> parseDataKind(Context context, XmlPullParser parser, in parseDataKind() 1022 public List<DataKind> parseDataKind(Context context, XmlPullParser parser, in parseDataKind() 1081 public List<DataKind> parseDataKind(Context context, XmlPullParser parser, in parseDataKind() [all …]
|
/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 …]
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/ |
D | MessageParserTest.java | 101 ProvisioningDataParser parser = mMessageParser.getParser(intent); in test_correctParserUsedToParseNfcIntent() local 126 ProvisioningDataParser parser = mMessageParser.getParser(intent); in test_correctParserUsedToParseOtherSupportedProvisioningIntent() local
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | LocalizedNameResolver.java | 78 final XmlResourceParser parser = ExternalAccountType.loadContactsXml(context, packageName); in resolveAllContactsNameFromMetaData() local 85 private static String loadAllContactsNameFromXml(Context context, XmlPullParser parser, in loadAllContactsNameFromXml()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/ |
D | BackupHelper.java | 111 private static void skipToEndOfTag(@NonNull XmlPullParser parser) in skipToEndOfTag() 134 private void skipToTag(@NonNull XmlPullParser parser, @NonNull String tag) in skipToTag() 158 private @NonNull ArrayList<BackupPackageState> parseFromXml(@NonNull XmlPullParser parser) in parseFromXml() 217 void restoreState(@NonNull XmlPullParser parser) throws IOException, XmlPullParserException { in restoreState() 339 XmlPullParser parser = Xml.newPullParser(); in restoreDelayedState() local 403 static @NonNull List<BackupPermissionState> parseFromXml(@NonNull XmlPullParser parser, in parseFromXml() 618 static @NonNull BackupPackageState parseFromXml(@NonNull XmlPullParser parser, in parseFromXml()
|
/packages/apps/Messaging/build/ |
D | process_style_output.py | 22 parser = argparse.ArgumentParser() variable
|
/packages/services/Telephony/src/com/android/phone/ |
D | CarrierXmlParser.java | 434 XmlResourceParser parser = context.getResources().getXml(xmlResId); in CarrierXmlParser() local 441 private HashMap<String, SsFeature> parseXml(XmlResourceParser parser) throws IOException { in parseXml() 468 private SsFeature generateFeatureList(XmlResourceParser parser) in generateFeatureList() 499 private void readCommandResultEntry(XmlResourceParser parser, SsFeature ssFeature) in readCommandResultEntry() 526 private SsEntry readCommandEntry(XmlResourceParser parser) in readCommandEntry() 564 private void readParameters(XmlResourceParser parser, SsEntry entry, int num, String parentTag) in readParameters() 592 private String getSpecificAttributeValue(XmlResourceParser parser, String attrTag) { in getSpecificAttributeValue() 602 private String readText(XmlResourceParser parser) throws IOException, XmlPullParserException { in readText()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapConvoListing.java | 142 XmlPullParser parser = Xml.newPullParser(); in appendFromXml() local 175 private void readConversations(XmlPullParser parser) in readConversations()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | RegisteredComponentCache.java | 182 XmlResourceParser parser = null; in parseComponentInfo() local 190 parser, info, components); in parseComponentInfo() local 198 void parseTechLists(Resources res, String packageName, XmlPullParser parser, in parseTechLists()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/ |
D | AnomalyInfo.java | 35 KeyValueListParser parser = new KeyValueListParser(','); in AnomalyInfo() local
|