/tools/tradefederation/core/tests/res/testdata/ |
D | subprocess1.txt | 2 03-22 14:04:02 E/SubprocessResultsReporter: TEST_STARTED {"start_time":1489160957284,"className":"a… 3 03-22 14:04:02 E/SubprocessResultsReporter: TEST_ENDED {"end_time":1489160958359,"className":"andro… 4 03-22 14:04:02 E/SubprocessResultsReporter: TEST_STARTED {"start_time":1489160957284,"className":"a… 5 03-22 14:04:02 E/SubprocessResultsReporter: TEST_FAILED {"className":"android.gesture.cts.GestureLi… 6 03-22 14:04:02 E/SubprocessResultsReporter: TEST_ENDED {"end_time":1489160958359,"className":"andro… 7 03-22 14:04:02 E/SubprocessResultsReporter: TEST_STARTED {"start_time":1489160957284,"className":"a… 8 03-22 14:04:02 E/SubprocessResultsReporter: TEST_IGNORED {"className":"android.gesture.cts.GestureL… 9 03-22 14:04:02 E/SubprocessResultsReporter: TEST_ENDED {"end_time":1489160958359,"className":"andro… 10 03-22 14:04:02 E/SubprocessResultsReporter: TEST_STARTED {"start_time":1489160957285,"className":"a… 11 03-22 14:04:02 E/SubprocessResultsReporter: TEST_ASSUMPTION_FAILURE {"className":"android.gesture.c… [all …]
|
D | subprocess2.txt | 2 03-22 14:04:02 E/SubprocessResultsReporter: TEST_STARTED {"start_time":1489160957285,"className":"a… 3 03-22 14:04:02 E/SubprocessResultsReporter: TEST_ENDED {"end_time":1489160958359,"className":"andro… 4 03-22 14:04:02 E/SubprocessResultsReporter: TEST_STARTED {"start_time":1489160957285,"className":"a… 5 03-22 14:04:02 E/SubprocessResultsReporter: TEST_STARTED {"start_time":1489160957285,"className":"a… 6 03-22 14:04:02 E/SubprocessResultsReporter: TEST_IGNORED {"className":"android.gesture.cts.GestureL… 7 03-22 14:04:02 E/SubprocessResultsReporter: TEST_ENDED {"end_time":1489160958359,"className":"andro… 8 03-22 14:04:02 E/SubprocessResultsReporter: TEST_STARTED {"start_time":1489160957285,"className":"a… 9 03-22 14:04:02 E/SubprocessResultsReporter: TEST_ASSUMPTION_FAILURE {"className":"android.gesture.c… 10 03-22 14:04:02 E/SubprocessResultsReporter: TEST_ENDED {"end_time":1489160958359,"className":"andro…
|
/tools/tradefederation/core/lite/com/android/tradefed/lite/ |
D | HostUtils.java | 65 for (String className : classNames) { in getJUnitClasses() 66 if (outputNames.contains(className)) { in getJUnitClasses() 70 Class<?> klass = Class.forName(className, true, pcl); in getJUnitClasses() 71 outputNames.add(className); in getJUnitClasses() 75 String.format("Could not load Test class %s", className), e); in getJUnitClasses() 111 .filter(className -> HostUtils.testLoadClass(className, cl, jarName)) in getJUnitClasses() 112 .peek(className -> outputNames.add(className)) in getJUnitClasses() 114 className -> { in getJUnitClasses() 116 return cl.loadClass(className); in getJUnitClasses() 122 "Cannot find test class %s", className)); in getJUnitClasses() [all …]
|
/tools/tradefederation/core/isolation/com/android/tradefed/isolation/ |
D | IsolationFilter.java | 70 String className = desc.getClassName(); in checkFilters() local 71 String methodName = String.format("%s#%s", className, desc.getMethodName()); in checkFilters() 72 return this.checkIncludeFilters(packageName, className, methodName) in checkFilters() 73 && this.checkExcludeFilters(packageName, className, methodName); in checkFilters() 82 private boolean checkIncludeFilters(String packageName, String className, String methodName) { in checkIncludeFilters() argument 85 || mIncludeFilters.contains(className) in checkIncludeFilters() 89 private boolean checkExcludeFilters(String packageName, String className, String methodName) { in checkExcludeFilters() argument 91 || mExcludeFilters.contains(className) in checkExcludeFilters()
|
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/ |
D | TestDescription.java | 44 public TestDescription(String className, String testName) { in TestDescription() argument 45 if (className == null || testName == null) { in TestDescription() 48 mClassName = className; in TestDescription() 68 public TestDescription(String className, String testName, Annotation... annotations) { in TestDescription() argument 69 this(className, testName); in TestDescription() 80 public TestDescription(String className, String testName, Collection<Annotation> annotations) { in TestDescription() argument 81 this(className, testName, annotations.toArray(new Annotation[annotations.size()])); in TestDescription()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | TestFilterHelper.java | 218 String className = classObj.getName(); in shouldRun() local 219 String methodName = String.format("%s#%s", className, method.getName()); in shouldRun() 220 if (!shouldRunFilter(packageName, className, methodName)) { in shouldRun() 242 || mIncludeFilters.contains(className) in shouldRun() 275 String className = desc.getClassName(); in shouldRun() local 276 String methodName = String.format("%s#%s", className, desc.getMethodName()); in shouldRun() 277 if (!shouldRunFilter(packageName, className, methodName)) { in shouldRun() 285 || mIncludeFilters.contains(className) in shouldRun() 296 private boolean shouldRunFilter(String packageName, String className, String methodName) { in shouldRunFilter() argument 301 if (mExcludeFilters.contains(className)) { in shouldRunFilter()
|
D | ClassPathScanner.java | 87 String className = pathName.substring(0, pathName.length() - DOT_CLASS.length()); in transform() local 88 className = className.replace('/', '.'); in transform() 89 return className; in transform()
|
D | SubprocessEventHelper.java | 368 public BaseTestEventInfo(String className, String testName) { in BaseTestEventInfo() argument 369 mClassName = className; in BaseTestEventInfo() 406 public TestStartedEventInfo(String className, String testName, Long startTime) { in TestStartedEventInfo() argument 407 super(className, testName); in TestStartedEventInfo() 435 public FailedTestEventInfo(String className, String testName, String trace) { in FailedTestEventInfo() argument 436 super(className, testName); in FailedTestEventInfo() 467 public TestEndedEventInfo(String className, String testName, in TestEndedEventInfo() argument 469 super(className, testName); in TestEndedEventInfo() 484 String className, String testName, Long endTime, Map<String, String> runMetrics) { in TestEndedEventInfo() argument 485 super(className, testName); in TestEndedEventInfo()
|
D | TestLoader.java | 86 for (String className : classNames) { in loadTests() 88 Class<?> testClass = Class.forName(className, true, classLoader); in loadTests()
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | ConfigurationDef.java | 61 ConfigObjectDef(String className, Integer appearance) { in ConfigObjectDef() argument 62 mClassName = className; in ConfigObjectDef() 104 public int addConfigObjectDef(String typeName, String className) { in addConfigObjectDef() argument 112 Integer freq = mClassFrequency.get(className); in addConfigObjectDef() 114 mClassFrequency.put(className, freq); in addConfigObjectDef() 115 classList.add(new ConfigObjectDef(className, freq)); in addConfigObjectDef() 418 private Object createObject(String objectTypeName, String className) in createObject() argument 421 Class<?> objectClass = getClassForObject(objectTypeName, className); in createObject() 427 "Could not instantiate class %s for config object type %s", className, in createObject() 431 "Could not access class %s for config object type %s", className, in createObject() [all …]
|
D | ClassNotFoundConfigurationException.java | 47 String msg, Throwable cause, String className, String objectType) { in ClassNotFoundConfigurationException() argument 50 mRejectedObjects.put(className, objectType); in ClassNotFoundConfigurationException()
|
D | ConfigurationXmlParser.java | 323 String className = attributes.getValue("class"); in addObject() local 324 if (className == null) { in addObject() 333 int classCount = mConfigDef.addConfigObjectDef(objectTypeName, className); in addObject() 334 mCurrentConfigObject = String.format("%s%c%d", className, in addObject()
|
D | OptionSetter.java | 567 final String className = objectSource.getClass().getName(); in makeOptionMap() local 574 Integer index = freqMap.get(className); in makeOptionMap() 576 freqMap.put(className, index); in makeOptionMap() 916 final String className = optionSource.getClass().getName(); in addNamespacedOptionToMap() local 928 className, NAMESPACE_SEPARATOR, name), field); in addNamespacedOptionToMap() 934 className, NAMESPACE_SEPARATOR, index, NAMESPACE_SEPARATOR, name), field); in addNamespacedOptionToMap() 939 deviceName, className, NAMESPACE_SEPARATOR, name), field); in addNamespacedOptionToMap() 946 deviceName, className, NAMESPACE_SEPARATOR, index, NAMESPACE_SEPARATOR, name), in addNamespacedOptionToMap()
|
/tools/tradefederation/core/src/com/android/tradefed/config/yaml/ |
D | ConfigurationYamlParser.java | 128 String className = "com.android.tradefed.targetprep.suite.SuiteApkInstaller"; in convertDependenciesToObjects() local 130 def.addConfigObjectDef(Configuration.TARGET_PREPARER_TYPE_NAME, className); in convertDependenciesToObjects() 134 className, in convertDependenciesToObjects() 152 String className = "com.android.tradefed.targetprep.PushFilePreparer"; in convertDependenciesToObjects() local 154 def.addConfigObjectDef(Configuration.TARGET_PREPARER_TYPE_NAME, className); in convertDependenciesToObjects() 158 className, in convertDependenciesToObjects() 182 String className = tests.getRunner(); in convertTestsToObjects() local 183 int classCount = def.addConfigObjectDef(Configuration.TEST_TYPE_NAME, className); in convertTestsToObjects() 188 className, in convertTestsToObjects()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | TestSummaryTest.java | 34 final String className = this.getClass().getName(); in testSimpleCreate() local 38 summary.setSource(className); in testSimpleCreate() 41 assertEquals(summary.getSource(), className); in testSimpleCreate() local
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | HostTest.java | 388 protected void setClassName(String className) { in setClassName() argument 390 mClasses.add(className); in setClassName() 660 ITestInvocationListener listener, TestSuite junitTest, String className) in runJUnit3Tests() argument 665 listener.testRunStarted(className, testCount); in runJUnit3Tests() 684 return JUnitRunUtil.runTest(listener, junitTest, className); in runJUnit3Tests() 689 ITestInvocationListener listener, Runner checkRunner, String className) in runJUnit4Tests() argument 698 listener.testRunStarted(className, checkRunner.testCount()); in runJUnit4Tests() 724 listener.testRunStarted(className, 0); in runJUnit4Tests() 728 listener.testRunStarted(className, checkRunner.testCount()); in runJUnit4Tests() 805 String className = classObj.getName(); in collectTests() local [all …]
|
D | UiAutomatorRunner.java | 148 public void setClassName(String className) { in setClassName() argument 149 int pos = className.lastIndexOf('.'); in setClassName() 154 mPackageName = className.substring(0, pos); in setClassName() 156 addInstrumentationArg(CLASS_ARG_NAME, className); in setClassName() 179 public void setMethodName(String className, String testName) { in setMethodName() argument 180 setClassName(className + METHOD_SEPARATOR + testName); in setMethodName()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/logger/ |
D | TfObjectTracker.java | 65 public static void directCount(String className, long occurrences) { in directCount() argument 72 if (countMap.get(className) != null) { in directCount() 73 count = countMap.get(className); in directCount() 76 countMap.put(className, count); in directCount()
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | AutoLogCollector.java | 29 private AutoLogCollector(Class<? extends BaseDeviceMetricCollector> className) { in AutoLogCollector() argument 30 mClass = className; in AutoLogCollector()
|
/tools/tradefederation/core/common_util/com/android/tradefed/log/ |
D | LogUtil.java | 326 String className = "Unknown"; in findCallerClassName() local 333 return className; in findCallerClassName() 340 className = frames[f].getClassName(); in findCallerClassName() 341 if (!className.equals(CLASS_NAME)) { in findCallerClassName() 346 return parseClassName(className); in findCallerClassName()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | GTestListTestParserTest.java | 187 String className = test.getClassName(); in verifyTestDescriptions() local 189 assertFalse(String.format("Class name %s improperly formatted", className), in verifyTestDescriptions() 190 className.matches("^.*\\.$")); // should not end with '.' in verifyTestDescriptions() 193 if (!className.equals(lastClass)) { in verifyTestDescriptions() 194 lastClass = className; in verifyTestDescriptions()
|
/tools/metalava/src/main/java/com/android/resources/ |
D | ResourceType.java | 191 public static ResourceType fromClassName(String className) { in fromClassName() argument 192 return CLASS_NAMES.get(className); in fromClassName() 271 public static ResourceType getEnum(String className) { in getEnum() argument 272 return fromClassName(className); in getEnum()
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | TradefedConfigObject.java | 54 TradefedConfigObject(Type type, String className, MultiMap<String, String> optionValues) { in TradefedConfigObject() argument 56 mClassName = className; in TradefedConfigObject()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | JUnitToInvocationResultForwarder.java | 130 final String className = test.getClass().getName(); in getTestId() local 145 return new TestDescription(className, testName, annotations); in getTestId()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | InstrumentationPreparer.java | 176 void setClassName(String className) { in setClassName() argument 177 mClassName = className; in setClassName()
|