Home
last modified time | relevance | path

Searched refs:BluetoothAudioManager (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_audio_manager.cpp30 struct BluetoothAudioManager::impl {
40 BluetoothAudioManager::impl::impl() in impl()
43 BluetoothAudioManager::BluetoothAudioManager():pimpl(std::make_unique<impl>()) in BluetoothAudioManager() function in OHOS::Bluetooth::BluetoothAudioManager
46 int BluetoothAudioManager::impl::EnableWearDetection(const std::string &deviceId) in EnableWearDetection()
53 int BluetoothAudioManager::impl::DisableWearDetection(const std::string &deviceId) in DisableWearDetection()
89 int BluetoothAudioManager::EnableWearDetection(const std::string &deviceId) in EnableWearDetection()
96 int BluetoothAudioManager::DisableWearDetection(const std::string &deviceId) in DisableWearDetection()
110 int BluetoothAudioManager::IsDeviceWearing(const BluetoothRemoteDevice &device) in IsDeviceWearing()
162 BluetoothAudioManager &BluetoothAudioManager::GetInstance() in GetInstance()
165 static BluetoothNoDestructor<BluetoothAudioManager> instance; in GetInstance()
[all …]
/ohos5.0/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_audio_manager.h32 class BLUETOOTH_API BluetoothAudioManager {
40 static BluetoothAudioManager &GetInstance();
84 BluetoothAudioManager();
86 BLUETOOTH_DISALLOW_COPY_AND_ASSIGN(BluetoothAudioManager);
90 friend class BluetoothNoDestructor<BluetoothAudioManager>;
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/audio_manager/
H A Dnapi_bluetooth_audio_manager.cpp61 BluetoothAudioManager &wd = BluetoothAudioManager::GetInstance(); in EnableWearDetection()
79 BluetoothAudioManager &wd = BluetoothAudioManager::GetInstance(); in DisableWearDetection()
98 BluetoothAudioManager &wd = BluetoothAudioManager::GetInstance(); in IsWearDetectionEnabled()
119 BluetoothAudioManager &audioManager = BluetoothAudioManager::GetInstance(); in IsWearDetectionSupported()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/bluetoothclient/
H A Dbluetooth_device_manager.cpp109 BluetoothAudioManager::GetInstance().SendDeviceSelection(device, eventType, in SendUserSelectionEvent()
116 BluetoothAudioManager::GetInstance().SendDeviceSelection(device, A2DP_DEFAULT_SELECTION, in SendUserSelectionEvent()
127BluetoothAudioManager::GetInstance().GetWearDetectionState(device.GetDeviceAddr(), wearEnabledAbil… in IsBTWearDetectionEnable()
128BluetoothAudioManager::GetInstance().IsWearDetectionSupported(device.GetDeviceAddr(), isWearSuppor… in IsBTWearDetectionEnable()
H A Daudio_bluetooth_manager.cpp272 wearState = BluetoothAudioManager::GetInstance().IsDeviceWearing(device); in CheckA2dpDeviceReconnect()
400 wearState = BluetoothAudioManager::GetInstance().IsDeviceWearing(device); in CheckHfpDeviceReconnect()