Home
last modified time | relevance | path

Searched refs:LeAudioClient (Results 1 – 17 of 17) sorted by relevance

/packages/modules/Bluetooth/system/btif/src/
Dbtif_le_audio.cc154 Bind(&LeAudioClient::Initialize, this, in Initialize()
168 if (!initialized || !LeAudioClient::IsLeAudioClientRunning()) { in Cleanup()
177 do_in_main_thread(FROM_HERE, Bind(&LeAudioClient::Cleanup)); in Cleanup()
181 if (!initialized || !LeAudioClient::IsLeAudioClientRunning()) { in RemoveDevice()
191 Bind(&LeAudioClient::RemoveDevice, in RemoveDevice()
192 Unretained(LeAudioClient::Get()), address)); in RemoveDevice()
198 if (!initialized || !LeAudioClient::IsLeAudioClientRunning()) { in Connect()
206 Bind(&LeAudioClient::Connect, in Connect()
207 Unretained(LeAudioClient::Get()), address)); in Connect()
211 if (!initialized || !LeAudioClient::IsLeAudioClientRunning()) { in Disconnect()
[all …]
Dbtif_profile_storage.cc684 if (LeAudioClient::GetHandlesForStorage(addr, handles)) { in btif_storage_leaudio_update_handles_bin()
699 if (LeAudioClient::GetSinkPacsForStorage(addr, sink_pacs)) { in btif_storage_leaudio_update_pacs_bin()
710 if (LeAudioClient::GetSourcePacsForStorage(addr, source_pacs)) { in btif_storage_leaudio_update_pacs_bin()
725 if (LeAudioClient::GetAsesForStorage(addr, ases)) { in btif_storage_leaudio_update_ase_bin()
861 Bind(&LeAudioClient::AddFromStorage, bd_addr, autoconnect, in btif_storage_load_bonded_leaudio()
Dbluetooth.cc326 if (LeAudioClient::IsLeAudioClientRunning()) in removeDeviceFromProfiles()
378 .IsLeAudioClientRunning = LeAudioClient::IsLeAudioClientRunning, in CreateInterfaceToProfiles()
830 LeAudioClient::DebugDump(fd); in dump()
/packages/modules/Bluetooth/system/test/mock/
Dmock_bta_leaudio.cc44 void LeAudioClient::AddFromStorage( in AddFromStorage()
56 bool LeAudioClient::GetHandlesForStorage(const RawAddress& /* addr */, in GetHandlesForStorage()
62 bool LeAudioClient::GetSinkPacsForStorage(const RawAddress& /* addr */, in GetSinkPacsForStorage()
68 bool LeAudioClient::GetSourcePacsForStorage(const RawAddress& /* addr */, in GetSourcePacsForStorage()
74 bool LeAudioClient::GetAsesForStorage(const RawAddress& /* addr */, in GetAsesForStorage()
80 void LeAudioClient::Cleanup(void) { inc_func_call_count(__func__); } in Cleanup()
82 LeAudioClient* LeAudioClient::Get(void) { in Get()
86 bool LeAudioClient::IsLeAudioClientRunning(void) { in IsLeAudioClientRunning()
90 bool LeAudioClient::IsLeAudioClientInStreaming(void) { in IsLeAudioClientInStreaming()
94 void LeAudioClient::Initialize( in Initialize()
[all …]
/packages/modules/Bluetooth/system/bta/le_audio/
Dclient_linux.cc21 class LeAudioClientImpl : public LeAudioClient {
48 void LeAudioClient::Initialize( in Initialize()
53 void LeAudioClient::Cleanup(void) {} in Cleanup()
54 LeAudioClient* LeAudioClient::Get(void) { return nullptr; } in Get()
55 void LeAudioClient::DebugDump(int fd) {} in DebugDump()
56 void LeAudioClient::AddFromStorage(const RawAddress& addr, bool autoconnect, in AddFromStorage()
65 bool LeAudioClient::GetHandlesForStorage(const RawAddress& addr, in GetHandlesForStorage()
69 bool LeAudioClient::GetSinkPacsForStorage(const RawAddress& addr, in GetSinkPacsForStorage()
73 bool LeAudioClient::GetSourcePacsForStorage(const RawAddress& addr, in GetSourcePacsForStorage()
77 bool LeAudioClient::GetAsesForStorage(const RawAddress& addr, in GetAsesForStorage()
[all …]
Dle_audio_client_test.cc1591 ASSERT_FALSE(LeAudioClient::IsLeAudioClientRunning()); in SetUp()
1666 if (LeAudioClient::IsLeAudioClientRunning()) { in TearDown()
1668 LeAudioClient::Cleanup(); in TearDown()
1669 ASSERT_FALSE(LeAudioClient::IsLeAudioClientRunning()); in TearDown()
1850 base::BindOnce(&LeAudioClient::Connect, in ConnectLeAudio()
1851 base::Unretained(LeAudioClient::Get()), address)); in ConnectLeAudio()
1875 FROM_HERE, base::Bind(&LeAudioClient::Disconnect, in DisconnectLeAudioWithGattClose()
1876 base::Unretained(LeAudioClient::Get()), address)); in DisconnectLeAudioWithGattClose()
1901 FROM_HERE, base::Bind(&LeAudioClient::Disconnect, in DisconnectLeAudioWithAclClose()
1902 base::Unretained(LeAudioClient::Get()), address)); in DisconnectLeAudioWithAclClose()
[all …]
Dclient.cc226 class LeAudioClientImpl : public LeAudioClient {
6253 void LeAudioClient::AddFromStorage( in AddFromStorage()
6270 bool LeAudioClient::GetHandlesForStorage(const RawAddress& addr, in GetHandlesForStorage()
6280 bool LeAudioClient::GetSinkPacsForStorage(const RawAddress& addr, in GetSinkPacsForStorage()
6290 bool LeAudioClient::GetSourcePacsForStorage(const RawAddress& addr, in GetSourcePacsForStorage()
6300 bool LeAudioClient::GetAsesForStorage(const RawAddress& addr, in GetAsesForStorage()
6310 bool LeAudioClient::IsLeAudioClientRunning(void) { return instance != nullptr; } in IsLeAudioClientRunning()
6312 bool LeAudioClient::IsLeAudioClientInStreaming(void) { in IsLeAudioClientInStreaming()
6319 LeAudioClient* LeAudioClient::Get() { in Get()
6325 void LeAudioClient::Initialize( in Initialize()
[all …]
/packages/modules/Bluetooth/system/bta/test/
Dbta_ag_sco_test.cc32 LeAudioClient* LeAudioClient::Get() { return nullptr; } in Get()
33 bool LeAudioClient::IsLeAudioClientInStreaming() { return false; } in IsLeAudioClientInStreaming()
/packages/modules/Bluetooth/system/bta/include/
Dbta_le_audio_api.h39 class LeAudioClient {
41 virtual ~LeAudioClient(void) = default;
49 static LeAudioClient* Get(void);
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Dle_audio.rs544 pub struct LeAudioClient { struct
552 unsafe impl Send for LeAudioClient {} argument
554 impl ToggleableProfile for LeAudioClient { implementation
583 impl LeAudioClient { implementation
584 pub fn new(intf: &BluetoothInterface) -> LeAudioClient { in new() argument
590 LeAudioClient { internal: lea_client_if, is_init: false, is_enabled: false } in new()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dlib.rs86 LeAudioClient(LeAudioClientCallbacks), enumerator
306 Message::LeAudioClient(a) => { in dispatch()
Dbluetooth_media.rs28 LeAudioClient, LeAudioClientCallbacks, LeAudioClientCallbacksDispatcher, SinkMetadata,
483 le_audio: Option<LeAudioClient>,
3069 let _ = txl.send(Message::LeAudioClient(cb)).await; in get_le_audio_dispatcher()
3129 self.le_audio = Some(LeAudioClient::new(&self.intf.lock().unwrap())); in initialize()
/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_act.cc1492 bool is_le_audio_active = LeAudioClient::IsLeAudioClientInStreaming(); in bta_dm_obtain_system_context()
/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/
Dbroadcaster.cc136 if (!LeAudioClient::IsLeAudioClientRunning()) in CleanUp()
Dbroadcaster_test.cc132 bool LeAudioClient::IsLeAudioClientRunning(void) { return false; } in IsLeAudioClientRunning()
/packages/modules/Bluetooth/system/bta/ag/
Dbta_ag_cmd.cc1918 if (LeAudioClient::Get()->isDuplexPreferenceLeAudio(p_scb->peer_addr)) { in bta_ag_is_sco_open_allowed()
/packages/modules/Bluetooth/system/bta/hh/
Dbta_hh_le.cc209 LeAudioClient::RegisterIsoDataConsumer(bta_hh_le_iso_data_callback); in bta_hh_le_enable()