Home
last modified time | relevance | path

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

12345678910>>...15

/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DHceEmulatorTestActivity.java55 ProtocolParamsEmulatorActivity.class.getName(), in onCreate()
59 SinglePaymentEmulatorActivity.class.getName(), in onCreate()
63 DualPaymentEmulatorActivity.class.getName(), in onCreate()
67 ChangeDefaultEmulatorActivity.class.getName(), in onCreate()
71 ForegroundPaymentEmulatorActivity.class.getName(), in onCreate()
75 SingleNonPaymentEmulatorActivity.class.getName(), in onCreate()
79 DualNonPaymentEmulatorActivity.class.getName(), in onCreate()
83 ConflictingNonPaymentEmulatorActivity.class.getName(), in onCreate()
87 ForegroundNonPaymentEmulatorActivity.class.getName(), in onCreate()
91 ThroughputEmulatorActivity.class.getName(), in onCreate()
[all …]
DHceReaderTestActivity.java45 ProtocolParamsReaderActivity.class.getName(), in onCreate()
49 SimpleReaderActivity.class.getName(), in onCreate()
53 SimpleReaderActivity.class.getName(), in onCreate()
57 SimpleReaderActivity.class.getName(), in onCreate()
61 SimpleReaderActivity.class.getName(), in onCreate()
65 SimpleReaderActivity.class.getName(), in onCreate()
69 SimpleReaderActivity.class.getName(), in onCreate()
73 SimpleReaderActivity.class.getName(), in onCreate()
77 SimpleReaderActivity.class.getName(), in onCreate()
81 SimpleReaderActivity.class.getName(), in onCreate()
[all …]
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DTestCase.java57 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 …]
DTestSuite.java57 public String getName() { in getName() method in TestSuite
162 if (!parser.getName().equals(TAG)) { in parse()
164 "invalid XML: Expected %s tag but received %s", TAG, parser.getName())); in parse()
169 if (eventType == XmlPullParser.START_TAG && parser.getName().equals(TestSuite.TAG)) { in parse()
173 } else if (eventType == XmlPullParser.START_TAG && parser.getName().equals( in parse()
178 } else if (eventType == XmlPullParser.END_TAG && parser.getName().equals(TAG)) { in parse()
189 mChildTestCaseMap.put(testCase.getName(), testCase); in insertTestCase()
196 mChildSuiteMap.put(suite.getName(), suite); in insertSuite()
210 if (getName() != null) { in addTestsWithStatus()
211 parentSuiteNames.addLast(getName()); in addTestsWithStatus()
[all …]
/cts/tools/signature-tools/src/signature/io/html/
DClassByNameComparator.java29 return a.getFrom().getName().compareTo(b.getFrom().getName()); in compare()
31 return a.getTo().getName().compareTo(b.getTo().getName()); in compare()
DExecutableMemberComparator.java53 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()
/cts/tests/tests/net/src/android/net/cts/
DLocalSocketAddressTest.java28 assertEquals("name", localSocketAddress.getName()); in testNewLocalSocketAddressWithDefaultNamespace()
34 assertEquals("name2", localSocketAddress2.getName()); in testNewLocalSocketAddressWithDefaultNamespace()
39 assertEquals("name3", localSocketAddress3.getName()); in testNewLocalSocketAddressWithDefaultNamespace()
44 assertEquals("name4", localSocketAddress4.getName()); in testNewLocalSocketAddressWithDefaultNamespace()
/cts/tools/dex-tools/test/dex/reader/
DDexTestsCommon.java97 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/cts-xml-generator/src/com/android/cts/xmlgenerator/
DTest.java28 public String getName() { in getName() method in Test
38 return getName().compareTo(another.getName()); in compareTo()
DTestCase.java33 public String getName() { in getName() method in TestCase
47 return getName().compareTo(another.getName()); in compareTo()
DTestSuite.java37 public String getName() { in getName() method in TestSuite
67 return getName().compareTo(another.getName()); in compareTo()
/cts/tests/tests/text/src/android/text/util/cts/
DRfc822TokenTest.java32 assertEquals(name, rfc822Token1.getName()); in testConstructor()
37 assertNull(rfc822Token2.getName()); in testConstructor()
42 assertEquals(name, rfc822Token3.getName()); in testConstructor()
47 assertEquals(name, rfc822Token4.getName()); in testConstructor()
57 assertEquals(name, rfc822Token.getName()); in testAccessName()
61 assertEquals(name, rfc822Token.getName()); in testAccessName()
65 assertEquals(name, rfc822Token.getName()); in testAccessName()
68 assertNull(rfc822Token.getName()); in testAccessName()
/cts/tools/signature-tools/test/signature/converter/
DConvertClassTest.java61 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 …]
DConvertAnnotationTest.java67 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 …]
DConvertWildcardTest.java58 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/tools/signature-tools/src/signature/model/util/
DModelUtil.java46 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/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/
DTestResultsTest.java68 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/tests/uiautomator/src/com/android/cts/uiautomatortest/
DCtsUiAutomatorTest.java98 new UiSelector().className(android.widget.ListView.class.getName())); in testListScrollAndSelect()
121 .getName())); in testTextEraseAndInput()
125 .className(android.widget.Button.class.getName()).clickable(true) in testTextEraseAndInput()
130 android.widget.LinearLayout.class.getName()).childSelector( in testTextEraseAndInput()
131 (new UiSelector().className(android.widget.ScrollView.class.getName()) in testTextEraseAndInput()
133 .getName()))))); in testTextEraseAndInput()
179 getObjectByIndex(android.widget.Button.class.getName(), 0).click(); in testSelectByIndex()
181 getObjectByIndex(android.widget.Button.class.getName(), 1).click(); in testSelectByIndex()
183 getObjectByIndex(android.widget.Button.class.getName(), 2).click(); in testSelectByIndex()
194 getObjectByInstance(android.widget.Button.class.getName(), 0).click(); in testSelectByInstance()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
DNfcTestActivity.java56 NdefPushSenderActivity.class.getName(), in onCreate()
59 NdefPushReceiverActivity.class.getName(), in onCreate()
64 LlcpVersionActivity.class.getName(), in onCreate()
78 HceReaderTestActivity.class.getName(), in onCreate()
81 HceEmulatorTestActivity.class.getName(), in onCreate()
90 .putExtra(TagVerifierActivity.EXTRA_TECH, primaryTech.getName()); in getTagIntent()
/cts/tests/tests/widget/src/android/widget/cts/util/
DXmlUtils.java805 if (parser.getName().equals(endTag)) { in readThisMapXml()
809 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisMapXml()
834 if (parser.getName().equals(endTag)) { in readThisArrayMapXml()
838 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisArrayMapXml()
892 if (parser.getName().equals(endTag)) { in readThisListXml()
896 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisListXml()
957 if (parser.getName().equals(endTag)) { in readThisSetXml()
961 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisSetXml()
1006 if (parser.getName().equals("item")) { in readThisIntArrayXml()
1019 "Expected item tag at: " + parser.getName()); in readThisIntArrayXml()
[all …]
/cts/tests/tests/view/src/android/view/cts/util/
DXmlUtils.java804 if (parser.getName().equals(endTag)) { in readThisMapXml()
808 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisMapXml()
833 if (parser.getName().equals(endTag)) { in readThisArrayMapXml()
837 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisArrayMapXml()
891 if (parser.getName().equals(endTag)) { in readThisListXml()
895 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisListXml()
956 if (parser.getName().equals(endTag)) { in readThisSetXml()
960 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisSetXml()
1005 if (parser.getName().equals("item")) { in readThisIntArrayXml()
1018 "Expected item tag at: " + parser.getName()); in readThisIntArrayXml()
[all …]
/cts/tests/tests/content/src/android/content/cts/util/
DXmlUtils.java832 if (parser.getName().equals(endTag)) { in readThisMapXml()
836 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisMapXml()
861 if (parser.getName().equals(endTag)) { in readThisArrayMapXml()
865 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisArrayMapXml()
919 if (parser.getName().equals(endTag)) { in readThisListXml()
923 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisListXml()
984 if (parser.getName().equals(endTag)) { in readThisSetXml()
988 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisSetXml()
1033 if (parser.getName().equals("item")) { in readThisIntArrayXml()
1046 "Expected item tag at: " + parser.getName()); in readThisIntArrayXml()
[all …]
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DTextReport.java39 if (packageFilter.accept(apiPackage.getName()) && apiPackage.getTotalMethods() > 0) { in printTextReport()
48 if (packageFilter.accept(apiPackage.getName())) { in printTextReport()
76 out.println(apiPackage.getName() + " " in printPackage()
82 out.println(" " + apiClass.getName() + " " in printClass()
90 .append("] ").append(constructor.getName()).append("("); in printConstructor()
118 .append(method.getName()).append("("); in printMethod()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DPrimaryUserDeviceAdmin.java27 PrimaryUserDeviceAdmin.class.getPackage().getName(),
28 PrimaryUserDeviceAdmin.class.getName());
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DPrimaryUserDeviceAdmin.java27 PrimaryUserDeviceAdmin.class.getPackage().getName(),
28 PrimaryUserDeviceAdmin.class.getName());

12345678910>>...15