/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | TextTypeParameterList.kt | 45 val list = ArrayList<TypeParameterItem>(strings.size) in typeParameters() constant 46 strings.mapTo(list) { TextTypeParameterItem.create(codebase, it) } in typeParameters() 47 typeParameters = list in typeParameters() 59 val list = mutableListOf<String>() in typeParameterStrings() constant 71 add(list, s, start, i + 1) in typeParameterStrings() 74 add(list, s, start, i) in typeParameterStrings() 75 return list in typeParameterStrings() 79 add(list, s, start, i) in typeParameterStrings() 89 return list in typeParameterStrings() 92 private fun add(list: MutableList<String>, s: String, from: Int, to: Int) { in add() [all …]
|
/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()
|
/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/acloud/ |
D | Android.mk | 29 @rm -f $@.list 33 '*.config' -or -name 'LICENSE' -or -name '*.md' | sort > $@.list 34 $(hide) $(SOONG_ZIP) -d -o $@ -C tools/ -l $@.list -C tools/acloud \ 36 @rm -f $@.list
|
/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/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()
|
D | StreamUtil.java | 133 ByteArrayList list = new ByteArrayList(); in getByteArrayListFromStream() local 135 list.add((byte)inputByte); in getByteArrayListFromStream() 137 list.trimToSize(); in getByteArrayListFromStream() 138 return list; in getByteArrayListFromStream()
|
/tools/tradefederation/core/prod-tests/tests/src/com/android/monkey/ |
D | MonkeyBaseTest.java | 39 Collection<String> haystack = ArrayUtil.list("a", "b", "c"); in testSetSubtract_noExclude() 52 Collection<String> haystack = ArrayUtil.list("a", "b", "c"); in testSetSubtract() 53 Collection<String> needles = ArrayUtil.list("b"); in testSetSubtract()
|
/tools/metalava/src/test/java/com/android/tools/metalava/model/ |
D | TextBackedAnnotationItemTest.kt | 88 val list = attribute.values in testIntDef() constant 89 assertEquals(3, list.size) in testIntDef() 90 assertEquals("STYLE_NO_TITLE", list[1].toSource()) in testIntDef()
|
/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/test/connectivity/acts/framework/acts/controllers/ |
D | relay_device_controller.py | 67 devices = list() 98 relay_ids = list()
|
/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/loganalysis/tests/src/com/android/loganalysis/util/ |
D | ArrayUtilTest.java | 44 List<String> list = Arrays.asList("alpha", "beta", "gamma"); in testJoinCollection() local 46 String str = ArrayUtil.join(", ", list); in testJoinCollection()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | ArrayUtilTest.java | 44 List<String> list = Arrays.asList("alpha", "beta", "gamma"); in testJoinCollection() local 46 String str = ArrayUtil.join(", ", list); in testJoinCollection()
|
D | ByteArrayListTest.java | 95 ByteArrayList list = new ByteArrayList(1, 1.1f); in testEnsure_oddGrowthFactor() local 96 assertEquals(1, list.getMaxSize()); in testEnsure_oddGrowthFactor() 97 list.ensureCapacity(2); in testEnsure_oddGrowthFactor() 98 assertTrue(list.getMaxSize() >= 2); in testEnsure_oddGrowthFactor()
|
D | RunUtilFuncTest.java | 200 Thread[] list = new Thread[Thread.currentThread().getThreadGroup().activeCount()]; in testRunTimedCmd_timeout() local 201 Thread.currentThread().getThreadGroup().enumerate(list); in testRunTimedCmd_timeout() 203 for (Thread t : list) { in testRunTimedCmd_timeout()
|
/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/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/test/connectivity/acts/framework/acts/controllers/ap_lib/ |
D | ap_get_interface.py | 73 interfaces_phy = list(set(interfaces_all) - set(interfaces_virtual)) 134 interfaces_eth = list(set(interfaces_phy) - set(interfaces_wlan)) 160 interfaces_eth = list(set(interfaces_phy) - set(interfaces_wlan))
|
/tools/tradefederation/core/atest/ |
D | test_runner_handler.py | 66 sorted_test_infos = sorted(list(test_infos), key=key) 69 tests = list(tests)
|
/tools/test/connectivity/ |
D | Android.mk | 47 $(hide) find $(WTS_LOCAL_ACTS_DIR) | sort >$@.list 48 …-d -P acts -o $(WTS_ACTS_DISTRO_ARCHIVE) -C tools/test/connectivity/acts/framework/acts/ -l $@.list
|
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/ |
D | ApiElement.java | 185 List<T> list = new ArrayList<>(elements); in sortedList() local 186 Collections.sort(list); in sortedList() 187 return list; in sortedList()
|
/tools/test/connectivity/acts/tests/google/ble/bt5/ |
D | PhyTest.py | 36 return '(' + list(gatt_phy.keys())[list(gatt_phy.values()).index( 37 txPhy)] + ', ' + list(gatt_phy.keys())[list(gatt_phy.values()).index(
|
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/ssh/ |
D | formatter.py | 124 options_list = list(self.format_options_list(options)) 129 flags_list = list(self.format_flag_list(flags))
|
/tools/test/connectivity/acts/framework/acts/libs/ota/ota_runners/ |
D | ota_runner_factory.py | 81 if type(command) is list: 161 elif type(ota_package) is list:
|