Home
last modified time | relevance | path

Searched refs:tagName (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DSimpleInflater.java66 String tagName; in parseMenu() local
73 tagName = parser.getName(); in parseMenu()
74 if (tagName.equals(XML_MENU)) { in parseMenu()
80 throw new RuntimeException("Expecting menu, got " + tagName); in parseMenu()
93 tagName = parser.getName(); in parseMenu()
94 if (tagName.equals(XML_ITEM)) { in parseMenu()
96 } else if (tagName.equals(XML_MENU)) { in parseMenu()
100 unknownTagName = tagName; in parseMenu()
105 tagName = parser.getName(); in parseMenu()
106 if (lookingForEndOfUnknownTag && tagName.equals(unknownTagName)) { in parseMenu()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPersistentPreferredActivity.java56 String tagName = parser.getName(); in PersistentPreferredActivity() local
60 tagName = parser.getName(); in PersistentPreferredActivity()
64 if (tagName.equals(ATTR_FILTER)) { in PersistentPreferredActivity()
68 "Unknown element: " + tagName + in PersistentPreferredActivity()
74 if (tagName.equals(ATTR_FILTER)) { in PersistentPreferredActivity()
DCrossProfileIntentFilter.java80 String tagName = parser.getName(); in CrossProfileIntentFilter() local
84 tagName = parser.getName(); in CrossProfileIntentFilter()
88 if (tagName.equals(ATTR_FILTER)) { in CrossProfileIntentFilter()
92 + Settings.TAG_CROSS_PROFILE_INTENT_FILTERS + ": " + tagName + " at " in CrossProfileIntentFilter()
99 if (tagName.equals(ATTR_FILTER)) { in CrossProfileIntentFilter()
DSELinuxMMAC.java160 String tagName = parser.getName(); in readInstallPolicy() local
161 if ("signer".equals(tagName)) { in readInstallPolicy()
182 } else if ("default".equals(tagName)) { in readInstallPolicy()
223 String tagName = parser.getName(); in readPolicyTags() local
224 if ("seinfo".equals(tagName)) { in readPolicyTags()
230 } else if ("package".equals(tagName)) { in readPolicyTags()
264 String tagName = parser.getName(); in readSeinfoTag() local
265 if ("seinfo".equals(tagName)) { in readSeinfoTag()
DPackageSignatures.java47 void writeXml(XmlSerializer serializer, String tagName, in writeXml() argument
52 serializer.startTag(null, tagName); in writeXml()
75 serializer.endTag(null, tagName); in writeXml()
101 String tagName = parser.getName(); in readXml() local
102 if (tagName.equals("cert")) { in readXml()
DSettings.java972 String tagName = parser.getName(); in readPreferredActivitiesLPw() local
973 if (tagName.equals(TAG_ITEM)) { in readPreferredActivitiesLPw()
1000 String tagName = parser.getName(); in readPersistentPreferredActivitiesLPw() local
1001 if (tagName.equals(TAG_ITEM)) { in readPersistentPreferredActivitiesLPw()
1022 String tagName = parser.getName(); in readCrossProfileIntentFiltersLPw() local
1023 if (tagName.equals(TAG_ITEM)) { in readCrossProfileIntentFiltersLPw()
1112 String tagName = parser.getName(); in readPackageRestrictionsLPr() local
1113 if (tagName.equals(TAG_PACKAGE)) { in readPackageRestrictionsLPr()
1160 tagName = parser.getName(); in readPackageRestrictionsLPr()
1161 if (tagName.equals(TAG_ENABLED_COMPONENTS)) { in readPackageRestrictionsLPr()
[all …]
DKeySetManagerService.java645 final String tagName = parser.getName(); in readKeySetsLPw() local
646 if (tagName.equals("keys")) { in readKeySetsLPw()
648 } else if (tagName.equals("keysets")) { in readKeySetsLPw()
650 } else if (tagName.equals("lastIssuedKeyId")) { in readKeySetsLPw()
652 } else if (tagName.equals("lastIssuedKeySetId")) { in readKeySetsLPw()
667 final String tagName = parser.getName(); in readKeysLPw() local
668 if (tagName.equals("public-key")) { in readKeysLPw()
684 final String tagName = parser.getName(); in readKeySetListLPw() local
685 if (tagName.equals("keyset")) { in readKeySetListLPw()
689 } else if (tagName.equals("key-id")) { in readKeySetListLPw()
DPreferredActivity.java55 public boolean onReadTag(String tagName, XmlPullParser parser) throws XmlPullParserException, in onReadTag() argument
57 if (tagName.equals("filter")) { in onReadTag()
DPreferredComponent.java56 public boolean onReadTag(String tagName, XmlPullParser parser) in onReadTag() argument
126 String tagName = parser.getName(); in PreferredComponent() local
129 if (tagName.equals(TAG_SET)) { in PreferredComponent()
156 } else if (!mCallbacks.onReadTag(tagName, parser)) { in PreferredComponent()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/
DSupportMenuInflater.java137 String tagName; in parseMenu() local
144 tagName = parser.getName(); in parseMenu()
145 if (tagName.equals(XML_MENU)) { in parseMenu()
151 throw new RuntimeException("Expecting menu, got " + tagName); in parseMenu()
164 tagName = parser.getName(); in parseMenu()
165 if (tagName.equals(XML_GROUP)) { in parseMenu()
167 } else if (tagName.equals(XML_ITEM)) { in parseMenu()
169 } else if (tagName.equals(XML_MENU)) { in parseMenu()
177 unknownTagName = tagName; in parseMenu()
182 tagName = parser.getName(); in parseMenu()
[all …]
/frameworks/base/core/java/android/view/
DMenuInflater.java129 String tagName; in parseMenu() local
136 tagName = parser.getName(); in parseMenu()
137 if (tagName.equals(XML_MENU)) { in parseMenu()
143 throw new RuntimeException("Expecting menu, got " + tagName); in parseMenu()
156 tagName = parser.getName(); in parseMenu()
157 if (tagName.equals(XML_GROUP)) { in parseMenu()
159 } else if (tagName.equals(XML_ITEM)) { in parseMenu()
161 } else if (tagName.equals(XML_MENU)) { in parseMenu()
170 unknownTagName = tagName; in parseMenu()
175 tagName = parser.getName(); in parseMenu()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DXmlUtils.java1211 final String tagName = parser.getName(); in readThisValueXml() local
1217 if (tagName.equals("null")) { in readThisValueXml()
1219 } else if (tagName.equals("string")) { in readThisValueXml()
1240 } else if ((res = readThisPrimitiveValueXml(parser, tagName)) != null) { in readThisValueXml()
1242 } else if (tagName.equals("int-array")) { in readThisValueXml()
1247 } else if (tagName.equals("long-array")) { in readThisValueXml()
1252 } else if (tagName.equals("double-array")) { in readThisValueXml()
1257 } else if (tagName.equals("string-array")) { in readThisValueXml()
1262 } else if (tagName.equals("map")) { in readThisValueXml()
1268 } else if (tagName.equals("list")) { in readThisValueXml()
[all …]
/frameworks/base/core/java/android/nfc/cardemulation/
DAidGroup.java140 String tagName = parser.getName(); in createFromXml() local
142 if (tagName.equals("aid")) { in createFromXml()
151 } else if (tagName.equals("aid-group")) { in createFromXml()
159 Log.d(TAG, "Ignoring unexpected tag: " + tagName); in createFromXml()
162 if (tagName.equals("aid-group") && inGroup && aids.size() > 0) { in createFromXml()
DApduServiceInfo.java136 String tagName = parser.getName(); in ApduServiceInfo() local
137 if (onHost && !"host-apdu-service".equals(tagName)) { in ApduServiceInfo()
140 } else if (!onHost && !"offhost-apdu-service".equals(tagName)) { in ApduServiceInfo()
181 tagName = parser.getName(); in ApduServiceInfo()
182 if (eventType == XmlPullParser.START_TAG && "aid-group".equals(tagName) && in ApduServiceInfo()
205 } else if (eventType == XmlPullParser.END_TAG && "aid-group".equals(tagName) && in ApduServiceInfo()
215 } else if (eventType == XmlPullParser.START_TAG && "aid-filter".equals(tagName) && in ApduServiceInfo()
228 "aid-prefix-filter".equals(tagName) && currentGroup != null) { in ApduServiceInfo()
/frameworks/av/camera/
DVendorTagDescriptor.cpp90 const char *tagName = vOps->get_tag_name(vOps, tag); in createDescriptorFromOps() local
91 if (tagName == NULL) { in createDescriptorFromOps()
95 desc->mTagToNameMap.add(tag, String8(tagName)); in createDescriptorFromOps()
185 String8 tagName = parcel->readString8(); in createFromParcel() local
186 if (tagName.isEmpty()) { in createFromParcel()
200 desc->mTagToNameMap.add(tag, tagName); in createFromParcel()
307 String8 tagName = mTagToNameMap[i]; in writeToParcel() local
312 if ((res = parcel->writeString8(tagName)) != OK) break; in writeToParcel()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java957 String tagName = parser.getName(); in parseSplitApk() local
958 if (tagName.equals("application")) { in parseSplitApk()
1417 String tagName = parser.getName(); in parseBaseApk() local
1418 if (tagName.equals("application")) { in parseBaseApk()
1435 } else if (tagName.equals("overlay")) { in parseBaseApk()
1460 } else if (tagName.equals("key-sets")) { in parseBaseApk()
1464 } else if (tagName.equals("permission-group")) { in parseBaseApk()
1468 } else if (tagName.equals("permission")) { in parseBaseApk()
1472 } else if (tagName.equals("permission-tree")) { in parseBaseApk()
1476 } else if (tagName.equals("uses-permission")) { in parseBaseApk()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DCompatModePackages.java97 String tagName = parser.getName(); in CompatModePackages() local
98 if ("compat-packages".equals(tagName)) { in CompatModePackages()
102 tagName = parser.getName(); in CompatModePackages()
104 if ("pkg".equals(tagName)) { in CompatModePackages()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_CameraMetadata.cpp700 const char *tagName = get_camera_metadata_tag_name(tag); in CameraMetadata_getTagFromKey() local
702 if (strcmp(keyTagName, tagName) == 0) { in CameraMetadata_getTagFromKey()
704 __FUNCTION__, tagName, tag); in CameraMetadata_getTagFromKey()
717 const String8 tagName(keyTagName); in CameraMetadata_getTagFromKey() local
720 if ((res = vTags->lookupTag(tagName, sectionName, &tag)) != OK) { in CameraMetadata_getTagFromKey()
/frameworks/base/core/java/android/content/
DIntentFilter.java1420 String tagName = parser.getName(); in readFromXml() local
1421 if (tagName.equals(ACTION_STR)) { in readFromXml()
1426 } else if (tagName.equals(CAT_STR)) { in readFromXml()
1431 } else if (tagName.equals(TYPE_STR)) { in readFromXml()
1439 } else if (tagName.equals(SCHEME_STR)) { in readFromXml()
1444 } else if (tagName.equals(SSP_STR)) { in readFromXml()
1453 } else if (tagName.equals(AUTH_STR)) { in readFromXml()
1459 } else if (tagName.equals(PATH_STR)) { in readFromXml()
1469 Log.w("IntentFilter", "Unknown tag parsing IntentFilter: " + tagName); in readFromXml()
/frameworks/base/core/java/android/os/
DPersistableBundle.java237 final String[] tagName = new String[1]; in restoreFromXml() local
243 XmlUtils.readThisMapXml(in, startTag, tagName, new MyReadMapCallback())); in restoreFromXml()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbSettingsManager.java566 final String tagName = parser.getName(); in upgradeSingleUserLocked() local
567 if ("preference".equals(tagName)) { in upgradeSingleUserLocked()
602 String tagName = parser.getName(); in readSettingsLocked() local
603 if ("preference".equals(tagName)) { in readSettingsLocked()
674 String tagName = parser.getName(); in packageMatchesLocked() local
675 if (device != null && "usb-device".equals(tagName)) { in packageMatchesLocked()
681 else if (accessory != null && "usb-accessory".equals(tagName)) { in packageMatchesLocked()
925 String tagName = parser.getName(); in handlePackageUpdateLocked() local
926 if ("usb-device".equals(tagName)) { in handlePackageUpdateLocked()
932 else if ("usb-accessory".equals(tagName)) { in handlePackageUpdateLocked()
/frameworks/base/tools/aapt/
DXMLNode.h108 sp<XMLNode> searchElement(const String16& tagNamespace, const String16& tagName);
110 sp<XMLNode> getChildElement(const String16& tagNamespace, const String16& tagName);
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedVectorDrawable.java274 final String tagName = parser.getName(); in inflate() local
275 if (ANIMATED_VECTOR.equals(tagName)) { in inflate()
288 } else if (TARGET.equals(tagName)) { in inflate()
/frameworks/base/services/core/java/com/android/server/firewall/
DIntentFirewall.java326 String tagName = parser.getName(); in readRules() local
327 if (tagName.equals(TAG_ACTIVITY)) { in readRules()
329 } else if (tagName.equals(TAG_BROADCAST)) { in readRules()
331 } else if (tagName.equals(TAG_SERVICE)) { in readRules()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplaySettings.java127 String tagName = parser.getName(); in readSettingsLocked() local
128 if (tagName.equals("display")) { in readSettingsLocked()

12