Home
last modified time | relevance | path

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

1234

/system/media/camera/docs/
Dmetadata_model.py52 def __init__(self): argument
57 def parent(self): argument
61 def name(self): argument
64 def find_all(self, pred): argument
85 def find_first(self, pred): argument
100 def find_parent_first(self, pred): argument
115 def find_parents(self, pred): argument
133 def sort_children(self): argument
139 def _sort_by_name(self, what): argument
142 def _get_name(self): argument
[all …]
/system/extras/simpleperf/scripts/
Dapp_profiler.py39 def __init__(self, path, name, score): argument
44 def __repr__(self): argument
47 def __str__(self): argument
58 def __init__(self, ndk_path, device_arch, adb): argument
69 def _get_need_archs(self): argument
81 def collect_native_libs_on_host(self, native_lib_dir): argument
89 def add_native_lib_on_host(self, path, name): argument
115 def collect_native_libs_on_device(self): argument
130 def sync_natives_libs_on_device(self): argument
153 def __init__(self, args): argument
[all …]
Dtest.py107 def run_cmd(self, args, return_output=False): argument
158 def setUp(self): argument
189 def run(self, result=None): argument
193 def run_app_profiler(self, record_arg="-g --duration 10", build_binary_cache=True, argument
211 def check_exist(self, filename=None, dirname=None): argument
217 def check_file_under_dir(self, dirname, filename): argument
226 def check_strings_in_file(self, filename, strings): argument
231 def check_strings_in_content(self, content, strings): argument
235 def check_annotation_summary(self, summary_file, check_entries): argument
256 def check_inferno_report_html(self, check_entries, filename="report.html"): argument
[all …]
Dreport_html.py34 def __init__(self, output_path): argument
38 def close(self): argument
41 def open_tag(self, tag, **attrs): argument
49 def close_tag(self, tag=None): argument
54 def add(self, text): argument
58 def add_file(self, file_path): argument
69 def __init__(self, name): argument
75 def get_process(self, pid): argument
81 def get_sample_info(self, gen_addr_hit_map): argument
91 def threads(self): argument
[all …]
Dpprof_proto_generator.py54 def __init__(self, profile): argument
58 def show(self): argument
97 def show_value_type(self, value_type, space=''): argument
102 def show_sample(self, sample, space=''): argument
112 def show_location_id(self, location_id, space=''): argument
116 def show_location(self, location, space=''): argument
126 def show_mapping_id(self, mapping_id, space=''): argument
130 def show_mapping(self, mapping, space=''): argument
144 def show_line(self, line, space=''): argument
150 def show_function_id(self, function_id, space=''): argument
[all …]
Dannotate.py32 def __init__(self, file_id, function, line): argument
38 def file_key(self): argument
42 def function_key(self): argument
46 def line_key(self): argument
53 def __init__(self, ndk_path, binary_cache_path, source_dirs): argument
57 def add_addr(self, dso_path, func_addr, addr): argument
60 def convert_addrs_to_lines(self): argument
63 def get_sources(self, dso_path, addr): argument
88 def __init__(self, period=0, acc_period=0): argument
93 def __iadd__(self, other): argument
[all …]
Dsimpleperf_report_lib.py75 def thread_comm(self): argument
96 def name(self): argument
99 def parse_value(self, data): argument
150 def name(self): argument
182 def dso_name(self): argument
186 def symbol_name(self): argument
228 def __init__(self, native_lib_path=None): argument
264 def _load_dependent_lib(self): argument
269 def Close(self): argument
275 def SetLogSeverity(self, log_level='info'): argument
[all …]
Ddebug_unwind_reporter.py52 def __init__(self, start, end, filename): argument
57 def __lt__(self, other): argument
62 def __init__(self): argument
65 def add(self, pid, map_entry): argument
88 def fork_pid(self, pid, ppid): argument
94 def find(self, pid, addr): argument
102 def show(self): argument
112 def __init__(self): argument
117 def add_time(self, used_time): argument
125 def __init__(self): argument
[all …]
/system/extras/perfprofd/scripts/
Dsorted_collection.py26 def __init__(self, iterable=(), key=None): argument
34 def _getkey(self): argument
37 def _setkey(self, key): argument
41 def _delkey(self): argument
46 def clear(self): argument
49 def copy(self): argument
52 def __len__(self): argument
55 def __getitem__(self, i): argument
58 def __iter__(self): argument
61 def __reversed__(self): argument
[all …]
Dperf_proto_stack_sqlite_flame.py26 def __init__(self, dso_id, sym_id): argument
33 def add(self, dso_id, sym_id): argument
40 def child_count_to_self(self): argument
43 def trim(self, local_threshold_in_percent, global_threshold): argument
52 def _get_str(self, id, m): argument
57 def print_callsite_ascii(self, depth, indent, dsos, syms): argument
76 def create_children_list(self): argument
79 def generate_offset(self, start_offset): argument
86 def svgrenderer_compat(self, dsos, syms): argument
94 def weight(self): argument
[all …]
/system/core/adb/
Dtest_device.py43 def wrapper(self, *args): argument
63 def wrapper(self, *args): argument
80 def setUp(self): argument
85 def _test_no_rebind(self, description, direction_list, direction, argument
113 def test_forward_no_rebind(self): argument
118 def test_reverse_no_rebind(self): argument
123 def test_forward(self): argument
142 def test_forward_tcp_port_0(self): argument
158 def test_reverse(self): argument
177 def test_reverse_tcp_port_0(self): argument
[all …]
/system/update_engine/scripts/update_payload/
Dformat_utils_unittest.py27 def testHundredPercent(self): argument
30 def testOverHundredPercent(self): argument
33 def testWholePercent(self): argument
36 def testDefaultMinPrecision(self): argument
40 def testDefaultMaxPrecision(self): argument
44 def testCustomMinPrecision(self): argument
50 def testCustomMaxPrecision(self): argument
59 def testBaseTwo(self): argument
65 def testDecimal(self): argument
74 def testDefaultPrecision(self): argument
[all …]
Dchecker_unittest.py105 def MockPayload(self): argument
155 def SetupAddElemTest(self, is_present, is_submsg, convert=str, argument
193 def DoAddElemTest(self, is_present, is_mandatory, is_submsg, convert, argument
220 def DoAddFieldTest(self, is_mandatory, is_present, convert, linebreak, argument
250 def DoAddSubMsgTest(self, is_mandatory, is_present): argument
275 def testCheckPresentIff(self): argument
286 def DoCheckSha256SignatureTest(self, expect_pass, expect_subprocess_call, argument
318 def testCheckSha256Signature_Pass(self): argument
326 def testCheckSha256Signature_FailBadSignature(self): argument
334 def testCheckSha256Signature_FailBadOutputLength(self): argument
[all …]
/system/update_engine/scripts/
Dpayload_info_unittest.py41 def __init__(self, **kwargs): argument
53 def __init__(self, src_extents, dst_extents, op_type, **kwargs): argument
60 def HasField(self, field): argument
66 def __init__(self, partition_name, operations): argument
73 def __init__(self, major_version): argument
102 def HasField(self, field_name): argument
109 def __init__(self, version, manifest_len, metadata_signature_len): argument
115 def size(self): argument
122 def __init__(self, major_version): argument
132 def Init(self): argument
[all …]
/system/bt/vendor_libs/test_vendor_lib/scripts/
Dtest_channel.py68 def __init__(self, port): argument
72 def close(self): argument
75 def send(self, data): argument
78 def receive(self, size): argument
90 def __init__(self, port): argument
94 def close(self): argument
98 def send_command(self, name, args): argument
111 def receive_response(self): argument
125 def lint_command(self, name, args, name_size, args_size): argument
153 def __init__(self, test_channel): argument
[all …]
Dsimple_stack.py114 def __init__(self, port): argument
118 def close(self): argument
121 def send(self, data): argument
124 def receive(self, size): argument
135 def __init__(self, port): argument
138 def close(self): argument
141 def send_binary(self, args): argument
147 def receive_response(self): argument
172 def __init__(self, raw_port): argument
176 def do_send(self, args): argument
[all …]
Dlink_layer_socket.py79 def __init__(self, port): argument
90 def rx_bytes(self, size): argument
99 def rx_thread_body(self): argument
118 def get_packet(self): argument
123 def send_binary(self, args): argument
131 def tell_rx_thread_to_quit(self): argument
141 def __init__(self, link_layer): argument
145 def do_send(self, args): argument
151 def do_quit(self, args): argument
161 def do_help(self, args): argument
Dsend_simple_commands.py94 def __init__(self, port): argument
99 def close(self): argument
102 def send(self, data): argument
105 def receive(self, size): argument
116 def __init__(self, port): argument
120 def close(self): argument
124 def send_binary(self, args): argument
135 def receive_response(self): argument
149 def lint_command(self, name, args, name_size, args_size): argument
170 def __init__(self, raw_port): argument
[all …]
Dsimple_link_layer_socket.py80 def __init__(self, port): argument
85 def close(self): argument
88 def send(self, data): argument
91 def receive(self, size): argument
102 def __init__(self, port): argument
106 def close(self): argument
110 def send_binary(self, args): argument
118 def receive_response(self): argument
132 def lint_command(self, name, args, name_size, args_size): argument
151 def __init__(self, raw_port): argument
[all …]
/system/extras/tests/bootloader/
Dbootctl.py16 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
Dbootloadertest.py31 def exists_validvals(self, varname, varlist, validlist): argument
36 def exists_yes_no(self, varname, varlist): argument
39 def exists_nonempty(self, varname, varlist): argument
44 def exists_integer(self, varname, varlist, base=10): argument
53 def get_exists(self, varname): argument
58 def get_exists_validvals(self, varname, validlist): argument
63 def get_exists_yes_no(self, varname): argument
66 def get_exists_nonempty(self, varname): argument
71 def get_exists_integer(self, varname, base=10): argument
79 def get_slotcount(self): argument
[all …]
/system/sepolicy/tests/
Dpolicy.py36 def __init__(self, rule): argument
55 def AssertPathTypesDoNotHaveAttr(self, MatchPrefix, DoNotMatchPrefix, Attr): argument
72 def AssertGenfsFilesystemTypesHaveAttr(self, Filesystem, Attr): argument
89 def AssertPathTypesHaveAttr(self, MatchPrefix, DoNotMatchPrefix, Attr): argument
107 def QueryFc(self, Type): argument
115 def QueryTypeAttribute(self, Type, IsAttr): argument
135 def __TERuleMatch(self, Rule, **kwargs): argument
163 def ResolveTypeAttribute(self, Type): argument
187 def QueryTERule(self, **kwargs): argument
208 def QueryExpandedTERule(self, **kwargs): argument
[all …]
/system/extras/boottime_tools/bootanalyze/
Dbugreport_anayze.py70 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/extras/simpleperf/runtest/
Druntest.py38 def __init__(self, name): argument
42 def add_child(self, child): argument
45 def __str__(self): argument
48 def _dump(self, indent): argument
58 def __init__(self, name, comm, overhead, children_overhead): argument
67 def set_call_tree(self, call_tree): argument
70 def __str__(self): argument
81 def __init__(self, symbol_name=None, comm=None, min_overhead=None, argument
88 def __str__(self): argument
101 def is_match(self, symbol): argument
[all …]
/system/extras/boottime_tools/io_analysis/
Dcheck_io_trace_all.py41 def __init__(self, block_num, start_time, size): argument
53 def __init__(self, name): argument
65 def add_read_event(self, major, minor, event): argument
76 def add_write_event(self, major, minor, event): argument
87 def add_dm_read(self, size): argument
90 def add_dm_write(self, size): argument
93 def dump(self): argument
115 def __init__(self): argument
125 def parse(self, l): argument
136 def do_parse_bio_queue(self, l, match): argument
[all …]

1234