/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | HostTestTest.java | 460 mHostTest.setClassName(SuccessTestCase.class.getName()); in testRun_testcase() 461 TestDescription test1 = new TestDescription(SuccessTestCase.class.getName(), "testPass"); in testRun_testcase() 462 TestDescription test2 = new TestDescription(SuccessTestCase.class.getName(), "testPass2"); in testRun_testcase() 479 mHostTest.setClassName(TestMetricTestCase.class.getName()); in testRun_MetricTestCase() 480 TestDescription test1 = new TestDescription(TestMetricTestCase.class.getName(), "testPass"); in testRun_MetricTestCase() 482 new TestDescription(TestMetricTestCase.class.getName(), "testPass2"); in testRun_MetricTestCase() 505 mHostTest.setClassName(LogMetricTestCase.class.getName()); in testRun_LogMetricTestCase() 506 TestDescription test1 = new TestDescription(LogMetricTestCase.class.getName(), "testPass"); in testRun_LogMetricTestCase() 507 TestDescription test2 = new TestDescription(LogMetricTestCase.class.getName(), "testPass2"); in testRun_LogMetricTestCase() 537 mHostTest.setClassName(TestMetricTestCase.class.getName()); in testRun_MetricTestCase_withOption() [all …]
|
D | DeviceTestCaseTest.java | 107 listener.testRunStarted(MockTest.class.getName(), 2); in testRun_suite() 108 final TestDescription test1 = new TestDescription(MockTest.class.getName(), "test1"); in testRun_suite() 109 final TestDescription test2 = new TestDescription(MockTest.class.getName(), "test2"); in testRun_suite() 132 listener.testRunStarted(MockTest.class.getName(), 1); in testRun_includeFilter() 133 final TestDescription test1 = new TestDescription(MockTest.class.getName(), "test1"); in testRun_includeFilter() 154 listener.testRunStarted(MockTest.class.getName(), 1); in testRun_excludeFilter() 155 final TestDescription test2 = new TestDescription(MockTest.class.getName(), "test2"); in testRun_excludeFilter() 176 listener.testRunStarted(MockAnnotatedTest.class.getName(), 1); in testRun_includeAnnotationFiltering() 178 new TestDescription(MockAnnotatedTest.class.getName(), "test1"); in testRun_includeAnnotationFiltering() 193 listener.testRunStarted(MockAnnotatedTest.class.getName(), 2); in testRun_checkAnnotation() [all …]
|
D | DeviceTestSuiteTest.java | 64 listener.testRunStarted(DeviceTestSuite.class.getName(), 2); in testRun_suite() 65 final TestDescription test1 = new TestDescription(MockTest.class.getName(), "test1"); in testRun_suite() 66 final TestDescription test2 = new TestDescription(MockTest.class.getName(), "test2"); in testRun_suite() 89 final TestDescription test1 = new TestDescription(MockAbortTest.class.getName(), "test1"); in testRun_deviceNotAvail() 90 listener.testRunStarted(DeviceTestSuite.class.getName(), 1); in testRun_deviceNotAvail()
|
D | DeviceSuiteTest.java | 163 setter.setOptionValue("class", Junit4DeviceSuite.class.getName()); in testRunDeviceSuite() 168 new TestDescription(Junit4DeviceTestclass.class.getName(), "testPass1"); in testRunDeviceSuite() 170 new TestDescription(Junit4DeviceTestclass.class.getName(), "testPass2"); in testRunDeviceSuite() 189 setter.setOptionValue("class", Junit4DeviceSuite.class.getName()); in testRun_withFiltering() 197 new TestDescription(Junit4DeviceTestclass.class.getName(), "testPass1"); in testRun_withFiltering() 210 setter.setOptionValue("class", Junit4DeviceSuite.class.getName()); in testRun_withOption() 216 new TestDescription(Junit4DeviceTestclass.class.getName(), "testPass1"); in testRun_withOption() 218 new TestDescription(Junit4DeviceTestclass.class.getName(), "testPass2"); in testRun_withOption() 236 setter.setOptionValue("class", JUnit4SuiteWithJunit3.class.getName()); in testRunDeviceSuite_junit3() 241 new TestDescription(JUnit3DeviceTestCase.class.getName(), "testOne"); in testRunDeviceSuite_junit3()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/ |
D | DeviceParameterizedRunnerTest.java | 109 setter.setOptionValue("class", TestJUnitParamsClass.class.getName()); in testRun() 111 mListener.testRunStarted(TestJUnitParamsClass.class.getName(), 3); in testRun() 113 new TestDescription(TestJUnitParamsClass.class.getName(), "testOne"); in testRun() 118 new TestDescription(TestJUnitParamsClass.class.getName(), "testTwo[0]"); in testRun() 123 new TestDescription(TestJUnitParamsClass.class.getName(), "testTwo[1]"); in testRun() 138 setter.setOptionValue("class", TestJUnitParamsClass.class.getName()); in testRun_collectOnly() 141 mListener.testRunStarted(TestJUnitParamsClass.class.getName(), 3); in testRun_collectOnly() 143 new TestDescription(TestJUnitParamsClass.class.getName(), "testOne"); in testRun_collectOnly() 148 new TestDescription(TestJUnitParamsClass.class.getName(), "testTwo[0]"); in testRun_collectOnly() 153 new TestDescription(TestJUnitParamsClass.class.getName(), "testTwo[1]"); in testRun_collectOnly() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | DeviceTestCase.java | 120 if (getName() == null && mMethodName != null) { in run() 126 String runName = this.getClass().getName(); in run() 127 if (getName() == null) { in run() 142 TestDescription testId = new TestDescription(runName, getName()); in run() 156 if (getName() != null || mMethodName != null) { in countTestCases() 178 if (getName() == null) { in run() 182 CLog.d("Running %s#%s()", this.getClass().getName(), methodName); in run() 186 CLog.d("Running %s#%s()", this.getClass().getName(), getName()); in run() 280 if (!overridenMethod.contains(method.getName())) { in getTestMethodNames() 285 && method.getName().startsWith("test")) { in getTestMethodNames() [all …]
|
D | HostTest.java | 468 runJUnit3Tests(listener, junitTest, classObj.getName()); in runTestClasses() 473 includes.add(String.format(TEST_FULL_NAME_FORMAT, classObj.getName(), in runTestClasses() 481 runJUnit4Tests(listener, checkRunner, classObj.getName()); in runTestClasses() 484 String.format("%s is not a supported test", classObj.getName())); in runTestClasses() 496 runJUnit3Tests(listener, junitTest, junitTest.getName()); in runTestCases() 537 TestDescription testId = new TestDescription(t.getClass().getName(), testName); in runJUnit3Tests() 626 String packageName = classObj.getPackage().getName(); in collectTests() 627 String className = classObj.getName(); in collectTests() 646 || !method.getName().startsWith("test") in collectTests() 652 ((TestCase)testObj).setName(method.getName()); in collectTests() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/result/ddmlib/ |
D | TestRunToTestInvocationForwarder.java | 55 listener.getClass().getName()); in testStarted() 69 listener.getClass().getName()); in testStarted() 84 listener.getClass().getName()); in testAssumptionFailure() 98 listener.getClass().getName()); in testFailed() 112 listener.getClass().getName()); in testIgnored() 128 listener.getClass().getName()); in testEnded() 145 listener.getClass().getName()); in testEnded() 159 listener.getClass().getName()); in testRunEnded() 173 listener.getClass().getName()); in testRunFailed() 187 listener.getClass().getName()); in testRunStarted() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | PsParserTest.java | 48 assertEquals("First process name did not match", "init", psInfo.get(0).getName()); in testNewerValidPsOutput() 51 assertEquals("Second process name did not match", "[kthreadd]", psInfo.get(1).getName()); in testNewerValidPsOutput() 67 assertEquals("First process name did not match", "init", psInfo.get(0).getName()); in testOlderValidPsOutput() 70 assertEquals("Second process name did not match", "[kthreadd]", psInfo.get(1).getName()); in testOlderValidPsOutput() 86 assertEquals("First process name did not match", "init", psInfo.get(0).getName()); in testMissingInfoPsOutput() 89 assertEquals("Second process name did not match", "[kthreadd]", psInfo.get(1).getName()); in testMissingInfoPsOutput()
|
D | FileUtilFuncTest.java | 144 assertTrue(tmpFile.getName().startsWith("foo")); in testCreateTempFile() 145 assertTrue(tmpFile.getName().endsWith(".txt")); in testCreateTempFile() 157 assertTrue(tmpFile.getName().startsWith("foo")); in testCreateTempFile_parentDir() 158 assertTrue(tmpFile.getName().endsWith(".txt")); in testCreateTempFile_parentDir() 199 File subFileCopy = new File(destDir, String.format("%s%s%s", childDir.getName(), in testRecursiveCopy() 200 File.separator, subFile.getName())); in testRecursiveCopy() 222 File subFileCopy = new File(destDir, String.format("%s%s%s", childDir.getName(), in testRecursiveCopyToNonexistentTarget() 223 File.separator, subFile.getName())); in testRecursiveCopyToNonexistentTarget() 231 File relRootDir = new File(absRootDir.getName()); in testFindDirsUnder() 233 File relSubDir1 = new File(relRootDir.getName(), absSubDir1.getName()); in testFindDirsUnder() [all …]
|
D | TestMappingTest.java | 57 assertEquals("test1", tests.get(0).getName()); in testparseTestMapping() 60 assertEquals("test2", tests.get(0).getName()); in testparseTestMapping() 62 assertEquals("instrumentation-arg", option.getName()); in testparseTestMapping() 65 assertEquals("instrument", tests.get(1).getName()); in testparseTestMapping() 68 assertEquals("test3", tests.get(0).getName()); in testparseTestMapping() 117 names.add(test.getName()); in testGetTests()
|
D | ZipUtilTest.java | 99 File extractedParentDir = new File(extractedDir, tmpParentDir.getName()); in testCreateAndExtractZip() 100 File extractedChildDir = new File(extractedParentDir, childDir.getName()); in testCreateAndExtractZip() 101 File extractedSubFile = new File(extractedChildDir, subFile.getName()); in testCreateAndExtractZip() 129 File extractedFile1 = new File(extractedDir, file1.getName()); in testCreateAndExtractZip_fromFiles() 130 File extractedFile2 = new File(extractedDir, file2.getName()); in testCreateAndExtractZip_fromFiles() 169 tmpParentDir.getName() + "/foochild/foo.txt"); in testCreateAndExtractFileFromZip()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | ResultForwarder.java | 98 listener.getClass().getName()); in invocationStarted() 115 listener.getClass().getName()); in invocationFailed() 147 CLog.e("Exception while invoking %s#testLog", listener.getClass().getName()); in testLog() 162 CLog.e("Exception while invoking %s#testRunStarted", listener.getClass().getName()); in testRunStarted() 177 CLog.e("Exception while invoking %s#testRunFailed", listener.getClass().getName()); in testRunFailed() 192 CLog.e("Exception while invoking %s#testRunStopped", listener.getClass().getName()); in testRunStopped() 205 CLog.e("Exception while invoking %s#testRunEnded", listener.getClass().getName()); in testRunEnded() 224 CLog.e("Exception while invoking %s#testStarted", listener.getClass().getName()); in testStarted() 237 CLog.e("Exception while invoking %s#testFailed", listener.getClass().getName()); in testFailed() 256 CLog.e("Exception while invoking %s#testEnded", listener.getClass().getName()); in testEnded() [all …]
|
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ |
D | Asn1DerEncoder.java | 58 containerClass.getName() + " not annotated with " + Asn1Class.class.getName()); in encode() 77 "No fields annotated with " + Asn1Field.class.getName() in toChoice() 78 + " in CHOICE class " + containerClass.getName()); in toChoice() 87 "Multiple non-null fields in CHOICE class " + containerClass.getName() in toChoice() 88 + ": " + resultField.getField().getName() in toChoice() 89 + ", " + field.getField().getName()); in toChoice() 97 "No non-null fields in CHOICE class " + containerClass.getName()); in toChoice() 114 "Fields have the same index: " + containerClass.getName() in toSequence() 115 + "." + lastField.getField().getName() in toSequence() 116 + " and ." + field.getField().getName()); in toSequence() [all …]
|
D | Asn1BerParser.java | 131 "Unexpected data value read as " + containerClass.getName() in parse() 150 "No fields annotated with " + Asn1Field.class.getName() in parseChoice() 151 + " in CHOICE class " + containerClass.getName()); in parseChoice() 166 + " class and number: " + containerClass.getName() in parseChoice() 167 + "." + f1.getField().getName() in parseChoice() 168 + " and ." + f2.getField().getName()); in parseChoice() 178 throw new Asn1DecodingException("Failed to instantiate " + containerClass.getName(), e); in parseChoice() 192 "No options of CHOICE " + containerClass.getName() + " matched"); in parseChoice() 207 "Fields have the same index: " + containerClass.getName() in parseSequence() 208 + "." + lastField.getField().getName() in parseSequence() [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/ |
D | ApiClass.java | 87 if (element.getName().equals(name)) { in findByName() 121 ApiClass cls = allClasses.get(superClass.getName()); in removeImplicitInterfaces() 134 if (interfaceElement.getName().equals(localInterface.getName())) { in implementsInterface() 138 ApiClass cls = allClasses.get(localInterface.getName()); in implementsInterface() 147 ApiClass cls = allClasses.get(superClass.getName()); in implementsInterface() 165 … if (!method.getName().startsWith("<init>(") && isOverrideOfInherited(method, allClasses)) { in removeOverridingMethods() 180 ApiElement localMethod = mMethods.get(method.getName()); in isOverride() 197 ApiClass cls = allClasses.get(parent.getName()); in isOverrideOfInherited() 209 return getName(); in toString()
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/ |
D | FsDirectoryEntry.java | 44 return e1.getName().compareTo(e2.getName()); 57 public String getName(); in getName() method
|
/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
D | GfxInfoParserTest.java | 93 assertEquals("com.google.android.leanbacklauncher", item.getName(853)); in testSingleProcess() 288 assertEquals("com.google.android.leanbacklauncher", item.getName(844)); in testMultipleProcesses() 294 assertEquals("com.android.vending", item.getName(1881)); in testMultipleProcesses() 300 assertEquals("com.google.android.videos", item.getName(2931)); in testMultipleProcesses()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | AdditionalFilesInstaller.java | 50 CLog.d("Examining build file %s", file.getName()); in setUp() 51 String remotePath = String.format("%s%s", DEST_PATH, file.getName()); in setUp() 52 CLog.d("Pushing %s to %s", file.getName(), remotePath); in setUp() 55 file.getName(), remotePath), device.getDeviceDescriptor()); in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | OptionSetter.java | 209 field.getName(), optionSource.getClass().getName())); in getHandlerOrTimeVal() 230 "incompatible type %s.", field.getName(), field.getGenericType())); in getHandlerOrTimeVal() 262 name, source.getClass().getName(), in addField() 263 getFirstObject().getClass().getName())); in addField() 269 name, source.getClass().getName())); in addField() 442 "key not applicable for Collection field '%s'", field.getName())); in setFieldValue() 447 "Unable to add value to field '%s'. Field is null.", field.getName())); in setFieldValue() 467 "Unable to add value to field '%s'. Field is null.", field.getName())); in setFieldValue() 473 field.getName())); in setFieldValue() 480 field.getName())); in setFieldValue() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/util/sl4a/ |
D | Sl4aEventDispatcher.java | 75 if (SHUTDOWN_EVENT.equals(event.getName())) { in internalPolling() 80 if (mEventQueue.containsKey(event.getName())) { in internalPolling() 81 mEventQueue.get(event.getName()).add(event); in internalPolling() 85 mEventQueue.put(event.getName(), queue); in internalPolling() 212 public String getName() { in getName() method in Sl4aEventDispatcher.EventSl4aObject
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | TestFilterHelper.java | 164 if (mExcludeAnnotations.contains(a.annotationType().getName())) { in isExcluded() 179 if (neededAnnotation.contains(a.annotationType().getName())) { in isIncluded() 180 neededAnnotation.remove(a.annotationType().getName()); in isIncluded() 201 String className = classObj.getName(); in shouldRun() 202 String methodName = String.format("%s#%s", className, method.getName()); in shouldRun() 244 String packageName = classObj.getPackage().getName(); in shouldRun()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | TestMappingSuiteRunner.java | 81 testNames.add(test.getName()); in loadTests() 83 String moduleArg = String.format("%s:%s", test.getName(), option.getName()); in loadTests()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | MockFileUtil.java | 45 EasyMock.expect(rootEntry.getName()).andStubReturn(rootPath); in setMockDirContents() 49 EasyMock.expect(childMockEntry.getName()).andStubReturn(childName); in setMockDirContents() 75 EasyMock.expect(rootEntry.getName()).andStubReturn(rootPath); in setMockDirPath() 78 EasyMock.expect(childMockEntry.getName()).andStubReturn(pathSegments[i]); in setMockDirPath()
|
/tools/loganalysis/src/com/android/loganalysis/util/config/ |
D | OptionSetter.java | 165 name, source.getClass().getName(), in addField() 166 getFirstObject().getClass().getName())); in addField() 172 name, source.getClass().getName())); in addField() 283 field.getName(), optionName, optionSource.getClass().getName())); in setFieldValue() 296 field.getName(), optionName, optionSource.getClass().getName())); in setFieldValue() 304 field.getName(), optionName, optionSource.getClass().getName())); in setFieldValue() 314 field.getName(), optionSource.getClass().getName())); in setFieldValue() 390 field.getName(), optionName, optionSource.getClass().getName())); in setOptionMapValue() 411 final String className = objectSource.getClass().getName(); in makeOptionMap() 447 option.name(), optionSource.getClass().getName(), NAMESPACE_SEPARATOR)); in addOptionsForObject() [all …]
|