/tools/loganalysis/tests/src/com/android/loganalysis/item/ |
D | GenericItemTest.java | 77 Map<String, Object> attributes; in testMergeAttributes() local 79 attributes = mEmptyItem1.mergeAttributes(mEmptyItem1, ATTRIBUTES); in testMergeAttributes() 80 assertNull(attributes.get("string")); in testMergeAttributes() 81 assertNull(attributes.get("integer")); in testMergeAttributes() 83 attributes = mEmptyItem1.mergeAttributes(mEmptyItem2, ATTRIBUTES); in testMergeAttributes() 84 assertNull(attributes.get("string")); in testMergeAttributes() 85 assertNull(attributes.get("integer")); in testMergeAttributes() 87 attributes = mEmptyItem2.mergeAttributes(mEmptyItem1, ATTRIBUTES); in testMergeAttributes() 88 assertNull(attributes.get("string")); in testMergeAttributes() 89 assertNull(attributes.get("integer")); in testMergeAttributes() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/testdefs/ |
D | XmlDefsParser.java | 45 public void startElement(String uri, String localName, String name, Attributes attributes) in startElement() argument 48 final String defName = attributes.getValue("name"); in startElement() 50 attributes.getValue("package")); in startElement() 51 def.setClassName(attributes.getValue("class")); in startElement() 52 def.setRunner(attributes.getValue("runner")); in startElement() 53 def.setContinuous("true".equals(attributes.getValue("continuous"))); in startElement() 54 def.setCoverageTarget(attributes.getValue("coverage_target")); in startElement()
|
/tools/apksig/src/main/java/com/android/apksig/internal/jar/ |
D | SignatureFileWriter.java | 32 public static void writeMainSection(OutputStream out, Attributes attributes) in writeMainSection() argument 37 String signatureVersion = attributes.getValue(Attributes.Name.SIGNATURE_VERSION); in writeMainSection() 44 if (attributes.size() > 1) { in writeMainSection() 46 ManifestWriter.getAttributesSortedByName(attributes); in writeMainSection() 53 public static void writeIndividualSection(OutputStream out, String name, Attributes attributes) in writeIndividualSection() argument 55 ManifestWriter.writeIndividualSection(out, name, attributes); in writeIndividualSection()
|
D | ManifestWriter.java | 40 public static void writeMainSection(OutputStream out, Attributes attributes) in writeMainSection() argument 45 String manifestVersion = attributes.getValue(Attributes.Name.MANIFEST_VERSION); in writeMainSection() 52 if (attributes.size() > 1) { in writeMainSection() 53 SortedMap<String, String> namedAttributes = getAttributesSortedByName(attributes); in writeMainSection() 60 public static void writeIndividualSection(OutputStream out, String name, Attributes attributes) in writeIndividualSection() argument 64 if (!attributes.isEmpty()) { in writeIndividualSection() 65 writeAttributes(out, getAttributesSortedByName(attributes)); in writeIndividualSection() 108 static SortedMap<String, String> getAttributesSortedByName(Attributes attributes) { in getAttributesSortedByName() argument 109 Set<Map.Entry<Object, Object>> attributesEntries = attributes.entrySet(); in getAttributesSortedByName()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | MetricsXmlParser.java | 81 public void startElement(String uri, String localName, String name, Attributes attributes) in startElement() argument 85 String testCount = getMandatoryAttribute(name, "tests", attributes); in startElement() 87 mMetrics.addRunMetric(TIME_TAG, getMandatoryAttribute(name, TIME_TAG, attributes)); in startElement() 91 String testClassName = getMandatoryAttribute(name, "classname", attributes); in startElement() 92 String methodName = getMandatoryAttribute(name, "testname", attributes); in startElement() 96 String metricName = getMandatoryAttribute(name, "name", attributes); in startElement() 97 String metricValue = getMandatoryAttribute(name, "value", attributes); in startElement() 103 String metricName = getMandatoryAttribute(name, "name", attributes); in startElement() 104 String metricValue = getMandatoryAttribute(name, "value", attributes); in startElement() 111 private String getMandatoryAttribute(String tagName, String attrName, Attributes attributes) in getMandatoryAttribute() argument [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | ConfigurationXmlParser.java | 99 public void startElement(String uri, String localName, String name, Attributes attributes) in startElement() argument 102 final String objectTypeName = attributes.getValue("type"); in startElement() 112 addObject(objectTypeName, attributes); in startElement() 119 String deviceName = attributes.getValue("name"); in startElement() 136 addObject(localName, attributes); in startElement() 162 addObject(localName, attributes); in startElement() 173 addObject(localName, attributes); in startElement() 175 String optionName = attributes.getValue("name"); in startElement() 180 String optionKey = attributes.getValue("key"); in startElement() 184 String optionValue = attributes.getValue("value"); in startElement() [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | TextBackedAnnotationItem.kt | 31 private val attributes: List<AnnotationAttribute> constant 46 attributes = if (index == -1) { 56 override fun attributes(): List<AnnotationAttribute> = attributes method
|
/tools/loganalysis/src/com/android/loganalysis/item/ |
D | MiscKernelLogItem.java | 52 protected MiscKernelLogItem(Set<String> attributes) { in MiscKernelLogItem() argument 53 super(getAllAttributes(attributes)); in MiscKernelLogItem() 115 private static Set<String> getAllAttributes(Set<String> attributes) { in getAllAttributes() argument 117 allAttributes.addAll(attributes); in getAllAttributes()
|
D | CompactMemInfoItem.java | 118 Map<String, Object> attributes = new HashMap<String, Object>(); in addPid() local 119 attributes.put(NAME_ATTR_KEY, name); in addPid() 120 attributes.put(TYPE_ATTR_KEY, type); in addPid() 121 attributes.put(PSS_ATTR_KEY, pss); in addPid() 122 attributes.put(SWAP_ATTR_KEY, swap); in addPid() 123 attributes.put(ACTIVITIES_ATTR_KEY, activities); in addPid() 124 mPids.put(pid, attributes); in addPid()
|
D | MiscLogcatItem.java | 61 protected MiscLogcatItem(Set<String> attributes) { in MiscLogcatItem() argument 62 super(getAllAttributes(attributes)); in MiscLogcatItem() 166 private static Set<String> getAllAttributes(Set<String> attributes) { in getAllAttributes() argument 168 allAttributes.addAll(attributes); in getAllAttributes()
|
D | GenericItem.java | 38 protected GenericItem(Set<String> allowedAttributes, Map<String, Object> attributes) { in GenericItem() argument 41 for (Map.Entry<String, Object> entry : attributes.entrySet()) { in GenericItem() 71 protected Map<String, Object> mergeAttributes(IItem other, Set<String> attributes) in mergeAttributes() argument 82 for (String attribute : attributes) { in mergeAttributes()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/suite/ |
D | SuiteApkInstallerTest.java | 90 Map<String, String> attributes = new HashMap<>(); in testGetTestsDir_noVar() local 91 attributes.put("ROOT_DIR", tmpDir.getAbsolutePath()); in testGetTestsDir_noVar() 92 doReturn(attributes).when(mMockBuildInfo).getBuildAttributes(); in testGetTestsDir_noVar() 145 Map<String, String> attributes = new HashMap<>(); in testGetTestsDir_notDir() local 146 attributes.put("ROOT_DIR", tmpDir.getAbsolutePath()); in testGetTestsDir_notDir() 147 doReturn(attributes).when(mMockBuildInfo).getBuildAttributes(); in testGetTestsDir_notDir()
|
/tools/metalava/src/test/java/com/android/tools/metalava/model/ |
D | TextBackedAnnotationItemTest.kt | 48 assertTrue(annotation.attributes().isEmpty()) in supportsDocumentation() 59 assertEquals(2, annotation.attributes().size) in testIntRange() 77 assertEquals(1, annotation.attributes().size) in testIntDef()
|
/tools/tradefederation/core/ |
D | pylintrc | 21 # Maximum number of attributes for a class (see R0902). 22 max-attributes=20
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiParameterItem.kt | 56 return annotation.attributes().firstOrNull()?.value?.value()?.toString() in name() 122 return annotation.attributes().firstOrNull()?.value?.value()?.toString() in defaultValue()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/ |
D | V3SchemeSigner.java | 264 byte[] attributes = encodeAsLengthPrefixedElement(signedData.additionalAttributes); in encodeSignedData() 284 + attributes.length; in encodeSignedData() 292 result.put(attributes); in encodeSignedData()
|
/tools/repohooks/tools/ |
D | pylintrc | 92 too-many-instance-attributes, 148 # List of module names for which member attributes should not be checked 150 # and thus existing member attributes cannot be deduced by static analysis. It 154 # List of classes names for which member attributes should not be checked 155 # (useful for classes with attributes dynamically set). This supports can work 362 # Maximum number of attributes for a class (see R0902). 363 max-attributes=7 377 # List of method names used to declare (i.e. assign) instance attributes.
|
/tools/tradefederation/core/src/com/android/tradefed/util/net/ |
D | XmlRpcHelper.java | 172 public void startElement(String uri, String localName, String name, Attributes attributes) in startElement() argument
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | AndroidApiChecks.kt | 181 for (attribute in annotation.attributes()) { in checkRequiresPermission()
|
/tools/tradefederation/core/res/jacoco/ |
D | jacocoagent.jar | META-INF/MANIFEST.MF
META-INF/MTNMINDS.SF
META-INF/MTNMINDS ... |
D | jacocoant.jar | META-INF/MANIFEST.MF
META-INF/MTNMINDS.SF
META-INF/MTNMINDS ... |