Home
last modified time | relevance | path

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

12345678910>>...22

/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 …]
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/
Dcert_self_test.py43 def __init__(self): argument
48 def type(self): argument
51 def label(self): argument
56 def __init__(self, name): argument
59 def __init__(self, value): argument
63 def __str__(self): argument
66 def ListFields(self): argument
73 def __init__(self, events, delay_ms): argument
80 def __iter__(self): argument
88 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/android/pandora/mmi2grpc/mmi2grpc/
Davrcp.py43 def __init__(self, channel): argument
52 def TSC_AVDTP_mmi_iut_accept_connect(self, test: str, pts_addr: bytes, **kwargs): argument
79 def TSC_AVCTP_mmi_iut_accept_connect_control(self, **kwargs): argument
89 def TSC_AVCTP_mmi_iut_accept_disconnect_control(self, **kwargs): argument
97 def TSC_AVRCP_mmi_iut_accept_unit_info(self, **kwargs): argument
106 def TSC_AVRCP_mmi_iut_accept_subunit_info(self, **kwargs): argument
115 def TSC_AVCTP_mmi_iut_accept_connect_browsing(self, **kwargs): argument
124 def TSC_AVRCP_mmi_iut_accept_get_folder_items_media_player_list(self, **kwargs): argument
133 def TSC_AVRCP_mmi_user_confirm_media_players(self, **kwargs): argument
148 def TSC_AVP_mmi_iut_initiate_disconnect(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
70 def TSC_delete_pairing_iut(self, pts_addr: bytes, **kwargs): argument
80 def TSC_iut_enable_slc(self, test: str, pts_addr: bytes, **kwargs): argument
102 def TSC_iut_search(self, **kwargs): argument
111 def TSC_iut_connect(self, pts_addr: bytes, **kwargs): argument
126 def TSC_iut_connectable(self, pts_addr: str, test: str, **kwargs): argument
139 def TSC_iut_disable_slc(self, test: str, pts_addr: bytes, **kwargs): argument
[all …]
Da2dp.py43 def __init__(self, channel, rootcanal): argument
57 def TSC_AVDTP_mmi_iut_accept_connect(self, test: str, pts_addr: bytes, **kwargs): argument
88 def TSC_AVDTP_mmi_iut_accept_disconnect(self, **kwargs): argument
100 def TSC_AVDTP_mmi_iut_initiate_discover(self, **kwargs): argument
113 def TSC_AVDTP_mmi_iut_initiate_start(self, test: str, **kwargs): argument
130 def TSC_AVDTP_mmi_iut_initiate_suspend(self, test: str, **kwargs): argument
142 def TSC_AVDTP_mmi_iut_initiate_close_stream(self, test: str, **kwargs): argument
159 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 …]
Dgap.py32 def __init__(self, channel, rootcanal): argument
50 def test_started(self, test: str, description: str, pts_addr: bytes): argument
69 def TSC_MMI_iut_send_hci_connect_request(self, test: str, pts_addr: bytes, **kwargs): argument
97 def _mmi_222(self, **kwargs): argument
111 def _mmi_2001(self, passkey: str, **kwargs): argument
124 def TSC_MMI_iut_send_advertising_report_event_connectable_undirected(self, **kwargs): argument
140 def TSC_MMI_iut_enter_handle_for_insufficient_authentication(self, pts_addr: bytes, **kwargs): argument
162 def TSC_MMI_the_security_id_is(self, pts_addr: bytes, passkey: str, **kwargs): argument
175 def TSC_MMI_iut_send_le_connect_request(self, test: str, pts_addr: bytes, **kwargs): argument
222 def TSC_MMI_enter_security_id(self, pts_addr: bytes, **kwargs): argument
[all …]
/packages/modules/adb/
Dtest_device.py47 def wrapper(self, *args): argument
64 def setUp(self) -> None: argument
69 def test_smoke(self): argument
79 def _test_no_rebind(self, description, direction_list, direction, argument
107 def test_forward_no_rebind(self): argument
112 def test_reverse_no_rebind(self): argument
117 def test_forward(self): argument
136 def test_forward_old_protocol(self): argument
155 def test_forward_tcp_port_0(self): argument
171 def test_reverse(self): 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/floss/pandora/server/
Dbluetooth.py59 def __init__(self): argument
77 def __del__(self): argument
81 def cleanup(self): argument
86 def setup_mainloop(self): argument
106 def mainloop_thread(self): argument
122 def register_clients_callback(self): argument
157 def is_bluetoothd_proxy_valid(self): argument
179 def set_powered(self, powered: bool): argument
233 def reset(self): argument
241 def get_address(self): 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/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/Bluetooth/floss/pandora/floss/
Dadapter_client.py32 def on_address_changed(self, addr): argument
40 def on_device_found(self, remote_device): argument
48 def on_discovering_changed(self, discovering): argument
56 def on_ssp_request(self, remote_device, class_of_device, variant, passkey): argument
71 def on_pin_request(self, remote_device, cod, min_16_digit): argument
84 def on_pin_display(self, remote_device, pincode): argument
95 def on_bond_state_changed(self, status, address, state): argument
108 def on_device_properties_changed(self, remote_device, props): argument
127 def on_device_connected(self, remote_device): argument
135 def on_device_disconnected(self, remote_device): argument
[all …]
Dmedia_client.py29 def on_bluetooth_audio_device_added(self, device): argument
37 def on_bluetooth_audio_device_removed(self, addr): argument
45 def on_absolute_volume_supported_changed(self, supported): argument
53 def on_absolute_volume_changed(self, volume): argument
61 def on_hfp_volume_changed(self, volume, addr): argument
70 def on_hfp_audio_disconnected(self, addr): argument
116 def __init__(self): argument
120 def OnBluetoothAudioDeviceAdded(self, device): argument
129 def OnBluetoothAudioDeviceRemoved(self, addr): argument
138 def OnAbsoluteVolumeSupportedChanged(self, supported): argument
[all …]
Dqa_client.py28 def on_fetch_discoverable_mode_completed(self, disc_mode): argument
36 def on_fetch_connectable_completed(self, connectable): argument
44 def on_set_connectable_completed(self, succeed): argument
52 def on_fetch_alias_completed(self, alias): argument
60 def on_get_hid_report_completed(self, status): argument
68 def on_set_hid_report_completed(self, status): argument
76 def on_send_hid_data_completed(self, status): argument
123 def __init__(self): argument
127 def OnFetchDiscoverableModeComplete(self, disc_mode): argument
136 def OnFetchConnectableComplete(self, connectable): argument
[all …]
Dscanner_client.py32 def on_scanner_registered(self, uuid, scanner_id, status): argument
42 def on_scan_result(self, scan_result): argument
50 def on_advertisement_found(self, scanner_id, scan_result): argument
59 def on_advertisement_lost(self, scanner_id, scan_result): argument
68 def on_suspend_mode_change(self, suspend_mode): argument
83 def __init__(self, scanner_id, uuid, status): argument
100 def get_event_count(self, event): argument
113 def add_event_count(self, event): argument
121 def reset_event_count(self, event): argument
142 def set_target_devices(self, devices): argument
[all …]
Dtelephony_client.py27 def on_telephony_use(self, addr, state): argument
58 def __init__(self): argument
62 def OnTelephonyUse(self, addr, state): argument
73 def __init__(self, bus, hci): argument
87 def __del__(self): argument
92 def on_telephony_use(self, addr, state): argument
101 def _make_dbus_phone_number(self, number): argument
113 def has_proxy(self): argument
117 def proxy(self): argument
122 def register_telephony_callback(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/Uwb/tests/cts/hostsidetests/multidevices/uwb/FiraRangingTests/
Dranging_test.py57 def __init__(self, configs: config_parser.TestRunConfig): argument
66 def setup_class(self): argument
82 def setup_test(self): argument
93 def teardown_test(self): argument
101 self, initiator: uwb_ranging_decorator.UwbRangingDecorator, argument
124 self, initiator: uwb_ranging_decorator.UwbRangingDecorator, argument
177 self, initiator: uwb_ranging_decorator.UwbRangingDecorator, argument
241 self, initiator: uwb_ranging_decorator.UwbRangingDecorator, argument
271 self, initiator: uwb_ranging_decorator.UwbRangingDecorator, argument
298 self, device: uwb_ranging_decorator.UwbRangingDecorator): argument
[all …]
/packages/modules/Bluetooth/system/blueberry/tests/gd/hci/
Dle_acl_manager_test.py33 def setup_class(self): argument
36 def setup_test(self): argument
45 def teardown_test(self): argument
50 def set_privacy_policy_static(self): argument
58 def register_for_event(self, event_code): argument
62 def register_for_le_event(self, event_code): argument
66 def enqueue_hci_command(self, command): argument
71 def enqueue_acl_data(self, handle, pb_flag, b_flag, data): argument
75 def dut_connects(self): argument
98 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.py159 def __init__(self, use_flags): argument
181 def set_flag(self, key, value=True): argument
188 def __init__(self, args): argument
242 def _generate_rustflags(self): argument
256 def configure_environ(self): argument
280 def print_env(self): argument
289 def run_command(self, target, args, cwd=None, env=None): argument
316 def _get_basever(self): argument
331 def _gn_default_output(self): argument
334 def _gn_configure(self): 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>>...22