| /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 | 75 def pprint(l: List[str]) -> None: 79 def dir_exists(dir: str) -> bool: 82 def write_lines(out_file: str, lines: List[str]) -> None:
|
| /build/orchestrator/ninja/ |
| D | ninja_syntax.py | 58 def __init__(self, name: str, value: str, indent=0): 91 def __init__(self, name: str, variables: list[tuple[(str, str)]] = ()): argument 106 def add_variable(self, name: str, value: str): 124 def _assert_variable_is_not_empty(self, variable_name: str): 141 rule: str, 142 output: list[str] = None, 143 inputs: list[str] = None, 144 implicits: list[str] = None, 145 order_only: list[str] = None, 146 variables: list[tuple[(str, str)]] = ()): argument [all …]
|
| D | ninja_writer.py | 26 def __init__(self, file, builddir: str = None): 46 def add_comment(self, comment: str): 49 def add_default(self, default: str): 58 def add_phony(self, name: str, deps: tuple):
|
| /build/orchestrator/core/cc/ |
| D | library.py | 27 def __init__(self, src: str, flags:str, out: str, frontend: str): 57 def __init__(self, objs: List[str], flags: str, out: str, frontend: str): 64 def add_implicits(self, implicits: List[str]):
|
| D | stub_generator.py | 31 def __init__(self, arch: str, version: str, api: str, version_map: str, additional_args=""): 69 work_dir: str) -> GenCcStubsOutput:
|
| /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 | 60 def short_string(self, converted: Set[str]): 64 def is_converted(self, converted: Set[str]): 67 def is_converted_or_skipped(self, converted: Set[str]): 107 converted: Set[str], show_converted: bool): 144 converted: Set[str], 145 input_modules_names: Set[str], 292 ignore_by_name: List[str], 294 top_level_modules: List[str], 339 ignore_by_name: List[str], 340 top_level_modules: List[str], [all …]
|
| /build/orchestrator/inner_build/ |
| D | inner_build_soong.py | 112 def __init__(self, inner_tree: str, path: str, 113 bazel_output_user_root: str): 135 def newerthan(self, otherpath: str) -> bool: 157 def __init__(self, inner_tree: str, out_dir: str, api_domains: List[str]): 192 contribution_targets: List[str] 269 subcmd: str, 270 targets: List[str], 271 subcmd_options: Tuple[str] = (),
|
| D | inner_build_cf_vendor.py | 112 def __init__(self, inner_tree: str, path: str, 113 bazel_output_user_root: str): 135 def newerthan(self, otherpath: str) -> bool: 157 def __init__(self, inner_tree: str, out_dir: str, api_domains: List[str]): 192 contribution_targets: List[str] 269 subcmd: str, 270 targets: List[str], 271 subcmd_options: Tuple[str] = (),
|
| D | find_api_packages.py | 47 def __init__(self, package: str, target: str): 57 def __init__(self, filepath: str, msg: str): 78 def read(filepath: str) -> ContributionData: 130 def __init__(self, inner_tree_root: str, search_depth=6): 161 def find_api_label_string(self, api_domain: str) -> str: 180 def find_api_package(self, api_domain: str) -> str:
|
| D | finder.py | 25 def __init__(self, filename: str, ignore_paths=(), prune_hidden_dirs=True): 43 def _is_hidden_dir(self, dirname: str) -> bool: 47 def find(self, path: str, search_depth: int) -> Iterator[str]:
|
| D | test_finder.py | 28 def _create_file(root: str, rel_dir_path: str, filename: str):
|
| /build/bazel/scripts/incremental_build/ |
| D | util.py | 112 def _next_path_helper(basename: str) -> str: 152 def is_ninja_dry_run(ninja_args: str = None) -> bool: 185 def any_file(pattern: str) -> Path: 189 def any_file_under(root: Path, pattern: str) -> Path: 201 def any_dir_under(root: Path, *patterns: str) -> Path: 206 def any_match(*patterns: str) -> (Path, list[str]): 211 def any_match_under(root: Path, *patterns: str) -> (Path, list[str]): 264 def period_to_seconds(s: str) -> float:
|
| D | perf_metrics.py | 73 def archive_run(d: Path, build_info: dict[str, any]): 129 def normalize(desc: str) -> str: 156 def dfs(self, target: str, visited: set[str] = None) -> list[str]:
|
| /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 | 679 def IsLz4diffCompatible(source_file: str, target_file: str): 701 def IsZucchiniCompatible(source_file: str, target_file: str): 737 def ExtractTargetFiles(path: str): 746 def LocatePartitionPath(target_files_dir: str, partition: str, allow_empty): 759 def GetPartitionImages(target_files_dir: str, ab_partitions, allow_empty=True): 764 def LocatePartitionMap(target_files_dir: str, partition: str): 771 def GetPartitionMaps(target_files_dir: str, ab_partitions):
|
| /build/bazel/ci/ |
| D | rbc_dashboard.py | 81 async def run_jailed_command(args: List[str], out_dir: str, env=None) -> bool: 118 async def run_build(flags: List[str], out_dir: str) -> bool: 128 async def run_config(product: Product, rbc_product: bool, out_dir: str) -> bool: 147 async def has_diffs(success: bool, file_pairs: List[Tuple[str]], results_folder: str) -> bool: 339 def str_to_product(p: str) -> Product:
|
| /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/orchestrator/core/ |
| D | build_file_generator.py | 54 def __init__(self, name: str, axis: str): 119 def __init__(self, name: str, module_type: str): 128 def add_property(self, prop: str, val: object, axis=ConfigAxis.NoConfig): 143 prop: str, 170 def __init__(self, comment: str): 173 def _add_comment_token(self, raw: str) -> str: 195 def __init__(self, directory: str): 207 def add_comment_string(self, comment: str): 211 def add_license(self, lic: str) -> None: 340 def clean(self, staging_dir: str):
|
| /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/orchestrator/core/java/ |
| D | api_assembly.py | 37 surface_name: str, 38 surface_version: str) -> AndroidBpModule:
|