/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | ModifierList.kt | 253 val list = if (removeAbstract || removeFinal || addPublic) { in <lambda>() constant 280 list, in <lambda>() 307 val visibilityLevel = list.getVisibilityLevel() in <lambda>() 312 if (list.isDefault()) { in <lambda>() 316 … if (list.isStatic() && (compatibility.staticEnums || classItem == null || !classItem.isEnum())) { in <lambda>() 320 if (list.isFinal() && in <lambda>() 330 if (list.isSealed()) { in <lambda>() 334 if (list.isSuspend()) { in <lambda>() 338 if (list.isInline()) { in <lambda>() 342 if (list.isInfix()) { in <lambda>() [all …]
|
D | ClassItem.kt | 633 val list = fields.toMutableList() in <lambda>() constant 634 list.sortWith(FieldItem.comparator) in <lambda>() 635 return list in <lambda>() 710 val list = ArrayList<ClassItem>() in <lambda>() constant 712 list.add(this) in <lambda>() 714 addInnerClasses(list, this) in <lambda>() 715 return list.asSequence() in <lambda>() 718 private fun addInnerClasses(list: MutableList<ClassItem>, cls: ClassItem) { in <lambda>() 720 list.add(innerClass) in <lambda>() 721 addInnerClasses(list, innerClass) in <lambda>()
|
D | AnnotationItem.kt | 744 val list = mutableListOf<AnnotationAttribute>() // TODO: default size = 2 in createList() constant 755 addAttribute(list, source, begin, index) in createList() 767 addAttribute(list, source, begin, length) in createList() 770 return list in createList() 787 …private fun addAttribute(list: MutableList<AnnotationAttribute>, source: String, from: Int, to: In… in addAttribute() 806 list.add(DefaultAnnotationAttribute.create(name, value)) in addAttribute()
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | ApiAnalyzer.kt | 344 val list = interfaceNames[name] ?: run { in <lambda>() constant 345 val list = ArrayList<MethodItem>() in <lambda>() constant 346 interfaceNames[name] = list in <lambda>() 347 list in <lambda>() 349 list.add(method) in <lambda>() 361 val list = interfaceNames[name] ?: run { in <lambda>() constant 362 val list = ArrayList<MethodItem>() in <lambda>() constant 363 interfaceNames[name] = list in <lambda>() 364 list in <lambda>() 366 list.add(method) in <lambda>() [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | TextTypeParameterList.kt | 49 val list = ArrayList<TypeParameterItem>(strings.size) in typeParameters() constant 50 strings.mapTo(list) { TextTypeParameterItem.create(codebase, owner, it) } in typeParameters() 51 typeParameters = list in typeParameters() 63 val list = mutableListOf<String>() in typeParameterStrings() constant 75 add(list, s, start, i + 1) in typeParameterStrings() 78 add(list, s, start, i) in typeParameterStrings() 79 return list in typeParameterStrings() 83 add(list, s, start, i) in typeParameterStrings() 93 return list in typeParameterStrings() 96 private fun add(list: MutableList<String>, s: String, from: Int, to: Int) { in add() [all …]
|
D | TextTypeParameterItem.kt | 105 val list = mutableListOf<String>() in bounds() constant 112 add(list, typeString, start, i) in bounds() 117 add(list, typeString, start, i) in bounds() 127 add(list, typeString, start, length) in bounds() 129 return list in bounds() 132 private fun add(list: MutableList<String>, s: String, from: Int, to: Int) { in add() 147 list.add(element) in add()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiBasedCodebase.kt | 348 var list = packageToClasses[packageName] in <lambda>() variable 349 if (list == null) { in <lambda>() 350 list = mutableListOf() in <lambda>() 351 packageToClasses[packageName] = list in <lambda>() 361 var list = packageToClasses[packageName] in <lambda>() variable 362 if (list == null) { in <lambda>() 363 list = mutableListOf(classItem) in <lambda>() 364 packageToClasses[packageName] = list in <lambda>() 366 list.add(classItem) in <lambda>() 418 var list = packageClasses[packageName] in <lambda>() variable [all …]
|
D | PsiClassItem.kt | 564 val list = mutableListOf<String>() in <lambda>() constant 569 list.add(name) in <lambda>() 575 return list.asReversed().asSequence().joinToString(separator = ".") { it } in <lambda>() 626 val list = mapTypeVariablesToSuperclass( in <lambda>() constant 630 if (list != null) { in <lambda>() 631 return list in <lambda>() 637 val list = mapTypeVariablesToSuperclass( in <lambda>() constant 641 if (list != null) { in <lambda>() 642 return list in <lambda>() 668 val list = mapTypeVariablesToSuperclass( in <lambda>() constant [all …]
|
D | PsiTypePrinter.kt | 98 list: List<PsiAnnotation>?, in <lambda>() 103 val nullable: Boolean? = getNullable(list, elementAnnotations) in <lambda>() 339 … val list = if (remaining != null) listOf(*remaining) else getAnnotations(reference) in <lambda>() constant 340 appendAnnotations(buffer, list, elementAnnotations) in <lambda>() 351 appendNullnessSuffix(list, buffer, elementAnnotations) in <lambda>() 372 …private fun getNullable(list: List<PsiAnnotation>?, elementAnnotations: List<AnnotationItem>?): Bo… in <lambda>() 383 list ?: return null in <lambda>() 385 for (annotation in list) { in <lambda>() 397 …private fun getNullable(list: Array<PsiAnnotation>?, elementAnnotations: List<AnnotationItem>?): B… in <lambda>() 408 list ?: return null in <lambda>() [all …]
|
D | PsiTypeItem.kt | 736 val list = mutableListOf<ClassItem>() in typeParameterClasses() constant 757 list, in typeParameterClasses() 770 list, codebase.findOrCreateClass(resolved) in typeParameterClasses() 782 list, in typeParameterClasses() 794 list, type.bound in typeParameterClasses() 800 list, type.extendsBound in typeParameterClasses() 806 list, type.superBound in typeParameterClasses() 817 return list in typeParameterClasses()
|
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 | UAnnotationItem.kt | 88 val list = mutableListOf<AnnotationAttribute>() in <lambda>() constant 90 list.add( in <lambda>() 97 list in <lambda>() 125 val list = mutableListOf<Pair<String?, UExpression?>>() in <lambda>() constant 131 list.add(Pair(method.name, annotation.findAttributeValue(method.name))) in <lambda>() 135 list.add(Pair(attr.name, attr.expression)) in <lambda>() 138 return list in <lambda>()
|
D | PsiAnnotationItem.kt | 89 val list = mutableListOf<AnnotationAttribute>() in <lambda>() constant 91 list.add( in <lambda>() 98 list in <lambda>() 140 val list = mutableListOf<Pair<String?, PsiAnnotationMemberValue?>>() in <lambda>() constant 146 list.add(Pair(method.name, annotation.findAttributeValue(method.name))) in <lambda>() 150 list.add(Pair(attr.name, attr.value)) in <lambda>() 153 return list in <lambda>()
|
/tools/acloud/ |
D | README.md | 41 * [list](#list) 110 The full list of options are available via `--help` 114 #### **list** 123 > $ acloud list 125 * List -v will show more detail info on the list. 127 > $ acloud list -v 139 * Delete sole instance or prompt user with list of instances to delete. 160 * Reconnect sole instance or prompt user with list of instances to reconnect.
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | FileSystemLogSaverTest.java | 272 assertEquals(1, mReportDir.list().length); in testCreateReportDirectory_sharded() 273 assertEquals(BRANCH, mReportDir.list()[0]); in testCreateReportDirectory_sharded() 274 assertEquals(1, mReportDir.listFiles()[0].list().length); in testCreateReportDirectory_sharded() 275 assertEquals(BUILD_ID, mReportDir.listFiles()[0].list()[0]); in testCreateReportDirectory_sharded() 276 assertEquals(1, mReportDir.listFiles()[0].listFiles()[0].list().length); in testCreateReportDirectory_sharded() 277 assertEquals(TEST_TAG, mReportDir.listFiles()[0].listFiles()[0].list()[0]); in testCreateReportDirectory_sharded() 279 assertEquals(1, mReportDir.listFiles()[0].listFiles()[0].listFiles()[0].list().length); in testCreateReportDirectory_sharded() 281 mReportDir.listFiles()[0].listFiles()[0].listFiles()[0].list()[0].startsWith( in testCreateReportDirectory_sharded()
|
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/ |
D | PsiTypePrinterTest.kt | 839 val list = mutableListOf<AnnotationItem>() in <lambda>() constant 841 list.add(codebase.createAnnotation(annotation)) in <lambda>() 843 mergeAnnotations = list in <lambda>() 846 val list = mutableListOf<AnnotationItem>() in <lambda>() constant 848 list.add(annotation) in <lambda>() 851 mergeAnnotations = list in <lambda>() 853 mergeAnnotations.addAll(list) in <lambda>()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | GoogleBenchmarkTest.java | 258 String[] list = list_output.trim().split("\n"); in getTestsForFilters() local 259 if (noMatchesFound(list)) { in getTestsForFilters() 260 list = new String[0]; in getTestsForFilters() 262 return new LinkedHashSet<String>(Arrays.asList(list)); in getTestsForFilters() 266 private boolean noMatchesFound(String[] list) { in noMatchesFound() argument 267 if (list.length == 0) { in noMatchesFound() 274 return (list[0].indexOf(' ') >= 0); in noMatchesFound()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/lite/ |
D | DryRunnerTest.java | 39 RunListener list = Mockito.mock(RunListener.class); in testFakeExecution() local 41 notifier.addListener(list); in testFakeExecution() 50 Mockito.verify(list, Mockito.times(1)).testRunStarted((Description) Mockito.anyObject()); in testFakeExecution() 51 Mockito.verify(list, Mockito.times(desc.testCount())) in testFakeExecution() 53 Mockito.verify(list, Mockito.times(desc.testCount())) in testFakeExecution() 55 Mockito.verify(list, Mockito.times(1)).testRunFinished((Result) Mockito.anyObject()); in testFakeExecution()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | HostTestTest.java | 1660 List<IRemoteTest> list = (ArrayList<IRemoteTest>) mHostTest.split(1, mTestInfo); in testRun_junit_suite_split() local 1662 assertEquals(3, list.size()); in testRun_junit_suite_split() 1665 list.get(0).getClass().getName()); in testRun_junit_suite_split() 1668 list.get(1).getClass().getName()); in testRun_junit_suite_split() 1671 list.get(2).getClass().getName()); in testRun_junit_suite_split() 1693 ((IBuildReceiver)list.get(0)).setBuild(mMockBuildInfo); in testRun_junit_suite_split() 1694 ((IDeviceTest)list.get(0)).setDevice(mMockDevice); in testRun_junit_suite_split() 1695 list.get(0).run(mTestInfo, mListener); in testRun_junit_suite_split() 1719 List<IRemoteTest> list = in testRun_junit_suite_split_by_method() local 1721 assertEquals(expectedTestCaseClasses.length, list.size()); in testRun_junit_suite_split_by_method() [all …]
|
D | ClangCodeCoverageListenerTest.java | 413 void checkListContainsSuffixes(List<String> list, List<String> suffixes) { in checkListContainsSuffixes() argument 416 for (String item : list) { in checkListContainsSuffixes() 424 fail("List " + list.toString() + " does not contain suffix '" + suffix + "'"); in checkListContainsSuffixes() 429 void checkListDoesNotContainSuffix(List<String> list, String suffix) { in checkListDoesNotContainSuffix() argument 430 for (String item : list) { in checkListDoesNotContainSuffix() 432 fail("List " + list.toString() + " should not contain suffix '" + suffix + "'"); in checkListDoesNotContainSuffix()
|
/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()
|
/tools/test/connectivity/acts_tests/tests/google/bt/pts/ |
D | cmd_input.py | 413 completions = list( 425 completions = list(gatt_server_responses.keys())[:] 436 completions = list(gatt_server_responses.keys())[:] 447 completions = list(gatt_server_responses.keys())[:] 561 completions = list(options)[:] 570 completions = list(options)[:] 576 str_adv_list = list(map(str, self.pri_dut.ble.ADVERTISEMENT_LIST)) 691 completions = list(options)[:] 697 completions = list(bt_scan_mode_types.keys())[:]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | NativeDeviceTest.java | 365 assertTrue(dir.list().length == 0); in testPullDir_nothingToDo() 434 assertEquals(2, dir.list().length); in testPullDir() 435 assertTrue(Arrays.asList(dir.list()).contains("fakeFile")); in testPullDir() 436 assertTrue(Arrays.asList(dir.list()).contains("fakeDir")); in testPullDir() 516 assertEquals(2, dir.list().length); in testPullDir_pullFail() 517 assertTrue(Arrays.asList(dir.list()).contains("fakeFile")); in testPullDir_pullFail() 519 assertTrue(Arrays.asList(dir.list()).contains("fakeDir")); in testPullDir_pullFail() 521 assertEquals(0, new File(dir, "fakeDir").list().length); in testPullDir_pullFail() 544 assertTrue(dir.list().length == 0); in testPullDir_invalidPath() 1211 List<IFileEntry> list = new ArrayList<>(); in testGetBugreport_deviceUnavail_fallback() local [all …]
|
/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/acloud/internal/lib/ |
D | gcompute_client.py | 228 api = self.service.regions().list(project=self._project) 415 api_resource=self.service.disks().list, 619 api_resource=self.service.images().list, 1106 api = self.service.zones().list(project=self._project) 1141 api = self.service.regions().list(project=self._project) 1659 api = self.service.zones().list(project=self._project) 1685 list(filter(None, [ssh_key_item[_METADATA_KEY_VALUE], entry])))
|