Searched refs:instance_ptr (Results 1 – 6 of 6) sorted by relevance
65 std::unique_ptr<HalVersionManager> HalVersionManager::instance_ptr = member in bluetooth::audio::HalVersionManager96 return instance_ptr->hal_version_.getTransport(); in GetHalTransport()100 std::lock_guard<std::mutex> guard(instance_ptr->mutex_); in GetHalVersion()101 return instance_ptr->hal_version_; in GetHalVersion()105 std::lock_guard<std::mutex> guard(instance_ptr->mutex_); in GetProvidersFactory_2_1()106 if (instance_ptr->hal_version_ != BluetoothAudioHalVersion::VERSION_2_1) { in GetProvidersFactory_2_1()121 std::unique_lock<std::mutex> guard(instance_ptr->mutex_); in GetProvidersFactory_2_0()122 if (instance_ptr->hal_version_ == BluetoothAudioHalVersion::VERSION_2_1) { in GetProvidersFactory_2_0()124 return instance_ptr->GetProvidersFactory_2_1(); in GetProvidersFactory_2_0()
54 static void SetInstance(MockHalVersionManager* ptr) { MockHalVersionManager::instance_ptr = ptr; } in SetInstance()56 static MockHalVersionManager* GetInstance() { return instance_ptr; } in GetInstance()59 static MockHalVersionManager* instance_ptr; member in __anonfc4200280111::MockHalVersionManager61 MockHalVersionManager* MockHalVersionManager::instance_ptr = nullptr; member in __anonfc4200280111::MockHalVersionManager84 static void SetInstance(MockBluetoothAudioClientInterfaceHidl* ptr) { instance_ptr = ptr; } in SetInstance()86 static MockBluetoothAudioClientInterfaceHidl* GetInstance() { return instance_ptr; } in GetInstance()89 static MockBluetoothAudioClientInterfaceHidl* instance_ptr; member in __anonfc4200280111::MockBluetoothAudioClientInterfaceHidl91 MockBluetoothAudioClientInterfaceHidl* MockBluetoothAudioClientInterfaceHidl::instance_ptr = member in __anonfc4200280111::MockBluetoothAudioClientInterfaceHidl138 static void SetInstance(MockBluetoothAudioClientInterfaceAidl* ptr) { instance_ptr = ptr; } in SetInstance()140 static MockBluetoothAudioClientInterfaceAidl* GetInstance() { return instance_ptr; } in GetInstance()[all …]
37 std::unique_ptr<HalVersionManager> HalVersionManager::instance_ptr = nullptr; member in bluetooth::audio::HalVersionManager
123 static std::unique_ptr<HalVersionManager> instance_ptr;
23 static inline std::unique_ptr<HalVersionManager> instance_ptr = member in bluetooth::audio::HalVersionManager
37 static inline std::unique_ptr<HalVersionManager> instance_ptr = member in bluetooth::audio::HalVersionManager