Home
last modified time | relevance | path

Searched defs:self (Results 1 – 25 of 245) sorted by relevance

12345678910

/system/media/camera/docs/
Dmetadata_model.py53 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/
Dapp_profiler.py44 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 …]
Dsimpleperf_report_lib.py76 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
290 def _get_native_lib(self) -> str: argument
293 def _load_dependent_lib(self): argument
[all …]
Dreport_html.py41 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 …]
Ddebug_unwind_reporter.py46 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 …]
Dannotate.py35 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 …]
Dpprof_proto_generator.py66 def __init__(self, profile): argument
70 def show(self): argument
109 def show_value_type(self, value_type, space=''): argument
114 def show_sample(self, sample, space=''): argument
125 def show_location_id(self, location_id, space=''): argument
129 def show_location(self, location, space=''): argument
139 def show_mapping_id(self, mapping_id, space=''): argument
143 def show_mapping(self, mapping, space=''): argument
157 def show_line(self, line, space=''): argument
163 def show_function_id(self, function_id, space=''): argument
[all …]
/system/extras/simpleperf/scripts/test/
Dpprof_proto_generator_test.py31 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 …]
Dreport_lib_test.py26 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 …]
Djava_app_test.py36 def test_app_profiler(self): argument
39 def test_app_profiler_profile_from_launch(self): argument
46 def test_app_profiler_multiprocesses(self): argument
56 def test_app_profiler_with_ctrl_c(self): argument
73 def test_app_profiler_stop_after_app_exit(self): argument
87 def test_app_profiler_with_ndk_path(self): argument
92 def test_report(self): argument
99 def test_profile_with_process_id(self): argument
110 def test_annotate(self): argument
123 def test_report_sample(self): argument
[all …]
Dapp_profiler_test.py25 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 …]
Dreport_html_test.py28 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 …]
Dstackcollapse_test.py28 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
Ddo_test.py211 def __str__(self) -> str: argument
226 self, test_type: str, tests: List[str], argument
242 def _start_test_process(self): argument
255 def name(self) -> str: argument
263 def test_dir(self) -> Path: argument
268 def alive(self) -> bool: argument
273 def finished(self) -> bool: argument
277 def check_update(self): argument
289 def _process_msg(self, msg: str): argument
293 def join(self): argument
[all …]
Dapp_test.py63 def setUp(self): argument
85 def run(self, result=None): argument
89 def run_app_profiler(self, record_arg="-g --duration 10", build_binary_cache=True, argument
106 def check_file_under_dir(self, dirname, filename): argument
115 self, summary_file: str, check_entries: List[Tuple[str, float, float]]): argument
137 def check_inferno_report_html(self, check_entries, filename="report.html"): argument
153 def common_test_app_profiler(self): argument
168 def common_test_report(self): argument
175 def common_test_annotate(self): argument
181 def common_test_report_sample(self, check_strings): argument
[all …]
Dreport_sample_test.py27 def get_record_data_string(self, record_file: str, options: Optional[List[str]] = None): argument
34 def test_no_flags(self): argument
40 def test_output_flag(self): argument
67 def test_comm_filter_to_renderthread(self): argument
76 def test_comm_filter_to_ui_thread(self): argument
85 def test_header(self): argument
91 def test_trace_offcpu(self): argument
97 def test_sample_filters(self): argument
129 def test_show_art_frames(self): argument
/system/chre/chpp/api_parser/
Dchre_api_to_chpp.py61 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/perf_tools/bats/
Dlcan.py17 def __init__(self, lCTimeProcessor): argument
27 def set(self, dateTime, moduleName, keyText, valueMsec): argument
39 def copy(self, otherLCItem): argument
49 def appendLine(self, line): argument
52 def keyEqual(self, otherItem): argument
57 def add(self, otherItem): argument
63 def addValue(self, otherLCItem): argument
71 def divideValue(self, number): # scaler divide argument
75 def key(self): argument
78 def print(self): argument
[all …]
/system/extras/perf2cfg/tests/
Dtest_parse.py22 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/
Dmkbootimg_test.py73 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/
Dformat_utils_unittest.py32 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 …]
Dpayload.py77 def __init__(self): argument
83 def ReadFromPayload(self, payload_file, hasher=None): argument
119 def __init__(self, payload_file, payload_file_offset=0): argument
155 def is_incremental(self): argument
159 def is_partial(self): argument
163 def total_data_length(self): argument
176 def _ReadHeader(self): argument
189 def _ReadManifest(self): argument
204 def _ReadMetadataSignature(self): argument
222 def ReadDataBlob(self, offset, length): argument
[all …]
/system/extras/perf_tools/
Dsbtpull.py17 def __init__(self): argument
25 def parse(self, index, line, priorTimeStamp): argument
37 def getTextKey(self): argument
41 def print(self): argument
44 def toString(self): argument
54 def __init__(self): argument
63 def print(self): argument
66 def add(self, _other): argument
79 def __init__(self, _name= ""): argument
83 def clear(self): argument
[all …]
/system/update_engine/scripts/
Dpayload_info_unittest.py48 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/
Daidl_integration_test.py36 def __init__(self, exit_status, stdout, stderr): argument
48 def printable_string(self): argument
63 def run(self, command, background=False, ignore_status=False): argument
82 def adb(self, command, ignore_status=False): argument
105 def __init__(self, host, bitness): argument
109 def cleanup(self): argument
111 def run(self): argument
115 def cleanup(self): argument
117 def run(self): argument
124 def __init__(self, host, bitness): argument
[all …]

12345678910