/tools/tradefederation/core/src/com/android/tradefed/result/suite/ |
D | XmlSuiteResultFormatter.java | 205 serializer.attribute(NS, START_TIME_ATTR, String.valueOf(holder.startTime)); in writeResults() 206 serializer.attribute(NS, END_TIME_ATTR, String.valueOf(holder.endTime)); in writeResults() 207 serializer.attribute(NS, START_DISPLAY_TIME_ATTR, toReadableDateString(holder.startTime)); in writeResults() 208 serializer.attribute(NS, END_DISPLAY_TIME_ATTR, toReadableDateString(holder.endTime)); in writeResults() 209 serializer.attribute( in writeResults() 229 serializer.attribute(NS, DEVICES_ATTR, deviceList); in writeResults() 237 serializer.attribute(NS, HOST_NAME_ATTR, hostName); in writeResults() 238 serializer.attribute(NS, OS_NAME_ATTR, System.getProperty("os.name")); in writeResults() 239 serializer.attribute(NS, OS_VERSION_ATTR, System.getProperty("os.version")); in writeResults() 240 serializer.attribute(NS, OS_ARCH_ATTR, System.getProperty("os.arch")); in writeResults() [all …]
|
/tools/loganalysis/src/com/android/loganalysis/item/ |
D | GenericItem.java | 82 for (String attribute : attributes) { in mergeAttributes() 83 mergedAttributes.put(attribute, in mergeAttributes() 84 mergeObjects(getAttribute(attribute), item.getAttribute(attribute))); in mergeAttributes() 100 for (String attribute : mAllowedAttributes) { in isConsistent() 101 if (!areConsistent(getAttribute(attribute), item.getAttribute(attribute))) { in isConsistent() 121 for (String attribute : mAllowedAttributes) { in equals() 122 if (!areEqual(getAttribute(attribute), item.getAttribute(attribute))) { in equals() 133 for (String attribute : mAllowedAttributes) { in hashCode() 134 Object val = getAttribute(attribute); in hashCode() 154 final Object attribute = entry.getValue(); in toJson() local [all …]
|
D | DvmLockSampleItem.java | 64 public void setAttribute(String attribute, Object value) throws IllegalArgumentException { in setAttribute() argument 65 if(ATTRIBUTES.contains(attribute)) { in setAttribute() 66 if (TYPES.get(attribute).isAssignableFrom(value.getClass())) { in setAttribute() 67 super.setAttribute(attribute, value); in setAttribute() 70 "Invalid attribute type for " + attribute + in setAttribute() 72 " expected " + TYPES.get(attribute).getCanonicalName()); in setAttribute() 75 throw new IllegalArgumentException("Invalid attribute key: " + attribute); in setAttribute() 81 public Object getAttribute(String attribute) throws IllegalArgumentException { in getAttribute() argument 82 return super.getAttribute(attribute); in getAttribute()
|
D | TopItem.java | 55 for (String attribute : ATTRIBUTES) { in TopItem() 56 setAttribute(attribute, 0); in TopItem()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | MetricsXMLResultReporter.java | 130 serializer.attribute(NS, ATTR_NAME, getInvocationContext().getTestTag()); in printRunResults() 131 serializer.attribute(NS, ATTR_TESTS, Integer.toString(getNumTotalTests())); in printRunResults() 132 serializer.attribute(NS, ATTR_FAILURES, Integer.toString(getNumAllFailedTests())); in printRunResults() 133 serializer.attribute(NS, ATTR_TIME, Long.toString(elapsedTime)); in printRunResults() 134 serializer.attribute(NS, ATTR_TIMESTAMP, timestamp); in printRunResults() 151 serializer.attribute(NS, ATTR_TESTNAME, testId.getTestName()); in printTestResults() 152 serializer.attribute(NS, ATTR_CLASSNAME, testId.getClassName()); in printTestResults() 154 serializer.attribute(NS, ATTR_TIME, Long.toString(elapsedTime)); in printTestResults() 173 serializer.attribute(NS, ATTR_NAME, key); in printRunMetrics() 174 serializer.attribute(NS, ATTR_VALUE, metrics.get(key)); in printRunMetrics() [all …]
|
D | XmlResultReporter.java | 151 serializer.attribute(NS, ATTR_NAME, getInvocationContext().getTestTag()); in printTestResults() 152 serializer.attribute(NS, ATTR_TESTS, Integer.toString(getNumTotalTests())); in printTestResults() 153 serializer.attribute( in printTestResults() 155 serializer.attribute(NS, ATTR_ERRORS, "0"); in printTestResults() 156 serializer.attribute(NS, ATTR_TIME, Long.toString(elapsedTime)); in printTestResults() 157 serializer.attribute(NS, TIMESTAMP, timestamp); in printTestResults() 158 serializer.attribute(NS, HOSTNAME, "localhost"); in printTestResults() 177 serializer.attribute(NS, ATTR_NAME, testId.getTestName()); in print() 178 serializer.attribute(NS, ATTR_CLASSNAME, testId.getClassName()); in print() 179 serializer.attribute(NS, ATTR_TIME, "0"); in print()
|
/tools/metalava/src/test/java/com/android/tools/metalava/model/ |
D | TextBackedAnnotationItemTest.kt | 76 val attribute = annotation.findAttribute("value") in testIntDef() constant 77 assertNotNull(attribute) in testIntDef() 78 assertEquals("value", attribute?.name) in testIntDef() 84 assertTrue(attribute?.value is AnnotationArrayAttributeValue) in testIntDef() 85 if (attribute is AnnotationArrayAttributeValue) { in testIntDef() 86 val list = attribute.values in testIntDef()
|
/tools/apksig/src/main/java/com/android/apksig/internal/jar/ |
D | ManifestWriter.java | 111 for (Map.Entry<Object, Object> attribute : attributesEntries) { in getAttributesSortedByName() 112 String attrName = attribute.getKey().toString(); in getAttributesSortedByName() 113 String attrValue = attribute.getValue().toString(); in getAttributesSortedByName() 121 for (Map.Entry<String, String> attribute : attributesSortedByName.entrySet()) { in writeAttributes() 122 String attrName = attribute.getKey(); in writeAttributes() 123 String attrValue = attribute.getValue(); in writeAttributes()
|
/tools/acloud/internal/lib/ |
D | adb_tools.py | 150 attribute: None for attribute in _DEVICE_ATTRIBUTES} 156 attribute: match.group(attribute) if match.group(attribute) 157 else None for attribute in _DEVICE_ATTRIBUTES}
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | ConfigurationUtil.java | 126 serializer.attribute(null, "type", classTypeName); in dumpClassToXml() 127 serializer.attribute(null, CLASS_NAME, obj.getClass().getName()); in dumpClassToXml() 132 serializer.attribute(null, CLASS_NAME, obj.getClass().getName()); in dumpClassToXml() 222 serializer.attribute(null, NAME_NAME, name); in dumpOptionToXml() 224 serializer.attribute(null, KEY_NAME, key); in dumpOptionToXml() 226 serializer.attribute(null, VALUE_NAME, value); in dumpOptionToXml()
|
/tools/repohooks/tools/ |
D | pylintrc | 96 exception-message-attribute, 356 # Regular expression matching correct attribute names 359 # Naming hint for attribute names 368 # Regular expression matching correct class attribute names 369 class-attribute-rgx=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$ 371 # Naming hint for class attribute names 372 class-attribute-name-hint=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | DocAnalyzer.kt | 286 for (attribute in annotation.attributes()) { in <lambda>() variable 287 when (attribute.name) { in <lambda>() 289 values = attribute.leafValues() in <lambda>() 293 values = attribute.leafValues() in <lambda>() 296 conditional = attribute.value.value() == true in <lambda>()
|
D | AnnotationFilter.kt | 95 for (attribute in filter.attributes) { in annotationsMatch() method 96 val existingValue = existingAnnotation.findAttribute(attribute.name)?.value?.toSource() in annotationsMatch() 97 if (existingValue != attribute.value.toSource()) { in annotationsMatch()
|
D | ApiAnalyzer.kt | 696 for (attribute in annotation.attributes()) { in <lambda>() variable 699 when (attribute.name) { in <lambda>() 701 values = attribute.leafValues() in <lambda>() 705 values = attribute.leafValues() in <lambda>()
|
D | AndroidApiChecks.kt | 180 for (attribute in annotation.attributes()) { in checkRequiresPermission() constant 182 when (attribute.name) { in checkRequiresPermission() 184 values = attribute.leafValues() in checkRequiresPermission()
|
D | KotlinInteropChecks.kt | 104 for (attribute in annotation.attributes()) { in <lambda>() constant 105 for (v in attribute.leafValues()) { in <lambda>()
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/ |
D | ManifestGenerationExtension.java | 220 private void setMainAttribute(@Nonnull String attribute, @Nonnull String value) { in setMainAttribute() argument 222 String current = mainAttributes.getValue(attribute); in setMainAttribute() 224 mainAttributes.putValue(attribute, value); in setMainAttribute()
|
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/ |
D | ApiElement.java | 208 private static String encodeAttribute(String attribute) { in encodeAttribute() argument 210 int n = attribute.length(); in encodeAttribute() 214 char c = attribute.charAt(i); in encodeAttribute()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | UAnnotationItem.kt | 165 for (attribute in attributes) { in <lambda>() variable 171 sb.append(attribute.first ?: SdkConstants.ATTR_VALUE) in <lambda>() 173 appendValue(codebase, sb, attribute.second, target, showDefaultAttrs) in <lambda>()
|
D | PsiAnnotationItem.kt | 180 for (attribute in attributes) { in <lambda>() variable 186 sb.append(attribute.first ?: ATTR_VALUE) in <lambda>() 188 appendValue(codebase, sb, attribute.second, target, showDefaultAttrs) in <lambda>()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/ |
D | V2SchemeVerifier.java | 431 ByteBuffer attribute = in parseSigner() local 433 int id = attribute.getInt(); in parseSigner() 434 byte[] value = ByteBufferUtils.toByteArray(attribute); in parseSigner()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/ |
D | V3SchemeVerifier.java | 490 ByteBuffer attribute = in parseSigner() local 492 int id = attribute.getInt(); in parseSigner() 493 byte[] value = ByteBufferUtils.toByteArray(attribute); in parseSigner()
|
/tools/apksig/src/test/java/com/android/apksig/ |
D | SigningCertificateLineageTest.java | 254 ByteBuffer attribute = ApkSigningBlockUtils.getLengthPrefixedSlice(v3SignerAttribute); in testLineageFromV3SignerAttribute() local 257 int id = attribute.getInt(); in testLineageFromV3SignerAttribute() 263 ByteBufferUtils.toByteArray(attribute)); in testLineageFromV3SignerAttribute()
|
/tools/apksig/src/main/java/com/android/apksig/ |
D | SigningCertificateLineage.java | 264 ByteBuffer attribute = getLengthPrefixedSlice(additionalAttributes); in readFromSignedData() local 265 int id = attribute.getInt(); in readFromSignedData() 267 byte[] value = ByteBufferUtils.toByteArray(attribute); in readFromSignedData()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | ZipUtil2Test.java | 29 import java.nio.file.attribute.PosixFilePermission; 30 import java.nio.file.attribute.PosixFilePermissions;
|