Home
last modified time | relevance | path

Searched refs:a2dpInstance_ (Results 1 - 2 of 2) sorted by relevance

/foundation/multimedia/audio_framework/frameworks/native/bluetoothclient/
H A Daudio_bluetooth_manager.cpp32 A2dpSource *AudioA2dpManager::a2dpInstance_ = nullptr;
108 a2dpInstance_ = A2dpSource::GetProfile(); in RegisterBluetoothA2dpListener()
109 CHECK_AND_RETURN_LOG(a2dpInstance_ != nullptr, "Failed to obtain A2DP profile instance"); in RegisterBluetoothA2dpListener()
110 a2dpInstance_->RegisterObserver(a2dpListener_); in RegisterBluetoothA2dpListener()
117 CHECK_AND_RETURN_LOG(a2dpInstance_ != nullptr, "A2DP profile instance unavailable"); in UnregisterBluetoothA2dpListener()
118 a2dpInstance_->DeregisterObserver(a2dpListener_); in UnregisterBluetoothA2dpListener()
119 a2dpInstance_ = nullptr; in UnregisterBluetoothA2dpListener()
145 a2dpInstance_ = A2dpSource::GetProfile(); in SetActiveA2dpDevice()
146 CHECK_AND_RETURN_RET_LOG(a2dpInstance_ != nullptr, ERROR, "Failed to obtain A2DP profile instance"); in SetActiveA2dpDevice()
154 int32_t ret = a2dpInstance_ in SetActiveA2dpDevice()
[all...]
H A Daudio_bluetooth_manager.h86 static A2dpSource *a2dpInstance_; member in OHOS::Bluetooth::AudioA2dpManager

Completed in 2 milliseconds