Home
last modified time | relevance | path

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

/hardware/interfaces/bluetooth/audio/utils/session/
DBluetoothAudioSession_2_1.cpp206 BluetoothAudioSessionInstance_2_1::instance_ptr = member in android::bluetooth::audio::BluetoothAudioSessionInstance_2_1
214 std::lock_guard<std::mutex> guard(instance_ptr->mutex_); in GetSessionInstance()
215 if (!instance_ptr->sessions_map_.empty()) { in GetSessionInstance()
216 auto entry = instance_ptr->sessions_map_.find(session_type); in GetSessionInstance()
217 if (entry != instance_ptr->sessions_map_.end()) { in GetSessionInstance()
223 instance_ptr->sessions_map_[session_type] = session_ptr; in GetSessionInstance()
DBluetoothAudioSession.cpp475 BluetoothAudioSessionInstance::instance_ptr = member in android::bluetooth::audio::BluetoothAudioSessionInstance
483 std::lock_guard<std::mutex> guard(instance_ptr->mutex_); in GetSessionInstance()
484 if (!instance_ptr->sessions_map_.empty()) { in GetSessionInstance()
485 auto entry = instance_ptr->sessions_map_.find(session_type); in GetSessionInstance()
486 if (entry != instance_ptr->sessions_map_.end()) { in GetSessionInstance()
492 instance_ptr->sessions_map_[session_type] = session_ptr; in GetSessionInstance()
DBluetoothAudioSession_2_1.h86 static std::unique_ptr<BluetoothAudioSessionInstance_2_1> instance_ptr;
DBluetoothAudioSession.h183 static std::unique_ptr<BluetoothAudioSessionInstance> instance_ptr;