Home
last modified time | relevance | path

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

/tools/metalava/src/test/java/com/android/tools/metalava/model/
DTextBackedAnnotationItemTest.kt76 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/
DManifestWriter.java111 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/
Dadb_tools.py154 attribute: None for attribute in _DEVICE_ATTRIBUTES}
160 attribute: match.group(attribute) if match.group(attribute)
161 else None for attribute in _DEVICE_ATTRIBUTES}
/tools/metalava/src/main/java/com/android/tools/metalava/
DAnnotationFilter.kt95 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()
DDocAnalyzer.kt286 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>()
DAndroidApiChecks.kt179 for (attribute in annotation.attributes()) { in checkRequiresPermission() constant
181 when (attribute.name) { in checkRequiresPermission()
183 values = attribute.leafValues() in checkRequiresPermission()
DApiAnalyzer.kt694 for (attribute in annotation.attributes()) { in <lambda>() variable
697 when (attribute.name) { in <lambda>()
699 values = attribute.leafValues() in <lambda>()
703 values = attribute.leafValues() in <lambda>()
DKotlinInteropChecks.kt103 for (attribute in annotation.attributes()) { in <lambda>() constant
104 for (v in attribute.leafValues()) { in <lambda>()
DReporter.kt190 for (attribute in annotation.attributes()) { in isSuppressed() constant
193 val value = attribute.value in isSuppressed()
DRewriteAnnotations.kt36 import java.nio.file.attribute.FileTime in <lambda>()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/
DManifestGenerationExtension.java220 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/
DApiElement.java208 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/repohooks/tools/
Dpylintrc96 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/apksig/src/main/java/com/android/apksig/internal/apk/stamp/
DSourceStampVerifier.java308 ByteBuffer attribute = getLengthPrefixedSlice(stampAttributes); in parseStampAttributes() local
309 int id = attribute.getInt(); in parseStampAttributes()
310 byte[] value = ByteBufferUtils.toByteArray(attribute); in parseStampAttributes()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DUAnnotationItem.kt165 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>()
DPsiAnnotationItem.kt180 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/
DV2SchemeVerifier.java427 ByteBuffer attribute = in parseSigner() local
429 int id = attribute.getInt(); in parseSigner()
430 byte[] value = ByteBufferUtils.toByteArray(attribute); in parseSigner()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeVerifier.java488 ByteBuffer attribute = in parseSigner() local
490 int id = attribute.getInt(); in parseSigner()
491 byte[] value = ByteBufferUtils.toByteArray(attribute); in parseSigner()
/tools/test/connectivity/acts/framework/acts/controllers/
Dasus_axe11000_ap.py197 attribute=None, argument
215 if attribute and str(value) not in x.get_attribute(attribute):
/tools/apksig/src/test/java/com/android/apksig/
DSigningCertificateLineageTest.java279 ByteBuffer attribute = ApkSigningBlockUtils.getLengthPrefixedSlice(v3SignerAttribute); in testLineageFromV3SignerAttribute() local
282 int id = attribute.getInt(); in testLineageFromV3SignerAttribute()
288 ByteBufferUtils.toByteArray(attribute)); in testLineageFromV3SignerAttribute()
/tools/apksig/src/main/java/com/android/apksig/
DSigningCertificateLineage.java270 ByteBuffer attribute = getLengthPrefixedSlice(additionalAttributes); in readFromSignedData() local
271 int id = attribute.getInt(); in readFromSignedData()
273 byte[] value = ByteBufferUtils.toByteArray(attribute); in readFromSignedData()
/tools/carrier_settings/proto/
Dcarrier_settings.proto55 // The name of APN, map to xml apn "carrier" attribute
59 // "apn" attribute, eg. vzwinternet
/tools/carrier_settings/java/
DCarrierConfigConverterV2.java691 String attribute = attributes.item(i).getNodeName(); in checkFilters() local
693 switch (attribute) { in checkFilters()
719 System.err.println("Unsupported attribute " + attribute + "=" + value); in checkFilters()
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/
Dnanopb.proto49 // Add 'packed' attribute to generated structs.
/tools/metalava/
DREADME.md292 attribute: metalava will use this information when recording API levels for