Home
last modified time | relevance | path

Searched refs:Callbacks (Results 1 – 6 of 6) sorted by relevance

/system/bt/gd/rust/linux/adapter/src/
Dmain.rs17 enum Callbacks { enum
25 tx: Sender<Callbacks>,
26 rx: Receiver<Callbacks>,
32 let (tx, rx) = mpsc::channel::<Callbacks>(1); in make_context()
39 txl.send(Callbacks::AdapterStateChanged(state)).await; in make_context()
45 txl.send(Callbacks::AdapterPropertiesChanged(status, count, props)).await; in make_context()
51 txl.send(Callbacks::RemoteDevicePropertiesChanged(status, address, count, props)); in make_context()
57 txl.send(Callbacks::DeviceFound(count, props)).await; in make_context()
63 txl.send(Callbacks::DiscoveryStateChanged(state)).await; in make_context()
86 Callbacks::AdapterStateChanged(state) => { in mainloop()
[all …]
/system/bt/include/hardware/
Dbluetooth_headset_callbacks.h28 class Callbacks {
30 virtual ~Callbacks() = default;
Dbluetooth_headset_interface.h40 virtual bt_status_t Init(Callbacks* callbacks, int max_hf_clients,
/system/bt/gd/rust/hal/src/
Dhidl_hal.rs22 *CALLBACKS.lock().unwrap() = Some(Callbacks { in provide_hidl_hal()
59 struct Callbacks { struct
67 static ref CALLBACKS: Mutex<Option<Callbacks>> = Mutex::new(None); argument
/system/bt/btif/src/
Dbtif_av.cc369 btav_source_callbacks_t* Callbacks() { return callbacks_; } in Callbacks() function in BtifAvSource
557 btav_sink_callbacks_t* Callbacks() { return callbacks_; } in Callbacks() function in BtifAvSink
2385 base::Bind(btif_av_source.Callbacks()->connection_state_cb, in btif_report_connection_state()
2389 base::Bind(btif_av_sink.Callbacks()->connection_state_cb, in btif_report_connection_state()
2410 base::Bind(btif_av_source.Callbacks()->audio_state_cb, in btif_report_audio_state()
2414 base::Bind(btif_av_sink.Callbacks()->audio_state_cb, in btif_report_audio_state()
2450 base::Bind(btif_av_source.Callbacks()->audio_config_cb, peer_address, in btif_av_report_source_codec_state()
2469 base::Bind(btif_av_sink.Callbacks()->audio_config_cb, in btif_av_report_sink_audio_config_state()
2487 btav_source_callbacks_t* callbacks = btif_av_source.Callbacks(); in btif_av_query_mandatory_codec_priority()
Dbtif_hf.cc94 static Callbacks* bt_hf_callbacks = nullptr;
709 bt_status_t Init(Callbacks* callbacks, int max_hf_clients,
750 bt_status_t HeadsetInterface::Init(Callbacks* callbacks, int max_hf_clients, in Init()
816 do_in_jni_thread(base::Bind(&Callbacks::AudioStateCallback, in ConnectAudio()