Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/btif/src/
Dbtif_csis_client.cc39 using bluetooth::csis::CsisClient;
55 Bind(&CsisClient::Initialize, this, in Init()
64 if (!initialized || !CsisClient::IsCsisClientRunning()) { in Connect()
71 do_in_main_thread(FROM_HERE, Bind(&CsisClient::Connect, in Connect()
72 Unretained(CsisClient::Get()), addr)); in Connect()
76 if (!initialized || !CsisClient::IsCsisClientRunning()) { in Disconnect()
83 do_in_main_thread(FROM_HERE, Bind(&CsisClient::Disconnect, in Disconnect()
84 Unretained(CsisClient::Get()), addr)); in Disconnect()
88 if (!initialized || !CsisClient::IsCsisClientRunning()) { in RemoveDevice()
98 do_in_main_thread(FROM_HERE, Bind(&CsisClient::RemoveDevice, in RemoveDevice()
[all …]
Dbtif_profile_storage.cc52 using bluetooth::csis::CsisClient;
1078 auto not_empty = CsisClient::GetForStorage(addr, set_info); in btif_storage_update_csis_info()
1106 FROM_HERE, Bind(&CsisClient::AddFromStorage, bd_addr, std::move(in))); in btif_storage_load_bonded_csis_devices()
Dbluetooth.cc323 if (bluetooth::csis::CsisClient::IsCsisClientRunning()) in removeDeviceFromProfiles()
827 bluetooth::csis::CsisClient::DebugDump(fd); in dump()
/packages/modules/Bluetooth/system/test/mock/
Dmock_bta_csis.cc24 using bluetooth::csis::CsisClient;
27 void CsisClient::AddFromStorage(const RawAddress& /* addr */, in AddFromStorage()
31 bool CsisClient::GetForStorage(const RawAddress& /* addr */, in GetForStorage()
36 void CsisClient::CleanUp() { inc_func_call_count(__func__); } in CleanUp()
37 bluetooth::csis::CsisClient* CsisClient::Get(void) { in Get()
41 bool CsisClient::IsCsisClientRunning() { in IsCsisClientRunning()
45 void CsisClient::Initialize(CsisClientCallbacks* /* callbacks */, in Initialize()
49 void CsisClient::DebugDump(int /* fd */) { inc_func_call_count(__func__); } in DebugDump()
/packages/modules/Bluetooth/system/bta/test/common/
Dmock_csis_client.cc26 void bluetooth::csis::CsisClient::Initialize( in Initialize()
32 void bluetooth::csis::CsisClient::CleanUp() { in CleanUp()
37 bluetooth::csis::CsisClient* bluetooth::csis::CsisClient::Get() { in Get()
42 void bluetooth::csis::CsisClient::DebugDump(int fd) { in DebugDump()
47 bool bluetooth::csis::CsisClient::IsCsisClientRunning() { in IsCsisClientRunning()
Dmock_csis_client.h23 class MockCsisClient : public bluetooth::csis::CsisClient {
45 MOCK_METHOD((CsisClient*), Get, ());
/packages/modules/Bluetooth/system/bta/csis/
Dcsis_client_test.cc57 using bluetooth::csis::CsisClient;
503 CsisClient::CleanUp(); in TearDown()
513 CsisClient::Initialize(callbacks.get(), in TestAppRegister()
518 ASSERT_TRUE(CsisClient::IsCsisClientRunning()); in TestAppRegister()
523 CsisClient::CleanUp(); in TestAppUnregister()
524 ASSERT_FALSE(CsisClient::IsCsisClientRunning()); in TestAppUnregister()
536 CsisClient::Get()->Connect(address); in TestConnect()
549 CsisClient::Get()->Disconnect(address); in TestDisconnect()
571 CsisClient::AddFromStorage(address, storage_buf); in TestAddFromStorage()
724 ASSERT_DEATH(CsisClient::Get(), ""); in TEST_F()
[all …]
Dcsis_client.cc58 using bluetooth::csis::CsisClient;
110 class CsisClientImpl : public CsisClient {
2383 void CsisClient::Initialize(bluetooth::csis::CsisClientCallbacks* callbacks, in Initialize()
2395 bool CsisClient::IsCsisClientRunning() { return instance; } in IsCsisClientRunning()
2397 CsisClient* CsisClient::Get(void) { in Get()
2402 void CsisClient::AddFromStorage(const RawAddress& addr, in AddFromStorage()
2412 bool CsisClient::GetForStorage(const RawAddress& addr, in GetForStorage()
2422 void CsisClient::CleanUp() { in CleanUp()
2434 void CsisClient::DebugDump(int fd) { in DebugDump()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Dcsis.rs105 pub struct CsisClient { struct
113 unsafe impl Send for CsisClient {} implementation
115 impl ToggleableProfile for CsisClient { implementation
144 impl CsisClient { impl
145 pub fn new(intf: &BluetoothInterface) -> CsisClient { in new() argument
151 CsisClient { internal: csis_if, is_init: false, is_enabled: false } in new()
/packages/modules/Bluetooth/system/bta/include/
Dbta_csis_api.h32 class CsisClient {
34 virtual ~CsisClient() = default;
41 static CsisClient* Get();
/packages/modules/Bluetooth/system/bta/vc/
Dvc.cc45 using bluetooth::csis::CsisClient;
380 auto csis_api = CsisClient::Get(); in HandleAutonomusVolumeChange()
900 auto csis_api = CsisClient::Get(); in MuteUnmute()
979 auto csis_api = CsisClient::Get(); in SetVolume()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dlib.rs95 CsisClient(CsisClientCallbacks), enumerator
314 Message::CsisClient(a) => { in dispatch()
Dbluetooth_media.rs16 BtCsisConnectionState, CsisClient, CsisClientCallbacks, CsisClientCallbacksDispatcher,
492 csis: Option<CsisClient>,
3091 let _ = txl.send(Message::CsisClient(cb)).await; in get_csis_dispatcher()
3139 self.csis = Some(CsisClient::new(&self.intf.lock().unwrap())); in initialize()
/packages/modules/Bluetooth/system/bta/has/
Dhas_client.cc47 using bluetooth::csis::CsisClient;
160 auto csis_api = CsisClient::Get(); in Connect()
210 auto csis_api = CsisClient::Get(); in Disconnect()
547 auto csis_api = CsisClient::Get(); in CpPresetOperationCaller()
743 auto csis_api = CsisClient::Get(); in CpWritePresetNameOperation()
792 auto csis_api = CsisClient::Get(); in shouldRequestSyncedOp()
Dhas_client_test.cc53 using ::bluetooth::csis::CsisClient;
408 auto csis_api = CsisClient::Get(); in set_sample_database()
/packages/modules/Bluetooth/system/bta/le_audio/
Ddevice_groups.cc90 if (bluetooth::csis::CsisClient::IsCsisClientRunning()) { in DesiredSize()
91 group_size = bluetooth::csis::CsisClient::Get()->GetDesiredSize(group_id_); in DesiredSize()
Dclient.cc2740 if (bluetooth::csis::CsisClient::IsCsisClientRunning()) in OnServiceSearchComplete()