/system/media/camera/docs/ |
D | metadata_model.py | 53 def __init__(self): argument 58 def parent(self): argument 62 def name(self): argument 65 def find_all(self, pred): argument 86 def find_first(self, pred): argument 101 def find_parent_first(self, pred): argument 116 def find_parents(self, pred): argument 134 def sort_children(self): argument 140 def _sort_by_name(self, what): argument 143 def _get_name(self): argument [all …]
|
/system/extras/simpleperf/scripts/ |
D | app_profiler.py | 44 def __init__(self, path, name, score): argument 49 def __repr__(self): argument 52 def __str__(self): argument 64 def __init__(self, ndk_path, device_arch, adb): argument 77 def _get_need_archs(self): argument 89 def collect_native_libs_on_host(self, native_lib_dir): argument 97 def add_native_lib_on_host(self, path, name): argument 130 def collect_native_libs_on_device(self): argument 153 def sync_native_libs_on_device(self): argument 194 def __init__(self, args): argument [all …]
|
D | simpleperf_report_lib.py | 76 def thread_comm(self) -> str: argument 80 def in_kernel(self) -> bool: argument 103 def name(self) -> str: argument 106 def parse_value(self, data: ct.c_char_p) -> Union[str, bytes, List[bytes]]: argument 165 def name(self) -> str: argument 197 def dso_name(self) -> str: argument 201 def symbol_name(self) -> str: argument 243 def __init__(self, native_lib_path: Optional[str] = None): argument 288 def _get_native_lib(self) -> str: argument 291 def _load_dependent_lib(self): argument [all …]
|
D | report_html.py | 41 def __init__(self, output_path: Union[Path, str]): argument 45 def close(self): argument 48 def open_tag(self, tag: str, **attrs: Dict[str, str]) -> HtmlWriter: argument 56 def close_tag(self, tag: Optional[str] = None): argument 61 def add(self, text: str) -> HtmlWriter: argument 65 def add_file(self, file_path: Union[Path, str]) -> HtmlWriter: argument 84 def __init__(self, name: str): argument 90 def get_process(self, pid: int) -> ProcessScope: argument 96 def get_sample_info(self, gen_addr_hit_map: bool) -> Dict[str, Any]: argument 106 def threads(self) -> Iterator[ThreadScope]: argument [all …]
|
D | debug_unwind_reporter.py | 46 def __init__(self): argument 54 def __init__(self, raw_lines: List[str]): argument 61 def parse(self): argument 75 def _get_callchain_node(self, callchain_id: int) -> CallChainNode: argument 83 def match(self, sample: Sample) -> bool: argument 88 def match(self, sample: Sample) -> bool: argument 96 def __init__(self, error_code: List[int]): argument 99 def match(self, sample: Sample) -> bool: argument 104 def __init__(self, end_dso: List[str]): argument 107 def match(self, sample: Sample) -> bool: argument [all …]
|
D | annotate.py | 35 def __init__(self, file_id, function, line): argument 41 def file_key(self): argument 45 def function_key(self): argument 49 def line_key(self): argument 57 def __init__(self, ndk_path, binary_cache_path, source_dirs): argument 62 def add_addr(self, dso_path: str, build_id: str, func_addr: int, addr: int): argument 65 def convert_addrs_to_lines(self): argument 68 def get_sources(self, dso_path, addr): argument 94 def __init__(self, period=0, acc_period=0): argument 98 def __iadd__(self, other): argument [all …]
|
D | pprof_proto_generator.py | 65 def __init__(self, profile): argument 69 def show(self): argument 108 def show_value_type(self, value_type, space=''): argument 113 def show_sample(self, sample, space=''): argument 124 def show_location_id(self, location_id, space=''): argument 128 def show_location(self, location, space=''): argument 138 def show_mapping_id(self, mapping_id, space=''): argument 142 def show_mapping(self, mapping, space=''): argument 156 def show_line(self, line, space=''): argument 162 def show_function_id(self, function_id, space=''): argument [all …]
|
D | api_profiler.py | 41 def __init__(self, args: Namespace): argument 45 def prepare_recording(self): argument 50 def enable_profiling_on_device(self): argument 59 def upload_simpleperf_to_device(self): argument 65 def run_simpleperf_prepare_cmd(self): argument 71 def collect_data(self): argument 77 def download_recording_data(self): argument 85 def unzip_recording_data(self): argument
|
/system/extras/simpleperf/scripts/test/ |
D | pprof_proto_generator_test.py | 31 def run_generator(self, options=None, testdata_file='perf_with_interpreter_frames.data'): argument 37 def generate_profile(self, options: Optional[List[str]], testdata_files: List[str]): argument 43 def test_show_art_frames(self): argument 50 def test_pid_filter(self): argument 57 def test_thread_labels(self): argument 67 def test_tid_filter(self): argument 81 def test_comm_filter(self): argument 95 def test_build_id(self): argument 99 def test_build_id_with_binary_cache(self): argument 112 def test_location_address(self): argument [all …]
|
D | report_lib_test.py | 26 def setUp(self): argument 30 def tearDown(self): argument 34 def test_build_id(self): argument 39 def test_symbol(self): argument 50 def test_sample(self): argument 68 def test_meta_info(self): argument 77 def test_event_name_from_meta_info(self): argument 85 def test_record_cmd(self): argument 94 def test_offcpu(self): argument 114 def test_show_art_frames(self): argument [all …]
|
D | java_app_test.py | 35 def test_app_profiler(self): argument 38 def test_app_profiler_profile_from_launch(self): argument 45 def test_app_profiler_multiprocesses(self): argument 55 def test_app_profiler_with_ctrl_c(self): argument 70 def test_app_profiler_stop_after_app_exit(self): argument 82 def test_app_profiler_with_ndk_path(self): argument 87 def test_report(self): argument 94 def test_profile_with_process_id(self): argument 105 def test_annotate(self): argument 118 def test_report_sample(self): argument [all …]
|
D | app_profiler_test.py | 25 def setUp(self): argument 29 def test_profile_cmd(self): argument 33 def test_profile_native_program(self): argument 41 def test_profile_pids(self): argument 51 def test_profile_system_wide(self): argument 58 def setUp(self): argument 64 def tearDown(self): argument 68 def list_lib_on_device(self, path): argument 72 def test_smoke(self): argument 110 def test_handle_wrong_build_id_list(self): argument [all …]
|
D | report_html_test.py | 28 def test_long_callchain(self): argument 32 def test_aggregated_by_thread_name(self): argument 60 def test_no_empty_process(self): argument 73 def test_proguard_mapping_file(self): argument 86 def get_record_data(self, options: List[str]) -> Dict[str, Any]: argument 90 def get_record_data_string(self, options: List[str]) -> str: argument 108 def test_add_source_code(self): argument 148 def test_add_disassembly(self): argument 189 def test_trace_offcpu(self): argument 215 def test_sample_filters(self): argument [all …]
|
D | app_test.py | 63 def setUp(self): argument 82 def run(self, result=None): argument 86 def run_app_profiler(self, record_arg="-g --duration 10", build_binary_cache=True, argument 103 def check_file_under_dir(self, dirname, filename): argument 112 self, summary_file: str, check_entries: List[Tuple[str, float, float]]): argument 134 def check_inferno_report_html(self, check_entries, filename="report.html"): argument 150 def common_test_app_profiler(self): argument 165 def common_test_report(self): argument 172 def common_test_annotate(self): argument 178 def common_test_report_sample(self, check_strings): argument [all …]
|
D | stackcollapse_test.py | 28 def get_report(self, testdata_file: str, options: Optional[List[str]] = None) -> str: argument 35 def test_jit_annotations(self): argument 40 def test_kernel_annotations(self): argument 45 def test_with_pid(self): argument 50 def test_with_tid(self): argument 55 def test_two_event_types_chooses_first(self): argument 60 def test_two_event_types_chooses_with_event_filter(self): argument 65 def test_unknown_symbol_addrs(self): argument 70 def test_sample_filters(self): argument 100 def test_show_art_frames(self): argument
|
D | do_test.py | 211 def __str__(self) -> str: argument 227 self, test_type: str, tests: List[str], argument 243 def _start_test_process(self): argument 256 def name(self) -> str: argument 264 def test_dir(self) -> Path: argument 269 def alive(self) -> bool: argument 274 def finished(self) -> bool: argument 278 def check_update(self): argument 290 def _process_msg(self, msg: str): argument 295 def join(self): argument [all …]
|
/system/chre/chpp/api_parser/ |
D | chre_api_to_chpp.py | 61 def __init__(self, api, commit_hash): argument 76 def _autogen_notice(self): argument 86 def _dump_to_file(self, output_filename, contents, dry_run, skip_clang_fomat): argument 103 def _is_array_type(self, type_info): argument 108 def _get_array_len(self, type_info): argument 111 def _get_chpp_type_from_chre(self, chre_type): argument 126 def _get_chre_type_with_prefix(self, chre_type): argument 130 def _get_chpp_header_type_from_chre(self, chre_type): argument 134 def _get_member_comment(self, member_info): argument 143 def _get_member_type(self, member_info, underlying_vla_type=False): argument [all …]
|
/system/extras/perf2cfg/tests/ |
D | test_parse.py | 22 def test_build_flags_without_arguments(self): argument 26 def test_build_flags_with_arguments(self): argument 30 def test_build_name(self): argument 34 def test_parse_invalid_address_line(self): argument 40 def test_parse_valid_address_line(self): argument 44 def test_parse_flags_wrong_directive(self): argument 50 def test_parse_flags_without_arguments(self): argument 54 def test_parse_flags_with_arguments(self): argument 58 def test_parse_name_wrong_directive(self): argument 64 def test_parse_name_without_argument(self): argument [all …]
|
/system/tools/mkbootimg/tests/ |
D | mkbootimg_test.py | 73 def setUp(self): argument 87 def _test_legacy_boot_image_v4_signature(self, avbtool_path): argument 163 def test_legacy_boot_image_v4_signature_without_avbtool_path(self): argument 167 def test_legacy_boot_image_v4_signature_with_avbtool_path(self): argument 172 def test_legacy_boot_image_v4_signature_exceed_size(self): argument 207 def test_boot_image_v4_signature_empty(self): argument 240 def test_vendor_boot_v4(self): argument 313 def test_unpack_vendor_boot_image_v4(self): argument 373 def test_unpack_vendor_boot_image_v3(self): argument 417 def test_unpack_boot_image_v4(self): argument [all …]
|
/system/update_engine/scripts/update_payload/ |
D | format_utils_unittest.py | 32 def testHundredPercent(self): argument 35 def testOverHundredPercent(self): argument 38 def testWholePercent(self): argument 41 def testDefaultMinPrecision(self): argument 45 def testDefaultMaxPrecision(self): argument 49 def testCustomMinPrecision(self): argument 55 def testCustomMaxPrecision(self): argument 64 def testBaseTwo(self): argument 70 def testDecimal(self): argument 79 def testDefaultPrecision(self): argument [all …]
|
/system/update_engine/scripts/ |
D | payload_info_unittest.py | 48 def __init__(self, **kwargs): argument 61 def __init__(self, src_extents, dst_extents, op_type, **kwargs): argument 68 def HasField(self, field): argument 74 def __init__(self, start_block, num_blocks): argument 81 def __init__(self, size): argument 88 def __init__(self, partition_name, operations, old_size, new_size): argument 98 def __init__(self): argument 119 def HasField(self, field_name): argument 127 def __init__(self, manifest_len, metadata_signature_len): argument 133 def size(self): argument [all …]
|
/system/tools/aidl/tests/ |
D | aidl_integration_test.py | 34 def __init__(self, exit_status, stdout, stderr): argument 46 def printable_string(self): argument 61 def run(self, command, background=False, ignore_status=False): argument 80 def adb(self, command, ignore_status=False): argument 103 def __init__(self, host, bitness): argument 107 def cleanup(self): argument 109 def run(self): argument 113 def cleanup(self): argument 115 def run(self): argument 122 def __init__(self, host, bitness): argument [all …]
|
/system/extras/tests/bootloader/ |
D | bootctl.py | 16 def __init__(self, device): argument 20 def _exec(self, cmd): argument 23 def get_number_slots(self): argument 28 def get_current_slot(self): argument 33 def mark_boot_successful(self): argument 38 def set_active_boot_slot(self, slot): argument 43 def set_slot_as_unbootable_slot(self, slot): argument 48 def is_slot_bootable(self, slot): argument 53 def is_slot_marked_successful(self, slot): argument 58 def get_suffix(self, slot): argument
|
/system/extras/boottime_tools/bootanalyze/ |
D | bugreport_anayze.py | 70 def __init__(self): argument 77 def reset_events_time(self, delta): argument 93 def reset_shutdown_events_time(self): argument 104 def dump_dict(self, d): argument 108 def dump_crash(self, time, stack): argument 112 def dump(self): argument 137 def __init__(self, config_file, bugreport_file): argument 161 def match_an_event(self, event_patterns, line): argument 168 def get_event_time(self, line, is_kernel): argument 190 def queue_crash(self, event, crash_time, crash_stacks, is_native_crash): argument [all …]
|
/system/sepolicy/tests/ |
D | policy.py | 50 def __init__(self, rule): argument 69 def AssertPathTypesDoNotHaveAttr(self, MatchPrefix, DoNotMatchPrefix, Attr, ExcludedTypes = []): argument 88 def AssertGenfsFilesystemTypesHaveAttr(self, Filesystem, Attr): argument 105 def AssertPathTypesHaveAttr(self, MatchPrefix, DoNotMatchPrefix, Attr): argument 124 def AssertPropertyOwnersAreExclusive(self): argument 136 def QueryFc(self, Type): argument 144 def QueryTypeAttribute(self, Type, IsAttr): argument 164 def __TERuleMatch(self, Rule, **kwargs): argument 192 def ResolveTypeAttribute(self, Type): argument 216 def QueryTERule(self, **kwargs): argument [all …]
|