/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | ModifierList.kt | 227 val list = if (removeAbstract || removeFinal || addPublic) { in write() constant 254 list, in write() 282 list.isPublic() -> writer.write("public ") in write() 283 list.isProtected() -> writer.write("protected ") in write() 284 list.isInternal() -> writer.write("internal ") in write() 285 list.isPrivate() -> writer.write("private ") in write() 288 if (list.isDefault()) { in write() 292 … if (list.isStatic() && (compatibility.staticEnums || classItem == null || !classItem.isEnum())) { in write() 296 if (list.isFinal() && in write() 306 if (list.isSealed()) { in write() [all …]
|
D | ClassItem.kt | 630 val list = fields.toMutableList() in <lambda>() constant 631 list.sortWith(FieldItem.comparator) in <lambda>() 632 return list in <lambda>() 719 val list = ArrayList<ClassItem>() in <lambda>() constant 721 list.add(this) in <lambda>() 723 addInnerClasses(list, this) in <lambda>() 724 return list.asSequence() in <lambda>() 727 private fun addInnerClasses(list: MutableList<ClassItem>, cls: ClassItem) { in <lambda>() 729 list.add(innerClass) in <lambda>() 730 addInnerClasses(list, innerClass) in <lambda>()
|
D | AnnotationItem.kt | 662 val list = mutableListOf<AnnotationAttribute>() // TODO: default size = 2 in createList() constant 673 addAttribute(list, source, begin, index) in createList() 685 addAttribute(list, source, begin, length) in createList() 688 return list in createList() 705 …private fun addAttribute(list: MutableList<AnnotationAttribute>, source: String, from: Int, to: In… in addAttribute() 724 list.add(DefaultAnnotationAttribute.create(name, value)) in addAttribute()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | TextTypeParameterList.kt | 50 val list = ArrayList<TypeParameterItem>(strings.size) in typeParameters() constant 51 strings.mapTo(list) { TextTypeParameterItem.create(codebase, owner, it) } in typeParameters() 52 typeParameters = list in typeParameters() 64 val list = mutableListOf<String>() in typeParameterStrings() constant 76 add(list, s, start, i + 1) in typeParameterStrings() 79 add(list, s, start, i) in typeParameterStrings() 80 return list in typeParameterStrings() 84 add(list, s, start, i) in typeParameterStrings() 94 return list in typeParameterStrings() 97 private fun add(list: MutableList<String>, s: String, from: Int, to: Int) { in add() [all …]
|
D | TextTypeParameterItem.kt | 106 val list = mutableListOf<String>() in bounds() constant 113 add(list, typeString, start, i) in bounds() 118 add(list, typeString, start, i) in bounds() 128 add(list, typeString, start, length) in bounds() 130 return list in bounds() 133 private fun add(list: MutableList<String>, s: String, from: Int, to: Int) { in add() 148 list.add(element) in add()
|
D | TextMethodItem.kt | 90 val list = mutableListOf<MethodItem>() in isConstructor() constant 96 list.add(superMethod) in isConstructor() 106 list.add(interfaceMethod) in isConstructor() 110 return list in isConstructor()
|
/tools/test/connectivity/tools/lab/ |
D | README.md | 19 cpu: list of CPU core percents (float) 28 connected: whether the network is connected (list of bools) 32 adb_processes, fastboot_processes: a list of (PID, serialnumber) 56 devices: a list of Device objects, each with name of device, number of bytes 59 unauthorized: list of phone sn's that are unauthorized 60 offline: list of phone sn's that are offline 61 recovery: list of phone sn's that are in recovery mode 62 question: list of phone sn's in ??? mode 63 device: list of phone sn's that are in device mode
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiTypeParameterList.kt | 32 val list = ArrayList<String>(parameters.size) in typeParameterNames() constant 34 list.add(parameter.name ?: continue) in typeParameterNames() 36 return list in typeParameterNames() 41 val list = ArrayList<TypeParameterItem>(parameters.size) in typeParameters() constant 42 parameters.mapTo(list) { PsiTypeParameterItem.create(codebase, it) } in typeParameters() 43 return list in typeParameters()
|
D | PsiBasedCodebase.kt | 321 var list = packageToClasses[packageName] in <lambda>() variable 322 if (list == null) { in <lambda>() 323 list = mutableListOf() in <lambda>() 324 packageToClasses[packageName] = list in <lambda>() 334 var list = packageToClasses[packageName] in <lambda>() variable 335 if (list == null) { in <lambda>() 336 list = mutableListOf(classItem) in <lambda>() 337 packageToClasses[packageName] = list in <lambda>() 339 list.add(classItem) in <lambda>() 391 var list = packageClasses[packageName] in <lambda>() variable [all …]
|
D | PsiClassItem.kt | 586 val list = mutableListOf<String>() in <lambda>() constant 591 list.add(name) in <lambda>() 597 return list.asReversed().asSequence().joinToString(separator = ".") { it } in <lambda>() 644 val list = mapTypeVariablesToSuperclass( in <lambda>() constant 648 if (list != null) { in <lambda>() 649 return list in <lambda>() 655 val list = mapTypeVariablesToSuperclass( in <lambda>() constant 659 if (list != null) { in <lambda>() 660 return list in <lambda>() 686 val list = mapTypeVariablesToSuperclass( in <lambda>() constant [all …]
|
D | PsiTypePrinter.kt | 99 list: List<PsiAnnotation>?, in <lambda>() 104 val nullable: Boolean? = getNullable(list, elementAnnotations) in <lambda>() 342 … val list = if (remaining != null) Arrays.asList(*remaining) else getAnnotations(reference) in <lambda>() constant 343 appendAnnotations(buffer, list, elementAnnotations) in <lambda>() 354 appendNullnessSuffix(list, buffer, elementAnnotations) in <lambda>() 375 …private fun getNullable(list: List<PsiAnnotation>?, elementAnnotations: List<AnnotationItem>?): Bo… in <lambda>() 386 list ?: return null in <lambda>() 388 for (annotation in list) { in <lambda>() 400 …private fun getNullable(list: Array<PsiAnnotation>?, elementAnnotations: List<AnnotationItem>?): B… in <lambda>() 411 list ?: return null in <lambda>() [all …]
|
D | PsiTypeItem.kt | 718 val list = mutableListOf<ClassItem>() in typeParameterClasses() constant 739 list, in typeParameterClasses() 752 list, codebase.findOrCreateClass(resolved) in typeParameterClasses() 764 list, in typeParameterClasses() 776 list, type.bound in typeParameterClasses() 782 list, type.extendsBound in typeParameterClasses() 788 list, type.superBound in typeParameterClasses() 799 return list in typeParameterClasses()
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | ApiAnalyzer.kt | 394 val list = interfaceNames[name] ?: run { in <lambda>() constant 395 val list = ArrayList<MethodItem>() in <lambda>() constant 396 interfaceNames[name] = list in <lambda>() 397 list in <lambda>() 399 list.add(method) in <lambda>() 411 val list = interfaceNames[name] ?: run { in <lambda>() constant 412 val list = ArrayList<MethodItem>() in <lambda>() constant 413 interfaceNames[name] = list in <lambda>() 414 list in <lambda>() 416 list.add(method) in <lambda>() [all …]
|
/tools/test/connectivity/tools/lab/metrics/ |
D | verify_metric.py | 43 offline_list = list() 44 unauth_list = list() 45 recovery_list = list() 46 question_list = list() 47 device_list = list()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | FileSystemLogSaverTest.java | 273 assertEquals(1, mReportDir.list().length); in testCreateReportDirectory_sharded() 274 assertEquals(BRANCH, mReportDir.list()[0]); in testCreateReportDirectory_sharded() 275 assertEquals(1, mReportDir.listFiles()[0].list().length); in testCreateReportDirectory_sharded() 276 assertEquals(BUILD_ID, mReportDir.listFiles()[0].list()[0]); in testCreateReportDirectory_sharded() 277 assertEquals(1, mReportDir.listFiles()[0].listFiles()[0].list().length); in testCreateReportDirectory_sharded() 278 assertEquals(TEST_TAG, mReportDir.listFiles()[0].listFiles()[0].list()[0]); in testCreateReportDirectory_sharded() 280 assertEquals(1, mReportDir.listFiles()[0].listFiles()[0].listFiles()[0].list().length); in testCreateReportDirectory_sharded() 282 mReportDir.listFiles()[0].listFiles()[0].listFiles()[0].list()[0].startsWith( in testCreateReportDirectory_sharded()
|
/tools/acloud/ |
D | README.md | 44 * [list](#list) 107 The full list of options are available via `--help` 111 #### **list** 120 > $ acloud list 122 * List -v will show more detail info on the list. 124 > $ acloud list -v 136 * Delete sole instance or prompt user with list of instances to delete. 157 * Reconnect sole instance or prompt user with list of instances to reconnect.
|
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/extractors/ |
D | SystraceExtractorTest.kt | 72 fun extract(list: Iterable<String>): List<DataSlice> { in <lambda>() 75 extractor.extract(makeStream(list.iterator())) { outputStream -> in <lambda>() 88 fun makeStream(list: Iterator<String>): StreamingReader { in <lambda>() 91 if (list.hasNext()) { in <lambda>() 92 return list.next().asSlice() in <lambda>()
|
/tools/asuite/aidegen/lib/ |
D | project_file_gen.py | 165 list(project_info.source_path['source_folder_path']), False) 167 dict.fromkeys(list(project_info.source_path['test_folder_path']), True)) 170 source_dict, list(project_info.source_path['jar_path']), 210 list(project_info.source_path['source_folder_path']), False) 212 dict.fromkeys(list(project_info.source_path['test_folder_path']), True)) 214 project_info.project_absolute_path, list(sorted(source_dict)), 215 list(project_info.source_path['jar_path'])) 401 source_list = list(source_dict.keys()) 481 for source in list(source_dict):
|
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/ |
D | PsiTypePrinterTest.kt | 836 val list = mutableListOf<AnnotationItem>() in <lambda>() constant 838 list.add(codebase.createAnnotation(annotation)) in <lambda>() 840 mergeAnnotations = list in <lambda>() 843 val list = mutableListOf<AnnotationItem>() in <lambda>() constant 845 list.add(annotation) in <lambda>() 848 mergeAnnotations = list in <lambda>() 850 mergeAnnotations.addAll(list) in <lambda>()
|
/tools/test/connectivity/acts/framework/acts/libs/ |
D | version_selector.py | 128 self.list = entry_list 131 return len(self.list) 134 return self.list[index].level 157 self.entry_list = list() 240 args_out = str(list(args))[1:-1]
|
/tools/test/connectivity/acts/framework/acts/test_utils/net/ |
D | ipsec_test_utils.py | 231 auth_method_trunc = { cconst.AUTH_HMAC_MD5 : list(range(96, 136, 8)), 232 cconst.AUTH_HMAC_SHA1 : list(range(96, 168, 8)), 233 cconst.AUTH_HMAC_SHA256 : list(range(96, 264, 8)), 234 cconst.AUTH_HMAC_SHA384 : list(range(192, 392, 8)), 235 cconst.AUTH_HMAC_SHA512 : list(range(256, 520, 8)) }
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | Bugreport.java | 110 List<String> list = new ArrayList<>(); in getListOfFiles() local 115 for (ZipArchiveEntry entry : Collections.list(zipBugreport.getEntries())) { in getListOfFiles() 116 list.add(entry.getName()); in getListOfFiles() 122 return list; in getListOfFiles()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/log/ |
D | LogUtilFuncTest.java | 143 List<StackTraceElement> list = new ArrayList<StackTraceElement>( in testCLog_findCallerClassName_callerDeeperInStackTrace() local 146 list.add(0, new StackTraceElement( in testCLog_findCallerClassName_callerDeeperInStackTrace() 149 t.setStackTrace(list.toArray(new StackTraceElement[list.size()])); in testCLog_findCallerClassName_callerDeeperInStackTrace()
|
/tools/tradefederation/core/proto/ |
D | metric_measurement.proto | 26 // of the list of measurements has a desired pattern that we can refer too for 55 // Represents a list of string measurements 60 // Represents a list of numeric measurements 65 // Represents a list of float measurements
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | CameraPerformanceTest.java | 81 private <E extends Number> double getAverage(List<E> list) { in getAverage() argument 83 int size = list.size(); in getAverage() 84 for (E num : list) { in getAverage() 557 List<Double> list = new ArrayList<>(); in parse() local 558 metricsData.put(kpiKey, list); in parse() 578 List<Double> list = new ArrayList<>(); in parse() local 579 metricsData.put(kpiKey, list); in parse()
|