Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/bluetoothclient/
H A Daudio_bluetooth_manager.cpp270 int32_t wearState = 0; // 0 unwear state in CheckA2dpDeviceReconnect() local
272 wearState = BluetoothAudioManager::GetInstance().IsDeviceWearing(device); in CheckA2dpDeviceReconnect()
273 …if (wearState == 1) MediaBluetoothDeviceManager::SetMediaStack(device, WEAR_ACTION); // 1 wear sta… in CheckA2dpDeviceReconnect()
276 GetEncryptAddr(device.GetDeviceAddr()).c_str(), wearState); in CheckA2dpDeviceReconnect()
398 int32_t wearState = 0; // 0 unwear state in CheckHfpDeviceReconnect() local
400 wearState = BluetoothAudioManager::GetInstance().IsDeviceWearing(device); in CheckHfpDeviceReconnect()
401 … if (wearState == 1) HfpBluetoothDeviceManager::SetHfpStack(device, WEAR_ACTION); // 1 wear state in CheckHfpDeviceReconnect()
404 GetEncryptAddr(device.GetDeviceAddr()).c_str(), wearState); in CheckHfpDeviceReconnect()