Searched refs:IS_BLE_ENABLED (Results 1 - 11 of 11) sorted by relevance
/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_proxy_manager.cpp | 40 if (!IS_BLE_ENABLED()) { in FreezeByRss() 53 if (!IS_BLE_ENABLED()) { in ResetAllProxy()
|
H A D | bluetooth_gatt_manager.cpp | 73 if (!IS_BLE_ENABLED()) { in GetDevicesByStates() 100 if (!IS_BLE_ENABLED()) { in GetConnectedDevices()
|
H A D | bluetooth_gatt_client.cpp | 386 if (!IS_BLE_ENABLED()) { in DiscoverStart() 488 if (!IS_BLE_ENABLED()) { in GetServices() 595 if (!IS_BLE_ENABLED()) { in Connect() 617 if ((transport == GATT_TRANSPORT_TYPE_LE && !IS_BLE_ENABLED()) || in Connect() 650 if (!IS_BLE_ENABLED()) { in Disconnect() 675 if (!IS_BLE_ENABLED()) { in Close() 701 if (!IS_BLE_ENABLED()) { in DiscoverServices() 722 if (!IS_BLE_ENABLED()) { in GetService() 748 if (!IS_BLE_ENABLED()) { in GetService() 766 if (!IS_BLE_ENABLED()) { in ReadCharacteristic() [all...] |
H A D | bluetooth_ble_central_manager.cpp | 339 if (!IS_BLE_ENABLED()) { in StartScan() 370 if (!IS_BLE_ENABLED()) { in StopScan() 392 if (!IS_BLE_ENABLED()) { in SetLpDeviceAdvParam() 405 if (!IS_BLE_ENABLED()) { in SetScanReportChannelToLpDevice() 423 if (!IS_BLE_ENABLED()) { in EnableSyncDataToLpDevice() 436 if (!IS_BLE_ENABLED()) { in DisableSyncDataToLpDevice() 449 if (!IS_BLE_ENABLED()) { in SendParamsToLpDevice() 462 if (!IS_BLE_ENABLED()) { in IsLpDeviceAvailable() 475 if (!IS_BLE_ENABLED()) { in SetLpDeviceParam() 519 if (!IS_BLE_ENABLED()) { in RemoveLpDeviceParam() [all...] |
H A D | bluetooth_gatt_server.cpp | 604 if (!IS_BLE_ENABLED()) { in AddService() 651 if (!IS_BLE_ENABLED()) { in ClearServices() 667 if (!IS_BLE_ENABLED()) { in Close() 684 CHECK_AND_RETURN_LOG_RET(IS_BLE_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off"); in Connect() 698 CHECK_AND_RETURN_LOG_RET(IS_BLE_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off"); in CancelConnection() 716 if (!IS_BLE_ENABLED()) { in GetService() 738 if (!IS_BLE_ENABLED()) { in GetServices() 753 if (!IS_BLE_ENABLED()) { in NotifyCharacteristicChanged() 785 if (!IS_BLE_ENABLED()) { in RemoveGattService() 809 if (!IS_BLE_ENABLED()) { in SendResponse() [all...] |
H A D | bluetooth_ble_advertiser.cpp | 315 if (!IS_BLE_ENABLED()) { in StartAdvertising() 367 if (!IS_BLE_ENABLED()) { in StartAdvertising() 414 if (!IS_BLE_ENABLED()) { in SetAdvertisingData() 440 if (!IS_BLE_ENABLED()) { in EnableAdvertising() 467 if (!IS_BLE_ENABLED()) { in DisableAdvertising() 493 if (!IS_BLE_ENABLED()) { in StopAdvertising() 515 if (!IS_BLE_ENABLED()) { in Close()
|
H A D | bluetooth_profile_manager.cpp | 243 if (profileFunctions.bleTurnOnFunc && IS_BLE_ENABLED()) { in RegisterFunc()
|
H A D | bluetooth_socket.cpp | 431 CHECK_AND_RETURN_LOG_RET(IS_BLE_ENABLED(), BT_ERR_INVALID_STATE, "BLE is not TURN_ON"); in Connect() 574 CHECK_AND_RETURN_LOG_RET(IS_BLE_ENABLED(), BT_ERR_INVALID_STATE, "BLE is not TURN_ON"); in Listen()
|
H A D | bluetooth_host.cpp | 731 CHECK_AND_RETURN_LOG_RET(IS_BLE_ENABLED(), BT_NO_ERROR, "bluetooth is off."); in BluetoothFactoryReset()
|
/foundation/communication/bluetooth/frameworks/inner/c_adapter/ |
H A D | ohos_bt_socket.cpp | 116 CHECK_AND_RETURN_LOG_RET(IS_BLE_ENABLED(), BT_SOCKET_INVALID_ID, "BLE is not TURN_ON"); in SocketServerCreate()
|
/foundation/communication/bluetooth/interfaces/inner_api/include/ |
H A D | bluetooth_def.h | 1542 #define IS_BLE_ENABLED() (BluetoothHost::GetDefaultHost().IsBleEnabled()) macro
|
Completed in 15 milliseconds