| /system/libvintf/analyze_matrix/ | 
| D | hals_for_release.py | 112 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/ | 
| D | simpleperf_utils.py | 61 def str_to_bytes(str_value: str) -> bytes: 73 def get_target_binary_path(arch: str, binary_name: str) -> str: 85 def get_host_binary_path(binary_name: str) -> str: 106 def is_executable_available(executable: str, option='--help') -> bool: 154     def find_ndk_and_sdk_paths(cls, ndk_path: Optional[str] = None 187     def find_sdk_path(cls, ndk_path: str) -> Optional[str]: 196     def _get_binutils_path_in_ndk(cls, toolname: str, arch: Optional[str], platform: str 214     def find_tool_path(cls, toolname: str, ndk_path: Optional[str] = None, 215                        arch: Optional[str] = None) -> Optional[str]: 283     def run(self, adb_args: List[str], log_output: bool = False, log_stderr: bool = False) -> bool: [all …] 
 | 
| D | binary_cache_builder.py | 45     def get_path_in_cache(self, device_path: str, build_id: str) -> Path: 70     def collect_binaries(self, binaries: Dict[str, str], binary_cache: BinaryCache):  argument 87     def collect_binaries(self, binaries: Dict[str, str], binary_cache: BinaryCache):  argument 94     def collect_binary(self, path: str, build_id: str, binary_cache: BinaryCache): 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: 153     def collect_binaries(self, binaries: Dict[str, str], binary_cache: BinaryCache):  argument 165     def create_filename_map(self, binaries: Dict[str, str]):  argument 173     def create_build_id_map(self, binaries: Dict[str, str]):  argument 224             self, from_path: Path, expected_build_id: str, device_path: str): [all …] 
 | 
| D | report_html.py | 41     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: 249     def sort_call_graph_by_function_name(self, get_func_name: Callable[[int], str]) -> None:  argument 415     def sort_by_function_name(self, get_func_name: Callable[[int], str]) -> None:  argument [all …] 
 | 
| D | stackcollapse.py | 37         record_file: str, 38         symfs_dir: str, 39         kallsyms_file: str, 40         event_filter: str,
  | 
| D | sample_filter.py | 36     def __init__(self, record_file: str): 57 def show_time_range(record_file: str) -> None: 64         record_file: str, split_time_range: int, exclude_first_seconds: int, 65         exclude_last_seconds: int, output_file_prefix: str) -> None:
  | 
| D | simpleperf_report_lib.py | 41 def _char_pt(s: str) -> bytes: 49 def _check(cond: bool, failmsg: str): 303     def __init__(self, native_lib_path: Optional[str] = None): 389     def SetLogSeverity(self, log_level: str = 'info'): 394     def SetSymfs(self, symfs_dir: str): 399     def SetRecordFile(self, record_file: str): 411     def RemoveMethod(self, method_name_regex: str): 427     def AddProguardMappingFile(self, mapping_file: Union[str, Path]): 432     def SetKallsymsFile(self, kallsym_file: str): 452     def SetTraceOffCpuMode(self, mode: str): [all …] 
 | 
| D | report_fuchsia.py | 81     def switch_provider(self, name: str) -> None: 101     def encode_string(self, value: str) -> int: 122     def kernel_object(self, kobj_type: int, name: str, process: Optional[int] = None) -> int: 165     def duration(self, begin: bool, thread: int, category: Optional[str], 166                  name: Optional[str], timestamp: int) -> None: 236     def call(self, symbol: str, timestamp: Optional[int], front: bool = False) -> None: 260     def ret(self, symbol: str, timestamp: Optional[int]) -> None: 297                   name: str, excepted_return: Optional[int]) -> None: 320     def instr_range(self, timestamp: Optional[int], start: str, start_addr: int, 321                     end: str, _end_addr: int, isubtype: etm.InstrSubtype) -> None: [all …] 
 | 
| D | report_sample.py | 28         record_file: str, 29         symfs_dir: str, 30         kallsyms_file: str,
  | 
| /system/extras/simpleperf/scripts/test/ | 
| D | test_utils.py | 42             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]]):
  | 
| D | do_test.py | 98     def filter_fn(test: str) -> bool: 104         tests: List[str], 105         test_from: Optional[str], 106         test_pattern: Optional[List[str]]) -> List[str]: 120 def get_test_type(test: str) -> Optional[str]: 182 def run_tests(tests: List[str]) -> bool: 190 def test_process_entry(tests: List[str], test_options: List[str], conn: mp.connection.Connection): 231             self, test_type: str, tests: List[str], 234             test_options: List[str]): 294     def _process_msg(self, msg: str): [all …] 
 | 
| D | gecko_profile_generator_test.py | 28     def run_generator(self, testdata_file: str, options: Optional[List[str]] = None) -> str: 35     def generate_profile(self, testdata_file: str, options: Optional[List[str]] = None) -> Dict: 82         def get_threads_for_filter(filter: str) -> Set[int]: 124         def get_sample_count(options: Optional[List[str]] = None) -> int:
  | 
| /system/extras/perf2cfg/perf2cfg/ | 
| D | parse.py | 23 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:
  | 
| D | analyze.py | 57     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:
  | 
| D | edit.py | 103                  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/tools/xsdc/tests/src/com/android/xsdc/tests/ | 
| D | XmlParserTest.java | 41         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/apex/tools/ | 
| D | apexer_with_trim_preprocessing.py | 51 def TrimNativeSharedLibs(image_dir: str, canned_fs_config: str, 52                          manifest: str, libs_to_trim: list[str]):
  | 
| /system/testing/gtest_extras/gtestifier/ | 
| D | gtestifier.py | 41 def rewrite_test_src(in_path: Path, out_path: Path, suite_name: str, 42                      test_name: str, main_no_arguments: bool, predicate: str): 59 def path_to_test_name(in_path: Path, test_name_prefix: str):
  | 
| /system/libfmq/tests/ | 
| D | fmq_test.py | 54     def add_clients_and_servers(clients: list[str], servers: list[str], base: str): 71     def bitness(binary_path: str) -> str: 76     def short_name(binary_path: str) -> str:
  | 
| /system/extras/profcollectd/libprofcollectd/ | 
| D | trace_provider.rs | 38     fn get_name(&self) -> &'static str;  in get_name() 43         tag: &str,  in trace_system() 45         binary_filter: &str,  in trace_system() 50         tag: &str,  in trace_process() 52         processes: &str,  in trace_process() 78 pub fn get_path(dir: &Path, tag: &str, ext: &str) -> Box<Path> {  in get_path()
  | 
| /system/server_configurable_flags/libflags/ | 
| D | lib.rs | 33             experiment_category_name: &str,  in GetServerConfigurableFlag() 34             experiment_flag_name: &str,  in GetServerConfigurableFlag() 35             default_value: &str,  in GetServerConfigurableFlag()
  | 
| /system/extras/simpleperf/ | 
| D | event_table_generator.py | 133     def __init__(self, arch: str): 183     def __init__(self, arch: str): 199     def __init__(self, event_table_file: str): 269     def add_arm_guard(self, data: str) -> str: 272     def add_riscv_guard(self, data: str) -> str: 275     def add_x86_guard(self, data: str) -> str: 279 def gen_events(event_table_file: str):
  | 
| /system/extras/profcollectd/libprofcollectd/trace_provider/ | 
| D | logging.rs | 31     fn get_name(&self) -> &'static str {  in get_name() 42         tag: &str,  in trace_system() 44         _binary_filter: &str,  in trace_system() 59         tag: &str,  in trace_process() 61         processes: &str,  in trace_process()
  | 
| /system/tools/aidl/ | 
| D | code_writer.cpp | 36 std::string CodeWriter::ApplyIndent(const std::string& str) {  in ApplyIndent() 47 bool CodeWriter::WriteString(const std::string& str) {  in WriteString() 94 CodeWriter& CodeWriter::operator<<(const std::string& str) {  in operator <<() 132 std::string QuotedEscape(const std::string& str) {  in QuotedEscape() 150 std::string MultilineCommentEscape(const std::string& str) {  in MultilineCommentEscape()
  | 
| /system/security/keystore2/src/ | 
| D | watchdog_helper.rs | 34     pub fn watch_millis(id: &'static str, millis: u64) -> Option<WatchPoint> {  in watch_millis() 46         id: &'static str,  in watch_millis_with() 60     fn watch_millis(_: &'static str, _: u64) -> Option<WatchPoint> {  in watch_millis() 69         _: &'static str,  in watch_millis_with()
  |