Home
last modified time | relevance | path

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

12345678910>>...23

/packages/modules/Bluetooth/system/blueberry/tests/topshim/lib/
Dgatt_client.py39 def __init__(self, port=8999): argument
44 async def close(self): argument
54 async def register_advertiser(self): argument
59 async def unregister_advertiser(self, advertiser_id): argument
66 async def get_own_address(self): argument
71 async def set_parameters(self): argument
76 async def set_data(self): argument
81 async def advertising_enable(self): argument
86 async def advertising_disable(self): argument
91 async def set_periodic_advertising_parameters(self): argument
[all …]
Dadapter_client.py38 def __init__(self, port=8999): argument
43 async def close(self): argument
51 async def __get_next_event(self, event, future): argument
64 async def _listen_for_event(self, event): argument
76 async def _verify_adapter_started(self): argument
81 async def toggle_stack(self, is_start=True): argument
86 async def enable_inquiry_scan(self): argument
91 async def enable_page_scan(self): argument
96 async def disable_page_scan(self): argument
101 async def clear_event_filter(self): argument
[all …]
Dtopshim_device.py82 async def __le_rand_wrapper(self, async_fn): argument
88 def __post(self, async_fn): argument
91 def __init__(self, adapter, gatt, security, hfp, hf_client): argument
98 async def close(self): argument
108 def enable_inquiry_scan(self): argument
112 def enable_page_scan(self): argument
116 def disable_page_scan(self): argument
120 async def __discovery_mode_waiter(self, f): argument
125 def start_advertising(self): argument
132 def stop_advertising(self): argument
[all …]
/packages/modules/Bluetooth/system/blueberry/tests/gd/l2cap/classic/
Dl2cap_test.py48 def setup_test(self, dut, cert): argument
59 def teardown_test(self): argument
63 def _setup_link_from_cert(self): argument
67 def _open_unconfigured_channel_from_cert(self, argument
79 def _open_channel_from_cert(self, argument
110 def _open_channel_from_dut(self, psm=0x33, mode=RetransmissionFlowControlMode.BASIC): argument
127 def setup_class(self): argument
130 def setup_test(self): argument
134 def teardown_test(self): argument
138 def test_connect_dynamic_channel_and_send_data(self): argument
[all …]
Dpts_l2cap_test.py31 def setup_test(self): argument
49 def teardown_test(self): argument
52 def _dut_connection_stream(self): argument
55 def _dut_connection_close_stream(self): argument
58 def _assert_connection_complete(self, dut_connection_stream, timeout=30): argument
62 def _assert_connection_close(self, dut_connection_close_stream, timeout=30): argument
66 def test_L2CAP_IEX_BV_01_C(self): argument
76 def test_L2CAP_IEX_BV_02_C(self): argument
88 def test_L2CAP_EXF_BV_01_C(self): argument
101 def test_L2CAP_EXF_BV_03_C(self): argument
[all …]
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/
Dcert_self_test.py44 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 …]
/packages/modules/Bluetooth/system/blueberry/controllers/
Dbt_stub.py25 def power_off(self) -> None: argument
29 def power_on(self) -> None: argument
33 def activate_pairing_mode(self) -> None: argument
37 def get_bluetooth_mac_address(self) -> str: argument
46 def set_device_name(self, device_name: str) -> None: argument
56 def factory_reset_bluetooth(self) -> None: argument
62 def is_audio_playing(self) -> bool: argument
73 def volume_up(self) -> None: argument
78 def volume_down(self) -> None: argument
83 def track_next(self) -> None: argument
[all …]
Dandroid_bt_target_device.py60 def __init__(self, config: Dict[str, Any]) -> None: argument
84 def __getattr__(self, name: str) -> Any: argument
87 def _disable_profiles(self) -> None: argument
93 def _initialize_audio_params(self) -> None: argument
101 def _verify_pri_ad(self) -> None: argument
105 def clean_up(self) -> None: argument
111 def a2dp_sink_connect(self) -> bool: argument
122 def activate_pairing_mode(self) -> None: argument
127 def activate_ble_pairing_mode(self) -> None: argument
131 def deactivate_ble_pairing_mode(self) -> None: argument
[all …]
/packages/modules/Bluetooth/system/blueberry/tests/gd/l2cap/le/
Dle_l2cap_test.py40 def setup_class(self): argument
43 def setup_test(self): argument
67 def teardown_test(self): argument
72 def _setup_link_from_cert(self): argument
88 def _set_link_from_dut_and_open_channel(self, argument
115 …def _open_channel_from_cert(self, signal_id=1, scid=0x0101, psm=0x33, mtu=1000, mps=100, initial_c… argument
122 def _open_channel_from_dut(self, psm=0x33): argument
128 def _open_fixed_channel(self, cid=4): argument
133 def test_fixed_channel_send(self): argument
140 def test_fixed_channel_receive(self): argument
[all …]
/packages/modules/Bluetooth/android/pandora/mmi2grpc/mmi2grpc/
Davrcp.py42 def __init__(self, channel): argument
51 def TSC_AVDTP_mmi_iut_accept_connect(self, test: str, pts_addr: bytes, **kwargs): argument
78 def TSC_AVCTP_mmi_iut_accept_connect_control(self, **kwargs): argument
88 def TSC_AVCTP_mmi_iut_accept_disconnect_control(self, **kwargs): argument
96 def TSC_AVRCP_mmi_iut_accept_unit_info(self, **kwargs): argument
105 def TSC_AVRCP_mmi_iut_accept_subunit_info(self, **kwargs): argument
114 def TSC_AVCTP_mmi_iut_accept_connect_browsing(self, **kwargs): argument
123 def TSC_AVRCP_mmi_iut_accept_get_folder_items_media_player_list(self, **kwargs): argument
132 def TSC_AVRCP_mmi_user_confirm_media_players(self, **kwargs): argument
147 def TSC_AVP_mmi_iut_initiate_disconnect(self, **kwargs): argument
[all …]
Da2dp.py44 def __init__(self, channel, rootcanal): argument
58 def TSC_AVDTP_mmi_iut_accept_connect(self, test: str, pts_addr: bytes, **kwargs): argument
89 def TSC_AVDTP_mmi_iut_accept_disconnect(self, **kwargs): argument
101 def TSC_AVDTP_mmi_iut_initiate_discover(self, **kwargs): argument
114 def TSC_AVDTP_mmi_iut_initiate_start(self, test: str, **kwargs): argument
131 def TSC_AVDTP_mmi_iut_initiate_suspend(self, test: str, **kwargs): argument
143 def TSC_AVDTP_mmi_iut_initiate_close_stream(self, test: str, **kwargs): argument
160 def TSC_AVDTP_mmi_iut_initiate_out_of_range(self, pts_addr: bytes, **kwargs): argument
172 def TSC_AVDTP_mmi_iut_begin_streaming(self, test: str, **kwargs): argument
194 def TSC_AVDTP_mmi_iut_initiate_media(self, **kwargs): argument
[all …]
Dhfp.py39 def __init__(self, test, channel, rootcanal, modem): argument
51 def asyncWaitConnection(self, pts_addr, delay=WAIT_DELAY_BEFORE_CONNECTION): argument
56 def waitConnectionCallback(self, pts_addr): argument
63 def test_started(self, test: str, pts_addr: bytes, **kwargs): argument
69 def TSC_delete_pairing_iut(self, pts_addr: bytes, **kwargs): argument
79 def TSC_iut_enable_slc(self, test: str, pts_addr: bytes, **kwargs): argument
101 def TSC_iut_search(self, **kwargs): argument
110 def TSC_iut_connect(self, pts_addr: bytes, **kwargs): argument
125 def TSC_iut_connectable(self, pts_addr: str, test: str, **kwargs): argument
138 def TSC_iut_disable_slc(self, test: str, pts_addr: bytes, **kwargs): argument
[all …]
Dgap.py16 def __init__(self, channel): argument
34 def TSC_MMI_iut_send_hci_connect_request(self, test: str, pts_addr: bytes, **kwargs): argument
50 def _mmi_222(self, **kwargs): argument
64 def _mmi_2001(self, passkey: str, **kwargs): argument
77 def TSC_MMI_iut_send_advertising_report_event_connectable_undirected(self, **kwargs): argument
92 def TSC_MMI_iut_enter_handle_for_insufficient_authentication(self, pts_addr: bytes, **kwargs): argument
114 def TSC_MMI_the_security_id_is(self, pts_addr: bytes, passkey: str, **kwargs): argument
127 def TSC_MMI_iut_send_le_connect_request(self, test: str, pts_addr: bytes, **kwargs): argument
168 def TSC_MMI_enter_security_id(self, pts_addr: bytes, **kwargs): argument
186 def TSC_MMI_iut_send_att_service_request(self, pts_addr: bytes, handle: str, **kwargs): argument
[all …]
/packages/modules/Bluetooth/system/blueberry/utils/
Dandroid_bluetooth_decorator.py85 def __init__(self, ad: android_device.AndroidDevice): argument
95 def __getattr__(self, name: Any) -> Any: argument
98 def _is_device_connected(self, mac_address): argument
102 def _is_profile_connected(self, mac_address, profile): argument
120 def _get_bluetooth_le_state(self): argument
124 def _generate_id_by_size(self, size): argument
135 def _wait_for_bluetooth_manager_state(self, state=None, timeout=10, threshold=5): argument
165 def init_setup(self) -> None: argument
177 def sl4a_setup(self) -> None: argument
197 def set_user_params(self, params: Dict[str, Any]) -> None: argument
[all …]
/packages/modules/Bluetooth/system/blueberry/tests/gd/security/
Dle_security_test.py54 def setup_class(self): argument
57 def setup_test(self): argument
81 def teardown_test(self): argument
88 def _prepare_cert_for_connection(self): argument
103 def _prepare_dut_for_connection(self): argument
119 def test_le_smp_timeout_iut_initiator(self): argument
130 def test_le_smp_timeout_iut_responder(self): argument
171 def test_just_works_iut_initiator(self): argument
209 def test_just_works_iut_responder(self): argument
247 def test_just_works_iut_responder_auth_req_rfu(self): argument
[all …]
/packages/modules/Bluetooth/system/blueberry/tests/gd_sl4a/hci/
Dle_advanced_scanning_test.py36 def setup_class(self): argument
40 def setup_test(self): argument
43 def teardown_test(self): argument
46 def __get_test_irk(self): argument
50 def _set_cert_privacy_policy_with_random_address(self, random_address): argument
58 def _set_cert_privacy_policy_with_random_address_but_advertise_resolvable(self, irk): argument
69 def __advertise_rpa_random_policy(self, legacy_pdus, irk): argument
99 def _advertise_rpa_random_legacy_pdu(self, irk): argument
102 def _advertise_rpa_random_extended_pdu(self, irk): argument
105 def _set_cert_privacy_policy_with_public_address(self): argument
[all …]
/packages/modules/NeuralNetworks/tools/systrace_parser/parser/test/
Dtest_stats.py7 def setUp(self): argument
16 def from_spectime(self, spectime): argument
19 def feed_spec_text(self, text): argument
35 def check_overall_time(self, tag, spec_interval, app_phase=None): argument
47 def check_self_time(self, tag, spec_interval): argument
54 def test_baseline(self): argument
62 def test_local_call_to_other_layer(self): argument
74 def test_local_call_to_other_layer_wrong_nesting(self): argument
84 def test_switch_phase_during_execution(self): argument
95 def test_subphases(self): argument
[all …]
/packages/modules/adb/
Dtest_device.py43 def wrapper(self, *args): argument
64 def test_smoke(self): argument
74 def _test_no_rebind(self, description, direction_list, direction, argument
102 def test_forward_no_rebind(self): argument
107 def test_reverse_no_rebind(self): argument
112 def test_forward(self): argument
131 def test_forward_old_protocol(self): argument
150 def test_forward_tcp_port_0(self): argument
166 def test_reverse(self): argument
185 def test_reverse_tcp_port_0(self): argument
[all …]
/packages/modules/Uwb/tests/cts/hostsidetests/multidevices/uwb/FiraRangingTests/
Dranging_test.py56 def __init__(self, configs: config_parser.TestRunConfig): argument
65 def setup_class(self): argument
81 def setup_test(self): argument
92 def teardown_test(self): argument
100 self, initiator: uwb_ranging_decorator.UwbRangingDecorator, argument
123 self, initiator: uwb_ranging_decorator.UwbRangingDecorator, argument
176 self, initiator: uwb_ranging_decorator.UwbRangingDecorator, argument
240 self, initiator: uwb_ranging_decorator.UwbRangingDecorator, argument
270 self, initiator: uwb_ranging_decorator.UwbRangingDecorator, argument
297 self, initiator: uwb_ranging_decorator.UwbRangingDecorator, argument
[all …]
/packages/modules/Bluetooth/system/blueberry/tests/gd/hci/
Dle_acl_manager_test.py34 def setup_class(self): argument
37 def setup_test(self): argument
46 def teardown_test(self): argument
51 def set_privacy_policy_static(self): argument
59 def register_for_event(self, event_code): argument
63 def register_for_le_event(self, event_code): argument
67 def enqueue_hci_command(self, command): argument
72 def enqueue_acl_data(self, handle, pb_flag, b_flag, data): argument
76 def dut_connects(self): argument
99 def cert_advertises_resolvable(self): argument
[all …]
Dle_advertising_manager_test.py42 def setup_class(self): argument
45 def setup_test(self): argument
53 def teardown_test(self): argument
65 def set_address_policy_with_static_address(self): argument
76 def create_advertiser(self): argument
91 def test_le_ad_scan_dut_advertises(self): argument
124 def test_extended_create_advertises(self): argument
181 def test_advertising_set_started_callback(self): argument
189 def test_enable_advertiser_callback(self): argument
201 def test_disable_advertiser_callback(self): argument
[all …]
/packages/modules/Bluetooth/
Dbuild.py150 def __init__(self, use_flags): argument
172 def set_flag(self, key, value=True): argument
179 def __init__(self, args): argument
233 def _generate_rustflags(self): argument
247 def configure_environ(self): argument
267 def print_env(self): argument
276 def run_command(self, target, args, cwd=None, env=None): argument
303 def _get_basever(self): argument
318 def _gn_default_output(self): argument
321 def _gn_configure(self): argument
[all …]
/packages/modules/Bluetooth/system/blueberry/tests/sl4a_sl4a/gatt/
Dgatt_connect_test.py66 def setup_class(self): argument
71 def setup_test(self): argument
81 def teardown_test(self): argument
91 def _orchestrate_gatt_disconnection(self, bluetooth_gatt, gatt_callback): argument
105 def _find_service_added_event(self, gatt_server_cb, uuid): argument
117 …def _verify_mtu_changed_on_client_and_server(self, expected_mtu, gatt_callback, gatt_server_callba… argument
142 def test_gatt_connect(self): argument
181 def test_gatt_connect_stop_advertising(self): argument
235 def test_gatt_connect_autoconnect(self): argument
313 def test_gatt_connect_opportunistic(self): argument
[all …]
/packages/services/Car/tools/emulator/
Dobd2_to_diagjson.py40 def __init__(self, doc): argument
43 def __str__(self): argument
46 def __repr__(self): argument
49 def __getattr__(self, attr): argument
52 def __iter__(self): argument
54 def __init__(self, doc): argument
57 def __next__(self): argument
63 def __init__(self): argument
66 def __setattr__(self, name, value): argument
69 def __getattr__(self, name): argument
[all …]
/packages/modules/Bluetooth/tools/rootcanal/scripts/
Dtest_channel.py69 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 …]

12345678910>>...23