/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/server/src/ |
H A D | bluetooth_host_server.cpp | 889 } else if (IsBleEnabled() && bleService) { in GetLocalAddress() 921 bool BluetoothHostServer::IsBleEnabled() in IsBleEnabled() function in OHOS::Bluetooth::BluetoothHostServer 1012 } else if (IsBleEnabled() && bleService) { in GetLocalName() 1036 if (ret && (IsBleEnabled() && bleService)) { in SetLocalName() 1044 } else if (IsBleEnabled() && bleService) { in SetLocalName() 1216 if (IsBleEnabled() && bleService) { in GetPairedDevices() 1299 if (IsBleEnabled() && bleService) { in RemoveAllPairs() 1312 if (IsBleEnabled() && bleService) { in GetBleMaxAdvertisingDataLength() 1363 } else if ((transport == BT_TRANSPORT_BLE) && IsBleEnabled() && bleService) { in GetDeviceName() 1420 } else if ((transport == BT_TRANSPORT_BLE) && IsBleEnabled() && bleService) { in GetPairState() [all …]
|
H A D | bluetooth_host_dumper.cpp | 67 std::string bleState = hostServer->IsBleEnabled() ? "enabled\n" : "disabled\n"; in BtCommStateDump()
|
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/c_adapter/ |
H A D | ohos_bt_gap.cpp | 284 if (g_BluetoothHost->IsBleEnabled()) { in EnableBle() 304 if (!g_BluetoothHost->IsBleEnabled()) { in DisableBle() 376 bool IsBleEnabled() in IsBleEnabled() function 382 bool ret = g_BluetoothHost->IsBleEnabled(); in IsBleEnabled()
|
H A D | ohos_bt_gatt.cpp | 614 if (!IsBleEnabled()) { in BleStartAdvWithAddr() 685 if (!IsBleEnabled()) { in BleStartAdvEx()
|
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/discovery/unittest/ |
H A D | disc_sdk_test_bt_status.c | 22 return IsBleEnabled(); in SoftbusTestGetBtStatus()
|
/ohos5.0/foundation/communication/dsoftbus/tests/adapter/bluetooth/ |
H A D | bluetooth_mock.cpp | 69 bool IsBleEnabled() in IsBleEnabled() function 71 return MockBluetooth::GetMocker()->IsBleEnabled(); in IsBleEnabled()
|
H A D | bluetooth_mock.h | 34 virtual bool IsBleEnabled() = 0; 87 MOCK_METHOD(bool, IsBleEnabled, (), (override));
|
H A D | softbus_adapter_bt_common_test.cpp | 75 EXPECT_CALL(mocker, IsBleEnabled()).Times(2).WillOnce(Return(true)).WillOnce(Return(false));
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/discovery/ble/bluetooth_mock/ |
H A D | bluetooth_mock.cpp | 98 ON_CALL(*this, IsBleEnabled).WillByDefault(BluetoothMock::ActionIsBleEnabled); in BluetoothMock() 384 bool IsBleEnabled() in IsBleEnabled() function 386 return BluetoothMock::GetMock()->IsBleEnabled(); in IsBleEnabled()
|
H A D | bluetooth_mock.h | 36 virtual bool IsBleEnabled() = 0; 80 MOCK_METHOD(bool, IsBleEnabled, (), (override));
|
/ohos5.0/foundation/communication/dsoftbus/tests/adapter/broadcast/ |
H A D | bluetooth_mock.cpp | 88 bool IsBleEnabled() in IsBleEnabled() function 90 return MockBluetooth::GetMocker()->IsBleEnabled(); in IsBleEnabled()
|
H A D | bluetooth_mock.h | 34 virtual bool IsBleEnabled() = 0; 98 MOCK_METHOD(bool, IsBleEnabled, (), (override));
|
/ohos5.0/foundation/communication/bluetooth_service/test/unittest/ble/ |
H A D | ble_test.cpp | 78 EXPECT_TRUE(host_->IsBleEnabled()); in EnableBle() 97 EXPECT_FALSE(host_->IsBleEnabled()); in DisableBle()
|
/ohos5.0/foundation/communication/bluetooth/interfaces/inner_api/include/c_header/ |
H A D | ohos_bt_gap.h | 130 bool IsBleEnabled();
|
/ohos5.0/foundation/communication/bluetooth/ |
H A D | README_zh.md | 80 bool IsBleEnabled();
|
H A D | README.md | 80 bool IsBleEnabled();
|
/ohos5.0/foundation/communication/bluetooth/interfaces/inner_api/include/ |
H A D | bluetooth_host.h | 435 bool IsBleEnabled() const;
|
H A D | bluetooth_def.h | 1566 #define IS_BLE_ENABLED() (BluetoothHost::GetDefaultHost().IsBleEnabled())
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/ |
H A D | ble_adapter.h | 125 bool IsBleEnabled() const;
|
H A D | ble_adapter.cpp | 997 bool BleAdapter::IsBleEnabled() const in IsBleEnabled() function in OHOS::bluetooth::BleAdapter
|
/ohos5.0/foundation/communication/dsoftbus/adapter/common/net/bluetooth/common/ |
H A D | softbus_adapter_bt_common.c | 245 if (IsBleEnabled()) { in SoftBusGetBtState()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/server/include/ |
H A D | bluetooth_host_server.h | 68 bool IsBleEnabled();
|
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_ble_advertiser.cpp | 545 if (!BluetoothHost::GetDefaultHost().IsBleEnabled()) { in GetAdvHandle()
|
H A D | bluetooth_host.cpp | 814 bool BluetoothHost::IsBleEnabled() const in IsBleEnabled() function in OHOS::Bluetooth::BluetoothHost
|
/ohos5.0/foundation/distributedhardware/device_manager/services/service/src/ |
H A D | device_manager_service.cpp | 140 if (Bluetooth::BluetoothHost::GetDefaultHost().IsBleEnabled()) { in QueryDependsSwitchState()
|