/build/make/tools/ |
D | stub_diff_analyzer.py | 52 def get_files(self, dir: str) -> List[str]: 80 def map_common_files(self, files: List[str], dir: str) -> None: 86 def compare_file_contents(self, first_file: str, second_file: str) -> List[str]: 151 def lines_differ(self, line1: str, line2: str) -> bool: 167 def split_words(line: str) -> List[str]: 207 def write(self, lines: List[str]) -> None: 217 def sort_methods(lines: List[str]) -> List[str]: 252 def is_not_blank(l: str) -> bool: 282 def get_file_contents(file_path: str) -> List[str]: 289 def pprint(l: List[str]) -> None: [all …]
|
D | generate_gts_shared_report.py | 53 def _check_gts_test(checkshare: str, gts_test_metalic: str, 54 gts_test_dir: str) -> tuple[str, set[str]]:
|
D | list_files.py | 97 def pprint(l: List[str]) -> None: 101 def dir_exists(dir: str) -> bool: 104 def write_lines(out_file: str, lines: List[str]) -> None:
|
/build/make/tools/tool_event_logger/ |
D | tool_event_logger.py | 38 tool_tag: str, 39 invocation_id: str, 40 user_name: str, 41 source_root: str, 42 platform_version: str, 43 python_version: str, 55 def create(cls, tool_tag: str): 72 def log_invocation_started(self, event_time: datetime, command_args: str): 89 exit_log: str, 209 def main(argv: list[str]):
|
/build/bazel/scripts/difftool/ |
D | action_diff_notebook.py | 71 *, expr: str, config: str, mnemonic: str, additional_args: list[str] = [] 78 def get_ninja_actions(*, lunch_target: str, target: str, mnemonic: str):
|
D | commands.py | 152 def expand_rsp(arglist: list[str]) -> list[str]: 174 args: list[str], 187 def sanitize_bazel_path(path: str) -> pathlib.Path: 224 bazel_paths: list[str], soong_paths: list[str]
|
/build/bazel/scripts/bp2build_progress/ |
D | bp2build_progress.py | 56 def short_string(self, converted: Set[str]): 75 def is_converted(self, converted: Dict[str, Set[str]]): 86 def is_converted_or_skipped(self, converted: Dict[str, Set[str]]): 134 converted: Dict[str, Set[str]], 179 converted: Dict[str, Set[str]], 235 converted: Set[str], 237 props_by_converted_module_type: DefaultDict[str, Set[str]], 496 ignore_by_name: List[str], 569 ignore_by_name: List[str], 642 ignore_by_name: List[str], [all …]
|
/build/bazel/ci/ |
D | rbc_dashboard.py | 89 async def run_jailed_command(args: List[str], out_dir: str, env=None) -> bool: 126 async def run_build(flags: List[str], out_dir: str) -> bool: 136 async def run_config(product: Product, rbc_product: bool, out_dir: str) -> bool: 156 async def has_diffs(success: bool, file_pairs: List[Tuple[str]], results_folder: str) -> bool: 350 def str_to_product(p: str) -> Product:
|
/build/make/tools/releasetools/ |
D | create_brick_ota.py | 44 def CreateBrickOta(product_name: str, output_path: Path, extra_wipe_partitions: str, serialno: str):
|
D | ota_utils.py | 720 def IsLz4diffCompatible(source_file: str, target_file: str): 742 def IsZucchiniCompatible(source_file: str, target_file: str): 778 def ExtractTargetFiles(path: str): 797 def LocatePartitionPath(target_files_dir: str, partition: str, allow_empty): 808 def GetPartitionImages(target_files_dir: str, ab_partitions, allow_empty=True): 813 def LocatePartitionMap(target_files_dir: str, partition: str): 821 def GetPartitionMaps(target_files_dir: str, ab_partitions):
|
/build/bazel/scripts/incremental_build/ |
D | perf_metrics.py | 65 def _convert_pprof_to_human_readable_format(pprof: Path, output_type: str = 'pdf'): 73 def _archive_pprof(envvar: str, d:Path): 122 def gen_id(name: str, desc: str) -> str: 206 def dfs(self, target: str, visited: set[str] = None) -> list[str]:
|
D | pretty.py | 48 def _write_table(lines: list[list[str]]) -> str: 49 def join_cells(line: list[str]) -> str: 70 def _aggregate(prop: str, rows: list[Row], agg: Aggregation) -> str: 102 def summarize_helper(metrics: TextIO, regex: str, agg: Aggregation) -> dict[str, str]: 172 regex: str, 176 plot_format: str = "svg",
|
D | incremental_build.py | 116 def _build_file_sha(target_product: str) -> str: 127 def _build_file_size(target_product: str) -> int: 132 def _pretty_env(env: Mapping[str, str]) -> str: argument 138 def _total_size(filetype: str) -> int | None: 245 def _display(prop_regex: str):
|
D | go_allowlists.py | 76 def locate(self, listname: str) -> "GoList": 120 def __contains__(self, item: str) -> bool: 127 def prepend(self, items: list[str]):
|
D | plot_metrics.py | 58 summary_csv_data: str, output: Path, filter: bool = True 96 def _with_line_num(script: str) -> str: 120 def plot(summary_csv_data: str, output: Path, filter: bool):
|
/build/make/ci/ |
D | build_test_suites.py | 56 build_context: dict[str, any], 58 target_optimizations: dict[str, optimized_targets.OptimizedBuildTarget], 92 def build_test_suites(argv: list[str]) -> int: 118 def parse_args(argv: list[str]) -> argparse.Namespace: 179 def run_command(args: list[str], stdout=None):
|
D | build_test_suites_test.py | 222 def assert_file_eventually_contains(self, file: pathlib.Path, substring: str): 329 build_targets: set[str], 330 build_context: dict[str, any] = None, 332 target_optimizations: dict[ 351 enabled_build_features: set[str] = set(), 352 test_context: dict[str, any] = {}, 362 self, extra_build_targets: set[str] = set() 369 self, build_context: dict[str, any], build_targets: set[str] 386 def get_target_flag(self, target: str): 389 def get_optimized_target_name(self, target: str):
|
/build/make/tools/aconfig/aconfig_storage_file/src/ |
D | lib.rs | 292 package_map: &str, in list_flags() 293 flag_map: &str, in list_flags() 294 flag_val: &str, in list_flags() 339 package_map: &str, in list_flags_with_info() 340 flag_map: &str, in list_flags_with_info() 341 flag_val: &str, in list_flags_with_info() 342 flag_info: &str, in list_flags_with_info() 421 package_map: &str, in list_flags_cxx() 422 flag_map: &str, in list_flags_cxx() 423 flag_val: &str, in list_flags_cxx() [all …]
|
/build/make/tools/aconfig/overrideflags/ |
D | overrideflags.py | 64 def _create_android_bp(packages: set[str], file_name: str) -> str: 82 def _write_android_bp(new_android_bp: str, out: pathlib.Path) -> None:
|
/build/make/tools/product_config/src/com/android/build/config/ |
D | Value.java | 49 public Value(VarType varType, Str str) { in Value() 76 public static String normalize(String str) { in normalize() 86 public static Str normalize(Str str) { in normalize() 149 public static String oneLinePerWord(Str str, String nullValue) { in oneLinePerWord() 170 final StringBuilder str = new StringBuilder("Value("); in debugString() local
|
/build/pesto/experiments/prepare_bazel_test_env/ |
D | bazelenv.py | 62 def build(self, build_targets: Set[str]) -> None: 204 def stage(self, mapping: Dict[str, str]): argument 228 def read_value_from_template_var(cls, line: str) -> str: 256 global_prebuilts_dir: pathlib.Path, prebuilts_dir_name: str): 287 def stage(self, mapping: Dict[str, str]): argument 381 prebuilts_dir_name: str, 407 def stage(self, mapping: Dict[str, str]) -> None: argument 535 def __init__(self, env_dict: Dict[str, str] = os.environ): argument
|
/build/make/tools/aconfig/aconfig_storage_read_api/src/ |
D | mapped_file.rs | 50 storage_dir: &str, in get_mapped_file() 51 container: &str, in get_mapped_file() 75 fn map_and_verify(storage_dir: &str, file_type: StorageFileType, actual_file: &str) { in map_and_verify()
|
/build/make/tools/droiddoc/templates-pdk/assets/ |
D | microtemplate.js | 6 this.tmpl = function tmpl(str, data){ argument
|
/build/soong/tests/ |
D | run_tool_with_logging_test.py | 217 def _import_executable(self, executable_name: str) -> Path: 236 def _run_script_and_wait(self, test_script: str) -> tuple[str, str]: 244 def _run_script(self, test_script: str) -> subprocess.Popen: 291 def create(temp_dir: Path, script_body: str = ""): 316 def assert_called_with_args(self, expected_args: str): 327 def assert_called_once_with_args(self, expected_args: str):
|
/build/make/tools/aconfig/aconfig_storage_write_api/src/ |
D | lib.rs | 128 package_map: &str, in create_flag_info() 129 flag_map: &str, in create_flag_info() 130 flag_info_out: &str, in create_flag_info() 241 package_map: &str, in create_flag_info_cxx() 242 flag_map: &str, in create_flag_info_cxx() 243 flag_info_out: &str, in create_flag_info_cxx() 322 package_map: &str, in create_flag_info_cxx() 323 flag_map: &str, in create_flag_info_cxx() 324 flag_info_out: &str, in create_flag_info_cxx() 349 fn get_boolean_flag_value_at_offset(file: &str, offset: u32) -> bool { in get_boolean_flag_value_at_offset() [all …]
|