Searched refs:APIMessage (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/ |
D | interface_manager.rs | 14 APIMessage, BluetoothAPI, Message, 35 pub fn create_channel() -> (Sender<APIMessage>, Receiver<APIMessage>) { in create_channel() 36 channel::<APIMessage>(1) in create_channel() 53 mut rx: Receiver<APIMessage>, in dispatch() argument 185 APIMessage::IsReady(api) => match api { in dispatch() 266 APIMessage::ShutDown => { in dispatch()
|
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/ |
D | battery_service.rs | 13 use crate::{uuid, APIMessage, BluetoothAPI}; 35 api_tx: Sender<APIMessage>, 103 api_tx: Sender<APIMessage>, in new() argument 404 api_tx: Sender<APIMessage>, 408 fn new(tx: Sender<Message>, api_tx: Sender<APIMessage>) -> Self { in new() 427 let _ = api_tx.send(APIMessage::IsReady(BluetoothAPI::Battery)).await; in on_client_registered()
|
D | lib.rs | 181 pub enum APIMessage { enum 213 api_tx: Sender<APIMessage>, in dispatch() argument 238 let _ = txl.send(APIMessage::ShutDown).await; in dispatch()
|
D | bluetooth.rs | 56 use crate::{APIMessage, BluetoothAPI, Message, RPCProxy, SuspendMode}; 617 api_tx: Sender<APIMessage>, 639 api_tx: Sender<APIMessage>, in new() argument 1637 let _ = api_txl.send(APIMessage::IsReady(BluetoothAPI::Adapter)).await; in adapter_state_changed() 1639 let _ = api_txl.send(APIMessage::IsReady(BluetoothAPI::Media)).await; in adapter_state_changed()
|
D | bluetooth_gatt.rs | 28 use crate::{APIMessage, BluetoothAPI, Message, RPCProxy, SuspendMode}; 1500 pub fn init_profiles(&mut self, tx: Sender<Message>, api_tx: Sender<APIMessage>) { in init_profiles() argument 1581 let _ = api_tx_clone.send(APIMessage::IsReady(BluetoothAPI::Gatt)).await; in init_profiles()
|