Home
last modified time | relevance | path

Searched defs:Path (Results 1 – 25 of 34) sorted by relevance

12

/system/extras/simpleperf/scripts/
Dbinary_cache_builder.py42 def __init__(self, binary_dir: Path):
76 def read_build_id(self, path: Path):
101 def check_and_pull_binary(self, path: str, expected_build_id: str, binary_cache_file: Path):
123 def pull_file_from_device(self, device_path: str, host_path: Path) -> bool:
135 def pull_kernel_symbols(self, file_path: Path):
146 def __init__(self, readelf: ReadElf, lib_dirs: List[Path]):
180 def is_platform_symbols_dir(self, lib_dir: Path):
185 def search_platform_symbols_dir(self, lib_dir: Path):
201 def search_dir(self, lib_dir: Path):
224 self, from_path: Path, expected_build_id: str, device_path: str):
[all …]
Dsimpleperf_utils.py407 def remove(dir_or_file: Union[Path, str]):
433 def __init__(self, binary_cache_dir: Optional[Union[Path, str]], readelf: ReadElf):
473 def _check_path(self, path: Path, expected_build_id: Optional[str]) -> bool:
592 def _check_debug_line_section(self, real_path: Path) -> bool:
595 def _get_addr_step(self, real_path: Path) -> int:
604 self, dso: Addr2Nearestline.Dso, real_path: Path, addr_shifts: List[int]):
646 def _build_symbolizer_args(self, binary_path: Path) -> List[str]:
1022 def is_elf_file(path: Union[Path, str]) -> bool:
1028 def get_arch(self, elf_file_path: Union[Path, str]) -> str:
1048 def get_build_id(self, elf_file_path: Union[Path, str], with_padding=True) -> str:
[all …]
/system/extras/profcollectd/libprofcollectd/
Dtrace_provider.rs42 trace_dir: &Path, in trace_system()
49 trace_dir: &Path, in trace_process()
54 fn process(&self, trace_dir: &Path, profile_dir: &Path, binary_filter: &str) -> Result<()>; in process()
55 fn set_log_file(&self, filename: &Path); in set_log_file()
78 pub fn get_path(dir: &Path, tag: &str, ext: &str) -> Box<Path> { in get_path()
Dconfig.rs39 pub static TRACE_OUTPUT_DIR: LazyLock<&'static Path> = variable
41 pub static PROFILE_OUTPUT_DIR: LazyLock<&'static Path> = variable
43 pub static REPORT_OUTPUT_DIR: LazyLock<&'static Path> = variable
45 pub static CONFIG_FILE: LazyLock<&'static Path> = variable
47 pub static LOG_FILE: LazyLock<&'static Path> = variable
Dreport.rs39 profile: &Path, in pack_report()
40 report: &Path, in pack_report()
Dscheduler.rs155 fn check_space_limit(path: &Path, config: &Config) -> Result<bool> { in check_space_limit()
/system/core/libprocessgroup/profiles/
Dcgroups.json5 "Path": "/dev/blkio", string
12 "Path": "/dev/cpuctl", string
19 "Path": "/dev/cpuset", string
26 "Path": "/sys/fs/cgroup", string
33 "Path": "." string
37 "Path": ".", string
Dtask_profiles.json101 "Path": "background" string
140 "Path": "system" string
153 "Path": "system-background" string
166 "Path": "foreground" string
179 "Path": "foreground_window" string
192 "Path": "top-app" string
205 "Path": "rt" string
231 "Path": "camera-daemon" string
244 "Path": "nnapi-hal" string
257 "Path": "dex2oat" string
[all …]
Dcgroups.recovery.json3 "Path": "/sys/fs/cgroup", string
/system/usb_info_tools/typec_connector_class_helper/src/
Dtypec_class_utils.rs118 dir_path: &Path, in get_sorted_paths_from_dir()
168 pub fn print_identity<W: Write>(dev_path: &Path, out_writer: &mut OutputWriter<W>) -> Result<()> { in print_identity()
203 partner_path: &Path, in print_partner_identity()
263 pub fn get_partner_product_type(partner_dir: &Path, pd_rev: PdRev) -> ProductType { in get_partner_product_type()
336 vdo_path: &Path, in print_vdo()
364 pub fn print_alt_mode<W: Write>(alt_mode_dir_path: &Path, out_writer: &mut OutputWriter<W>) { in print_alt_mode()
385 pub fn print_pdo_capabilities<W: Write>(capabilities: &Path, out_writer: &mut OutputWriter<W>) { in print_pdo_capabilities()
402 pub fn print_pdos<W: Write>(pdo_dir_path: &Path, out_writer: &mut OutputWriter<W>) { in print_pdos()
421 pub fn print_partner<W: Write>(port_path: &Path, out_writer: &mut OutputWriter<W>) -> Result<()> { in print_partner()
493 pub fn print_cable_identity<W: Write>(cable: &Path, out_writer: &mut OutputWriter<W>) { in print_cable_identity()
[all …]
/system/update_engine/scripts/
Dota_stress_test.py37 def PerformOTAThenPause(otafile: Path, update_device_script: Path):
58 def PerformTest(otafile: Path, resumes: int, timeout: int):
/system/extras/profcollectd/libprofcollectd/trace_provider/
Dlogging.rs41 trace_dir: &Path, in trace_system()
58 trace_dir: &Path, in trace_process()
74 fn process(&self, _trace_dir: &Path, _profile_dir: &Path, _binary_filter: &str) -> Result<()> { in process()
79 fn set_log_file(&self, _filename: &Path) {} in set_log_file()
Dsimpleperf_etm.rs43 trace_dir: &Path, in trace_system()
73 trace_dir: &Path, in trace_process()
96 fn process(&self, trace_dir: &Path, profile_dir: &Path, binary_filter: &str) -> Result<()> { in process()
137 fn set_log_file(&self, filename: &Path) { in set_log_file()
Dsimpleperf_lbr.rs44 trace_dir: &Path, in trace_system()
80 trace_dir: &Path, in trace_process()
105 fn process(&self, trace_dir: &Path, profile_dir: &Path, binary_filter: &str) -> Result<()> { in process()
145 fn set_log_file(&self, filename: &Path) { in set_log_file()
/system/testing/gtest_extras/gtestifier/
Dgtestifier.py41 def rewrite_test_src(in_path: Path, out_path: Path, suite_name: str,
59 def path_to_test_name(in_path: Path, test_name_prefix: str):
/system/core/init/libprefetch/prefetch/src/arch/
Dandroid.rs39 pub fn can_perform_replay(pack_path: &Path, fingerprint_path: &Path) -> Result<bool, Error> { in can_perform_replay()
63 ready_path: &Path, in ensure_record_is_ready()
64 pack_path: &Path, in ensure_record_is_ready()
65 fingerprint_path: &Path, in ensure_record_is_ready()
/system/tools/aidl/build/
Daidl_api.go148 func wrapWithDiffCheckIfElse(conditionFile android.Path, rb *android.RuleBuilder, writer func(*andr…
157 func wrapWithDiffCheckIf(conditionFile android.Path, rb *android.RuleBuilder, writer func(*android.…
171 hasDevelopment android.Path,
274 hasDevelopment android.Path,
371 ….ModuleContext, oldDump, newDump apiDump, checkApiLevel string, messageFile android.Path) android.…
/system/memory/mmd/src/zram/
Dsetup.rs51 file_path: &Path, in attach_loop_device()
79 file_path: &Path, in attach_loop_device()
153 file_path: &Path, in create_zram_writeback_device()
/system/memory/mmd/src/
Dblock_dev.rs62 file_path: &Path, in configure_block_device_queue_depth_with_sysfs()
80 fn find_backing_block_device(file_path: &Path, sysfs_path: &str) -> Result<String> { in find_backing_block_device()
95 fn get_block_device_name(file_path: &Path, sysfs_path: &str) -> Result<String> { in get_block_device_name()
/system/extras/simpleperf/rust/
Dlib.rs66 pub fn set_log_file(filename: &Path) { in set_log_file()
/system/core/init/libprefetch/prefetch/src/tracer/
Dmod.rs72 fn open_and_write(path: &Path, value: &str) -> Result<(), Error> { in open_and_write()
662 base: &Path, in copy_uncached_files_and_record_from()
709 fn mem_generate_trace_line_for_open(path: &Path, time: u16, _op: Option<&str>) -> Vec<String> { in mem_generate_trace_line_for_open()
803 path: &Path, in generate_trace_line_for_open()
852 base_dir: &Path, in create_tracer()
/system/core/trusty/libtrusty-rs/src/
Dlib.rs189 fn connect_tipc(device: impl AsRef<Path>, service: &str) -> Result<Self> { in connect_tipc()
/system/tools/hidl/build/
Dhidl_package_root.go36 Path *string member
/system/cros-codecs/examples/ccdec/
Dutil.rs85 pub fn decide_output_file_name<'a>(output: &'a Path, index: i32) -> PathBuf { in decide_output_file_name()
/system/cros-codecs/test/
Dccdec_test.rs79 test_file_path: &Path, in get_cros_codecs_decode_args()

12