Home
last modified time | relevance | path

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

12345

/system/bt/gd/l2cap/classic/cert/
Dpts_l2cap_test.py31 def setup_test(self): argument
54 def teardown_test(self): argument
58 def _dut_connection_stream(self): argument
63 def _dut_connection_close_stream(self): argument
68 def _assert_connection_complete(self, due_connection_asserts, timeout=30): argument
73 def _assert_connection_close(self, due_connection_close_asserts, argument
79 def test_L2CAP_IEX_BV_01_C(self): argument
91 def test_L2CAP_IEX_BV_02_C(self): argument
104 def test_L2CAP_EXF_BV_01_C(self): argument
118 def test_L2CAP_EXF_BV_03_C(self): argument
[all …]
Dl2cap_test.py38 def setup_test(self): argument
79 def _on_connection_request_default(self, l2cap_control_view): argument
99 def _on_connection_response_default(self, l2cap_control_view): argument
117 def _on_connection_response_use_ertm(self, l2cap_control_view): argument
181 def _on_connection_response_use_ertm_and_fcs(self, l2cap_control_view): argument
245 def _on_configuration_request_default(self, l2cap_control_view): argument
257 def _on_configuration_response_default(self, l2cap_control_view): argument
262 def _on_disconnection_request_default(self, l2cap_control_view): argument
277 def _on_disconnection_response_default(self, l2cap_control_view): argument
281 def _on_information_request_default(self, l2cap_control_view): argument
[all …]
/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/bt/gd/cert/
Dcert_self_test.py35 def __init__(self): argument
40 def type(self): argument
43 def label(self): argument
48 def __init__(self, name): argument
51 def __init__(self, value): argument
55 def __str__(self): argument
58 def ListFields(self): argument
65 def __init__(self, events, delay_ms): argument
72 def __iter__(self): argument
80 def done(self): argument
[all …]
/system/extras/simpleperf/scripts/
Dtest.py77 def __init__(self): argument
89 def writeln(self, s): argument
92 def write(self, s): argument
98 def flush(self): argument
108 def __init__(self): argument
120 def get_test_base_dir(self, python_version): argument
124 def testdata_path(self, testdata_name): argument
128 def test_dir(self, test_name): argument
133 def script_path(self, script_name): argument
137 def get_device_features(self): argument
[all …]
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
71 def _get_need_archs(self): argument
83 def collect_native_libs_on_host(self, native_lib_dir): argument
91 def add_native_lib_on_host(self, path, name): argument
124 def collect_native_libs_on_device(self): argument
147 def sync_native_libs_on_device(self): argument
188 def __init__(self, args): 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 …]
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
265 def _load_dependent_lib(self): argument
270 def Close(self): argument
276 def SetLogSeverity(self, log_level='info'): 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 …]
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/core/adb/
Dtest_device.py43 def wrapper(self, *args): argument
63 def wrapper(self, *args): argument
80 def setUp(self): argument
85 def test_smoke(self): argument
92 def _test_no_rebind(self, description, direction_list, direction, argument
120 def test_forward_no_rebind(self): argument
125 def test_reverse_no_rebind(self): argument
130 def test_forward(self): argument
149 def test_forward_old_protocol(self): argument
168 def test_forward_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/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
112 def receive_response(self): argument
126 def lint_command(self, name, args, name_size, args_size): argument
154 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.py80 def __init__(self, port): argument
91 def rx_bytes(self, size): argument
101 def rx_thread_body(self): argument
125 def get_packet(self): argument
130 def send_binary(self, args): argument
138 def tell_rx_thread_to_quit(self): argument
148 def __init__(self, link_layer): argument
152 def do_send(self, args): argument
158 def do_quit(self, args): argument
168 def do_help(self, args): argument
/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/apex/tools/
Ddeapexer.py37 def __init__(self, name, base_dir, permissions, size, is_directory=False, is_symlink=False): argument
46 def name(self): argument
50 def full_path(self): argument
54 def is_directory(self): argument
58 def is_symlink(self): argument
62 def is_regular_file(self): argument
66 def permissions(self): argument
70 def size(self): argument
73 def __str__(self): argument
97 def __init__(self, path, entries, apex): 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/bt/gd/hal/cert/
Dsimple_hal_test.py31 def send_cert_hci_command(self, command): argument
35 def send_cert_acl_data(self, handle, pb_flag, b_flag, acl): argument
47 def send_dut_hci_command(self, command): argument
51 def send_dut_acl_data(self, handle, pb_flag, b_flag, acl): argument
63 def setup_test(self): argument
79 def teardown_test(self): argument
85 def test_none_event(self): argument
92 def test_fetch_hci_event(self): argument
108 def test_loopback_hci_command(self): argument
125 def test_inquiry_from_dut(self): 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 …]

12345