Home
last modified time | relevance | path

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

12

/development/scripts/
Dlldbclient.py42 def read_toolchain_config(root: str) -> str:
50 def get_lldb_path(toolchain_path: str) -> str | None:
58 def get_lldb_server_path(root: str, clang_base: str, clang_version: str, arch: str) -> str:
142 def get_device_dir_exists(device: adb.AndroidDevice, dir: str) -> bool:
147 def get_remote_pid(device: adb.AndroidDevice, process_name: str) -> int:
161 def make_temp_dir(prefix: str) -> str:
168 def ensure_linker(device: adb.AndroidDevice, sysroot: str, interp: str | None) -> str | None:
219 def handle_switches(args, sysroot: str) -> tuple[BinaryIO, int | None, str | None]:
272 def merge_launch_dict(base: dict[str, Any], to_add: dict[str, Any] | None) -> None:
314 …e_vscode_lldb_script(root: str, sysroot: str, binary_name: str, port: str | int, solib_search_path…
[all …]
Dgdbclient.py42 def read_toolchain_config(root: str) -> str:
50 def get_lldb_path(toolchain_path: str) -> str | None:
58 def get_lldb_server_path(root: str, clang_base: str, clang_version: str, arch: str) -> str:
142 def get_device_dir_exists(device: adb.AndroidDevice, dir: str) -> bool:
147 def get_remote_pid(device: adb.AndroidDevice, process_name: str) -> int:
161 def make_temp_dir(prefix: str) -> str:
168 def ensure_linker(device: adb.AndroidDevice, sysroot: str, interp: str | None) -> str | None:
219 def handle_switches(args, sysroot: str) -> tuple[BinaryIO, int | None, str | None]:
272 def merge_launch_dict(base: dict[str, Any], to_add: dict[str, Any] | None) -> None:
314 …e_vscode_lldb_script(root: str, sysroot: str, binary_name: str, port: str | int, solib_search_path…
[all …]
Dgdbclient_test.py27 …def merge_compare(self, base: dict[str, Any], to_add: dict[str, Any] | None, expected: dict[str, A…
/development/python-packages/fetchartifact/fetchartifact/
D__init__.py33 target: str,
34 build_id: str,
35 artifact_name: str,
36 query_url_base: str,
58 target: str,
59 build_id: str,
60 artifact_name: str,
62 query_url_base: str = _DEFAULT_QUERY_URL_BASE,
86 target: str,
87 build_id: str,
[all …]
/development/python-packages/adb/adb/
D__init__.py32 def __init__(self, serial: str) -> None:
45 self, cmd: list[str], stdout: str, stderr: str, exit_code: int
55 def get_devices(adb_path: str = 'adb') -> list[str]:
77 product: str | None = None, adb_path: str = 'adb'
86 serial: str, product: str | None = None, adb_path: str = 'adb'
95 serial: str | None = None, product: str | None = None, adb_path: str = 'adb'
127 def _get_device_by_type(flag: str, adb_path: str) -> AndroidDevice:
141 def get_usb_device(adb_path: str = 'adb') -> AndroidDevice:
154 def get_emulator_device(adb_path: str = 'adb') -> AndroidDevice:
167 def split_lines(s: str) -> list[str]:
[all …]
/development/tools/compare_cts_reports/
Dgenerate_spread_sheet.py87 def _read_csv(csv_path: str) -> Tuple[List[str], List[List[str]]]:
107 new_sheet_name: str, credentials_dir: str
128 begin_row: int, begin_column: str, num_rows: int, num_columns: int
147 sheet: gspread.Worksheet, report_names: List[str]
163 sheet: gspread.Worksheet, compare_results: List[List[str]], start_row: int
/development/tools/ndk/ndkabidump/
Dsoong.py39 args: list[str],
40 env: dict[str, str] | None = None,
85 def get_make_var(self, name: str) -> str:
101 def build(self, targets: list[str], env: dict[str, str] | None = None) -> None:
D__init__.py105 def resolved_path(path: str) -> Path:
/development/tools/winscope/src/adb/
Dwinscope_proxy.py183 def __init__(self, files, trace_start: str, trace_stop: str) -> None:
426 def add(self, config: str) -> None:
429 def is_valid(self, config: str) -> bool:
546 def __init__(self, files, dump_command: str) -> None:
680 def register_endpoint(self, method: RequestType, name: str, endpoint: RequestEndpoint):
683 def __bad_request(self, error: str):
688 def __internal_error(self, error: str):
718 def call_adb(params: str, device: str = None, stdin: bytes = None):
735 def call_adb_outfile(params: str, outfile, device: str = None, stdin: bytes = None):
1185 def respond(self, code: int, data: bytes, mime: str) -> None:
/development/tools/external_crates/crate_health/src/
Dreports.rs26 static SIZE_REPORT_TEMPLATE: &'static str = include_str!("templates/size_report.html.template"); variable
27 static TABLE_TEMPLATE: &'static str = include_str!("templates/table.html.template"); variable
29 static CRATE_HEALTH_REPORT_TEMPLATE: &'static str = variable
31 static MIGRATION_REPORT_TEMPLATE: &'static str = variable
284 pub fn prefer_yes(p: bool) -> &'static str { in prefer_yes()
298 pub fn prefer_no(p: bool) -> &'static str { in prefer_no()
Dname_and_version.rs30 fn name(&self) -> &str; in name()
58 pub fn try_from_str(name: &str, version: &str) -> Result<Self> { in try_from_str()
64 fn name(&self) -> &str { in name()
77 pub fn new(name: &'a str, version: &'a Version) -> Self { in new()
83 fn name(&self) -> &str { in name()
Dmigration.rs29 static CUSTOMIZATIONS: &'static [&'static str] = variable
32 static SYMLINKS: &'static [&'static str] = &["LICENSE", "NOTICE"]; variable
Dname_and_version_map.rs36 name: &'b str, in get_versions()
40 name: &'b str, in get_versions_mut()
95 name: &'b str, in get_versions()
108 name: &'b str, in get_versions_mut()
172 nvs: impl IntoIterator<Item = (&'a str, &'a str, ValueType)>, in try_name_version_map_from_iter()
Dcrate_type.rs47 fn name(&self) -> &str { in name()
144 const NOT_CRATES_IO: &'static [&'static str] = &[ in is_crates_io() variable
154 const MIGRATION_DENYLIST: &'static [&'static str] = &[ in is_migration_denied() variable
297 fn write_test_manifest(temp_crate_dir: &Path, name: &str, version: &str) -> Result<PathBuf> { in write_test_manifest()
Dmain.rs60 static IGNORED_FILES: &'static [&'static str] = &[ variable
/development/samples/ApiDemos/src/com/example/android/apis/content/
DStyledText.java46 CharSequence str = getText(R.string.styled_text); in onCreate() local
DResourcesSample.java51 String str; in onCreate() local
/development/tools/cargo_embargo/src/
Dbp.rs76 pub fn get_string(&self, k: &str) -> &str { in get_string()
83 pub fn set<T: Into<BpValue>>(&mut self, k: &str, v: T) { in set()
87 pub fn set_if_nonempty<T: Into<BpValue>>(&mut self, k: &str, v: Vec<T>) { in set_if_nonempty()
Dmain.rs108 module_name: &str, in override_module_name()
111 rename_map: &BTreeMap<&str, &str>, in override_module_name()
597 package_name: &str, in write_build_files()
686 package_name: &str, in generate_android_bp()
750 package_name: &str, in generate_rules_mk()
810 bp_contents: &str, in write_format_android_bp()
Dconfig.rs70 ignored_fields: &[&str], in add_defaults_to_variant()
81 const FIELD_NAMES: [&'static str; 1] = ["package"]; variable
383 const FIELD_NAMES: [&'static str; 3] = ["add_toplevel_block", "patch", "rulesmk_patch"]; variable
/development/tools/bugreport/src/com/android/bugreport/util/
DUtils.java71 final String str = matcher.group(group); in getInt() local
/development/samples/ApiDemos/src/com/example/android/apis/os/
DMorseCodeConverter.java90 static long[] pattern(String str) { in pattern()
/development/apps/Development/src/com/android/development/
DDataList.java91 String str = mCursor.getString(i); in onListItemClick() local
DDetails.java95 TextView makeView(String str, boolean bold, int fontSize) in makeView()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DRegions.java62 private void drawRgn(Canvas canvas, int color, String str, Region.Op op) { in drawRgn()

12