Home
last modified time | relevance | path

Searched refs:BaseCallbacks (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Bluetooth/system/gd/rust/topshim/facade/src/
Dadapter_service.rs4 use bt_topshim::btif::{BaseCallbacks, BaseCallbacksDispatcher, BluetoothInterface, BtIoCap};
26 tx: mpsc::Sender<BaseCallbacks>, in get_bt_dispatcher() argument
29 dispatch: Box::new(move |cb: BaseCallbacks| { in get_bt_dispatcher()
34 BaseCallbacks::AdapterState(state) => { in get_bt_dispatcher()
37 BaseCallbacks::SspRequest(addr, variant, passkey) => { in get_bt_dispatcher()
46 BaseCallbacks::AdapterProperties(status, _, properties) => { in get_bt_dispatcher()
52 BaseCallbacks::DiscoveryState(state) => { in get_bt_dispatcher()
55 BaseCallbacks::DeviceFound(_, properties) => { in get_bt_dispatcher()
58 BaseCallbacks::BondState(_, address, state, _) => { in get_bt_dispatcher()
77 event_rx: Arc<TokioMutex<mpsc::Receiver<BaseCallbacks>>>,
[all …]
/packages/modules/Bluetooth/system/gd/rust/topshim/src/
Dbtif.rs1032 pub enum BaseCallbacks { enum
1066 pub dispatch: Box<dyn Fn(BaseCallbacks) + Send>,
1071 cb_variant!(BaseCb, adapter_state_cb -> BaseCallbacks::AdapterState, u32 -> BtState);
1072 cb_variant!(BaseCb, adapter_properties_cb -> BaseCallbacks::AdapterProperties,
1076 cb_variant!(BaseCb, remote_device_properties_cb -> BaseCallbacks::RemoteDeviceProperties,
1081 cb_variant!(BaseCb, device_found_cb -> BaseCallbacks::DeviceFound,
1085 cb_variant!(BaseCb, discovery_state_cb -> BaseCallbacks::DiscoveryState,
1087 cb_variant!(BaseCb, pin_request_cb -> BaseCallbacks::PinRequest,
1092 cb_variant!(BaseCb, ssp_request_cb -> BaseCallbacks::SspRequest,
1096 cb_variant!(BaseCb, bond_state_cb -> BaseCallbacks::BondState,
[all …]
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dlib.rs49 btif::{BaseCallbacks, BtTransport, RawAddress},
83 Base(BaseCallbacks),
Dbluetooth.rs4 BaseCallbacks, BaseCallbacksDispatcher, BluetoothInterface, BluetoothProperty, BtAclState,
1389 #[btif_callbacks_dispatcher(dispatch_base_callbacks, BaseCallbacks)]