/tools/acloud/create/ |
D | create_args.py | 48 type=str, 55 type=str, 94 type=str, 119 type=str, 125 type=str, 130 type=str, 135 type=str, 144 type=str, 155 type=str, 161 type=str, [all …]
|
/tools/external_updater/ |
D | git_utils.py | 23 def _run(cmd: List[str], cwd: Path) -> str: argument 28 def fetch(proj_path: Path, remote_names: List[str]) -> None: argument 38 def add_remote(proj_path: Path, name: str, url: str) -> None: argument 49 def remove_remote(proj_path: Path, name: str) -> None: argument 54 def list_remotes(proj_path: Path) -> Dict[str, str]: 63 def parse_remote(line: str) -> Tuple[str, str]: argument 72 def get_sha_for_branch(proj_path: Path, branch: str): argument 77 def get_commits_ahead(proj_path: Path, branch: str, argument 78 base_branch: str) -> List[str]: argument 87 def get_commit_time(proj_path: Path, commit: str) -> datetime.datetime: argument [all …]
|
D | github_archive_updater.py | 29 GITHUB_URL_PATTERN: str = (r'^https:\/\/github.com\/([-\w]+)\/([-\w]+)\/' + 34 def _edit_distance(str1: str, str2: str) -> int: argument 47 def choose_best_url(urls: List[str], previous_url: str) -> str: argument 74 VERSION_FIELD: str = 'tag_name' 75 owner: str 76 repo: str 90 def _fetch_latest_release(self) -> Optional[Tuple[str, List[str]]]: 105 def _fetch_latest_tag(self) -> Tuple[str, List[str]]: 107 tags: List[str] = []
|
D | updater_utils.py | 64 VERSION_SPLITTER_PATTERN: str = r'[\.\-_]' 65 VERSION_PATTERN: str = (r'^(?P<prefix>[^\d]*)' + r'(?P<version>\d+(' + 71 ParsedVersion = Tuple[List[int], str, str] 74 def _parse_version(version: str) -> ParsedVersion: argument 81 return (versions, str(prefix), str(suffix)) 87 version: str) -> Tuple[bool, bool, List[int]]: argument 99 def get_latest_version(current_version: str, version_list: List[str]) -> str: argument
|
D | external_updater.py | 62 def color_string(string: str, color: Color) -> str: argument 125 update_lib=False) -> Union[Updater, str]: 157 return str(err) 160 def _check_path(args: argparse.Namespace, paths: Iterator[str], argument 161 delay: int) -> Dict[str, Dict[str, str]]: 166 if isinstance(updater, str): 172 results[str(relative_path)] = res 177 def _list_all_metadata() -> Iterator[str]:
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | FieldItem.kt | 249 fun javaEscapeString(str: String): String { in javaEscapeString() 251 val n = str.length in javaEscapeString() 253 val c = str[i] in javaEscapeString() 271 fun javaUnescapeString(str: String): String { in javaUnescapeString() 272 val n = str.length in javaUnescapeString() 275 val c = str[i] in javaUnescapeString() 282 return str in javaUnescapeString() 285 val buf = StringBuilder(str.length) in javaUnescapeString() 296 val c = str[i] in javaUnescapeString() 346 str + "\"" in javaUnescapeString() [all …]
|
/tools/test/connectivity/acts_tests/tests/google/ble/api/ |
D | BleAdvertiseApiTest.py | 496 + 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/acloud/internal/lib/ |
D | cheeps_compute_client_test.py | 90 'cvd_01_dpi': str(self.DPI), 91 'cvd_01_x_res': str(self.X_RES), 92 'cvd_01_y_res': str(self.Y_RES), 94 str(self.X_RES), 95 str(self.Y_RES), 96 str(self.DPI)), 103 avd_spec.hw_property = {constants.HW_X_RES: str(self.X_RES), 104 constants.HW_Y_RES: str(self.Y_RES), 105 constants.HW_ALIAS_DPI: str(self.DPI)} 138 'cvd_01_dpi': str(self.DPI), [all …]
|
D | cvd_compute_client_test.py | 100 "cvd_01_dpi": str(self.DPI), 107 "cvd_01_x_res": str(self.X_RES), 108 "cvd_01_y_res": str(self.Y_RES), 112 "cvd_01_blank_data_disk_size": str(self.EXTRA_DATA_DISK_SIZE_GB * 1024), 115 "cvd_01_dpi": str(self.DPI), 116 "cvd_01_x_res": str(self.X_RES), 117 "cvd_01_y_res": str(self.Y_RES), 121 "cvd_01_blank_data_disk_size": str(self.EXTRA_DATA_DISK_SIZE_GB * 1024), 157 fake_avd_spec.hw_property[constants.HW_X_RES] = str(self.X_RES) 158 fake_avd_spec.hw_property[constants.HW_Y_RES] = str(self.Y_RES) [all …]
|
/tools/test/connectivity/acts_tests/tests/google/tel/live/ |
D | TelLiveVoiceTest.py | 192 extras={"fail_reason": str(result.result_value)}) 222 extras={"fail_reason": str(result.result_value)}) 254 extras={"fail_reason": str(result.result_value)}) 409 extras={"fail_reason": str(result.result_value)}) 440 extras={"fail_reason": str(result.result_value)}) 480 extras={"fail_reason": str(result.result_value)}) 520 extras={"fail_reason": str(result.result_value)}) 543 extras={"fail_reason": str(result.result_value)}) 551 extras={"fail_reason": str(result.result_value)}) 590 extras={"fail_reason": str(result.result_value)}) [all …]
|
/tools/test/connectivity/acts/tests/google/wifi/ |
D | WifiRvrTwTest.py | 161 self.log.info("Set dB to "+str(dB)) 162 InputdB=str('V')+str(dB)+str(';') 192 self.log.info("Current dB = "+str(self.getdB(port))) 193 self.log.info("Fail to set Attenuator to "+str(dB)+", " 194 +str(retry)+" times try to reset") 229 self.log.info("Set angle to "+str(DG)) 230 InputDG=str('DG')+str(DG)+str(';') 244 self.log.info('Current angle = '+str(self.getDG(port))) 245 self.log.info('Fail set angle to '+str(DG)+', '+str(retry)+' times try to reset') 249 self.log.info('Retry turntable fail for '+str(retry)+' cycles, end test!') [all …]
|
D | WifiSensitivityTest.py | 255 csv_header.append('Ch. ' + str(channel)) 277 row_value['Ch. ' + str(channel)] = test_results.pop( 312 self.testbed_params['ap_tx_power_offset'][str( 330 self.testbed_params['ap_tx_power_offset'][str( 371 atten_offsets = self.testbed_params['chain_offset'][str( 573 str(rate.mcs).replace('.', 'p'), 746 title=str(test_id_str), 773 str(test_id_str) + '.html') 849 if str(chain) in ['0', '1'] and rate[1] == 2: 856 str(rate.mcs).replace('.', 'p'),
|
/tools/test/connectivity/acts_tests/tests/google/ble/bt5/ |
D | Bt5ScanTest.py | 113 self.log.info("LE 2M: " + str(sup2M) + ", LE Coded: " + str( 114 supCoded) + ", LE Extended Advertising: " + str( 115 supExt) + ", LE Periodic Advertising: " + str(supPeriodic) + 116 ", maximum advertising data length: " + str(maxDataLen)) 124 self.log.info("LE 2M: " + str(sup2M) + ", LE Coded: " + str( 125 supCoded) + ", LE Extended Advertising: " + str( 126 supExt) + ", LE Periodic Advertising: " + str(supPeriodic) + 127 ", maximum advertising data length: " + str(maxDataLen)) 412 str(address)) 459 self.log.info("data: " + str(evt['data'])) [all …]
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/ |
D | StringSearch.kt | 32 fun isPrefix(str: CharSequence, pos: Int): Boolean { in isPrefix() 33 return (0 until (str.length - pos)).none { str[it] != str[pos + it] } in isPrefix() 188 fun searchFor(str: String) = StringSearch(str) in searchFor() 190 fun GenericByteBuffer.indexOf(str: String, endIndex: Long = this.length): Long { in searchFor() 193 return StringSearch(str).findInLoadedRegion(this, stopAt) in searchFor() 195 return StringSearch(str).find(this, 0, stopAt) in searchFor() 198 fun GenericByteBuffer.contains(str: String, endIndex: Long = this.length): Boolean { in GenericByteBuffer() 199 return this.indexOf(str, endIndex) != -1L in GenericByteBuffer()
|
/tools/test/connectivity/acts/framework/acts/ |
D | utils.py | 1075 'attempted %d times.' % (str(func), timeout_s, count)) 1382 return str(uc_string).encode('ASCII') 1432 ipv4_address = '.'.join(map(str, ipv4_address)) 1445 (item['name'], str(ipaddress.ip_address(ipv6_address)))) 1457 if str(on_device_ip) in ifconfig_output: 1458 ipv4_private_local_addresses.append(str(on_device_ip)) 1467 if str(on_device_ip) in ifconfig_output: 1468 ipv4_public_addresses.append(str(on_device_ip)) 1471 if str(on_device_ip) in ifconfig_output: 1472 ipv6_link_local_addresses.append(str(on_device_ip)) [all …]
|
/tools/acloud/public/ |
D | acloud_common.py | 29 type=str, 33 type=str, 39 type=str, 44 type=str, 51 type=str, 70 type=str, 75 type=str, 79 type=str, 85 type=str,
|
/tools/test/connectivity/acts/framework/acts/test_utils/net/ |
D | ui_utils.py | 22 return '[{start}][{end}]'.format(start=str(self.start), end=str(self.end)) 241 args = 'input tap %s %s' % (str(x), str(y)) 245 (str(x), str(y), str(x), str(y), str(duration_ms))
|
/tools/asuite/aidegen/lib/ |
D | common_util_unittest.py | 165 self.assertEqual(expected, str(ctx.exception)) 172 self.assertEqual(expected, str(ctx.exception)) 179 self.assertEqual(expected, str(ctx.exception)) 188 self.assertEqual(expected, str(ctx.exception)) 325 decorator = common_util.check_args(name=str, text=str) 328 decorator = common_util.check_args(name=str, text=str) 331 decorator = common_util.check_args(name=str, text=str)
|
/tools/test/connectivity/acts_tests/tests/google/ble/system_tests/ |
D | BleStressTest.py | 172 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/test_utils/wifi/ |
D | wifi_retail_ap.py | 296 setting_to_update = {"ssid_{}".format(network): str(ssid)} 306 setting_to_update = {"channel_{}".format(network): str(channel)} 316 setting_to_update = {"bandwidth_{}".format(network): str(bandwidth)} 326 setting_to_update = {"power_{}".format(network): str(power)} 337 if (len(password) == 1) and (type(password[0]) == str): 339 "security_type_{}".format(network): str(security_type), 340 "password_{}".format(network): str(password[0]) 344 "security_type_{}".format(network): str(security_type) 867 "{}_{}".format(key[1], key[0])]) < 10) + str( 882 str(self.bw_mode_text_2g[self.ap_settings[ [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
D | bt_contacts_utils.py | 122 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/test/connectivity/acts/framework/acts/bin/ |
D | act.py | 23 from builtins import str 130 type=str, 146 type=str, 151 type=str, 158 type=str, 166 type=str, 173 type=str,
|
/tools/test/connectivity/acts/framework/acts/test_utils/coex/ |
D | CoexPerformanceBaseTest.py | 150 self.test_params["fixed_attenuation"][str( 224 self.iperf_received.append(float(str( 259 float(str(self.iperf_variables.throughput[-1]).strip("Mb/s"))) 273 json.dump({str(k): v for k, v in self.rvr.items()}, 313 0, str("BT Attenuation @ %sdB" % bt_atten)) 375 throughput_received.append(throughput_results[str(bt_atten)] 476 performance_results[str(bt_atten)])) 491 performance_results[str(bt_atten)]["throughput_received"][
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | bluetooth_pts_device.py | 399 str(ics_name))) 402 str(ics_name))) 410 str(ixit_name))) 413 str(ixit_name))) 430 str(res))) 436 str(res))) 538 self.xml_pts_running_log.text += "{}\n".format(str(full_log_msg)) 708 str(res)))
|
/tools/loganalysis/tests/src/com/android/loganalysis/util/ |
D | ArrayUtilTest.java | 46 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()
|