Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/audio_hal_interface/
Dhal_version_manager.cc67 std::unique_ptr<HalVersionManager> HalVersionManager::instance_ptr = member in bluetooth::audio::HalVersionManager
101 return instance_ptr->hal_version_.getTransport(); in GetHalTransport()
105 std::lock_guard<std::mutex> guard(instance_ptr->mutex_); in GetHalVersion()
106 return instance_ptr->hal_version_; in GetHalVersion()
111 std::lock_guard<std::mutex> guard(instance_ptr->mutex_); in GetProvidersFactory_2_1()
112 if (instance_ptr->hal_version_ != BluetoothAudioHalVersion::VERSION_2_1) { in GetProvidersFactory_2_1()
129 std::unique_lock<std::mutex> guard(instance_ptr->mutex_); in GetProvidersFactory_2_0()
130 if (instance_ptr->hal_version_ == BluetoothAudioHalVersion::VERSION_2_1) { in GetProvidersFactory_2_0()
132 return instance_ptr->GetProvidersFactory_2_1(); in GetProvidersFactory_2_0()
Dle_audio_software_unittest.cc64 MockHalVersionManager::instance_ptr = ptr; in SetInstance()
67 static MockHalVersionManager* GetInstance() { return instance_ptr; } in GetInstance()
70 static MockHalVersionManager* instance_ptr; member in __anon5d5082320111::MockHalVersionManager
72 MockHalVersionManager* MockHalVersionManager::instance_ptr = nullptr; member in __anon5d5082320111::MockHalVersionManager
99 instance_ptr = ptr; in SetInstance()
103 return instance_ptr; in GetInstance()
107 static MockBluetoothAudioClientInterfaceHidl* instance_ptr; member in __anon5d5082320111::MockBluetoothAudioClientInterfaceHidl
110 MockBluetoothAudioClientInterfaceHidl::instance_ptr = nullptr; member in __anon5d5082320111::MockBluetoothAudioClientInterfaceHidl
159 instance_ptr = ptr; in SetInstance()
163 return instance_ptr; in GetInstance()
[all …]
Dhal_version_manager_host.cc37 std::unique_ptr<HalVersionManager> HalVersionManager::instance_ptr = nullptr; member in bluetooth::audio::HalVersionManager
Dhal_version_manager.h131 static std::unique_ptr<HalVersionManager> instance_ptr;
/packages/modules/Bluetooth/system/btif/src/
Dbtif_leaudio_hal_version_host.cc23 static inline std::unique_ptr<HalVersionManager> instance_ptr = member in bluetooth::audio::HalVersionManager
/packages/modules/Bluetooth/system/test/mock/
Dmock_bta_leaudio.cc37 static inline std::unique_ptr<HalVersionManager> instance_ptr = member in bluetooth::audio::HalVersionManager