/tools/external_updater/ |
D | git_utils.py | 25 def _run(cmd: List[str], cwd: Path) -> str: 30 def fetch(proj_path: Path, remote_names: List[str]) -> None: 40 def add_remote(proj_path: Path, name: str, url: str) -> None: 51 def remove_remote(proj_path: Path, name: str) -> None: 65 def parse_remote(line: str) -> Tuple[str, str]: 74 def get_sha_for_branch(proj_path: Path, branch: str): 79 def get_commits_ahead(proj_path: Path, branch: str, 80 base_branch: str) -> List[str]: 90 def get_commit_time(proj_path: Path, commit: str) -> datetime.datetime: 96 def list_remote_branches(proj_path: Path, remote_name: str) -> List[str]: [all …]
|
D | external_updater.py | 65 def color_string(string: str, color: Color) -> str: 173 def check_and_update_path(args: argparse.Namespace, paths: Iterator[str], 200 def get_paths(paths: List[str]) -> List[str]: 212 def write_json(json_file: str, results: Dict[str, Dict[str, str]]) -> List[str]: argument
|
D | updater_utils.py | 76 def _parse_version(version: str) -> ParsedVersion: 90 version: str) -> Tuple[bool, bool, List[int]]: 102 def get_latest_version(current_version: str, version_list: List[str]) -> str:
|
D | reviewers.py | 61 def add_proj_count(projects: Mapping[str, float], reviewer: str, n: float): 106 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 | crates_updater.py | 65 def _get_version_numbers(self, version: str) -> (int, int, int): 71 def _is_newer_version(self, prev_version: str, prev_id: int, 72 check_version: str, check_id: int): 182 def _toml2str(self, line: str) -> str: 193 def _get_cargo_description(self, cargo_toml: str) -> str:
|
D | base_updater.py | 26 old_ver: str) -> None:
|
D | notifier.py | 117 def is_commit(commit: str) -> bool:
|
/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 …]
|
D | result_compare_test.py | 65 shell_cmd: str, 85 result_file_name: str, 107 shell_command: str,
|
/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]:
|
D | mme.py | 34 def pws_write(self, local_id: str, n50: bool = False): 51 def pws_kill(self, local_id: str, n50: bool = False): 68 def ue_del(self, imsi: str):
|
D | config_utils.py | 61 def upload_enb_template(self, cfg: str) -> bool: 82 def upload_mme_template(self, cfg: str) -> bool: 103 def enb_set_plmn(self, plmn: str) -> bool: 123 def mme_set_plmn(self, plmn: str) -> bool:
|
/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/asuite/atest/ |
D | bazel_mode.py | 89 def add_parser_arguments(parser: argparse.ArgumentParser, dest: str): 255 def _add_test_target(self, info: Dict[str, Any], name_suffix: str, 269 def _add_prebuilt_target(self, info: Dict[str, Any]) -> Target: 282 def _add_target(self, package_path: str, target_name: str, 301 def _get_module_info(self, module_name: str) -> Dict[str, Any]: 310 def _get_module_path(self, info: Dict[str, Any]) -> str: 329 def is_host_unit_test(self, info: Dict[str, Any]) -> bool: 400 def __init__(self, path: str): 441 def get_target(self, target_name: str) -> Target: 529 def create_deviceless_test_target(name: str, package_name: str, [all …]
|
D | test_runner_handler.py | 97 extra_args: Dict[str, Any]=None):
|
/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/test/connectivity/acts_tests/acts_contrib/test_utils/tel/ |
D | tel_dsds_utils.py | 89 msg_type: str = "SMS", 90 direction: str = "mt", 160 direction: str = "mo", 164 wfc_mode: Sequence[str] = [ 167 wifi_network_ssid: Optional[str] = None, 168 wifi_network_pass: Optional[str] = None, 250 direction: str = "mo", 254 wfc_mode: Sequence[str] = [ 257 wifi_network_ssid: Optional[str] = None, 258 wifi_network_pass: Optional[str] = None, [all …]
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/functional/ |
D | ChannelSwitchTest.py | 72 band: str, 278 band: str) -> bool:
|
/tools/platform-compat/java/com/android/class2nonsdklist/ |
D | StringCursor.java | 27 public StringCursor(String str) { in StringCursor()
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
D | MemoryHealthParser.java | 99 private long parseLong(String str) { in parseLong()
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
D | Dummy83BufferGenerator.java | 89 public static String stripLeadingPeriods(String str) { in stripLeadingPeriods()
|