Searched refs:ccall (Results 1 – 7 of 7) sorted by relevance
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/ |
D | hid_host.rs | 6 use crate::ccall; 182 let init = ccall!(self, init, cb_ptr.into()); in enable() 190 ccall!(self, cleanup); in disable() 244 BtStatus::from(ccall!( in connect() 262 BtStatus::from(ccall!( in disconnect() 280 BtStatus::from(ccall!( in virtual_unplug() 298 BtStatus::from(ccall!( in set_info() 317 BtStatus::from(ccall!( in get_protocol() 336 BtStatus::from(ccall!( in set_protocol() 354 BtStatus::from(ccall!( in get_idle_time() [all …]
|
D | hf_client.rs | 3 use crate::ccall; 106 let init = ccall!(self, init, cb_ptr.into()); in enable() 114 ccall!(self, cleanup); in disable() 175 BtStatus::from(ccall!(self, connect, addr_ptr.into())) in connect() 181 BtStatus::from(ccall!(self, disconnect, addr_ptr.into())) in disconnect() 187 BtStatus::from(ccall!(self, connect_audio, addr_ptr.into())) in connect_audio() 193 BtStatus::from(ccall!(self, disconnect_audio, addr_ptr.into())) in disconnect_audio() 198 ccall!(self, cleanup) in cleanup()
|
D | gatt.rs | 10 use crate::{ccall, mutcxxcall}; 1176 BtStatus::from(ccall!(self, register_client, uuid, eatt_support)) in register_client() 1180 BtStatus::from(ccall!(self, unregister_client, client_if)) in unregister_client() 1193 BtStatus::from(ccall!( in connect() 1207 BtStatus::from(ccall!(self, disconnect, client_if, addr, conn_id)) in disconnect() 1211 BtStatus::from(ccall!(self, refresh, client_if, addr)) in refresh() 1216 BtStatus::from(ccall!(self, search_service, conn_id, filter_uuid_ptr.into())) in search_service() 1220 ccall!(self, btif_gattc_discover_service_by_uuid, conn_id, uuid) in btif_gattc_discover_service_by_uuid() 1224 BtStatus::from(ccall!(self, read_characteristic, conn_id, handle, auth_req)) in read_characteristic() 1235 BtStatus::from(ccall!( in read_using_characteristic_uuid() [all …]
|
D | socket.rs | 10 use crate::ccall; 164 let status: BtStatus = ccall!( in listen() 194 let status: BtStatus = ccall!( in connect() 211 ccall!(self, request_max_tx_data_length, &addr); in request_max_tx_data_length() 226 ccall!( in send_msc() 241 ccall!(self, disconnect_all, &addr).into() in disconnect_all()
|
D | sdp.rs | 12 use crate::ccall; 471 let init = ccall!(self, init, cb_ptr.into()); in initialize() 480 BtStatus::from(ccall!(self, sdp_search, addr_ptr.into(), uuid)) in sdp_search() 487 BtStatus::from(ccall!(self, create_sdp_record, record_ptr.into(), handle_ptr.into())) in create_sdp_record() 491 BtStatus::from(ccall!(self, remove_sdp_record, handle)) in remove_sdp_record()
|
D | avrcp.rs | 8 use crate::ccall; 301 ccall!(self, init, cb_ptr.into()); in initialize() 312 ccall!(self, send_pass_through_cmd, &addr, key_code.into(), key_state.into()).into() in send_pass_through_cmd()
|
/packages/modules/Bluetooth/system/gd/rust/topshim/src/ |
D | btif.rs | 1139 macro_rules! ccall { macro 1260 let init = ccall!( in initialize() 1285 ccall!(self, set_os_callouts, callouts_ptr.into()); in initialize() 1293 ccall!(self, cleanup) in cleanup() 1297 ccall!(self, enable) in enable() 1301 ccall!(self, disable) in disable() 1305 ccall!(self, get_adapter_properties) in get_adapter_properties() 1310 ccall!(self, get_adapter_property, converted_type) in get_adapter_property() 1316 ccall!(self, set_adapter_property, prop_ptr.into()) in set_adapter_property() 1321 ccall!(self, get_remote_device_properties, addr_ptr.into()) in get_remote_device_properties() [all …]
|