Home
last modified time | relevance | path

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

/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_avrcp_tg.cpp111 if (!IS_BT_ENABLED()) { in SetDeviceAbsoluteVolume()
123 if (!IS_BT_ENABLED()) { in SetDeviceAbsVolumeAbility()
136 if (!IS_BT_ENABLED()) { in GetDeviceAbsVolumeAbility()
173 if (!IS_BT_ENABLED()) { in SetActiveDevice()
186 if (!IS_BT_ENABLED()) { in GetConnectedDevices()
205 if (!IS_BT_ENABLED()) { in GetDevicesByStates()
231 if (!IS_BT_ENABLED()) { in GetDeviceState()
248 if (!IS_BT_ENABLED()) { in Connect()
264 if (!IS_BT_ENABLED()) { in Disconnect()
284 if (!IS_BT_ENABLED()) { in NotifyPlaybackStatusChanged()
[all...]
H A Dbluetooth_a2dp_src.cpp170 if (!IS_BT_ENABLED()) { in GetDevicesByStates()
198 if (!IS_BT_ENABLED()) { in GetDeviceState()
218 if (!IS_BT_ENABLED()) { in GetPlayingState()
239 if (!IS_BT_ENABLED()) { in GetPlayingState()
257 if (!IS_BT_ENABLED()) { in Connect()
275 if (!IS_BT_ENABLED()) { in Disconnect()
306 if (!IS_BT_ENABLED()) { in SetActiveSinkDevice()
325 if (!IS_BT_ENABLED()) { in GetActiveSinkDevice()
340 if (!IS_BT_ENABLED()) { in SetConnectStrategy()
360 if (!IS_BT_ENABLED()) { in GetConnectStrategy()
[all...]
H A Dbluetooth_remote_device.cpp118 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), INVALID_NAME, "bluetooth is off."); in GetDeviceName()
129 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off."); in GetDeviceName()
149 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off."); in SetDeviceAlias()
189 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off."); in StartPair()
199 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off."); in StartCrediblePair()
209 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off."); in CancelPairing()
248 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off."); in GetDeviceClass()
259 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off."); in GetDeviceProductId()
293 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off."); in SetDevicePairingConfirmation()
330 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STAT in GetDeviceProductType()
[all...]
H A Dbluetooth_hfp_ag.cpp190 if (proxy != nullptr && IS_BT_ENABLED() && device.IsValidBluetoothRemoteDevice()) { in GetScoState()
288 if (proxy != nullptr && IS_BT_ENABLED()) { in IntoMock()
298 if (proxy != nullptr && IS_BT_ENABLED() && device.IsValidBluetoothRemoteDevice()) { in SendNoCarrier()
433 if (!IS_BT_ENABLED()) { in GetConnectedDevices()
446 if (!IS_BT_ENABLED()) { in GetConnectedDevices()
459 if (!IS_BT_ENABLED()) { in GetDevicesByStates()
472 if (!IS_BT_ENABLED()) { in GetDeviceState()
486 if (!IS_BT_ENABLED()) { in Connect()
500 if (!IS_BT_ENABLED()) { in Disconnect()
513 if (!IS_BT_ENABLED()) { in GetScoState()
[all...]
H A Dbluetooth_map_mse.cpp142 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off"); in GetDeviceState()
153 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off"); in GetDevicesByStates()
171 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off"); in Disconnect()
182 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off"); in SetConnectionStrategy()
194 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off"); in GetConnectionStrategy()
205 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off"); in SetMessageAccessAuthorization()
219 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off"); in GetMessageAccessAuthorization()
H A Dbluetooth_a2dp_snk.cpp141 if (!IS_BT_ENABLED()) { in GetDeviceState()
159 if (!IS_BT_ENABLED()) { in GetDevicesByStates()
184 if (!IS_BT_ENABLED()) { in GetPlayingState()
205 if (!IS_BT_ENABLED()) { in GetPlayingState()
224 if (!IS_BT_ENABLED()) { in Connect()
244 if (!IS_BT_ENABLED()) { in Disconnect()
276 if (!IS_BT_ENABLED()) { in SetConnectStrategy()
297 if (!IS_BT_ENABLED()) { in GetConnectStrategy()
316 if (!IS_BT_ENABLED()) { in SendDelay()
H A Dbluetooth_pbap_pse.cpp146 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off"); in GetDeviceState()
158 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off"); in GetDevicesByStates()
176 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off"); in Disconnect()
187 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off"); in SetConnectionStrategy()
199 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off"); in GetConnectionStrategy()
220 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off"); in SetShareType()
232 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off"); in GetShareType()
244 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off"); in SetPhoneBookAccessAuthorization()
259 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off"); in GetPhoneBookAccessAuthorization()
H A Dbluetooth_hfp_hf.cpp332 if (proxy != nullptr && IS_BT_ENABLED() && device.IsValidBluetoothRemoteDevice()) { in SendKeyPressed()
382 if (proxy != nullptr && IS_BT_ENABLED() && device.IsValidBluetoothRemoteDevice()) { in SendVoiceTag()
491 if (!IS_BT_ENABLED()) { in ConnectSco()
504 if (!IS_BT_ENABLED()) { in DisconnectSco()
517 if (!IS_BT_ENABLED()) { in GetDevicesByStates()
530 if (!IS_BT_ENABLED()) { in GetDeviceState()
543 if (!IS_BT_ENABLED()) { in GetScoState()
556 if (!IS_BT_ENABLED()) { in SendDTMFTone()
568 if (!IS_BT_ENABLED()) { in Connect()
581 if (!IS_BT_ENABLED()) { in Disconnect()
[all...]
H A Dbluetooth_hid_host.cpp170 if (proxy != nullptr && IS_BT_ENABLED()) { in HidHostGetReport()
237 if (!IS_BT_ENABLED()) { in GetDevicesByStates()
250 if (!IS_BT_ENABLED()) { in GetDeviceState()
263 if (!IS_BT_ENABLED()) { in Connect()
276 if (!IS_BT_ENABLED()) { in Disconnect()
290 if (!IS_BT_ENABLED()) { in SetConnectStrategy()
310 if (!IS_BT_ENABLED()) { in GetConnectStrategy()
341 if (!IS_BT_ENABLED()) { in HidHostVCUnplug()
353 if (!IS_BT_ENABLED()) { in HidHostSendData()
365 if (!IS_BT_ENABLED()) { in HidHostSetReport()
[all...]
H A Dbluetooth_pan.cpp194 if (!IS_BT_ENABLED()) { in GetDevicesByStates()
206 if (!IS_BT_ENABLED()) { in GetDeviceState()
218 if (!IS_BT_ENABLED()) { in Disconnect()
245 if (!IS_BT_ENABLED()) { in SetTethering()
258 if (!IS_BT_ENABLED()) { in IsTetheringOn()
H A Dbluetooth_avrcp_ct.cpp938 if (!IS_BT_ENABLED()) { in GetConnectedDevices()
960 if (!IS_BT_ENABLED()) { in GetDevicesByStates()
988 if (!IS_BT_ENABLED()) { in GetDeviceState()
1005 if (!IS_BT_ENABLED()) { in Connect()
1022 if (!IS_BT_ENABLED()) { in Disconnect()
1043 if (!IS_BT_ENABLED()) { in PressButton()
1081 if (!IS_BT_ENABLED()) { in ReleaseButton()
1123 if (!IS_BT_ENABLED()) { in GetUnitInfo()
1139 if (!IS_BT_ENABLED()) { in GetSubUnitInfo()
1159 if (!IS_BT_ENABLED()) { in GetSupportedCompanies()
[all...]
H A Dbluetooth_opp.cpp267 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off"); in GetDevicesByStates()
285 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off"); in GetDeviceState()
296 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off"); in SendFile()
306 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off"); in SetIncomingFileConfirmation()
317 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off"); in GetCurrentTransferInformation()
332 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off"); in CancelTransfer()
H A Dbluetooth_host.cpp657 CHECK_AND_RETURN_LOG(IS_BT_ENABLED(), "bluetooth is off"); in UpdateVirtualDevice()
667 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off."); in SatelliteControl()
683 if (!IS_BT_ENABLED()) { in GetBtState()
700 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_NO_ERROR, "bluetooth is off."); in GetBtState()
855 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), state, "bluetooth is off."); in GetBtConnectionState()
869 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off."); in GetBtConnectionState()
883 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off."); in GetBtProfileConnState()
959 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off."); in SetLocalName()
970 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off."); in GetBtScanMode()
981 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STAT in SetBtScanMode()
[all...]
H A Dbluetooth_audio_manager.cpp110 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off"); in IsDeviceWearing()
120 if (!IS_BT_ENABLED()) { in IsWearDetectionSupported()
142 if (!IS_BT_ENABLED()) { in SendDeviceSelection()
H A Dbluetooth_socket.cpp433 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "BR is not TURN_ON"); in Connect()
576 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_ERR_INVALID_STATE, "BR is not TURN_ON"); in Listen()
H A Dbluetooth_gatt_client.cpp618 (transport == GATT_TRANSPORT_TYPE_CLASSIC && !IS_BT_ENABLED())) { in Connect()
/foundation/communication/bluetooth/frameworks/inner/c_adapter/
H A Dohos_bt_socket.cpp118 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), BT_SOCKET_INVALID_ID, "BR is not TURN_ON"); in SocketServerCreate()
/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_def.h1540 #define IS_BT_ENABLED() (BluetoothHost::GetDefaultHost().IsBrEnabled()) macro

Completed in 21 milliseconds