Home
last modified time | relevance | path

Searched refs:classes (Results 1 – 25 of 86) sorted by relevance

1234

/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DHostTest.java560 List<Class<?>> classes = getClasses(); in run() local
562 if (classes.isEmpty()) { in run()
568 if (mMethodName != null && classes.size() > 1) { in run()
573 classes), in run()
836 Set<Class<?>> classes = new HashSet<>(); in collectClasses() local
839 classes.addAll(getClassesFromSuite(testObj)); in collectClasses()
841 classes.add(classObj); in collectClasses()
843 return classes; in collectClasses()
847 Set<Class<?>> classes = new HashSet<>(); in getClassesFromSuite() local
852 classes.addAll(getClassesFromSuite((TestSuite) test)); in getClassesFromSuite()
[all …]
/tools/platform-compat/javatest/com/android/annotationvisitor/
DRepeatedAnnotationHandlerTest.java81 private final List<String> classes; field in RepeatedAnnotationHandlerTest.TestAnnotationHandler
84 this.classes = new ArrayList<>(); in TestAnnotationHandler()
90 classes.add(annotation.getElementValuePairs()[0].getValue().stringifyValue()); in handleAnnotation()
94 return classes; in getClasses()
/tools/dexter/slicer/
Ddex_ir.cc151 SLICER_CHECK_LT(*nextIndex, classes.size()); in TopSortClassIndex()
159 for (auto& irClass : classes) { in SortClassIndexes()
164 for (auto& irClass : classes) { in SortClassIndexes()
266 IndexItems(classes, [&](const own<Class>& a, const own<Class>& b) { in Normalize()
267 SLICER_CHECK_LT(a->index, classes.size()); in Normalize()
268 SLICER_CHECK_LT(b->index, classes.size()); in Normalize()
274 for (const auto& irClass : classes) { in Normalize()
Dwriter.cc273 offset += dex_->class_defs.Init(offset, dex_ir_->classes.size()); in CreateImage()
538 const auto& classes = dex_ir_->classes; in CreateClassDataSection() local
539 for (size_t i = 0; i < classes.size(); ++i) { in CreateClassDataSection()
540 auto ir_class = classes[i].get(); in CreateClassDataSection()
553 const auto& classes = dex_ir_->classes; in CreateAnnDirectoriesSection() local
554 for (size_t i = 0; i < classes.size(); ++i) { in CreateAnnDirectoriesSection()
555 auto ir_class = classes[i].get(); in CreateAnnDirectoriesSection()
567 const auto& classes = dex_ir_->classes; in CreateEncodedArrayItemSection() local
568 for (size_t i = 0; i < classes.size(); ++i) { in CreateEncodedArrayItemSection()
569 auto ir_class = classes[i].get(); in CreateEncodedArrayItemSection()
[all …]
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiBasedCodebase.kt65 import org.jetbrains.kotlin.asJava.classes.KtLightClassForFacade in <lambda>()
224 var classes = (psiFile as? PsiClassOwner)?.classes?.toList() ?: emptyList() in <lambda>() variable
225 if (classes.isEmpty()) { in <lambda>()
228 classes = uFile?.classes?.map { it }?.toList() ?: emptyList() in <lambda>()
231 classes.isEmpty() && psiFile is PsiJavaFile -> { in <lambda>()
261 for (psiClass in classes) { in <lambda>()
339 for ((pkgName, classes) in packageClasses!!) { in <lambda>() constant
346 val sortedClasses = classes.toMutableList().sortedWith(ClassItem.fullNameComparator) in <lambda>()
DPsiPackageItem.kt45 private val classes: MutableList<ClassItem> = mutableListOf() constant
48 classes.toList().asSequence().filter { it.isTopLevelClass() } in topLevelClasses()
99 classes.add(cls) in addClass()
DPsiClassItem.kt122 val classes = mutableSetOf<PsiClass>() in <lambda>() constant
125 if (curr.isInterface && !classes.contains(curr)) { in <lambda>()
126 classes.add(curr) in <lambda>()
128 addInterfaces(classes, curr.interfaces) in <lambda>()
132 for (cls in classes) { in <lambda>()
DPsiSourceFile.kt162 override fun classes(): Sequence<ClassItem> { in classes() method in com.android.tools.metalava.model.psi.PsiSourceFile
164 ?.classes in classes()
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DTextPackageItem.kt31 private val classes = ArrayList<ClassItem>(100) constant
42 classes.add(classInfo) in name()
46 override fun topLevelClasses(): Sequence<ClassItem> = classes.asSequence() in topLevelClasses()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/stub/
DStubsClassTest.kt240 fun `Handle non-constant fields in final classes`() { in Handle non-constant fields in final classes()
328 fun `Include package private classes referenced from public API`() { in Include package private classes referenced from public API()
445 fun `Include hidden inner classes referenced from public API`() { in Include hidden inner classes referenced from public API()
DStubsInterfaceTest.kt189 fun `Check generating required stubs from hidden super classes and interfaces`() { in Check generating required stubs from hidden super classes and interfaces()
295 fun `Rewriting type parameters in interfaces from hidden super classes and in throws lists`() { in Rewriting type parameters in interfaces from hidden super classes and in throws lists()
/tools/tradefederation/core/common_util/
DREADME.md3 Set of utilities and classes that are shared across TF components.
5 This directory should contain classes that are:
/tools/tradefederation/core/device_build_interfaces/
DREADME.md4 and base classes.
6 This directory should only contain classes related to our
/tools/dexter/dexter/
Ddexter.cc215 printf(" classes : %zu\n", dex_ir->classes.size()); in PrintDexIrStats()
255 auto classes = reader.ClassDefs(); in ListClasses() local
257 for (dex::u4 i = 0; i < classes.size(); ++i) { in ListClasses()
258 auto typeId = types[classes[i].class_idx]; in ListClasses()
/tools/asuite/atest/docs/
Datest_structure.md51 Read on to learn more about the classes mentioned.
62 * ```test_finders/``` - Location of test finder classes. More details on test
68 * ```test_runners/``` - Location of test runner classes. More details on test
75 Test finders are classes that host find methods. The find methods are called by
86 Test Runners are classes that execute the tests. They consume a ```TestInfo```
/tools/asuite/atest/coverage/
Dcoverage_unittest.py210 classes=[constants.MODULE_CLASS_NATIVE_TESTS],
291 classes=None, argument
310 m['class'] = classes or []
/tools/trebuchet/trebuchet/startup-analyzer/
DREADME.md135 … /data/dalvik-cache/arm/system@framework@org.apache.http.legacy.impl.jar@classes.dex @ 0.028 ms
137 … /data/dalvik-cache/arm/system@framework@com.google.android.maps.jar@classes.dex @ 0.026 ms
139 …vik-cache/arm/data@app@com.facebook.katana-Hu0CRasfgvX30RlV_mJxBA==@base.apk@classes.dex @ 0.026 ms
141 …ata@app@com.facebook.katana-Hu0CRasfgvX30RlV_mJxBA==@split_codegenerator.apk@classes.dex @ 0.017 ms
/tools/apksig/
DREADME.md35 _NOTE: Some public classes of the library are in packages having the word "internal" in their name.
36 These are not public API of the library. Do not use \*.internal.\* classes directly because these
37 classes may change any time without regard to existing clients outside of `apksig` and `apksigner`._
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/sourcefile/
DSourceFileTest.kt128 fun `test sourcefile classes`() { in test sourcefile classes()
146 assertEquals(listOf(classItem, outerClassItem), sourceFile.classes().toList()) in test sourcefile classes()
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DSourceFile.kt25 fun classes(): Sequence<ClassItem> in classes() method
49 for (cls in classes().filter { predicate.test(it) }) { in classes()
/tools/metalava/metalava-model-psi/src/test/resources/
Dmodel-test-suite-baseline.txt16 Test nullability of outer classes[java,k1]
17 Test nullability of outer classes[java,k2]
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/compatibility/
DCompatibilityCheckTest.kt673 fun `Implicit modifiers from inherited super classes`() { in Implicit modifiers from inherited super classes()
1624 fun `Adding classes, interfaces and packages, and removing these`() { in Adding classes, interfaces and packages, and removing these()
1980 fun `Partial text file which references inner classes not listed elsewhere`() { in Partial text file which references inner classes not listed elsewhere()
3590 fun `Changing static qualifier on inner classes with no public constructors`() { in Changing static qualifier on inner classes with no public constructors()
3860 fun `Allow increased field access for classes`() { in Allow increased field access for classes()
3886 fun `Block decreased field access in classes`() { in Block decreased field access in classes()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/lint/
DFlaggedApiLintTest.kt243 fun `Dont require @FlaggedApi on existing items in nested SystemApi classes`() { in Dont require @FlaggedApi on existing items in nested SystemApi classes()
280 fun `Dont require @FlaggedApi on existing items inherited into new SystemApi classes`() { in Dont require @FlaggedApi on existing items inherited into new SystemApi classes()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/
DApiFileTest.kt2169 fun `Package with only hidden classes should be removed from signature files`() { in Package with only hidden classes should be removed from signature files()
2473 fun `Inheriting from package private classes, package private class should be included`() { in Inheriting from package private classes, package private class should be included()
3992 fun `Test inherited hidden methods for descendant classes - Package private`() { in Test inherited hidden methods for descendant classes - Package private()
4052 fun `Test inherited hidden methods for descendant classes - Hidden annotation`() { in Test inherited hidden methods for descendant classes - Hidden annotation()
4192 fun `Test can merge API signature files with duplicate classes with constructors`() { in Test can merge API signature files with duplicate classes with constructors()
4243 fun `Test can merge API signature files with generic type classes`() { in Test can merge API signature files with generic type classes()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/
DCommonModelTest.kt291 fun `Test iterate and resolve unknown super classes`() { in Test iterate and resolve unknown super classes()
335 fun `Test iterate and resolve unknown interface classes`() { in Test iterate and resolve unknown interface classes()

1234