Home
last modified time | relevance | path

Searched refs:str (Results 1 – 25 of 147) sorted by relevance

123456

/tools/test/connectivity/acts/tests/google/power/tel/lab/
DgenTests.py15 sbw = str(bw)
30 …print(" def test_" + direction + "_" + tm + "_band" + str(b) + "_" + sbw + "MHz_" + scheduling …
38 …irection + ", band = " + str(b) + ", scheduling = " + sscheduling + ", bandwidth = " + str(bw) + "…
/tools/loganalysis/tests/src/com/android/loganalysis/util/
DArrayUtilTest.java46 String str = ArrayUtil.join(", ", list); in testJoinCollection() local
47 assertEquals(expected, str); in testJoinCollection()
56 String str = ArrayUtil.join(", ", (Object[]) ary); in testJoinArray() local
57 assertEquals(expected, str); in testJoinArray()
65 String str = ArrayUtil.join(", ", "alpha", "beta", "gamma"); in testJoinNormal() local
66 assertEquals(expected, str); in testJoinNormal()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DArrayUtilTest.java46 String str = ArrayUtil.join(", ", list); in testJoinCollection() local
47 assertEquals(expected, str); in testJoinCollection()
56 String str = ArrayUtil.join(", ", (Object[]) ary); in testJoinArray() local
57 assertEquals(expected, str); in testJoinArray()
65 String str = ArrayUtil.join(", ", "alpha", "beta", "gamma"); in testJoinNormal() local
66 assertEquals(expected, str); in testJoinNormal()
/tools/acloud/public/
Dacloud_common.py29 type=str,
34 type=str,
40 type=str,
47 type=str,
Dacloud_main.py110 type=str,
116 type=str,
121 type=str,
126 type=str,
139 type=str,
144 type=str,
158 type=str,
165 type=str,
205 type=str,
212 type=str,
/tools/tradefederation/core/src/com/android/tradefed/util/
DStringEscapeUtils.java35 public static String escapeShell(String str) { in escapeShell() argument
36 if (str == null) { in escapeShell()
40 for (int i = 0; i < str.length(); ++i) { in escapeShell()
41 char ch = str.charAt(i); in escapeShell()
DAbiFormatter.java50 public static String formatCmdForAbi(String str, String abi) { in formatCmdForAbi() argument
52 if (str == null) { in formatCmdForAbi()
56 return str.replaceAll(ABI_REGEX, ""); in formatCmdForAbi()
59 Matcher m = Pattern.compile(ABI_REGEX).matcher(str); in formatCmdForAbi()
DTimeVal.java119 static long val(String str) throws NumberFormatException { in val() argument
120 if (str == null) return 0; in val()
122 Long value = Long.parseLong(str); in val()
/tools/test/connectivity/acts/framework/acts/bin/
Dact.py17 from builtins import str
157 type=str,
164 type=str,
187 type=str,
193 type=str,
200 type=str,
209 type=str,
216 type=str,
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DDummy83BufferGenerator.java89 public static String stripLeadingPeriods(String str) { in stripLeadingPeriods() argument
90 final StringBuilder sb = new StringBuilder(str.length()); in stripLeadingPeriods()
92 for (int i=0; i < str.length(); i++) { in stripLeadingPeriods()
93 if (str.charAt(i) != '.') { //NOI18N in stripLeadingPeriods()
94 sb.append(str.substring(i)); in stripLeadingPeriods()
DShortName.java198 private static void checkString(String str, String strType, in checkString() argument
201 if (str == null) in checkString()
204 if (str.length() < minLength) in checkString()
207 " characters: " + str); in checkString()
208 if (str.length() > maxLength) in checkString()
211 " characters: " + str); in checkString()
/tools/tradefederation/core/atest/
Dtest_mapping.py63 return hash(str(self))
66 return str(self) == str(other)
Dtest_mapping_unittest.py38 self.assertEqual(uc.TEST_MAPPING_TEST_WITH_OPTION_STR, str(detail))
45 'Each option can only have one key.', str(context.exception))
/tools/test/connectivity/acts/tests/google/ble/api/
DBleAdvertiseApiTest.py496 + str(exp_is_connectable))
528 str(exp_service_uuids))
559 str(exp_service_uuids))
593 str(exp_service_uuids))
622 str(exp_service_uuids))
1045 self.log.debug(str(error))
1063 self.log.debug(str(error))
1082 self.log.debug(str(error))
1102 self.log.debug(str(error))
1123 self.log.debug(str(error))
[all …]
/tools/test/connectivity/acts/framework/acts/
Dasserts.py56 my_msg = str(e)
90 my_msg = str(e)
319 exc_name = str(self.expected)
330 if isinstance(expected_regexp, str):
332 if not expected_regexp.search(str(exc_value)):
335 (expected_regexp.pattern, str(exc_value)),
/tools/test/connectivity/acts/tests/google/ble/bt5/
DBt5ScanTest.py114 self.log.info("LE 2M: " + str(sup2M) + ", LE Coded: " + str(
115 supCoded) + ", LE Extended Advertising: " + str(
116 supExt) + ", LE Periodic Advertising: " + str(supPeriodic) +
117 ", maximum advertising data length: " + str(maxDataLen))
125 self.log.info("LE 2M: " + str(sup2M) + ", LE Coded: " + str(
126 supCoded) + ", LE Extended Advertising: " + str(
127 supExt) + ", LE Periodic Advertising: " + str(supPeriodic) +
128 ", maximum advertising data length: " + str(maxDataLen))
413 str(address))
460 self.log.info("data: " + str(evt['data']))
[all …]
/tools/acloud/internal/lib/
Dandroid_build_client.py85 logger.error("Downloading artifact failed: %s", str(e))
86 raise errors.DriverError(str(e))
123 if self.NO_ACCESS_ERROR_PATTERN in str(e):
126 error_msg %= (destination_bucket, str(e))
/tools/repohooks/tools/
Dclang-format.py49 parser.add_argument('--style', metavar='STYLE', type=str,
51 parser.add_argument('--extensions', metavar='EXTENSIONS', type=str,
58 scope.add_argument('--commit', type=str, default='HEAD',
64 parser.add_argument('files', type=str, nargs='*',
/tools/test/connectivity/acts/tests/google/tel/etc/
Dmanage_sim.py177 str(iccid), str(active_list[iccid]['droid_serial']), str(
178 active_list[iccid]['phone_num']), str(active_list[iccid][
192 type=str)
/tools/test/connectivity/acts/tests/google/ble/system_tests/
DBleStressTest.py172 str(advertise_callback), "onSuccess"])
181 str(error)]))
186 str(error)
225 str(advertise_callback), "onSuccess"])
234 str(error)]))
239 str(error)
255 str(error)]))
260 str(error)
/tools/test/connectivity/acts/framework/acts/controllers/attenuator_lib/aeroflex/
Dtelnet.py121 self._tnhelper.cmd("ATTN " + str(idx+1) + " " + str(value), False)
148 atten_val = self._tnhelper.cmd("ATTN? " + str(idx+1))
/tools/test/connectivity/acts/tests/google/bt/setup/
DBtPreFlightTest.py54 if remount_check not in str(remount_result):
63 if remount_check not in str(remount_result):
73 if log_level_check not in str(result):
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
Dbt_contacts_utils.py122 str(len(pce_contacts))))
125 str(len(set(pce_contacts).intersection(set(pse_contacts))))))
127 str(len(differences))))
141 self.phone_number = re.sub(r"\D", "", str(phone_number))
191 str(phone.phone_type), phone.phone_number))
265 contact_file.write(str(card))
372 new_call_log["type"] = str(call_log_type)
374 new_call_log["time"] = str(call_time)
/tools/tradefederation/core/src/com/android/tradefed/log/
DConsoleReaderOutputStream.java136 char[] str = new char[] {(char)(b & 0xff)}; in write() local
137 mConsoleReader.printString(new String(str)); in write()
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/
DSourcePositionInfo.java37 public static SourcePositionInfo add(SourcePositionInfo that, String str, int index) { in add() argument
44 char c = str.charAt(i); in add()

123456