Home
last modified time | relevance | path

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

12345678

/system/libvintf/analyze_matrix/
Dhals_for_release.py112 def Analyze(analyze_matrix: str, file: str, args: Sequence[str],
133 def GetLevel(analyze_matrix: str, file: str) -> Optional[int]:
152 def GetLevelName(analyze_matrix: str, file: str) -> str:
164 def __init__(self, level: str, level_name: str, instances: Sequence[str]):
203 def GetHalFormat(instance: str) -> HalFormat:
228 def SplitInstance(instance: str) -> tuple[str, str, str]:
260 def GetPackage(instance: str) -> str:
276 def GetPackageAndHidlVersion(instance: str) -> str:
306 def KeyOnPackage(instances: Sequence[str]) -> dict[str, list[str]]:
363 def DescribePackage(self, deprecated: Sequence[str], unchanged: Sequence[str],
[all …]
/system/extras/simpleperf/scripts/
Dsimpleperf_utils.py60 def str_to_bytes(str_value: str) -> bytes:
72 def get_target_binary_path(arch: str, binary_name: str) -> str:
84 def get_host_binary_path(binary_name: str) -> str:
105 def is_executable_available(executable: str, option='--help') -> bool:
153 def find_ndk_and_sdk_paths(cls, ndk_path: Optional[str] = None
186 def find_sdk_path(cls, ndk_path: str) -> Optional[str]:
195 def _get_binutils_path_in_ndk(cls, toolname: str, arch: Optional[str], platform: str
213 def find_tool_path(cls, toolname: str, ndk_path: Optional[str] = None,
214 arch: Optional[str] = None) -> Optional[str]:
282 def run(self, adb_args: List[str], log_output: bool = False, log_stderr: bool = False) -> bool:
[all …]
Dbinary_cache_builder.py45 def get_path_in_cache(self, device_path: str, build_id: str) -> Path:
71 def collect_binaries(self, binaries: Dict[str, str], binary_cache: BinaryCache): argument
88 def collect_binaries(self, binaries: Dict[str, str], binary_cache: BinaryCache): argument
95 def collect_binary(self, path: str, build_id: str, binary_cache: BinaryCache):
102 def check_and_pull_binary(self, path: str, expected_build_id: str, binary_cache_file: Path):
119 def pull_file_from_device(self, device_path: str, host_path: Path):
150 def collect_binaries(self, binaries: Dict[str, str], binary_cache: BinaryCache): argument
162 def create_filename_map(self, binaries: Dict[str, str]): argument
170 def create_build_id_map(self, binaries: Dict[str, str]): argument
221 self, from_path: Path, expected_build_id: str, device_path: str):
[all …]
Dstackcollapse.py37 record_file: str,
38 symfs_dir: str,
39 kallsyms_file: str,
40 event_filter: str,
Dreport_sample.py28 record_file: str,
29 symfs_dir: str,
30 kallsyms_file: str,
Dgecko_profile_generator.py135 def is_complete_stack(stack: List[str]) -> bool:
184 def _intern_string(self, string: str) -> int:
194 def _intern_frame(self, frame_str: str) -> int:
234 def add_sample(self, comm: str, stack: List[str], time_ms: Milliseconds) -> None:
378 record_file: str,
379 symfs_dir: Optional[str],
380 kallsyms_file: Optional[str],
Dreport_html.py41 def __init__(self, output_path: Union[Path, str]): argument
48 def open_tag(self, tag: str, **attrs: Dict[str, str]) -> HtmlWriter: argument
56 def close_tag(self, tag: Optional[str] = None):
61 def add(self, text: str) -> HtmlWriter:
65 def add_file(self, file_path: Union[Path, str]) -> HtmlWriter: argument
72 def modify_text_for_html(text: str) -> str:
84 def __init__(self, name: str):
127 def get_thread(self, tid: int, thread_name: str) -> ThreadScope:
425 def get_lib_id(self, lib_name: str) -> Optional[int]:
428 def add_lib(self, lib_name: str, build_id: str) -> int:
[all …]
Dsimpleperf_report_lib.py39 def _char_pt(s: str) -> bytes:
47 def _check(cond: bool, failmsg: str):
243 def __init__(self, native_lib_path: Optional[str] = None):
317 def SetLogSeverity(self, log_level: str = 'info'):
322 def SetSymfs(self, symfs_dir: str):
327 def SetRecordFile(self, record_file: str):
350 def AddProguardMappingFile(self, mapping_file: Union[str, Path]):
355 def SetKallsymsFile(self, kallsym_file: str):
375 def SetTraceOffCpuMode(self, mode: str):
382 def SetSampleFilter(self, filters: List[str]):
[all …]
/system/extras/perf2cfg/perf2cfg/
Dparse.py23 def build_flags(flags: Iterable[str]) -> str:
43 def build_name(name: str) -> str:
55 def parse_address(line: str) -> int:
80 def parse_flags(line: str) -> List[str]:
107 def parse_name(line: str) -> str:
Danalyze.py57 def record_sample(self, event_name: str, event_count: int) -> None:
78 def __init__(self, name: str) -> None:
89 def record_sample(self, relative_addr: int, event_name: str,
128 def __init__(self, event_names: Optional[Iterable[str]] = None) -> None:
146 def analyze(self, filename: str) -> None:
194 def record_sample(self, method_name: str, relative_addr: int,
195 event_name: str, event_count: int) -> None:
Dedit.py103 primary_event: str = 'cpu-cycles') -> None:
163 def parse_line(self, line: str) -> None:
271 def set_isa(self, metadata: str) -> None:
306 def update_current_method(self, method_name: str) -> None:
341 def update_saved_flags(self, line: str) -> None:
384 def annotate_instruction(self, line: str) -> None:
444 def generate_padded_instruction_annotation(self, event_name: str,
467 def generate_method_annotation(self, event_name: str,
487 def generate_block_annotation(self, event_name: str,
507 def generate_instruction_annotation(self, event_name: str,
[all …]
/system/extras/simpleperf/scripts/test/
Dtest_utils.py42 cls, test_dir: str, testdata_dir: str, use_browser: bool, ndk_path: Optional[str],
43 device_serial_number: Optional[str],
73 def log(cls, s: str):
79 def testdata_path(cls, testdata_name: str) -> str:
84 def get_test_dir(cls, test_name: str) -> Path:
89 def script_path(cls, script_name: str) -> str:
119 def write_progress(cls, progress: str):
162 def run_cmd(self, args: List[str], return_output=False, drop_output=True) -> str:
194 def check_strings_in_file(self, filename, strings: List[Union[str, re.Pattern]]):
205 def check_strings_in_content(self, content: str, strings: List[Union[str, re.Pattern]]):
Ddo_test.py96 def filter_fn(test: str) -> bool:
102 tests: List[str],
103 test_from: Optional[str],
104 test_pattern: Optional[List[str]]) -> List[str]:
118 def get_test_type(test: str) -> Optional[str]:
177 def run_tests(tests: List[str]) -> bool:
185 def test_process_entry(tests: List[str], test_options: List[str], conn: mp.connection.Connection):
226 self, test_type: str, tests: List[str],
229 test_options: List[str]):
289 def _process_msg(self, msg: str):
[all …]
Dgecko_profile_generator_test.py27 def run_generator(self, testdata_file: str, options: Optional[List[str]] = None) -> str:
34 def generate_profile(self, testdata_file: str, options: Optional[List[str]] = None) -> Dict:
67 def get_threads_for_filter(filter: str) -> Set[int]:
109 def get_sample_count(options: Optional[List[str]] = None) -> int:
Dreport_html_test.py86 def get_record_data(self, options: List[str]) -> Dict[str, Any]:
90 def get_record_data_string(self, options: List[str]) -> str:
216 def get_threads_for_filter(filter: str) -> Set[int]:
259 def get_thread_names(aggregate_threads_option: Optional[List[str]]) -> Dict[str, int]:
/system/apex/tools/
Dapexer_with_trim_preprocessing.py51 def TrimNativeSharedLibs(image_dir: str, canned_fs_config: str,
52 manifest: str, libs_to_trim: list[str]):
Dapexer_with_DCLA_preprocessing_test.py50 def run_command(cmd: List[str]) -> None:
75 def get_host_tool(tool_name: str) -> str:
94 def get_digest(file_path: str) -> str:
125 def expand_apex(self, apex_file: str) -> None:
147 def unzip_host_tools(self, host_tools_file_path: str) -> None:
Dapexer_wrapper_utils.py6 def RunCommand(cmd: list[str]) -> None:
20 def GetDigest(file_path: str) -> str:
Dapexer_with_DCLA_preprocessing.py43 def PlaceDCLANativeSharedLibs(image_dir: str, canned_fs_config: str) -> str:
/system/tools/xsdc/tests/src/com/android/xsdc/tests/
DXmlParserTest.java41 try (InputStream str = this.getClass().getClassLoader().getResourceAsStream( in testPurchaseSimple()
56 try (InputStream str = this.getClass().getClassLoader().getResourceAsStream( in testPurchaseSimple()
74 try (InputStream str = this.getClass().getClassLoader().getResourceAsStream( in testNestedType()
87 try (InputStream str = this.getClass().getClassLoader().getResourceAsStream( in testSimpleComplexContent()
98 try (InputStream str = this.getClass().getClassLoader().getResourceAsStream( in testSimpleComplexContent()
117 try (InputStream str = this.getClass().getClassLoader().getResourceAsStream( in testPredefinedTypes()
209 try (InputStream str = this.getClass().getClassLoader().getResourceAsStream( in testPredefinedTypes()
227 try (InputStream str = this.getClass().getClassLoader().getResourceAsStream( in testSimpleType()
236 try (InputStream str = this.getClass().getClassLoader().getResourceAsStream( in testSimpleType()
253 try (InputStream str = this.getClass().getClassLoader().getResourceAsStream( in testSimpleTypeRoot()
[all …]
/system/extras/profcollectd/libprofcollectd/bindings/libflags/
Dlib.rs33 experiment_category_name: &str, in GetServerConfigurableFlag()
34 experiment_flag_name: &str, in GetServerConfigurableFlag()
35 default_value: &str, in GetServerConfigurableFlag()
/system/sepolicy/tests/
Dapex_sepolicy_tests.py71 def match_path(path: str, matcher: Matcher) -> bool:
82 def check_rule(pol, path: str, tcontext: str, rule: Rule) -> List[str]:
111 def check_line(pol: policy.Policy, line: str) -> List[str]:
/system/extras/profcollectd/libprofcollectd/
Dtrace_provider.rs31 fn get_name(&self) -> &'static str; in get_name()
33 fn trace(&self, trace_dir: &Path, tag: &str, sampling_period: &Duration, binary_filter: &str); in trace()
54 pub fn get_path(dir: &Path, tag: &str, ext: &str) -> Box<Path> { in get_path()
/system/security/keystore2/src/vintf/
Dlib.rs25 package: &str, in get_hidl_instances()
28 interface_name: &str, in get_hidl_instances()
/system/tools/aidl/
Dcode_writer_unittest.cpp30 string str; in TEST() local
39 string str; in TEST() local
51 std::string str; in TEST() local

12345678