/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | ApiLint.kt | 253 val methods = cls.filteredMethods(filterReference).asSequence() in <lambda>() constant 258 val allMethods = methods.asSequence() + constructors.asSequence() in <lambda>() 260 cls, methods, constructors, allMethods, fields, superClass, interfaces, in <lambda>() 299 methods: Sequence<MethodItem>, in <lambda>() 307 checkEquals(methods) in <lambda>() 311 checkListeners(cls, methods) in <lambda>() 312 checkParcelable(cls, methods, constructors, fields) in <lambda>() 313 checkRegistrationMethods(cls, methods) in <lambda>() 314 checkHelperClasses(cls, methods, fields) in <lambda>() 315 checkBuilder(cls, methods, constructors, superClass) in <lambda>() [all …]
|
D | ApiAnalyzer.kt | 342 for (method in interfaceClass.methods()) { in <lambda>() 356 for (method in superClass.methods()) { in <lambda>() 390 for (method in superClass.methods()) { in <lambda>() 416 for (method in superClass.methods()) { in <lambda>() 441 for (method in cls.methods()) { in <lambda>() 455 map.values.forEach { methods -> in <lambda>() method 456 if (methods.size >= 2) { in <lambda>() 457 for (candidate in ArrayList(methods)) { in <lambda>() 459 methods.remove(superMethod) in <lambda>() 466 for (method in cls.methods()) { in <lambda>() [all …]
|
/tools/asuite/atest/test_finders/ |
D | module_finder.py | 223 def _get_test_info_filter(self, path, methods, **kwargs): argument 243 kwargs.get('class_name', '*'), methods), frozenset())]) 249 [test_info.TestFilter(full_class_name, methods)]) 255 if methods: 258 kwargs.get('class_name', '*'), methods), frozenset())]) 269 if methods: 272 % str(methods)) 274 [test_info.TestFilter(package_name, methods)]) 373 class_name, methods = test_finder_utils.split_methods(class_name) 380 [test_info.TestFilter(class_name, methods)]) [all …]
|
D | test_finder_utils.py | 233 def has_method_in_file(test_path, methods): argument 251 '|'.join([r'%s' % x for x in methods]))) 254 '|'.join([r'%s' % x for x in methods]))) 264 def extract_test_path(output, methods=None): argument 288 if not methods or match_obj.group('method_name') in methods: 407 def run_find_cmd(ref_type, search_dir, target, methods=None): argument 452 return extract_test_path(out, methods) 455 def find_class_file(search_dir, class_name, is_native_test=False, methods=None): argument 474 return run_find_cmd(ref_type, search_dir, class_name, methods) 841 def get_cc_filter(class_name, methods): argument [all …]
|
/tools/tradefederation/core/atest/test_finders/ |
D | module_finder.py | 221 def _get_test_info_filter(self, path, methods, **kwargs): argument 241 kwargs.get('class_name', '*'), methods), frozenset())]) 247 [test_info.TestFilter(full_class_name, methods)]) 253 if methods: 256 kwargs.get('class_name', '*'), methods), frozenset())]) 267 if methods: 270 % str(methods)) 272 [test_info.TestFilter(package_name, methods)]) 370 class_name, methods = test_finder_utils.split_methods(class_name) 375 [test_info.TestFilter(class_name, methods)]) [all …]
|
D | test_finder_utils.py | 226 def has_method_in_file(test_path, methods): argument 244 '|'.join([r'%s' % x for x in methods]))) 247 '|'.join([r'%s' % x for x in methods]))) 257 def extract_test_path(output, methods=None): argument 281 if not methods or match_obj.group('method_name') in methods: 399 def run_find_cmd(ref_type, search_dir, target, methods=None): argument 442 return extract_test_path(out, methods) 445 def find_class_file(search_dir, class_name, is_native_test=False, methods=None): argument 464 return run_find_cmd(ref_type, search_dir, class_name, methods) 828 def get_cc_filter(class_name, methods): argument [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | ClassItem.kt | 169 fun methods(): List<MethodItem> in <lambda>() method 179 return fields().asSequence().plus(constructors().asSequence()).plus(methods().asSequence()) in <lambda>() 261 for (method in methods()) { in <lambda>() 345 for (method in methods()) { in <lambda>() 403 methods().asSequence() in <lambda>() 433 methods().asSequence() in <lambda>() 488 methods() in <lambda>() 566 val methods = LinkedHashSet<MethodItem>() in <lambda>() constant 567 for (method in methods()) { in <lambda>() 571 methods.remove(method) in <lambda>() [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiClassItem.kt | 149 private lateinit var methods: List<PsiMethodItem> in <lambda>() variable 163 override fun methods(): List<PsiMethodItem> = methods in <lambda>() method 216 for (method in methods) { in <lambda>() 279 methods: List<PsiMethodItem>, in <lambda>() 285 this.methods = methods in <lambda>() 368 (methods as MutableList<PsiMethodItem>).add(method as PsiMethodItem) in <lambda>() 439 val psiMethods = psiClass.methods in <lambda>() 440 val methods: MutableList<PsiMethodItem> = ArrayList(psiMethods.size) in <lambda>() constant 451 methods.add(PsiConstructorItem.create(codebase, item, psiMethod)) in <lambda>() 477 methods.add(method) in <lambda>() [all …]
|
D | PsiBasedCodebase.kt | 634 registerMethods(cls.methods(), map) in <lambda>() 639 val methods = methodMap[cls]!! in <lambda>() constant 640 val methodItem = methods[method] in <lambda>() 647 val result = methods[updatedMethod!!] in <lambda>() 650 methods[method] = extra in <lambda>() 651 methods[updatedMethod] = extra in <lambda>() 670 …private fun registerMethods(methods: List<MethodItem>, map: MutableMap<PsiMethod, PsiMethodItem>) { in <lambda>() 671 for (method in methods) { in <lambda>()
|
/tools/asuite/atest/docs/ |
D | develop_test_finders.md | 11 A test finder class holds find methods. A find method is given a string (the 15 test finder class can hold multiple find methods. The find methods are grouped 42 create a list of find methods that ```test_finder_handler``` will use to collect 43 the find methods from your test finder class. Take a look at 46 Define the find methods in your test finder class. These find methods must 52 This is used by the class decorator to identify the find methods of the class. 56 it. The find methods will be collected and executed before the default find 57 methods.
|
D | atest_structure.md | 60 determines which test finder methods to use and returns them for 75 Test finders are classes that host find methods. The find methods are called by 77 filename, class, etc). Find methods will also find the corresponding test
|
/tools/tradefederation/core/atest/docs/ |
D | develop_test_finders.md | 11 A test finder class holds find methods. A find method is given a string (the 15 test finder class can hold multiple find methods. The find methods are grouped 42 create a list of find methods that ```test_finder_handler``` will use to collect 43 the find methods from your test finder class. Take a look at 46 Define the find methods in your test finder class. These find methods must 52 This is used by the class decorator to identify the find methods of the class. 56 it. The find methods will be collected and executed before the default find 57 methods.
|
D | atest_structure.md | 60 determines which test finder methods to use and returns them for 75 Test finders are classes that host find methods. The find methods are called by 77 filename, class, etc). Find methods will also find the corresponding test
|
/tools/metalava/ |
D | README.md | 80 methods which were accidentally not included.) 90 annotation class instance methods 181 important methods that should really be part of the API.) 205 1279 out of 46900 methods were annotated (2%) 221 324 methods and fields were missing nullness annotations out of 650 total 308 level concepts like packages, classes and inner classes, methods, fields, and 319 missing in older signature files, such as annotation methods) without having 324 API and for example mark a subset of its methods as included. By having a 341 There are methods to load codebases - from source folders, from a .jar file, 360 `visitItem`, or to specifically visit methods, fields and so on overriding
|
D | FORMAT.md | 12 and methods until they start appearing), and some were deliberate changes, 222 The old format was completely missing annotation type methods: 229 We need to include annotation member methods, as well as their default values 347 Doclava did not include these methods in the signature files, but they **were** 359 Doclava always inserted two special methods in the signature files for every 372 It didn't do that in stubs, because you can't: those are special methods
|
/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | ApiFileTest.kt | 1523 fun `Do not include inherited public methods from private parents in compat mode`() { in Do not include inherited public methods from private parents in compat mode() 1556 fun `Include inherited public methods from private parents`() { in Include inherited public methods from private parents() 1592 fun `Skip inherited package private methods from private parents`() { in Skip inherited package private methods from private parents() 2253 fun `Check instance methods in enums`() { in Check instance methods in enums() 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() 3825 fun `Test inherited methods that use generics`() { in Test inherited methods that use generics()
|
D | CompatibilityCheckTest.kt | 320 fun `Add flag new methods but not overrides from platform`() { in Add flag new methods but not overrides from platform() 1638 fun `Test inherited methods`() { in Test inherited methods() 1807 fun `Partial text file which adds methods to show-annotation API`() { in Partial text file which adds methods to show-annotation API() 2364 fun `Comparing annotations with methods with v1 signature files`() { in Comparing annotations with methods with v1 signature files()
|
/tools/tradefederation/core/atest/test_runners/ |
D | atest_tf_test_runner.py | 577 methods = set() 579 if not test_filter.methods: 581 methods = set() 583 methods |= test_filter.methods 584 results.add(test_info.TestFilter(class_name, frozenset(methods)))
|
/tools/asuite/atest/test_runners/ |
D | atest_tf_test_runner.py | 617 methods = set() 619 if not test_filter.methods: 621 methods = set() 623 methods |= test_filter.methods 624 results.add(test_info.TestFilter(class_name, frozenset(methods)))
|
/tools/repohooks/tools/ |
D | pylintrc | 160 too-few-public-methods, 166 too-many-public-methods, 440 # Minimum number of public methods for a class (see R0903). 441 min-public-methods=2 443 # Maximum number of public methods for a class (see R0904). 444 max-public-methods=20 453 defining-attr-methods=__init__,__new__,setUp
|
/tools/asuite/ |
D | pylintrc | 4 # TODO(patricktu@):Remove "too-few-public-methods" when project_info.py ok. 5 too-few-public-methods, 37 # Maximum number of public methods for a class (see R0904). 38 max-public-methods=40
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | TextClassItem.kt | 188 private val methods = mutableListOf<MethodItem>() constant 193 override fun methods(): List<MethodItem> = methods in constructors() method 206 methods += method in addMethod()
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/google/protobuf/ |
D | descriptor.proto | 289 // hashCode() methods for all messages defined in the .proto file. 292 // these methods. 295 // the generated methods compute their results based on field values rather 313 CODE_SIZE = 2; // Use ReflectionOps to implement these methods. 457 // interface is not affected by this option; const methods remain safe to 458 // call from multiple threads concurrently, while non-const methods continue 555 // this is a formalization for deprecating methods.
|
/tools/dexter/slicer/ |
D | dex_ir.cc | 171 static void SortEncodedMethods(std::vector<EncodedMethod*>* methods) { in SortEncodedMethods() argument 172 std::sort(methods->begin(), methods->end(), in SortEncodedMethods() 237 IndexItems(methods, [](const own<MethodDecl>& a, const own<MethodDecl>& b) { in Normalize()
|
/tools/acloud/ |
D | pylintrc | 5 too-few-public-methods, 12 # Acloud uses PascalCase for functions/methods except for test methods which use
|