Home
last modified time | relevance | path

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

12345

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DXmlParseUtils.java33 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/
DPreferenceXmlParserUtilsTest.java69 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/
DHbpcdLookupDatabaseHelper.java160 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/
DCarAudioZonesHelper.java104 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()
DCarAudioZonesHelperLegacy.java96 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/
DCarUxRestrictionsConfigurationXmlParser.java84 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()
306 private boolean traverseToTag(XmlResourceParser parser, String tag) in traverseToTag()
324 private boolean parseRestrictionParameters(XmlResourceParser parser, AttributeSet attrs) in parseRestrictionParameters()
/packages/apps/Dialer/java/com/android/voicemail/impl/utils/
DXmlUtils.java29 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/
DContentRatingsParser.java75 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/
DKeyboardBuilder.java170 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/
DRoles.java131 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/
DAutoInstallsLayout.java217 protected int parseLayout(XmlPullParser parser, IntArray screenIds) in parseLayout()
239 protected void parseContainerAndScreen(XmlPullParser parser, int[] out) { in parseContainerAndScreen()
254 XmlPullParser parser, ArrayMap<String, TagParser> tagParserMap, IntArray screenIds) in parseAndAddNode()
336 int parseAndAdd(XmlPullParser parser) in parseAndAdd()
346 public int parseAndAdd(XmlPullParser parser) { in parseAndAdd()
383 protected int invalidPackageOrClass(XmlPullParser parser) { in invalidPackageOrClass()
395 public int parseAndAdd(XmlPullParser parser) { in parseAndAdd()
426 public int parseAndAdd(XmlPullParser parser) { in parseAndAdd()
461 protected Intent parseIntent(XmlPullParser parser) { in parseIntent()
482 public ComponentName getComponentName(XmlPullParser parser) { in getComponentName()
[all …]
DDefaultLayoutParser.java83 protected void parseContainerAndScreen(XmlPullParser parser, int[] out) { in parseContainerAndScreen()
98 protected int invalidPackageOrClass(XmlPullParser parser) { in invalidPackageOrClass()
192 protected Intent parseIntent(XmlPullParser parser) { in parseIntent()
212 public int parseAndAdd(XmlPullParser parser) throws XmlPullParserException, in parseAndAdd()
241 public int parseAndAdd(XmlPullParser parser) throws XmlPullParserException, in parseAndAdd()
268 public int parseAndAdd(XmlPullParser parser) throws XmlPullParserException, in parseAndAdd()
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunChannelScan.java93 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/Launcher3/iconloaderlib/src/com/android/launcher3/icons/
DFixedScaleDrawable.java37 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/Contacts/src/com/android/contacts/model/account/
DBaseAccountType.java658 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/
DBaseAccountType.java529 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/CarrierConfig/src/com/android/carrierconfig/
DDefaultCarrierConfigService.java102 XmlPullParser parser = mFactory.newPullParser(); in onLoadConfig() local
202 static PersistableBundle readConfigFromXml(XmlPullParser parser, @Nullable CarrierIdentifier id) in readConfigFromXml()
259 static boolean checkFilters(XmlPullParser parser, CarrierIdentifier id) { in checkFilters()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DMessageParserTest.java101 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/
DLocalizedNameResolver.java78 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/
DBackupHelper.java111 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/
Dprocess_style_output.py22 parser = argparse.ArgumentParser() variable
/packages/services/Telephony/src/com/android/phone/
DCarrierXmlParser.java434 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/
DBluetoothMapConvoListing.java142 XmlPullParser parser = Xml.newPullParser(); in appendFromXml() local
175 private void readConversations(XmlPullParser parser) in readConversations()
/packages/apps/Nfc/src/com/android/nfc/
DRegisteredComponentCache.java182 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/
DAnomalyInfo.java35 KeyValueListParser parser = new KeyValueListParser(','); in AnomalyInfo() local

12345