| /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/ci/ |
| D | test_mapping_module_retriever.py | 44 def FilterComments(test_mapping_file: str) -> str: 57 def GetTestMappings(paths: set[str], 58 checked_paths: set[str]) -> dict[str, dict[str, Any]]: 131 test_mappings: dict[str, Any], 132 changed_files: set[str], 133 test_mapping_test_groups: set[str], 181 file_patterns: list[set], changed_files: set[str]
|
| D | metrics_agent.py | 64 def report_optimized_target(self, name: str): 70 def report_unoptimized_target(self, name: str, optimization_rationale: str): 77 def target_packaging_start(self, name: str): 82 def target_packaging_end(self, name: str): 90 target_name: str, 91 artifact_name: str, 93 included_modules: set[str],
|
| D | build_context.py | 22 def __init__(self, build_context_dict: dict[str, any]): 32 def build_target_used(self, target: str) -> bool: 46 def __init__(self, test_info_dict: dict[str, any]): 62 def build_target_used(self, target: str) -> bool:
|
| D | build_test_suites_test.py | 240 def assert_file_eventually_contains(self, file: pathlib.Path, substring: str): 429 build_targets: set[str], 432 target_optimizations: dict[ 435 packaging_commands: list[list[str]] = [], 454 enabled_build_features: list[dict[str, str]] = [], argument 455 test_context: dict[str, any] = {}, 467 self, extra_build_targets: set[str] = set() 476 build_targets: set[str], 477 packaging_commands: list[list[str]] = [], 489 def get_target_flag(self, target: str): [all …]
|
| D | test_discovery_agent.py | 41 tradefed_args: list[str], 42 test_mapping_zip_path: str = "", 43 tradefed_jar_revelant_files_path: str = _TRADEFED_PREBUILT_JAR_RELATIVE_PATH,
|
| /build/soong/scripts/ |
| D | ninja_determinism_test.py | 43 async def run_make_nothing(product: Product, out_dir: str) -> bool: 112 def transitively_included_ninja_files(out_dir: str, ninja_file: str, seen): 127 def hash_ninja_file(out_dir: str, ninja_file: str, hasher): 139 def hash_files(files: List[str]) -> str: 147 def dist_ninja_files(out_dir: str, zip_name: str, ninja_files: List[str]):
|
| /build/make/tools/tool_event_logger/ |
| D | tool_event_logger.py | 38 tool_tag: str, 39 invocation_id: str, 40 user_name: str, 41 host_name: str, 42 source_root: str, 43 platform_version: str, 44 python_version: str, 57 def create(cls, tool_tag: str): 75 def log_invocation_started(self, event_time: datetime, command_args: str): 92 exit_log: str, [all …]
|
| /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/make/tools/edit_monitor/ |
| D | utils.py | 21 feature_name: str, 22 user_name: str, 23 enable_flag: str = None,
|
| /build/make/tools/releasetools/ |
| D | create_brick_ota.py | 44 def CreateBrickOta(product_name: str, output_path: Path, extra_wipe_partitions: str, serialno: str):
|
| /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/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]):
|
| /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/make/tools/droiddoc/templates-pdk/assets/ |
| D | microtemplate.js | 6 this.tmpl = function tmpl(str, data){ argument
|
| /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/aconfig/aconfig_storage_file/src/ |
| D | lib.rs | 316 package_map: &str, in list_flags() 317 flag_map: &str, in list_flags() 318 flag_val: &str, in list_flags() 363 package_map: &str, in list_flags_with_info() 364 flag_map: &str, in list_flags_with_info() 365 flag_val: &str, in list_flags_with_info() 366 flag_info: &str, in list_flags_with_info() 445 package_map: &str, in list_flags_cxx() 446 flag_map: &str, in list_flags_cxx() 447 flag_val: &str, in list_flags_cxx() [all …]
|