Home
last modified time | relevance | path

Searched defs:str (Results 1 – 25 of 51) sorted by relevance

123

/build/make/tools/
Dstub_diff_analyzer.py52 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 …]
Dgenerate_gts_shared_report.py53 def _check_gts_test(checkshare: str, gts_test_metalic: str,
54 gts_test_dir: str) -> tuple[str, set[str]]:
Dlist_files.py75 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/
Dninja_syntax.py58 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 …]
Dninja_writer.py26 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/
Dlibrary.py27 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]):
Dstub_generator.py31 def __init__(self, arch: str, version: str, api: str, version_map: str, additional_args=""):
69 work_dir: str) -> GenCcStubsOutput:
/build/bazel/scripts/difftool/
Daction_diff_notebook.py71 *, expr: str, config: str, mnemonic: str, additional_args: list[str] = []
78 def get_ninja_actions(*, lunch_target: str, target: str, mnemonic: str):
Dcommands.py152 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/
Dbp2build_progress.py60 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/
Dinner_build_soong.py112 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] = (),
Dinner_build_cf_vendor.py112 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] = (),
Dfind_api_packages.py47 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:
Dfinder.py25 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]:
Dtest_finder.py28 def _create_file(root: str, rel_dir_path: str, filename: str):
/build/bazel/scripts/incremental_build/
Dutil.py112 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:
Dperf_metrics.py73 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/
Dcreate_brick_ota.py44 def CreateBrickOta(product_name: str, output_path: Path, extra_wipe_partitions: str, serialno: str):
Dota_utils.py679 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/
Drbc_dashboard.py81 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/
DValue.java49 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/
Dbuild_file_generator.py54 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/
Dmicrotemplate.js6 this.tmpl = function tmpl(str, data){ argument
/build/pesto/experiments/prepare_bazel_test_env/
Dbazelenv.py62 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/
Dapi_assembly.py37 surface_name: str,
38 surface_version: str) -> AndroidBpModule:

123