/system/bt/gd/l2cap/classic/cert/ |
D | l2cap_test.py | 46 def setup_class(self): argument 49 def setup_test(self): argument 59 def teardown_test(self): argument 64 def _setup_link_from_cert(self): argument 68 def _open_unconfigured_channel_from_cert(self, argument 80 def _open_channel_from_cert(self, argument 111 def _open_channel_from_dut(self, psm=0x33, mode=RetransmissionFlowControlMode.BASIC): argument 128 def test_connect_dynamic_channel_and_send_data(self): argument 136 def test_receive_packet_from_unknown_channel(self): argument 146 def test_open_two_channels(self): argument [all …]
|
D | pts_l2cap_test.py | 30 def setup_test(self): argument 48 def teardown_test(self): argument 51 def _dut_connection_stream(self): argument 54 def _dut_connection_close_stream(self): argument 57 def _assert_connection_complete(self, dut_connection_stream, timeout=30): argument 61 def _assert_connection_close(self, dut_connection_close_stream, timeout=30): argument 65 def test_L2CAP_IEX_BV_01_C(self): argument 75 def test_L2CAP_IEX_BV_02_C(self): argument 87 def test_L2CAP_EXF_BV_01_C(self): argument 100 def test_L2CAP_EXF_BV_03_C(self): argument [all …]
|
D | l2cap_performance_test.py | 31 def setup_test(self): argument 35 def teardown_test(self): argument 38 def _basic_mode_tx(self, mtu, packets): argument 57 def _basic_mode_tx_fixed_interval(self, mtu, interval=timedelta(seconds=10), batch_size=20): argument 76 def _basic_mode_rx(self, mtu, packets): argument 92 def _ertm_mode_tx(self, mtu, packets, tx_window_size=10): argument 123 def _ertm_mode_rx(self, mtu, packets, tx_window_size=10): argument 149 def test_basic_mode_tx_672_100(self): argument 153 def test_basic_mode_tx_100_100(self): argument 157 def test_ertm_mode_tx_672_100(self): argument [all …]
|
D | cert_l2cap.py | 42 def __init__(self, device, scid, dcid, acl_stream, acl, control_channel, fcs=None): argument 56 def get_event_queue(self): argument 59 def is_configured(self): argument 62 def send(self, packet): argument 66 def send_i_frame(self, argument 79 …def send_s_frame(self, req_seq, s=SupervisoryFunction.RECEIVER_READY, p=Poll.NOT_SET, f=Final.NOT_… argument 83 def config_request_for_me(self): argument 86 def send_configure_request(self, options, sid=2, continuation=l2cap_packets.Continuation.END): argument 91 def _send_information_request(self, type): argument 97 def send_extended_features_request(self): argument [all …]
|
/system/bt/gd/cert/ |
D | cert_self_test.py | 44 def __init__(self): argument 49 def type(self): argument 52 def label(self): argument 57 def __init__(self, name): argument 60 def __init__(self, value): argument 64 def __str__(self): argument 67 def ListFields(self): argument 74 def __init__(self, events, delay_ms): argument 81 def __iter__(self): argument 89 def done(self): argument [all …]
|
D | py_hci.py | 31 def __init__(self, handle, acl_stream, device): argument 37 def send(self, pb_flag, b_flag, data): argument 42 def send_first(self, data): argument 46 def send_continuing(self, data): argument 50 def get_event_queue(self): argument 60 def __init__(self, device, acl_streaming=False): argument 75 def _setup_event_stream(self): argument 78 def _setup_le_event_stream(self): argument 81 def _setup_acl_stream(self): argument 84 def close(self): argument [all …]
|
D | py_le_acl_manager.py | 31 def __init__(self, le_acl_manager, address, remote_addr, handle, event_stream): argument 51 def close(self): argument 55 def wait_for_disconnection_complete(self): argument 60 def send(self, data): argument 63 def get_event_queue(self): argument 69 def __init__(self, device): argument 81 def close(self): argument 88 def listen_for_incoming_connections(self): argument 93 def connect_to_remote(self, remote_addr): argument 97 def wait_for_connection(self): argument [all …]
|
D | py_acl_manager.py | 30 def __init__(self, acl_manager, remote_addr, handle, event_stream): argument 37 def disconnect(self, reason): argument 41 def close(self): argument 45 def wait_for_disconnection_complete(self): argument 50 def send(self, data): argument 53 def get_event_queue(self): argument 59 def __init__(self, device): argument 64 def close(self): argument 68 def listen_for_an_incoming_connection(self): argument 73 def initiate_connection(self, remote_addr): argument [all …]
|
D | py_l2cap.py | 33 def __init__(self, device, psm, l2cap_stream): argument 40 def get_event_queue(self): argument 43 def send(self, payload): argument 47 def close_channel(self): argument 50 def set_traffic_paused(self, paused): argument 60 def __init__(self, grpc_response_future, device, psm, l2cap_stream): argument 66 def get_channel(self): argument 72 def __init__(self, device, cert_address): argument 77 def close(self): argument 80 …def register_dynamic_channel(self, psm=0x33, mode=l2cap_facade_pb2.RetransmissionFlowControlMode.B… argument [all …]
|
/system/media/camera/docs/ |
D | metadata_model.py | 52 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/bt/gd/l2cap/le/cert/ |
D | le_l2cap_test.py | 38 def setup_class(self): argument 41 def setup_test(self): argument 65 def teardown_test(self): argument 70 def _setup_link_from_cert(self): argument 88 def _set_link_from_dut_and_open_channel(self, argument 117 …def _open_channel_from_cert(self, signal_id=1, scid=0x0101, psm=0x33, mtu=1000, mps=100, initial_c… argument 124 def _open_channel_from_dut(self, psm=0x33): argument 130 def _open_fixed_channel(self, cid=4): argument 135 def test_fixed_channel_send(self): argument 142 def test_fixed_channel_receive(self): argument [all …]
|
D | cert_le_l2cap.py | 34 def __init__(self, device, scid, dcid, acl_stream, acl, control_channel, initial_credits=0): argument 44 def get_event_queue(self): argument 47 def send(self, packet): argument 52 def send_first_le_i_frame(self, sdu_size, packet): argument 57 def disconnect_and_verify(self): argument 63 def verify_disconnect_request(self): argument 66 def send_credits(self, num_credits): argument 69 def credits_left(self): argument 75 def __init__(self, device): argument 88 def close(self): argument [all …]
|
/system/extras/simpleperf/scripts/ |
D | test.py | 77 def __init__(self): argument 84 def writeln(self, s): argument 87 def write(self, s): argument 93 def flush(self): argument 103 def __init__(self): argument 114 def testdata_path(self, testdata_name): argument 118 def test_dir(self, test_name): argument 122 def script_path(self, script_name): argument 126 def get_device_features(self): argument 135 def is_trace_offcpu_supported(self): argument [all …]
|
D | app_profiler.py | 39 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 …]
|
D | report_html.py | 34 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 …]
|
D | pprof_proto_generator.py | 54 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 …]
|
D | simpleperf_report_lib.py | 75 def thread_comm(self): argument 96 def name(self): argument 99 def parse_value(self, data): argument 151 def name(self): argument 183 def dso_name(self): argument 187 def symbol_name(self): argument 229 def __init__(self, native_lib_path=None): argument 266 def _load_dependent_lib(self): argument 271 def Close(self): argument 277 def SetLogSeverity(self, log_level='info'): argument [all …]
|
D | annotate.py | 32 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 …]
|
/system/bt/gd/security/cert/ |
D | le_security_test.py | 65 def setup_class(self): argument 68 def setup_test(self): argument 88 def teardown_test(self): argument 94 def _prepare_cert_for_connection(self): argument 111 def _prepare_dut_for_connection(self): argument 129 def test_le_smp_timeout_iut_initiator(self): argument 139 def test_le_smp_timeout_iut_responder(self): argument 175 def test_just_works_iut_initiator(self): argument 209 def test_just_works_iut_responder(self): argument 243 def test_just_works_iut_responder_auth_req_rfu(self): argument [all …]
|
/system/core/adb/ |
D | test_device.py | 43 def wrapper(self, *args): argument 63 def wrapper(self, *args): argument 84 def test_smoke(self): argument 94 def _test_no_rebind(self, description, direction_list, direction, argument 122 def test_forward_no_rebind(self): argument 127 def test_reverse_no_rebind(self): argument 132 def test_forward(self): argument 151 def test_forward_old_protocol(self): argument 170 def test_forward_tcp_port_0(self): argument 186 def test_reverse(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/bt/vendor_libs/test_vendor_lib/scripts/ |
D | test_channel.py | 69 def __init__(self, port): argument 73 def close(self): argument 76 def send(self, data): argument 79 def receive(self, size): argument 91 def __init__(self, port): argument 95 def close(self): argument 99 def send_command(self, name, args): argument 112 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 …]
|
/system/bt/gd/hci/cert/ |
D | direct_hci_test.py | 32 def setup_class(self): argument 35 def setup_test(self): argument 41 def teardown_test(self): argument 46 def send_hal_hci_command(self, command): argument 49 def enqueue_acl_data(self, handle, pb_flag, b_flag, acl): argument 54 def send_hal_acl_data(self, handle, pb_flag, b_flag, acl): argument 64 def test_local_hci_cmd_and_event(self): argument 77 def test_inquiry_from_dut(self): argument 87 def test_le_ad_scan_cert_advertises(self): argument 159 def _verify_le_connection_complete(self): argument [all …]
|
D | le_acl_manager_test.py | 34 def setup_class(self): argument 37 def setup_test(self): argument 43 def teardown_test(self): argument 49 def set_privacy_policy_static(self): argument 57 def register_for_event(self, event_code): argument 61 def register_for_le_event(self, event_code): argument 65 def enqueue_hci_command(self, command, expect_complete): argument 73 def enqueue_acl_data(self, handle, pb_flag, b_flag, acl): argument 78 def dut_connects(self, check_address): argument 164 def send_receive_and_check(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 …]
|