| /tools/test/mobly_extensions/scripts/ |
| D | local_mobly_runner.py | 54 def _padded_print(line: str) -> None: 126 def _build_module(module: str) -> None: 144 def _get_module_artifacts(module: str) -> List[str]: 225 def _setup_virtualenv(requirements_files: List[str]) -> str: 254 apks: List[str], 255 serials: Optional[List[str]] = None, 283 def _generate_mobly_config(serials: Optional[List[str]] = None) -> str: 312 python_executable: str, 313 mobly_bins: List[str], 314 config: str, [all …]
|
| /tools/external_updater/ |
| D | git_utils.py | 26 def fetch(proj_path: Path, remote_names: list[str]) -> None: 37 def add_remote(proj_path: Path, name: str, url: str) -> None: 49 def remove_remote(proj_path: Path, name: str) -> None: 64 def parse_remote(line: str) -> tuple[str, str]: 75 def detect_default_branch(proj_path: Path, remote_name: str) -> str: 89 def get_sha_for_branch(proj_path: Path, branch: str): 96 def get_commits_ahead(proj_path: Path, branch: str, 97 base_branch: str) -> list[str]: 108 def get_commit_time(proj_path: Path, commit: str) -> datetime.datetime: 116 def list_remote_branches(proj_path: Path, remote_name: str) -> list[str]: [all …]
|
| D | external_updater.py | 67 def color_string(string: str, color: Color) -> str: 192 def check_and_update_path(args: argparse.Namespace, paths: Iterable[str], 218 def get_paths(paths: List[str]) -> List[str]: 230 def write_json(json_file: str, results: Dict[str, Dict[str, str]]) -> None: argument
|
| D | reviewers.py | 62 def add_proj_count(projects: MutableMapping[str, float], reviewer: str, n: float) -> None: 107 def find_reviewers(proj_path: str) -> str:
|
| D | github_archive_updater.py | 35 def _edit_distance(str1: str, str2: str) -> int: 48 def choose_best_url(urls: List[str], previous_url: str) -> str:
|
| D | updater_utils.py | 90 def _parse_version(version: str) -> ParsedVersion: 104 version: str) -> Tuple[bool, bool, List[int]]: 116 def get_latest_version(current_version: str, version_list: List[str]) -> str:
|
| /tools/asuite/atest/integration_tests/ |
| D | bazel_mode_test.py | 198 shell_command: str, 212 def add_passing_test(self, module_name: str): 216 def add_failing_test(self, module_name: str): 220 def add_unsupported_passing_test(self, module_name: str): 226 module_name: str, 253 module_name: str, 254 test_src: str, 280 module_name: str, 305 message: str, 328 test_class_name: str, [all …]
|
| /tools/test/connectivity/acts/framework/acts/controllers/amarisoft_lib/ |
| D | ims.py | 36 impi: str, 37 impu: str, 38 contact: str, 39 sip_file: str = 'mt_call_qos.sdp', 40 caller: str = 'Amarisoft', 67 text: str, 68 impi: str, 69 sender: Optional[str] = 'Amarisoft') -> None: 87 def send_mms(self, filename: str, sender: str, receiver: str) -> None:
|
| D | ssh_utils.py | 46 host: str, 47 username: str, 48 password: str, 49 port: str = '22') -> None: 95 def run_cmd(self, cmd: str) -> Sequence[str]: 119 def is_file_exist(self, file: str) -> bool: 131 def sftp_upload(self, src: str, dst: str) -> bool: 156 def sftp_download(self, src: str, dst: str) -> bool: 178 def sftp_list_dir(self, path: str) -> Sequence[str]:
|
| D | amarisoft_client.py | 47 async def _send_message_to_callbox(self, uri: str, 48 msg: str) -> Tuple[str, str]: 65 def send_message(self, port: str, msg: str) -> Tuple[str, str]: 78 def verify_response(self, func: str, head: str, 79 body: str) -> Tuple[Mapping[str, Any], Mapping[str, Any]]: 147 def set_config_dir(self, cfg_type: str, path: str) -> None: 162 def get_config_dir(self, cfg_type: str) -> Optional[str]: 179 def set_config_file(self, cfg_type: str, cfg_file: str) -> None: 196 def get_config_file(self, cfg_type: str) -> Optional[str]:
|
| /tools/treble/split/ |
| D | manifest_diff.py | 101 def subelement_file_changes(tag: str, p1: Element, p2: Element) -> ChangeMap: 122 ignored_attrs: Set[str]) -> ProjectChanges: 140 ignored_attrs: Set[str]) -> ChangeMap: 169 ignored_attrs: Set[str]) -> ChangeMap: 190 ignored_attrs: Set[str]) -> ChangeMap: 214 ignored_attrs: Set[str]) -> ManifestChanges: 233 def compare_manifest_files(manifest_a: str, manifest_b: str, 234 ignored_attrs: Set[str]) -> ManifestChanges:
|
| D | xml_diff.py | 73 ignored_attrs: Set[str]) -> ChangeMap: 103 tag: str, 106 ignored_attrs: Set[str], 108 diff_fn: Callable[[Element, Element, Set[str]], Any]) -> ChangeMap:
|
| /tools/repohooks/tools/ |
| D | android_test_mapping_format.py | 67 def _filter_comments(json_data: str) -> str: 80 def _validate_import(entry: Dict[str, Any], test_mapping_file: str): 100 def _validate_test(test: Dict[str, Any], test_mapping_file: str) -> bool: 144 def process_file(test_mapping_file: str):
|
| /tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/ |
| D | base_lib.py | 40 def __init__(self, addr: str, logger_tag: str) -> None: 46 cmd: str, 47 args: Mapping[str, Any],
|
| D | ffx.py | 38 def __init__(self, command: str, 65 binary_path: str, 66 mdns_name: str, 67 ip: str = None, 68 ssh_private_key_path: str = None): 103 command: str,
|
| /tools/asuite/atest/ |
| D | module_info.py | 437 def is_tradefed_testable_module(self, info: Dict[str, Any]) -> bool: 445 def is_testable_module(self, info: Dict[str, Any]) -> bool: 466 def has_test_config(self, info: Dict[str, Any]) -> bool: 483 def is_legacy_robolectric_test(self, module_name: str) -> bool: 487 def get_robolectric_test_name(self, module_name: str) -> str: 579 def get_instrumentation_target_apps(self, module_name: str) -> Dict: 614 def get_target_module_by_pkg(self, package: str, search_from: Path) -> str: 659 def get_artifact_map(self, module_name: str) -> Dict: 687 def is_legacy_robolectric_class(self, info: Dict[str, Any]) -> bool: 721 module_name: str, mainline_binaries: List[str]) -> bool: [all …]
|
| D | bazel_mode.py | 141 def add_parser_arguments(parser: argparse.ArgumentParser, dest: str): 477 def _add_device_test_target(self, info: Dict[str, Any], 493 def _add_deviceless_test_target(self, info: Dict[str, Any]) -> Target: 507 self, info: Dict[str, Any]) -> Target: 518 def _add_prebuilt_target(self, info: Dict[str, Any]) -> Target: 531 def _add_target(self, package_path: str, target_name: str, 550 def _get_module_info(self, module_name: str) -> Dict[str, Any]: 559 def _get_module_path(self, info: Dict[str, Any]) -> str: 717 def __init__(self, path: str): 758 def get_target(self, target_name: str) -> Target: [all …]
|
| /tools/netsim/rust/netsim-cxx/src/devices/ |
| D | chip.rs | 59 name: &str, in new() 60 device_name: &str, in new() 61 manufacturer: &str, in new() 62 product_name: &str, in new() 156 chip_name: &str, in chip_new() 157 device_name: &str, in chip_new() 158 chip_manufacturer: &str, in chip_new() 159 chip_product_name: &str, in chip_new()
|
| D | devices_handler.rs | 72 device_guid: &str, in add_chip() 73 device_name: &str, in add_chip() 75 chip_name: &str, in add_chip() 76 chip_manufacturer: &str, in add_chip() 77 chip_product_name: &str, in add_chip() 97 guid: &str, in get_or_create_device() 98 name: &str, in get_or_create_device() 146 fn patch_device(id: DeviceIdentifier, patch_json: &str) { in patch_device()
|
| /tools/netsim/rust/netsim-cxx/src/http_server/ |
| D | server_response.rs | 36 fn put_ok_with_length(&mut self, mime_type: &str, length: usize, headers: StrHeaders); in put_ok_with_length() 38 fn put_ok(&mut self, mime_type: &str, body: &str, headers: StrHeaders); in put_ok() 39 fn put_error(&mut self, error_code: u16, error_message: &str); in put_error() 40 fn put_ok_with_vec(&mut self, mime_type: &str, body: Vec<u8>, headers: StrHeaders); in put_ok_with_vec() 69 fn put_error(&mut self, error_code: u16, error_message: &str) { in put_error() 79 fn put_ok_with_length(&mut self, mime_type: &str, length: usize, headers: StrHeaders) { in put_ok_with_length() 84 fn put_ok(&mut self, mime_type: &str, body: &str, headers: StrHeaders) { in put_ok() 89 fn put_ok_with_vec(&mut self, mime_type: &str, body: Vec<u8>, headers: StrHeaders) { in put_ok_with_vec()
|
| D | mod.rs | 93 fn check_valid_file_path(path: &str, valid_files: &HashSet<String>) -> bool { in check_valid_file_path() 101 fn to_content_type(file_path: &Path) -> &str { in to_content_type() 113 fn handle_file(method: &str, path: &str, writer: ResponseWritable) { in handle_file() 128 fn handle_pcap_file(request: &HttpRequest, id: &str, writer: ResponseWritable) { in handle_pcap_file() 144 fn handle_index(request: &HttpRequest, _param: &str, writer: ResponseWritable) { in handle_index() 148 fn handle_static(request: &HttpRequest, path: &str, writer: ResponseWritable) { in handle_static() 153 fn handle_version(_request: &HttpRequest, _param: &str, writer: ResponseWritable) { in handle_version() 158 fn handle_devices(request: &HttpRequest, _param: &str, writer: ResponseWritable) { in handle_devices()
|
| /tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/functional/ |
| D | WlanWirelessNetworkManagementTest.py | 70 def on_fail(self, test_name: str, begin_time: str): 74 def on_exception(self, test_name: str, begin_time: str): 81 ssid: str,
|
| /tools/asuite/atest/test_runners/ |
| D | roboleaf_test_runner.py | 66 module_map_location: str = ''): 80 def _generate_map(module_map_location: str = '') -> Dict[str, str]: 115 def _read_allow_list(allow_list_location: str = '') -> List[str]: 166 extra_args: Dict[str, Any], 206 extra_args: Dict[str, Any], 244 module_names: List[str]) -> Dict[str, TestInfo]:
|
| /tools/loganalysis/javatests/com/android/loganalysis/util/ |
| D | ArrayUtilTest.java | 46 String str = ArrayUtil.join(", ", list); in testJoinCollection() local 56 String str = ArrayUtil.join(", ", (Object[]) ary); in testJoinArray() local 65 String str = ArrayUtil.join(", ", "alpha", "beta", "gamma"); in testJoinNormal() local
|
| /tools/repohooks/ |
| D | pre-upload.py | 333 project_name: str, 334 proj_dir: str, 338 commit_list: Optional[List[str]] = None, 439 project_name: str, 440 proj_dir: Optional[str] = None, 443 commit_list: Optional[List[str]] = None, 492 project_list: List[str], 493 worktree_list: List[Optional[str]], 496 commit_list: Optional[List[str]] = None,
|