Home
last modified time | relevance | path

Searched refs:list (Results 1 – 25 of 229) sorted by relevance

12345678910

/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextTypeParameterList.kt49 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 …]
DTextTypeParameterItem.kt105 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()
DTextMethodItem.kt88 val list = mutableListOf<MethodItem>() in isConstructor() constant
94 list.add(superMethod) in isConstructor()
104 list.add(interfaceMethod) in isConstructor()
108 return list in isConstructor()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypeParameterList.kt32 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()
DUAnnotationItem.kt88 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>()
DPsiAnnotationItem.kt89 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/treble/hacksaw/client/
Dcommand.go29 codebase add <name> <path>: Add codebase to hacksaw's list.
30 codebase list: List all codebases that hacksaw knows about.
32 codebase remove <name>: Remove a codebase from hacksaw's list.
39 workspace list: List all known workspaces.
89 list := codebase.List()
91 for name, path := range list {
157 list := c.workspace.List()
159 for name, codebase := range list {
/tools/treble/hacksaw/mount/
Dfake.go60 var list []string
62 list = append(list, target)
65 return list, nil
/tools/test/connectivity/acts/framework/tests/controllers/bits_lib/
Dbits_client_test.py58 non_expected_call = list(
80 non_expected_call = list(
98 expected_call = list(
116 expected_call = list(
152 expected_calls = list(
188 expected_calls = list(
213 expected_call = list(
234 expected_call = list(
256 expected_call = list(
/tools/treble/hacksaw/workspace/
Dcompose_test.go58 list, err := wsComposer.Compose(codebaseDir, wsTopDir)
66 if !reflect.DeepEqual(expectedList, list) {
67 t.Errorf("Expected a list of binds %v and got %v", expectedList, list)
69 list, err = wsComposer.Dismantle(wsTopDir)
77 if !reflect.DeepEqual(expectedList, list) {
78 t.Errorf("Expected a list of unbinds %v and got %v", expectedList, list)
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/bt/
Dble_lib.py80 if type(advertising_data['service_uuids']) == list:
89 if scan_response and type(scan_response['service_uuids']) == list:
97 if scan_response and type(scan_response['service_data']) == list:
103 if type(advertising_data['service_data']) == list:
/tools/carrier_settings/java/
DGenCarrierList.java82 List<CarrierMap> list = new ArrayList<>(); in generate() local
95 list.add(cm.toBuilder().clearCarrierId().addCarrierId(cid).build()); in generate()
107 CarrierProtoUtils.sortCarrierMapEntries(list); in generate()
110 CarrierList clist = CarrierList.newBuilder().setVersion(version).addAllEntry(list).build(); in generate()
/tools/platform-compat/java/com/android/class2nonsdklist/
DHiddenapiFlagsWriter.java45 List<String> list = new ArrayList<>(s); in asSortedList() local
46 Collections.sort(list); in asSortedList()
47 return list; in asSortedList()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/net/
Dipsec_test_utils.py231 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/acloud/
DREADME.md41 * [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/metalava/src/test/java/com/android/tools/metalava/model/
DTextBackedAnnotationItemTest.kt86 val list = attribute.values in testIntDef() constant
87 assertEquals(3, list.size) in testIntDef()
88 assertEquals("STYLE_NO_TITLE", list[1].toSource()) in testIntDef()
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/
DPsiTypePrinterTest.kt839 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/asuite/atest/tf_proto/
Dmetric_measurement.proto26 // 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/test/connectivity/acts/framework/acts/controllers/ap_lib/
Dap_get_interface.py72 interfaces_phy = list(set(interfaces_all) - set(interfaces_virtual))
133 interfaces_eth = list(set(interfaces_phy) - set(interfaces_wlan))
158 interfaces_eth = list(set(interfaces_phy) - set(interfaces_wlan))
/tools/test/connectivity/acts_tests/tests/google/ble/bt5/
DPhyTest.py36 return '(' + list(gatt_phy.keys())[list(gatt_phy.values()).index(
37 txPhy)] + ', ' + list(gatt_phy.keys())[list(gatt_phy.values()).index(
/tools/test/graphicsbenchmark/functional_tests/java/src/cpp/
Dnative_choreo_activity.cpp190 jobject list = env->NewObject(arrayListClass, arrayListConstructor); in Java_com_android_game_qualification_tests_ChoreoTestActivity_getFrameIntervals() local
197 env->CallBooleanMethod(list, addMethod, javaInterval); in Java_com_android_game_qualification_tests_ChoreoTestActivity_getFrameIntervals()
200 return list; in Java_com_android_game_qualification_tests_ChoreoTestActivity_getFrameIntervals()
/tools/test/connectivity/acts/framework/acts/controllers/
Drelay_device_controller.py67 devices = list()
98 relay_ids = list()
/tools/treble/build/sandbox/
Dconfig.py143 self.build_goals = list(build_goals)
144 self.overlays = list(overlays)
145 self.views = list(views)
147 self.allow_readwrite = list(allow_readwrite)
/tools/acloud/pull/
Dpull.py30 from acloud.list import list as list_instances
195 log_files = list(files)
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DApiElement.java189 List<T> list = new ArrayList<>(elements); in sortedList() local
190 Collections.sort(list); in sortedList()
191 return list; in sortedList()

12345678910