Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Dhfp.rs302 pub enum HfpCallbacks { enum
321 pub dispatch: Box<dyn Fn(HfpCallbacks) + Send>,
328 hfp_connection_state_callback -> HfpCallbacks::ConnectionState,
333 hfp_audio_state_callback -> HfpCallbacks::AudioState,
338 hfp_volume_update_callback -> HfpCallbacks::VolumeUpdate,
343 hfp_mic_volume_update_callback -> HfpCallbacks::MicVolumeUpdate,
348 hfp_vendor_specific_at_command_callback -> HfpCallbacks::VendorSpecificAtCommand,
353 hfp_battery_level_update_callback -> HfpCallbacks::BatteryLevelUpdate,
358 hfp_wbs_caps_update_callback -> HfpCallbacks::WbsCapsUpdate,
363 hfp_swb_caps_update_callback -> HfpCallbacks::SwbCapsUpdate,
[all …]
/packages/modules/Bluetooth/system/gd/rust/topshim/facade/src/
Dhfp_service.rs4 use bt_topshim::profiles::hfp::{Hfp, HfpCallbacks, HfpCallbacksDispatcher};
21 tx: Arc<Mutex<Option<mpsc::Sender<HfpCallbacks>>>>, in get_hfp_dispatcher() argument
24 dispatch: Box::new(move |cb: HfpCallbacks| { in get_hfp_dispatcher()
26 if let HfpCallbacks::ConnectionState(state, address) = &cb { in get_hfp_dispatcher()
50 event_tx: Arc<Mutex<Option<mpsc::Sender<HfpCallbacks>>>>,
203 if let HfpCallbacks::ConnectionState(state, address) = event { in fetch_events()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_media.rs21 Hfp, HfpCallbacks, HfpCallbacksDispatcher, HfpCodecBitId, HfpCodecFormat, HfpCodecId,
1417 pub fn dispatch_hfp_callbacks(&mut self, cb: HfpCallbacks) { in dispatch_hfp_callbacks() argument
1419 HfpCallbacks::ConnectionState(state, addr) => { in dispatch_hfp_callbacks()
1473 HfpCallbacks::AudioState(state, addr) => { in dispatch_hfp_callbacks()
1528 HfpCallbacks::VolumeUpdate(volume, addr) => { in dispatch_hfp_callbacks()
1556 HfpCallbacks::MicVolumeUpdate(volume, addr) => { in dispatch_hfp_callbacks()
1585 HfpCallbacks::VendorSpecificAtCommand(at_string, addr) => { in dispatch_hfp_callbacks()
1614 HfpCallbacks::BatteryLevelUpdate(battery_level, addr) => { in dispatch_hfp_callbacks()
1626 HfpCallbacks::WbsCapsUpdate(wbs_supported, addr) => { in dispatch_hfp_callbacks()
1664 HfpCallbacks::SwbCapsUpdate(swb_supported, addr) => { in dispatch_hfp_callbacks()
[all …]
Dlib.rs60 hfp::HfpCallbacks,
92 Hfp(HfpCallbacks),