Searched refs:IS_BLE_ENABLED (Results 1 – 11 of 11) sorted by relevance
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_gatt_client.cpp | 389 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 D | bluetooth_proxy_manager.cpp | 43 if (!IS_BLE_ENABLED()) { in FreezeByRss() 56 if (!IS_BLE_ENABLED()) { in ResetAllProxy()
|
H A D | bluetooth_ble_central_manager.cpp | 345 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 D | bluetooth_gatt_manager.cpp | 77 if (!IS_BLE_ENABLED()) { in GetDevicesByStates() 104 if (!IS_BLE_ENABLED()) { in GetConnectedDevices()
|
H A D | bluetooth_gatt_server.cpp | 580 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 D | bluetooth_ble_advertiser.cpp | 320 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 D | bluetooth_profile_manager.cpp | 246 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() 564 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 | 738 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 D | ohos_bt_socket.cpp | 121 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 D | bluetooth_def.h | 1566 #define IS_BLE_ENABLED() (BluetoothHost::GetDefaultHost().IsBleEnabled()) macro
|