/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
D | TestCase.java | 57 public String getName() { in getName() method in TestCase 77 mChildTestMap.put(t.getName(), t); in findTest() 90 serializer.attribute(CtsXmlResultReporter.ns, "name", getName()); in serialize() 107 if (!parser.getName().equals(TAG)) { in parse() 109 "invalid XML: Expected %s tag but received %s", TAG, parser.getName())); in parse() 114 if (eventType == XmlPullParser.START_TAG && parser.getName().equals(Test.TAG)) { in parse() 117 mChildTestMap.put(test.getName(), test); in parse() 118 } else if (eventType == XmlPullParser.END_TAG && parser.getName().equals(TAG)) { in parse() 135 if (getName() != null) { in addTestsWithStatus() 136 parentSuiteNames.addLast(getName()); in addTestsWithStatus() [all …]
|
D | TestSuite.java | 58 public String getName() { in getName() method in TestSuite 163 if (!parser.getName().equals(TAG)) { in parse() 165 "invalid XML: Expected %s tag but received %s", TAG, parser.getName())); in parse() 170 if (eventType == XmlPullParser.START_TAG && parser.getName().equals(TestSuite.TAG)) { in parse() 174 } else if (eventType == XmlPullParser.START_TAG && parser.getName().equals( in parse() 179 } else if (eventType == XmlPullParser.END_TAG && parser.getName().equals(TAG)) { in parse() 190 mChildTestCaseMap.put(testCase.getName(), testCase); in insertTestCase() 197 mChildSuiteMap.put(suite.getName(), suite); in insertSuite() 211 if (getName() != null) { in addTestsWithStatus() 212 parentSuiteNames.addLast(getName()); in addTestsWithStatus() [all …]
|
D | DeviceInfoResult.java | 194 if (!parser.getName().equals(TAG)) { in parse() 196 "invalid XML: Expected %s tag but received %s", TAG, parser.getName())); in parse() 201 if (parser.getName().equals(SCREEN_TAG) || in parse() 202 parser.getName().equals(PHONE_TAG) || in parse() 203 parser.getName().equals(BUILD_TAG)) { in parse() 205 } else if (parser.getName().equals(FEATURE_INFO_TAG)) { in parse() 209 } else if (parser.getName().equals(PROCESS_INFO_TAG)) { in parse() 214 } else if (eventType == XmlPullParser.END_TAG && parser.getName().equals(TAG)) { in parse() 225 if (!parser.getName().equals(PROCESS_INFO_TAG)) { in parseProcess() 228 parser.getName())); in parseProcess() [all …]
|
D | Test.java | 75 public String getName() { in getName() method in Test 122 serializer.attribute(CtsXmlResultReporter.ns, NAME_ATTR, getName()); in serialize() 170 if (!parser.getName().equals(TAG)) { in parse() 172 "invalid XML: Expected %s tag but received %s", TAG, parser.getName())); in parse() 181 if (eventType == XmlPullParser.START_TAG && parser.getName().equals(SCENE_TAG)) { in parse() 183 } else if (eventType == XmlPullParser.START_TAG && parser.getName().equals(STACK_TAG)) { in parse() 185 } else if (eventType == XmlPullParser.END_TAG && parser.getName().equals(TAG)) { in parse()
|
/cts/tools/signature-tools/src/signature/io/html/ |
D | ClassByNameComparator.java | 29 return a.getFrom().getName().compareTo(b.getFrom().getName()); in compare() 31 return a.getTo().getName().compareTo(b.getTo().getName()); in compare()
|
D | ExecutableMemberComparator.java | 53 int returnValue = aMember.getName().compareTo(bMember.getName()); in compare() 87 return ((IPrimitiveType) type).getName(); in getTypeName() 94 return ((IClassDefinition) type).getName(); in getTypeName() 97 return ((ITypeVariableDefinition) type).getName(); in getTypeName()
|
D | PackageByNameComparator.java | 38 return aPackage.getName().compareTo(bPackage.getName()); in compare()
|
D | FieldByNameComparator.java | 41 return aField.getName().compareTo(bField.getName()); in compare()
|
D | HtmlDeltaExternalizer.java | 62 commonInfos.put("from_desc", apiDelta.getFrom().getName()); in externalize() 63 commonInfos.put("to_desc", apiDelta.getTo().getName()); in externalize() 89 + "pkg_" + aPackage.getName() + ".html"; in externalize() 101 + aPackage.getName() + "." + aClass.getName() in externalize()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | HasCoverage.java | 23 String getName(); in getName() method 30 return diff != 0 ? diff : entity.getName().compareTo(otherEntity.getName()); in compare()
|
D | TextReport.java | 38 if (apiPackage.getName().startsWith("android") in printTextReport() 48 if (apiPackage.getName().startsWith("android")) { in printTextReport() 76 out.println(apiPackage.getName() + " " in printPackage() 82 out.println(" " + apiClass.getName() + " " in printClass() 90 .append("] ").append(constructor.getName()).append("("); in printConstructor() 107 .append(method.getName()).append("("); in printMethod()
|
D | XmlReport.java | 58 if (pkg.getName().startsWith("android") in printXmlReport() 60 out.println("<package name=\"" + pkg.getName() in printXmlReport() 72 out.println("<class name=\"" + apiClass.getName() in printXmlReport() 80 out.println("<constructor name=\"" + constructor.getName() in printXmlReport() 91 out.println("<method name=\"" + method.getName() in printXmlReport()
|
/cts/tools/dex-tools/test/dex/reader/ |
D | DexTestsCommon.java | 97 if(className.equals(clazz.getName())){ in getClass() 101 fail("Class: " + className +" not present in file: " + file.getName()); in getClass() 102 …row new IllegalArgumentException("Class: " + className +" not present in file: " + file.getName()); in getClass() 109 if(fieldName.equals(field.getName())){ in getField() 113 fail("Field: " + fieldName +" not present in class: " + clazz.getName()); in getField() 114 …w new IllegalArgumentException("Field: " + fieldName +" not present in class: " + clazz.getName()); in getField() 135 if(methodName.equals(method.getName()) && paramTypeNames.equals(methodsParamTypeNames)){ in getMethod() 139 fail("Method: " + methodName +" not present in class: " + clazz.getName()); in getMethod() 140 …new IllegalArgumentException("Method: " + methodName +" not present in class: " + clazz.getName()); in getMethod()
|
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/ |
D | TestResultsTest.java | 68 assertEquals("pkgName", pkg.getName()); in testParse_package() 96 assertEquals("com", comSuite.getName()); in testParse_test() 98 assertEquals("example", exampleSuite.getName()); in testParse_test() 100 assertEquals("ExampleTest", exampleCase.getName()); in testParse_test() 102 assertEquals("testExample", exampleTest.getName()); in testParse_test()
|
/cts/tools/signature-tools/src/signature/model/util/ |
D | ModelUtil.java | 46 if (qualifiedClassName.equals(clazz.getName())) { in getClass() 67 if (elementName.equals(element.getDeclaringField().getName())) { in getAnnotationElement() 76 if (fieldName.equals(field.getName())) { in getField() 86 if (fieldName.equals(field.getName())) { in getAnnotationField() 105 if (packageName.equals(aPackage.getName())) { in getPackage() 166 return "Object".equals(clazz.getName()); in isJavaLangObject()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | LocalSocketAddressTest.java | 59 assertEquals("name", localSocketAddress.getName()); in testNewLocalSocketAddressWithDefaultNamespace() 65 assertEquals("name2", localSocketAddress2.getName()); in testNewLocalSocketAddressWithDefaultNamespace() 70 assertEquals("name3", localSocketAddress3.getName()); in testNewLocalSocketAddressWithDefaultNamespace() 75 assertEquals("name4", localSocketAddress4.getName()); in testNewLocalSocketAddressWithDefaultNamespace()
|
/cts/tools/signature-tools/test/signature/converter/ |
D | ConvertClassTest.java | 61 assertEquals("A", sigClass.getName()); in convertPackageClassTest() 62 assertEquals("a.b", sigPackage.getName()); in convertPackageClassTest() 72 assertEquals("A", sigClass.getName()); in convertClassClassTest() 83 assertEquals("A", sigClass.getName()); in convertClassInterfaceTest() 94 assertEquals("A", sigClass.getName()); in convertClassEnumTest() 105 assertEquals("A", sigClass.getName()); in convertClassAnnotationTest() 116 assertEquals("A", sigClass.getName()); in convertAnnotationTest() 135 assertEquals("A", sigClass.getName()); in convertAnnotationOnFieldTest() 140 assertEquals("f", field.getName()); in convertAnnotationOnFieldTest() 152 assertEquals("A", sigClass.getName()); in convertGenericClass0() [all …]
|
D | ConvertAnnotationTest.java | 67 assertEquals("name", field.getName()); in convertAnnotationDefinition1() 68 assertEquals("String", ((IClassReference)field.getType()).getClassDefinition().getName()); in convertAnnotationDefinition1() 121 assertEquals("name", name.getName()); in convertAnnotationDefinition3() 122 assertEquals("num", num.getName()); in convertAnnotationDefinition3() 144 assertEquals("value", annotationField.getName()); in testAnnotationDefaultsInt1() 169 assertEquals("value", field.getName()); in testAnnotationDefaultsInt2() 193 assertEquals("value", field.getName()); in testAnnotationDefaultsInt3() 228 assertEquals("value", annotationField.getName()); in testAnnotationDefaultsDouble1() 254 assertEquals("value", field.getName()); in testAnnotationDefaultsDouble2() 278 assertEquals("value", field.getName()); in testAnnotationDefaultsDouble3() [all …]
|
D | ConvertWildcardTest.java | 58 assertEquals("Set", rawType.getName()); in convertWildcardUpperBound() 66 assertEquals("Number", ((IClassReference)upperBound).getClassDefinition().getName()); in convertWildcardUpperBound() 87 assertEquals("Set", rawType.getName()); in convertWildcardLowerBound() 94 assertEquals("Object", ((IClassReference)upperBound).getClassDefinition().getName()); in convertWildcardLowerBound() 98 assertEquals("Number", ((IClassReference)lowerBound).getClassDefinition().getName()); in convertWildcardLowerBound()
|
/cts/tests/tests/text/src/android/text/util/cts/ |
D | Rfc822TokenTest.java | 43 assertEquals(name, rfc822Token1.getName()); in testConstructor() 48 assertNull(rfc822Token2.getName()); in testConstructor() 53 assertEquals(name, rfc822Token3.getName()); in testConstructor() 58 assertEquals(name, rfc822Token4.getName()); in testConstructor() 80 assertEquals(name, rfc822Token.getName()); in testAccessName() 84 assertEquals(name, rfc822Token.getName()); in testAccessName() 88 assertEquals(name, rfc822Token.getName()); in testAccessName() 91 assertNull(rfc822Token.getName()); in testAccessName()
|
/cts/tests/src/android/graphics/drawable/cts/ |
D | DrawableTestUtils.java | 59 String nodeName = parser.getName(); in getAttributeSet() 69 nodeName = parser.getName(); in getAttributeSet() 77 nodeName = parser.getName(); in getAttributeSet()
|
/cts/libs/vogar-expect/src/vogar/ |
D | AnnotatedOutcome.java | 34 return a.getName().compareTo(b.getName()); 65 public String getName() { in getName() method in AnnotatedOutcome 66 return outcome.getName(); in getName()
|
/cts/tools/signature-tools/src/signature/model/impl/ |
D | SigPackage.java | 38 public String getName() { in getName() method in SigPackage 58 builder.append(getName()); in toString()
|
D | SigApi.java | 38 public String getName() { in getName() method in SigApi 61 builder.append(getName()); in toString()
|
/cts/tools/dex-tools/src/dex/reader/ |
D | DexAnnotationAttributeImpl.java | 51 public String getName() { in getName() method in DexAnnotationAttributeImpl 61 return getName() + " " + getEncodedValue(); in toString()
|