Home
last modified time | relevance | path

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

123

/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DHostTest.java514 List<Class<?>> classes = getClasses(); in run() local
516 if (classes.isEmpty()) { in run()
520 if (mMethodName != null && classes.size() > 1) { in run()
525 classes)); in run()
777 Set<Class<?>> classes = new HashSet<>(); in collectClasses() local
780 classes.addAll(getClassesFromSuite(testObj)); in collectClasses()
782 classes.add(classObj); in collectClasses()
784 return classes; in collectClasses()
788 Set<Class<?>> classes = new HashSet<>(); in getClassesFromSuite() local
793 classes.addAll(getClassesFromSuite((TestSuite) test)); in getClassesFromSuite()
[all …]
/tools/dexter/slicer/
Dwriter.cc267 offset += dex_->class_defs.Init(offset, dex_ir_->classes.size()); in CreateImage()
523 const auto& classes = dex_ir_->classes; in CreateClassDataSection() local
524 for (size_t i = 0; i < classes.size(); ++i) { in CreateClassDataSection()
525 auto ir_class = classes[i].get(); in CreateClassDataSection()
538 const auto& classes = dex_ir_->classes; in CreateAnnDirectoriesSection() local
539 for (size_t i = 0; i < classes.size(); ++i) { in CreateAnnDirectoriesSection()
540 auto ir_class = classes[i].get(); in CreateAnnDirectoriesSection()
552 const auto& classes = dex_ir_->classes; in CreateEncodedArrayItemSection() local
553 for (size_t i = 0; i < classes.size(); ++i) { in CreateEncodedArrayItemSection()
554 auto ir_class = classes[i].get(); in CreateEncodedArrayItemSection()
[all …]
Ddex_ir.cc143 SLICER_CHECK(*nextIndex < classes.size()); in TopSortClassIndex()
151 for (auto& irClass : classes) { in SortClassIndexes()
156 for (auto& irClass : classes) { in SortClassIndexes()
258 IndexItems(classes, [&](const own<Class>& a, const own<Class>& b) { in Normalize()
259 SLICER_CHECK(a->index < classes.size()); in Normalize()
260 SLICER_CHECK(b->index < classes.size()); in Normalize()
266 for (const auto& irClass : classes) { in Normalize()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiPackageItem.kt38 private val classes: MutableList<PsiClassItem> = mutableListOf() constant
40 …override fun topLevelClasses(): Sequence<ClassItem> = classes.toList().asSequence().filter { it.is… in <lambda>()
92 classes.add(cls) in addClass()
117 val initialClasses = ArrayList(classes) in hashCode()
125 while (original < classes.size) { in hashCode()
126 val added = ArrayList(classes.subList(original, classes.size)) in hashCode()
127 original = classes.size in hashCode()
DPsiBasedCodebase.kt151 var classes = (unit as? PsiClassOwner)?.classes?.toList() ?: emptyList() in <lambda>() variable
152 if (classes.isEmpty()) { in <lambda>()
154 classes = uFile?.classes?.map { it }?.toList() ?: emptyList() in <lambda>()
157 if (classes.isEmpty() && unit is PsiJavaFile) { in <lambda>()
182 for (psiClass in classes) { in <lambda>()
205 for ((pkgName, classes) in packageClasses) { in <lambda>() constant
213 val sortedClasses = classes.toMutableList().sortedWith(ClassItem.fullNameComparator) in <lambda>()
DPsiTypeItem.kt248 val classes = mutableListOf<ClassItem>() in typeArgumentClasses() constant
256 if (!it.isTypeParameter && !classes.contains(it)) { in typeArgumentClasses()
257 classes.add(it) in typeArgumentClasses()
320 return classes in typeArgumentClasses()
823 …private fun addRealClass(codebase: PsiBasedCodebase, classes: MutableList<ClassItem>, type: PsiTyp… in addRealClass()
825 addRealClass(classes, it) in addRealClass()
829 private fun addRealClass(classes: MutableList<ClassItem>, cls: ClassItem) { in addRealClass()
830 …if (!cls.isTypeParameter && !classes.contains(cls)) { // typically small number of items, don't ne… in addRealClass()
831 classes.add(cls) in addRealClass()
DPsiClassItem.kt112 val classes = mutableSetOf<PsiClass>() in <lambda>() constant
115 if (curr.isInterface && !classes.contains(curr)) { in <lambda>()
116 classes.add(curr) in <lambda>()
118 addInterfaces(classes, curr.interfaces) in <lambda>()
122 for (cls in classes) { in <lambda>()
DPsiCompilationUnit.kt170 for (cls in classes(predicate)) { in getImportStatements()
212 private fun classes(predicate: Predicate<Item>): List<ClassItem> { in classes() method
215 for (psiClass in file.classes) { in classes()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextPackageItem.kt32 private val classes = ArrayList<TextClassItem>(100) constant
37 classes.add(classInfo) in name()
41 val iterator = classes.listIterator() in pruneClassList()
50 internal fun classList(): List<ClassItem> = classes in classList()
52 override fun topLevelClasses(): Sequence<ClassItem> = classes.asSequence() in classList()
DTextCodebase.kt187 val classes = ArrayList(pkg.classList()) in resolveInnerClasses() constant
188 for (cls in classes) { in resolveInnerClasses()
259 val classes = mAllClasses.values.toList() in postProcess() constant
261 resolveSuperclasses(classes) in postProcess()
262 resolveInterfaces(classes) in postProcess()
263 resolveThrowsClasses(classes) in postProcess()
/tools/metalava/src/test/java/com/android/tools/metalava/stub/
DStubsTest.kt962 fun `Handle non-constant fields in final classes`() { in <lambda>()
1149 fun `Check generating classes with generics`() { in <lambda>()
1743 fun `Check generating required stubs from hidden super classes and interfaces`() { in <lambda>()
2209 fun `Rewriting type parameters in interfaces from hidden super classes and in throws lists`() { in <lambda>()
3874 fun `Include package private classes referenced from public API`() { in <lambda>()
3981 fun `Include hidden inner classes referenced from public API`() { in <lambda>()
/tools/tradefederation/core/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/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/metalava/
DFORMAT.md11 due to bugs getting fixed, such as type parameters missing from classes
155 referred to as classes that extend java.lang.Enum, or java.lang.Annotation etc.
418 classes. The classes are listed by fully qualified name, but in v1 it was sorted
436 referencing annotation classes that are generally **not** part of the API. When
464 In Java files, you can implicitly reference classes in java.lang without
466 classes from java.lang that are used in lots of places in the signature file
DREADME.md165 (e.g. you can change a parameter from non null to nullable for final classes,
178 anyway since it packages package private classes. Metalava strictly applies
217 ... --annotation-coverage-of ~/plaid/app/build/intermediates/classes/debug
284 typedefs (@IntDef and @StringDef classes) in the source code. Prior to this
308 level concepts like packages, classes and inner classes, methods, fields, and
338 The "Codebase" class captures a complete API snapshot (including classes that
/tools/repohooks/tools/
Dpylintrc146 # --enable=similarities". If you want to run only the classes checker, but have
147 # no Warning level messages displayed, use"--disable=all --enable=classes
229 # List of classes names for which member attributes should not be checked
230 # (useful for classes with attributes dynamically set). This supports can work
232 ignored-classes=hashlib,numpy
402 # Minimum line length for functions/classes that require docstrings, shorter
/tools/metalava/src/test/java/com/android/tools/metalava/
DApiFileTest.kt2025 fun `Package with only hidden classes should be removed from signature files`() { in Package with only hidden classes should be removed from signature files()
2349 fun `Superclass filtering, should skip intermediate hidden classes`() { in Superclass filtering, should skip intermediate hidden classes()
2412 fun `Inheriting from package private classes, package private class should be included`() { in Inheriting from package private classes, package private class should be included()
3703 fun `Test inherited hidden methods for descendant classes - Package private`() { in Test inherited hidden methods for descendant classes - Package private()
3763 fun `Test inherited hidden methods for descendant classes - Hidden annotation`() { in Test inherited hidden methods for descendant classes - Hidden annotation()
DCompatibilityCheckTest.kt534 fun `Implicit modifiers from inherited super classes`() { in Implicit modifiers from inherited super classes()
1424 fun `Adding classes, interfaces and packages, and removing these`() { in Adding classes, interfaces and packages, and removing these()
1735 fun `Partial text file which references inner classes not listed elsewhere`() { in Partial text file which references inner classes not listed elsewhere()
3030 fun `Changing static qualifier on inner classes with no public constructors`() { in Changing static qualifier on inner classes with no public constructors()
/tools/dexter/dexter/
Ddexter.cc210 printf(" classes : %zu\n", dex_ir->classes.size()); in PrintDexIrStats()
248 auto classes = reader.ClassDefs(); in ListClasses() local
250 for (dex::u4 i = 0; i < classes.size(); ++i) { in ListClasses()
251 auto typeId = types[classes[i].class_idx]; in ListClasses()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DMethodItem.kt113 classes: LinkedHashSet<ClassItem> in <lambda>()
118 classes.add(cls) in <lambda>()
124 classes.add(curr) in <lambda>()
131 return classes in <lambda>()
/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/metalava/src/main/java/com/android/tools/metalava/
DAnnotationStatistics.kt217 val classes = classCount.keys.sortedWith(Comparator { o1, o2 -> in <lambda>() constant
226 printClassTable(classes, classCount) in <lambda>()
272 private fun printClassTable(classes: List<Item>, classCount: MutableMap<Item, Int>) { in <lambda>()
288 classes, in <lambda>()
/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/test/connectivity/acts/
DREADME.md41 3. Sequentially execute test classes
129 Test classes are instantiated with a dictionary of “controllers”. The
133 Test classes must also contain an iterable member self.tests that lists the
/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:

123