Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_gatt_client.cpp389 if (!IS_BLE_ENABLED()) { in DiscoverStart()
491 if (!IS_BLE_ENABLED()) { in GetServices()
598 if (!IS_BLE_ENABLED()) { in Connect()
653 if (!IS_BLE_ENABLED()) { in Disconnect()
678 if (!IS_BLE_ENABLED()) { in Close()
704 if (!IS_BLE_ENABLED()) { in DiscoverServices()
725 if (!IS_BLE_ENABLED()) { in GetService()
751 if (!IS_BLE_ENABLED()) { in GetService()
769 if (!IS_BLE_ENABLED()) { in ReadCharacteristic()
806 if (!IS_BLE_ENABLED()) { in ReadDescriptor()
[all …]
H A Dbluetooth_proxy_manager.cpp43 if (!IS_BLE_ENABLED()) { in FreezeByRss()
56 if (!IS_BLE_ENABLED()) { in ResetAllProxy()
H A Dbluetooth_ble_central_manager.cpp345 if (!IS_BLE_ENABLED()) { in StartScan()
376 if (!IS_BLE_ENABLED()) { in StopScan()
398 if (!IS_BLE_ENABLED()) { in SetLpDeviceAdvParam()
411 if (!IS_BLE_ENABLED()) { in SetScanReportChannelToLpDevice()
429 if (!IS_BLE_ENABLED()) { in EnableSyncDataToLpDevice()
442 if (!IS_BLE_ENABLED()) { in DisableSyncDataToLpDevice()
455 if (!IS_BLE_ENABLED()) { in SendParamsToLpDevice()
468 if (!IS_BLE_ENABLED()) { in IsLpDeviceAvailable()
481 if (!IS_BLE_ENABLED()) { in SetLpDeviceParam()
525 if (!IS_BLE_ENABLED()) { in RemoveLpDeviceParam()
H A Dbluetooth_gatt_manager.cpp77 if (!IS_BLE_ENABLED()) { in GetDevicesByStates()
104 if (!IS_BLE_ENABLED()) { in GetConnectedDevices()
H A Dbluetooth_gatt_server.cpp580 if (!IS_BLE_ENABLED()) { in AddService()
627 if (!IS_BLE_ENABLED()) { in ClearServices()
643 if (!IS_BLE_ENABLED()) { in Close()
660 CHECK_AND_RETURN_LOG_RET(IS_BLE_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off"); in Connect()
674 CHECK_AND_RETURN_LOG_RET(IS_BLE_ENABLED(), BT_ERR_INVALID_STATE, "bluetooth is off"); in CancelConnection()
692 if (!IS_BLE_ENABLED()) { in GetService()
714 if (!IS_BLE_ENABLED()) { in GetServices()
729 if (!IS_BLE_ENABLED()) { in NotifyCharacteristicChanged()
761 if (!IS_BLE_ENABLED()) { in RemoveGattService()
785 if (!IS_BLE_ENABLED()) { in SendResponse()
H A Dbluetooth_ble_advertiser.cpp320 if (!IS_BLE_ENABLED()) { in StartAdvertising()
372 if (!IS_BLE_ENABLED()) { in StartAdvertising()
419 if (!IS_BLE_ENABLED()) { in SetAdvertisingData()
445 if (!IS_BLE_ENABLED()) { in EnableAdvertising()
472 if (!IS_BLE_ENABLED()) { in DisableAdvertising()
498 if (!IS_BLE_ENABLED()) { in StopAdvertising()
520 if (!IS_BLE_ENABLED()) { in Close()
H A Dbluetooth_profile_manager.cpp246 if (profileFunctions.bleTurnOnFunc && IS_BLE_ENABLED()) { in RegisterFunc()
H A Dbluetooth_socket.cpp431 CHECK_AND_RETURN_LOG_RET(IS_BLE_ENABLED(), BT_ERR_INVALID_STATE, "BLE is not TURN_ON"); in Connect()
564 CHECK_AND_RETURN_LOG_RET(IS_BLE_ENABLED(), BT_ERR_INVALID_STATE, "BLE is not TURN_ON"); in Listen()
H A Dbluetooth_host.cpp738 CHECK_AND_RETURN_LOG_RET(IS_BLE_ENABLED(), BT_NO_ERROR, "bluetooth is off."); in BluetoothFactoryReset()
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/c_adapter/
H A Dohos_bt_socket.cpp121 CHECK_AND_RETURN_LOG_RET(IS_BLE_ENABLED(), BT_SOCKET_INVALID_ID, "BLE is not TURN_ON"); in SocketServerCreate()
/ohos5.0/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_def.h1566 #define IS_BLE_ENABLED() (BluetoothHost::GetDefaultHost().IsBleEnabled()) macro