Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/pan/
H A Dpan_service.cpp168 int slcState = it->second->GetDeviceStateInt(); in Disconnect()
254 (it->second->GetDeviceStateInt() == PAN_STATE_CONNECTED)) { in WriteNetworkData()
278 if ((it->second->GetDeviceStateInt() == PAN_STATE_CONNECTED) && in PanSendData()
319 if (it->second->GetDeviceStateInt() < PAN_STATE_CONNECTED) { in IsConnected()
355 if (it->second->GetDeviceStateInt() >= PAN_STATE_CONNECTED) { in GetDeviceState()
358 return stateMap_.at(it->second->GetDeviceStateInt()); in GetDeviceState()
385 } else if (it->second->GetDeviceStateInt() >= PAN_STATE_CONNECTED) { in GetConnectState()
387 } else if (it->second->GetDeviceStateInt() == PAN_STATE_CONNECTING) { in GetConnectState()
389 } else if (it->second->GetDeviceStateInt() == PAN_STATE_DISCONNECTING) { in GetConnectState()
391 } else if (it->second->GetDeviceStateInt() == PAN_STATE_DISCONNECTED) { in GetConnectState()
[all …]
H A Dpan_statemachine.cpp278 int PanStateMachine::GetDeviceStateInt() const in GetDeviceStateInt() function in OHOS::bluetooth::PanStateMachine
346 int toState = GetDeviceStateInt(); in NotifyStateTransitions()
H A Dpan_statemachine.h75 int GetDeviceStateInt() const;
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/
H A Dhfp_hf_service.cpp172 int slcState = it->second->GetDeviceStateInt(); in Connect()
200 int slcState = it->second->GetDeviceStateInt(); in Disconnect()
256 auto audioState = it->second->GetDeviceStateInt(); in IsScoConnected()
276 if (it->second->GetDeviceStateInt() != HFP_HF_STATE_CONNECTED) { in ConnectSco()
298 if (it->second->GetDeviceStateInt() <= HFP_HF_STATE_CONNECTED) { in DisconnectSco()
337 if (it->second->GetDeviceStateInt() >= HFP_HF_STATE_CONNECTED) { in GetDeviceState()
340 return stateMap_.at(it->second->GetDeviceStateInt()); in GetDeviceState()
357 return it->second->GetDeviceStateInt(); in GetScoState()
394 if (it->second->GetDeviceStateInt() < HFP_HF_STATE_CONNECTED) { in GetCurrentCallList()
565 if (it->second->GetDeviceStateInt() < HFP_HF_STATE_CONNECTED) { in StartDial()
[all …]
H A Dhfp_hf_statemachine.h73 int GetDeviceStateInt() const;
H A Dhfp_hf_statemachine.cpp707 int toState = GetDeviceStateInt(); in NotifyStateTransitions()
790 int HfpHfStateMachine::GetDeviceStateInt() const in GetDeviceStateInt() function in OHOS::bluetooth::HfpHfStateMachine
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/hid_host/
H A Dhid_host_service.cpp116 … if ((it->second != nullptr) && (it->second->GetDeviceStateInt() > HID_HOST_STATE_DISCONNECTED)) { in ShutDown()
155 int slcState = it->second->GetDeviceStateInt(); in Connect()
184 int slcState = it->second->GetDeviceStateInt(); in Disconnect()
261 if (it->second->GetDeviceStateInt() < HID_HOST_STATE_CONNECTED) { in IsConnected()
296 int state = it->second->GetDeviceStateInt(); in GetDeviceState()
311 … if ((it->second != nullptr) && (it->second->GetDeviceStateInt() >= HID_HOST_STATE_CONNECTED)) { in GetConnectDevices()
326 } else if (it->second->GetDeviceStateInt() >= HID_HOST_STATE_CONNECTED) { in GetConnectState()
328 } else if (it->second->GetDeviceStateInt() == HID_HOST_STATE_CONNECTING) { in GetConnectState()
330 } else if (it->second->GetDeviceStateInt() == HID_HOST_STATE_DISCONNECTING) { in GetConnectState()
332 } else if (it->second->GetDeviceStateInt() == HID_HOST_STATE_DISCONNECTED) { in GetConnectState()
[all …]
H A Dhid_host_statemachine.h76 int GetDeviceStateInt() const;
H A Dhid_host_statemachine.cpp692 int HidHostStateMachine::GetDeviceStateInt() const in GetDeviceStateInt() function in OHOS::bluetooth::HidHostStateMachine
776 int toState = GetDeviceStateInt(); in NotifyStateTransitions()