/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/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/src/com/android/tradefed/config/ |
D | ConfigurationDef.java | 62 ConfigObjectDef(String className, Integer appearance) { in ConfigObjectDef() argument 63 mClassName = className; in ConfigObjectDef() 106 public int addConfigObjectDef(String typeName, String className) { in addConfigObjectDef() argument 114 Integer freq = mClassFrequency.get(className); in addConfigObjectDef() 116 mClassFrequency.put(className, freq); in addConfigObjectDef() 117 classList.add(new ConfigObjectDef(className, freq)); in addConfigObjectDef() 445 private Object createObject(String objectTypeName, String className) in createObject() argument 448 Class<?> objectClass = getClassForObject(objectTypeName, className); in createObject() 454 "Could not instantiate class %s for config object type %s", className, in createObject() 458 "Could not access class %s for config object type %s", className, in createObject() [all …]
|
D | OptionSetter.java | 575 final String className = objectSource.getClass().getName(); in makeOptionMap() local 582 Integer index = freqMap.get(className); in makeOptionMap() 584 freqMap.put(className, index); in makeOptionMap() 924 final String className = optionSource.getClass().getName(); in addNamespacedOptionToMap() local 936 className, NAMESPACE_SEPARATOR, name), field); in addNamespacedOptionToMap() 942 className, NAMESPACE_SEPARATOR, index, NAMESPACE_SEPARATOR, name), field); in addNamespacedOptionToMap() 947 deviceName, className, NAMESPACE_SEPARATOR, name), field); in addNamespacedOptionToMap() 954 deviceName, className, NAMESPACE_SEPARATOR, index, NAMESPACE_SEPARATOR, name), in addNamespacedOptionToMap()
|
/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/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 | 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()
|
/tools/tradefederation/core/src/com/android/tradefed/config/yaml/ |
D | ConfigurationYamlParser.java | 138 String className = "com.android.tradefed.targetprep.suite.SuiteApkInstaller"; in convertDependenciesToObjects() local 140 def.addConfigObjectDef(Configuration.TARGET_PREPARER_TYPE_NAME, className); in convertDependenciesToObjects() 144 className, in convertDependenciesToObjects() 162 String className = "com.android.tradefed.targetprep.PushFilePreparer"; in convertDependenciesToObjects() local 164 def.addConfigObjectDef(Configuration.TARGET_PREPARER_TYPE_NAME, className); in convertDependenciesToObjects() 168 className, in convertDependenciesToObjects() 192 String className = tests.getRunner(); in convertTestsToObjects() local 193 int classCount = def.addConfigObjectDef(Configuration.TEST_TYPE_NAME, className); in convertTestsToObjects() 198 className, in convertTestsToObjects()
|
/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/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | Javadoc.kt | 639 var className = containingClass.qualifiedName in expand() variable 648 className = referencedElement.qualifiedName in expand() 653 sb.append(className) in expand() 757 var className = PsiClassItem.computeFullClassName(referencedElement) in handleTag() variable 758 if (className.indexOf('.') != -1 && !referenceText.startsWith(className)) { in handleTag() 761 className = simpleName in handleTag() 764 if (referenceText.startsWith(className)) { in handleTag() 769 val suffix = referenceText.substring(className.length) in handleTag()
|
/tools/platform-compat/java/android/processor/compat/changeid/ |
D | Change.java | 36 final String className; field in Change 47 String description, String javaPackage, String className, String qualifiedClass, in Change() argument 56 this.className = className; in Change() 116 public Builder qualifiedClass(String className) { in qualifiedClass() argument 117 this.qualifiedClass = className; in qualifiedClass()
|
/tools/tradefederation/core/src/com/android/tradefed/result/suite/ |
D | XmlSuiteResultFormatter.java | 330 for (String className : format.keySet()) { in serializeTestCases() 332 serializer.attribute(NS, NAME_ATTR, className); in serializeTestCases() 333 for (Entry<String, TestResult> individualResult : format.get(className).entrySet()) { in serializeTestCases() 624 String className = parser.getAttributeValue(NS, NAME_ATTR); in handleModuleLevel() local 626 handleTestCaseLevel(parser, module, className); in handleModuleLevel() 637 XmlPullParser parser, TestRunResult currentModule, String className) in handleTestCaseLevel() argument 643 TestDescription description = new TestDescription(className, methodName); in handleTestCaseLevel()
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | ApiLint.kt | 768 val className = field.containingClass().qualifiedName() in <lambda>() constant 769 …if (className == "android.app.Notification" || className == "android.appwidget.AppWidgetManager") { in <lambda>() 791 className == "android.content.Intent" -> "android.intent.extra" in <lambda>() 987 val className = field.containingClass().qualifiedName() in <lambda>() constant 990 if (className !in classesWithBareFields && in <lambda>() 991 !className.endsWith("LayoutParams") && in <lambda>() 992 !className.startsWith("android.util.Mutable")) { in <lambda>() 1016 val className = field.containingClass().qualifiedName() in <lambda>() constant 1020 …if (modifiers.isFinal() && modifiers.isStatic() && type.isString() && className in settingsKeyClas… in <lambda>()
|
D | ExtractAnnotations.kt | 211 val className = typeDefClass.qualifiedName() in <lambda>() constant 213 val cached = classToAnnotationHolder[className] in <lambda>() 256 classToAnnotationHolder[className] = result in <lambda>() 262 verifyReturnedConstants(item, result.uAnnotation, result, className) in <lambda>() 278 className: String in <lambda>()
|
/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/tools/metalava/model/ |
D | Codebase.kt | 76 fun findClass(className: String): ClassItem? in <lambda>() 176 val className = owner.replace('/', '.').replace('$', '.') in <lambda>() constant 177 val cls = findClass(className) in <lambda>() 198 sb.append(type.className.replace('/', '.').replace('$', '.')) in <lambda>() 222 sb.append(type.className.replace('/', '.').replace('$', '.')) in <lambda>()
|
/tools/loganalysis/src/com/android/loganalysis/util/config/ |
D | OptionSetter.java | 411 final String className = objectSource.getClass().getName(); in makeOptionMap() local 418 Integer index = freqMap.get(className); in makeOptionMap() 420 freqMap.put(className, index); in makeOptionMap() 700 final String className = optionSource.getClass().getName(); in addNamespacedOptionToMap() local 719 className, NAMESPACE_SEPARATOR, name), field); in addNamespacedOptionToMap() 725 className, NAMESPACE_SEPARATOR, index, NAMESPACE_SEPARATOR, name), field); in addNamespacedOptionToMap()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | SuiteModuleLoader.java | 789 String className = preparer.getClass().getName(); in setUpConfig() local 790 if (mTestOrPreparerOptions.containsKey(className)) { in setUpConfig() 791 config.injectOptionValues(mTestOrPreparerOptions.get(className)); in setUpConfig() 802 String className = test.getClass().getName(); in setUpConfig() local 803 if (mTestOrPreparerOptions.containsKey(className)) { in setUpConfig() 804 config.injectOptionValues(mTestOrPreparerOptions.get(className)); in setUpConfig()
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | ApkSignerTool.java | 213 providerParams.className = in sign() 576 providerParams.className = in rotate() 964 String className; field in ApkSignerTool.ProviderInstallSpec 969 return (className == null) && (constructorParam == null) && (position == null); in isEmpty() 973 if (className == null) { in installProvider() 978 Class<?> providerClass = Class.forName(className); in installProvider()
|
/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/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()
|