Home
last modified time | relevance | path

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

/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 state in CheckA2dpDeviceReconnect()
276 GetEncryptAddr(device.GetDeviceAddr()).c_str(), wearState); in CheckA2dpDeviceReconnect()
395 int32_t wearState = 0; // 0 unwear state in CheckHfpDeviceReconnect() local
397 wearState = BluetoothAudioManager::GetInstance().IsDeviceWearing(device); in CheckHfpDeviceReconnect()
398 if (wearState == 1) HfpBluetoothDeviceManager::SetHfpStack(device, WEAR_ACTION); // 1 wear state in CheckHfpDeviceReconnect()
401 GetEncryptAddr(device.GetDeviceAddr()).c_str(), wearState); in CheckHfpDeviceReconnect()

Completed in 3 milliseconds