Home
last modified time | relevance | path

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

12345678910>>...24

/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/Uwb/ranging/tests/multidevices/RangingManagerTests/
Dranging_manager_tests.py66 def __init__(self, configs: config_parser.TestRunConfig): argument
76 def _is_cuttlefish_device(self, ad: android_device.AndroidDevice) -> bool: argument
80 def setup_class(self): argument
95 def teardown_class(self): argument
106 def setup_test(self): argument
116 def teardown_test(self): argument
124 self, argument
161 def _enable_bt(self): argument
165 def _disable_bt(self): argument
169 def _reset_wifi_state(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
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.py38 def __init__(self, test, channel, rootcanal, modem): argument
50 def asyncWaitConnection(self, pts_addr, delay=WAIT_DELAY_BEFORE_CONNECTION): argument
55 def waitConnectionCallback(self, pts_addr): argument
62 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 …]
Da2dp.py42 def __init__(self, channel, rootcanal): argument
56 def TSC_AVDTP_mmi_iut_accept_connect(self, test: str, pts_addr: bytes, **kwargs): argument
93 def TSC_AVDTP_mmi_iut_accept_disconnect(self, **kwargs): argument
105 def TSC_AVDTP_mmi_iut_initiate_discover(self, **kwargs): argument
118 def TSC_AVDTP_mmi_iut_initiate_start(self, test: str, **kwargs): argument
135 def TSC_AVDTP_mmi_iut_initiate_suspend(self, test: str, **kwargs): argument
147 def TSC_AVDTP_mmi_iut_initiate_close_stream(self, test: str, **kwargs): argument
164 def TSC_AVDTP_mmi_iut_initiate_out_of_range(self, pts_addr: bytes, **kwargs): argument
177 def TSC_AVDTP_mmi_iut_begin_streaming(self, test: str, **kwargs): argument
199 def TSC_AVDTP_mmi_iut_initiate_media(self, **kwargs): argument
[all …]
Dgap.py33 def __init__(self, channel, rootcanal): argument
51 def test_started(self, test: str, description: str, pts_addr: bytes): argument
70 def TSC_MMI_iut_send_hci_connect_request(self, test: str, pts_addr: bytes, **kwargs): argument
98 def _mmi_222(self, **kwargs): argument
112 def _mmi_2001(self, passkey: str, **kwargs): argument
125 def TSC_MMI_iut_send_advertising_report_event_connectable_undirected(self, **kwargs): argument
141 def TSC_MMI_iut_enter_handle_for_insufficient_authentication(self, pts_addr: bytes, **kwargs): argument
163 def TSC_MMI_the_security_id_is(self, pts_addr: bytes, passkey: str, **kwargs): argument
176 def TSC_MMI_iut_send_le_connect_request(self, test: str, pts_addr: bytes, **kwargs): argument
223 def TSC_MMI_enter_security_id(self, pts_addr: bytes, **kwargs): argument
[all …]
/packages/modules/adb/
Dtest_device.py46 def wrapper(self, *args): argument
63 def setUp(self) -> None: argument
68 def test_smoke(self): argument
78 def _test_no_rebind(self, description, direction_list, direction, argument
106 def test_forward_no_rebind(self): argument
111 def test_reverse_no_rebind(self): argument
116 def test_forward(self): argument
135 def test_forward_old_protocol(self): argument
154 def test_forward_tcp_port_0(self): argument
170 def test_reverse(self): argument
[all …]
/packages/modules/Wifi/tests/hostsidetests/multidevices/test/aware/integration/
Dwifi_aware_discovery_with_ranging_test.py55 def setup_class(self): argument
78 def setup_test(self): argument
91 def teardown_test(self): argument
105 def _teardown_test_on_device(self, ad: android_device.AndroidDevice) -> None: argument
110 def on_fail(self, record: records.TestResult) -> None: argument
116 def getname(self, level=1): argument
130 self, argument
164 self, argument
196 self, argument
303 def test_ranged_discovery_unsolicited_passive_prange_snorange(self): argument
[all …]
Dwifi_aware_datapath_test.py114 def setup_class(self): argument
139 def setup_test(self): argument
149 def teardown_test(self): argument
163 def _teardown_test_on_device(self, ad: android_device.AndroidDevice) -> None: argument
171 def on_fail(self, record: records.TestResult) -> None: argument
176 def _start_attach(self, ad: android_device.AndroidDevice) -> str: argument
190 def get_next_msg_id(self): argument
201 self, argument
227 def set_up_discovery(self, argument
338 def verify_network_info(self, p_data, s_data, open, port, 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/Uwb/tests/cts/hostsidetests/multidevices/uwb/FiraRangingTests/
Dranging_test.py59 def __init__(self, configs: config_parser.TestRunConfig): argument
68 def setup_class(self): argument
84 def setup_test(self): argument
95 def teardown_test(self): argument
103 self, initiator: uwb_ranging_decorator.UwbRangingDecorator, argument
131 self, initiator: uwb_ranging_decorator.UwbRangingDecorator, argument
184 self, initiator: uwb_ranging_decorator.UwbRangingDecorator, argument
248 self, initiator: uwb_ranging_decorator.UwbRangingDecorator, argument
278 self, initiator: uwb_ranging_decorator.UwbRangingDecorator, argument
305 self, device: uwb_ranging_decorator.UwbRangingDecorator): argument
[all …]
/packages/modules/Bluetooth/system/blueberry/utils/
Dandroid_bluetooth_decorator.py85 def __init__(self, ad: android_device.AndroidDevice): argument
96 def __getattr__(self, name: Any) -> Any: argument
99 def _is_device_connected(self, mac_address): argument
103 def _is_profile_connected(self, mac_address, profile): argument
122 def _get_bluetooth_le_state(self): argument
126 def _generate_id_by_size(self, size): argument
137 def _wait_for_bluetooth_manager_state(self, state=None, timeout=10, threshold=5): argument
167 def init_setup(self) -> None: argument
179 def sl4a_setup(self) -> None: argument
199 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 …]
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
84 def on_send_hid_virtual_unplug_completed(self, status): argument
131 def __init__(self): argument
135 def OnFetchDiscoverableModeComplete(self, disc_mode): 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 …]
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/android/pandora/test/pairing/
Dtest_base.py33 def _setup_devices(self): argument
36 def setup_class(self) -> None: argument
42 def teardown_class(self) -> None: argument
47 async def setup_test(self) -> None: argument
50 def teardown_test(self): argument
54 def acl_initiator(self): argument
58 def acl_initiator(self, acl_initiator: PandoraDevice): argument
62 def acl_responder(self): argument
66 def acl_responder(self, acl_responder: PandoraDevice): argument
70 def service_initiator(self): argument
[all …]
/packages/modules/Nfc/tests/cts/hostsidetests/multidevices/
Dcts_nfc_hce_multi_device_test.py128 def _set_up_emulator(self, *args, start_emulator_fun=None, service_list=[], argument
172 def _set_up_reader_and_assert_transaction(self, expected_service=None): argument
186 def _is_cuttlefish_device(self, ad: android_device.AndroidDevice) -> bool: argument
190 def _reboot(self, ad: android_device.AndroidDevice): argument
195 def _get_casimir_id_for_device(self): argument
206 def setup_class(self): argument
271 def setup_test(self): argument
289 def on_fail(self, record): argument
299 def test_single_non_payment_service(self): argument
320 def test_single_payment_service(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 …]
/packages/modules/Wifi/tests/hostsidetests/multidevices/test/direct/
Dservice_discovery_test.py56 def setup_class(self) -> None: argument
70 def _setup_device(self, ad: android_device.AndroidDevice) -> None: argument
79 def test_search_all_services_01(self) -> None: argument
105 def test_search_all_services_02(self) -> None: argument
135 def test_search_all_services_03(self) -> None: argument
161 def test_serv_req_dns_ptr(self) -> None: argument
186 def test_serv_req_dns_txt(self) -> None: argument
212 def test_serv_req_upnp_all(self) -> None: argument
234 def test_serv_req_upnp_root_device(self) -> None: argument
256 def test_serv_req_remove_request(self) -> None: 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
258 def configure_environ(self): argument
282 def print_env(self): argument
291 def run_command(self, target, args, cwd=None, env=None): argument
322 def _get_basever(self): argument
337 def _gn_default_output(self): argument
340 def _gn_configure(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 …]

12345678910>>...24