Home
last modified time | relevance | path

Searched defs:BtStatus (Results 1 – 18 of 18) sorted by relevance

/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Dhid_host.rs233 pub fn connect(&self, addr: &mut RawAddress) -> BtStatus { in connect()
239 pub fn disconnect(&self, addr: &mut RawAddress) -> BtStatus { in disconnect()
245 pub fn virtual_unplug(&self, addr: &mut RawAddress) -> BtStatus { in virtual_unplug()
251 pub fn set_info(&self, addr: &mut RawAddress, info: BthhHidInfo) -> BtStatus { in set_info()
257 pub fn get_protocol(&self, addr: &mut RawAddress, mode: BthhProtocolMode) -> BtStatus { in get_protocol()
268 pub fn set_protocol(&self, addr: &mut RawAddress, mode: BthhProtocolMode) -> BtStatus { in set_protocol()
279 pub fn get_idle_time(&self, addr: &mut RawAddress) -> BtStatus { in get_idle_time()
285 pub fn set_idle_time(&self, addr: &mut RawAddress, idle_time: u8) -> BtStatus { in set_idle_time()
297 ) -> BtStatus { in get_report()
316 ) -> BtStatus { in get_report_reply()
[all …]
Dhf_client.rs173 pub fn connect(&self, addr: RawAddress) -> BtStatus { in connect()
179 pub fn disconnect(&self, addr: RawAddress) -> BtStatus { in disconnect()
185 pub fn connect_audio(&mut self, addr: RawAddress) -> BtStatus { in connect_audio()
191 pub fn disconnect_audio(&mut self, addr: RawAddress) -> BtStatus { in disconnect_audio()
Dgatt.rs1184 pub fn register_client(&self, uuid: &Uuid, eatt_support: bool) -> BtStatus { in register_client()
1188 pub fn unregister_client(&self, client_if: i32) -> BtStatus { in unregister_client()
1201 ) -> BtStatus { in connect()
1215 pub fn disconnect(&self, client_if: i32, addr: &RawAddress, conn_id: i32) -> BtStatus { in disconnect()
1219 pub fn refresh(&self, client_if: i32, addr: &RawAddress) -> BtStatus { in refresh()
1223 pub fn search_service(&self, conn_id: i32, filter_uuid: Option<Uuid>) -> BtStatus { in search_service()
1232 pub fn read_characteristic(&self, conn_id: i32, handle: u16, auth_req: i32) -> BtStatus { in read_characteristic()
1243 ) -> BtStatus { in read_using_characteristic_uuid()
1262 ) -> BtStatus { in write_characteristic()
1276 pub fn read_descriptor(&self, conn_id: i32, handle: u16, auth_req: i32) -> BtStatus { in read_descriptor()
[all …]
Dhfp.rs330 pub fn connect(&mut self, addr: RawAddress) -> BtStatus { in connect()
350 pub fn disconnect(&mut self, addr: RawAddress) -> BtStatus { in disconnect()
364 ) -> BtStatus { in device_status_notification()
374 ) -> BtStatus { in indicator_query_response()
387 ) -> BtStatus { in current_calls_query_response()
397 ) -> BtStatus { in phone_state_change()
402 pub fn simple_at_response(&mut self, ok: bool, addr: RawAddress) -> BtStatus { in simple_at_response()
Dsocket.rs157 ) -> (BtStatus, Result<File, FdError>) { in listen()
194 ) -> (BtStatus, Result<File, FdError>) { in connect()
226 pub fn send_msc(&self, dlci: u8, addr: RawAddress) -> BtStatus { in send_msc()
Davrcp.rs165 pub fn connect(&mut self, addr: RawAddress) -> BtStatus { in connect()
170 pub fn disconnect(&mut self, addr: RawAddress) -> BtStatus { in disconnect()
310 ) -> BtStatus { in send_pass_through_cmd()
Dsdp.rs478 pub fn sdp_search(&self, address: &mut RawAddress, uuid: &Uuid) -> BtStatus { in sdp_search()
483 pub fn create_sdp_record(&self, record: &mut BtSdpRecord, handle: &mut i32) -> BtStatus { in create_sdp_record()
490 pub fn remove_sdp_record(&self, handle: i32) -> BtStatus { in remove_sdp_record()
Da2dp.rs352 pub fn connect(&mut self, addr: RawAddress) -> BtStatus { in connect()
362 pub fn disconnect(&mut self, addr: RawAddress) -> BtStatus { in disconnect()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/
Dmetrics.rs64 status: BtStatus, in bond_state_changed()
102 status: BtStatus, in profile_connection_state_changed()
115 status: BtStatus, in acl_connection_state_changed()
Dbtif.rs188 pub enum BtStatus { enum
250 impl From<bindings::bt_status_t> for BtStatus { implementation
259 impl Into<u32> for BtStatus { implementation
265 impl Into<i32> for BtStatus { implementation
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dsocket_manager.rs44 fn new(status: BtStatus, id: u64) -> Self { in new()
269 fn on_incoming_socket_ready(&mut self, socket: BluetoothServerSocket, status: BtStatus); in on_incoming_socket_ready()
272 fn on_incoming_socket_closed(&mut self, listener_id: SocketId, reason: BtStatus); in on_incoming_socket_closed()
284 result: BtStatus, in on_outgoing_connection_result()
387 fn accept(&mut self, callback: CallbackId, id: SocketId, timeout_ms: Option<u32>) -> BtStatus; in accept()
390 fn close(&mut self, callback: CallbackId, id: SocketId) -> BtStatus; in close()
734 listen_status: BtStatus, in listening_task()
993 ) -> BtStatus { in wait_and_read_stream()
1416 fn accept(&mut self, callback: CallbackId, id: SocketId, timeout_ms: Option<u32>) -> BtStatus { in accept()
1439 fn close(&mut self, callback: CallbackId, id: SocketId) -> BtStatus { in close()
Dbluetooth.rs244 ) -> BtStatus; in get_hid_report()
252 ) -> BtStatus; in set_hid_report()
255 fn send_hid_data(&mut self, addr: String, data: String) -> BtStatus; in send_hid_data()
983 pub fn discovery_enter_suspend(&mut self) -> BtStatus { in discovery_enter_suspend()
999 pub fn discovery_exit_suspend(&mut self) -> BtStatus { in discovery_exit_suspend()
1041 status: BtStatus, in adapter_properties_changed()
1067 status: BtStatus, in bond_state()
1077 status: BtStatus, in remote_device_properties_changed()
1087 status: BtStatus, in acl_state()
1137 status: BtStatus, in sdp_search()
[all …]
Dbluetooth_gatt.rs392 ) -> BtStatus; in start_scan()
395 fn stop_scan(&mut self, scanner_id: u8) -> BtStatus; in stop_scan()
1514 pub fn scan_enter_suspend(&mut self) -> BtStatus { in scan_enter_suspend()
1558 pub fn scan_exit_suspend(&mut self) -> BtStatus { in scan_exit_suspend()
1582 fn resume_scan(&mut self, scanner_id: u8) -> BtStatus { in resume_scan()
1617 ) -> BtStatus { in add_monitor_and_update_scan()
1755 pub(crate) fn start_active_scan(&mut self, scanner_id: u8) -> BtStatus { in start_active_scan()
1774 pub(crate) fn stop_active_scan(&mut self, scanner_id: u8) -> BtStatus { in stop_active_scan()
1900 ) -> BtStatus { in start_scan()
1924 fn stop_scan(&mut self, scanner_id: u8) -> BtStatus { in stop_scan()
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/
Diface_bluetooth.rs686 fn on_incoming_socket_ready(&mut self, socket: BluetoothServerSocket, status: BtStatus) { in on_incoming_socket_ready()
691 fn on_incoming_socket_closed(&mut self, listener_id: SocketId, reason: BtStatus) { in on_incoming_socket_closed()
708 result: BtStatus, in on_outgoing_connection_result()
845 fn accept(&mut self, callback: CallbackId, id: SocketId, timeout_ms: Option<u32>) -> BtStatus { in accept()
850 fn close(&mut self, callback: CallbackId, id: SocketId) -> BtStatus { in close()
945 ) -> BtStatus { in get_hid_report()
955 ) -> BtStatus { in set_hid_report()
960 fn send_hid_data(&mut self, addr: String, data: String) -> BtStatus { in send_hid_data()
Diface_bluetooth_gatt.rs633 ) -> BtStatus { in start_scan()
638 fn stop_scan(&mut self, scanner_id: u8) -> BtStatus { in stop_scan()
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/
Ddbus_iface.rs930 ) -> BtStatus { in get_hid_report()
940 ) -> BtStatus { in set_hid_report()
945 fn send_hid_data(&mut self, addr: String, data: String) -> BtStatus; in send_hid_data()
1319 ) -> BtStatus { in start_scan()
1324 fn stop_scan(&mut self, _scanner_id: u8) -> BtStatus { in stop_scan()
2061 fn accept(&mut self, callback: CallbackId, id: SocketId, timeout_ms: Option<u32>) -> BtStatus { in accept()
2066 fn close(&mut self, callback: CallbackId, id: SocketId) -> BtStatus { in close()
2081 fn on_incoming_socket_ready(&mut self, socket: BluetoothServerSocket, status: BtStatus) { in on_incoming_socket_ready()
2086 fn on_incoming_socket_closed(&mut self, listener_id: SocketId, reason: BtStatus) { in on_incoming_socket_closed()
2103 result: BtStatus, in on_outgoing_connection_result()
Dcallbacks.rs1094 fn on_incoming_socket_ready(&mut self, socket: BluetoothServerSocket, status: BtStatus) { in on_incoming_socket_ready()
1133 fn on_incoming_socket_closed(&mut self, listener_id: SocketId, reason: BtStatus) { in on_incoming_socket_closed()
1149 result: BtStatus, in on_outgoing_connection_result()
/packages/modules/Bluetooth/system/gd/metrics/chromeos/
Dmetrics_event.cc54 typedef bt_status_t BtStatus; typedef