/libcore/luni/src/test/java/tests/org/w3c/dom/ |
NamedNodeMapGetNamedItemNS.java | 106 String attrName; 114 attrName = attribute.getNodeName(); 115 assertEquals("namednodemapgetnameditemns02", "emp:domestic", attrName); 125 String attrName; 135 attrName = attribute.getNodeName(); 136 assertEquals("namednodemapgetnameditemns03", "L2:att", attrName); 145 String attrName; 154 attrName = attribute.getNodeName(); 155 assertEquals("namednodemapgetnameditemns04", "street", attrName); 181 // String attrName; [all...] |
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
hc_namednodemapreturnattrnode.java | 70 String attrName; 77 attrName = streetAttr.getNodeName(); 78 assertEqualsAutoCase("attribute", "nodeName", "class", attrName); 79 attrName = ((Attr) /*Node */streetAttr).getName(); 80 assertEqualsAutoCase("attribute", "name", "class", attrName);
|
namednodemapreturnattrnode.java | 73 String attrName; 80 attrName = streetAttr.getNodeName(); 81 assertEquals("nodeName", "street", attrName); 82 attrName = ((Attr) /*Node */streetAttr).getName(); 83 assertEquals("attrName", "street", attrName);
|
documentcreateattribute.java | 68 String attrName; 74 attrName = newAttrNode.getNodeName(); 75 assertEquals("name", "district", attrName);
|
hc_documentcreateattribute.java | 67 String attrName; 73 attrName = newAttrNode.getNodeName(); 74 assertEqualsAutoCase("attribute", "name", "title", attrName);
|
hc_namednodemapgetnameditem.java | 69 String attrName; 75 attrName = domesticAttr.getNodeName(); 76 assertEqualsAutoCase("attribute", "nodeName", "title", attrName);
|
hc_nodeattributenodename.java | 65 String attrName; 70 attrName = addrAttr.getNodeName(); 71 assertEqualsAutoCase("attribute", "nodeName", "title", attrName);
|
namednodemapgetnameditem.java | 71 String attrName; 77 attrName = domesticAttr.getNodeName(); 78 assertEquals("namednodemapGetNamedItemAssert", "domestic", attrName);
|
nodeattributenodename.java | 68 String attrName; 73 attrName = addrAttr.getNodeName(); 74 assertEquals("nodeAttributeNodeNameAssert1", "domestic", attrName);
|
attrcreatedocumentfragment.java | 69 String attrName; 79 attrName = attrs.getName(); 80 assertEquals("attrCreateDocumentFragmentAssert", "newdomestic", attrName);
|
hc_attrcreatedocumentfragment.java | 70 String attrName; 82 attrName = attribute.getNodeName(); 84 if (equalsAutoCase("attribute", "lang", attrName)) {
|
hc_namednodemapsetnameditem.java | 76 String attrName; 85 attrName = districtNode.getNodeName(); 86 assertEqualsAutoCase("attribute", "nodeName", "lang", attrName);
|
hc_nodeelementnodeattributes.java | 65 String attrName; 83 attrName = attrNode.getNodeName(); 84 attrList.add(attrName);
|
namednodemapsetnameditem.java | 78 String attrName; 87 attrName = districtNode.getNodeName(); 88 assertEquals("namednodemapSetNamedItemAssert", "district", attrName);
|
nodeelementnodeattributes.java | 70 String attrName; 83 attrName = attrNode.getNodeName(); 84 attrList.add(attrName);
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
namednodemapgetnameditemns06.java | 79 String attrName; 88 attrName = attribute.getNodeName(); 89 assertEquals("namednodemapgetnameditemnsMap106", "street", attrName); 91 attrName = attribute.getNodeName(); 92 assertEquals("namednodemapgetnameditemnsMap206", "street", attrName);
|
createAttributeNS05.java | 71 String attrName; 74 attrName = newAttr.getName(); 75 assertEquals("throw_Equals", qualifiedName, attrName);
|
elementsetattributenodens01.java | 80 String attrName; 94 attrName = attrNode.getNodeName(); 96 assertEquals("elementsetattributenodens01_attrName", "p2:att", attrName);
|
elementsetattributenodens02.java | 79 String attrName; 90 attrName = newAttr.getNodeName(); 92 assertEquals("elementsetattributenodens02_attrName", "street", attrName);
|
elementsetattributens01.java | 74 String attrName; 80 attrName = attribute.getNodeName(); 82 assertEquals("elementsetattributens01_attrName", "attr", attrName);
|
elementsetattributens02.java | 76 String attrName; 83 attrName = attribute.getNodeName(); 85 assertEquals("elementsetattributens02_attrName", "this:street", attrName);
|
/external/owasp/sanitizer/src/main/org/owasp/html/ |
ElementAndAttributePolicies.java | 68 String attrName = e.getKey(); 70 AttributePolicy b = p.attrPolicies.get(attrName); 74 joinedAttrPolicies.put(attrName, a); 77 String attrName = e.getKey(); 78 if (!this.attrPolicies.containsKey(attrName)) { 79 joinedAttrPolicies.put(attrName, e.getValue()); 108 String attrName = e.getKey(); 109 AttributePolicy globalAttrPolicy = globalAttrPolicies.get(attrName); 119 anded.put(attrName, joined); 124 String attrName = e.getKey() [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/ |
AttrResourceLoader.java | 41 public String convertValueToEnum(Class<? extends View> viewClass, String namespace, String attrName, String attrValue) { 43 String className = findKnownAttrClass(attrName, viewClass, isSystem); 44 return classAttrEnumToValue.get(key(className, attrName, attrValue, isSystem)); 47 public boolean hasAttributeFor(Class<? extends View> viewClass, String namespace, String attrName) { 49 return findKnownAttrClass(attrName, viewClass, isSystem) != null; 52 private String findKnownAttrClass(String attrName, Class<?> clazz, boolean isSystem) { 58 if (knownClassAttrs.contains(key(className, attrName, isSystem))) { 66 private String key(String viewName, String attrName, String name, boolean isSystem) { 67 return key(viewName, attrName, isSystem) + "#" + name; 70 private String key(String viewName, String attrName, boolean isSystem) [all...] |
/frameworks/support/compat/java/android/support/v4/content/res/ |
TypedArrayUtils.java | 52 * specified {@code attrName}. 54 public static boolean hasAttribute(@NonNull XmlPullParser parser, @NonNull String attrName) { 55 return parser.getAttributeValue(NAMESPACE, attrName) != null; 66 @NonNull String attrName, @StyleableRes int resId, float defaultValue) { 67 final boolean hasAttr = hasAttribute(parser, attrName); 83 String attrName, @StyleableRes int resId, boolean defaultValue) { 84 final boolean hasAttr = hasAttribute(parser, attrName); 100 String attrName, @StyleableRes int resId, int defaultValue) { 101 final boolean hasAttr = hasAttribute(parser, attrName); 118 String attrName, @StyleableRes int resId, @ColorInt int defaultValue) [all...] |
/frameworks/layoutlib/bridge/tests/src/android/util/ |
BridgeXmlPullAttributesTest.java | 56 attrName -> { 57 if ("layout_width".equals(attrName)) { 63 attrName -> { 64 if ("my_custom_attr".equals(attrName)) {
|