Home
last modified time | relevance | path

Searched refs:attributeValue (Results 1 – 11 of 11) sorted by relevance

/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DAnnotationItem.kt284 val attributeValue = findAttribute(name)?.value ?: return null in nonInlineGetAttributeValue() constant
286 when (attributeValue) { in nonInlineGetAttributeValue()
289 else -> attributeValue.value() in nonInlineGetAttributeValue()
319 val attributeValue = findAttribute(name)?.value ?: return null in nonInlineGetAttributeValues() constant
321 when (attributeValue) { in nonInlineGetAttributeValues()
322 is AnnotationArrayAttributeValue -> attributeValue.values.mapNotNull { it.value() } in nonInlineGetAttributeValues()
323 else -> listOfNotNull(attributeValue.value()) in nonInlineGetAttributeValues()
/tools/asuite/atest/bazel/reporter/javatests/com/android/tradefed/result/
DBazelXmlResultReporterTest.java178 Path filePath, String tagName, String attributeName, String attributeValue) in assertXmlFileContainsTagWithAttribute() argument
185 doc.getElementsByTagName(tagName).item(0), attributeName, attributeValue); in assertXmlFileContainsTagWithAttribute()
189 Node node, String attributeName, String attributeValue) { in assertNodeContainsAttribute() argument
191 node.getAttributes().getNamedItem(attributeName).getNodeValue(), attributeValue); in assertNodeContainsAttribute() local
/tools/security/fuzzing/llm/xmlreader_fuzzer/
DXmlRead_Memory_Fuzzer.cpp22 …std::string attributeValue = stream.ConsumeRandomLengthString(20); // Limiting attribute value len… in GenerateRandomXML() local
23 xml += " " + attributeName + "=\"" + attributeValue + "\""; in GenerateRandomXML()
/tools/asuite/atest/bazel/reporter/src/com/android/tradefed/result/
DBazelXmlResultReporter.java287 Element element, String attributeName, String attributeValue) { in writeStringAttribute() argument
288 element.setAttribute(attributeName, attributeValue); in writeStringAttribute()
292 Element element, String attributeName, int attributeValue) { in writeIntAttribute() argument
293 element.setAttribute(attributeName, String.valueOf(attributeValue)); in writeIntAttribute()
/tools/tradefederation/core/src/com/android/tradefed/build/
DBuildInfo.java196 public void addBuildAttribute(String attributeName, String attributeValue) { in addBuildAttribute() argument
197 if (attributeValue == null) { in addBuildAttribute()
198 attributeValue = ""; in addBuildAttribute()
200 mBuildAttributes.put(attributeName, attributeValue); in addBuildAttribute()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/stamp/
DV2SourceStampSigner.java196 for (byte[] attributeValue : stampAttributes.values()) { in encodeStampAttributes()
198 payloadSize += 4 + 4 + attributeValue.length; in encodeStampAttributes()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationContext.java207 public void addInvocationAttribute(String attributeName, String attributeValue) { in addInvocationAttribute() argument
212 mInvocationAttributes.put(attributeName, attributeValue); in addInvocationAttribute()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/build/
DIBuildInfo.java141 public void addBuildAttribute(String attributeName, String attributeValue); in addBuildAttribute() argument
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/
DIInvocationContext.java141 public void addInvocationAttribute(String attributeName, String attributeValue); in addInvocationAttribute() argument
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatter.java761 String attributeValue = buildInfo.getBuildAttributes().get(attributeName); in addBuildInfoAttributesIfNotNull() local
762 if (attributeValue != null) { in addBuildInfoAttributesIfNotNull()
763 serializer.attribute(NS, attributeName, attributeValue); in addBuildInfoAttributesIfNotNull()
/tools/tradefederation/core/javatests/com/android/tradefed/result/suite/
DXmlSuiteResultFormatterTest.java933 String xml, String xPathExpression, String attributeName, String attributeValue) in assertXmlContainsAttribute() argument
941 if (attributeValue.equals(value)) { in assertXmlContainsAttribute()