Home
last modified time | relevance | path

Searched refs:IsBleEnabled (Results 1 – 25 of 25) sorted by relevance

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/server/src/
H A Dbluetooth_host_server.cpp889 } 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 Dbluetooth_host_dumper.cpp67 std::string bleState = hostServer->IsBleEnabled() ? "enabled\n" : "disabled\n"; in BtCommStateDump()
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/c_adapter/
H A Dohos_bt_gap.cpp284 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 Dohos_bt_gatt.cpp614 if (!IsBleEnabled()) { in BleStartAdvWithAddr()
685 if (!IsBleEnabled()) { in BleStartAdvEx()
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/discovery/unittest/
H A Ddisc_sdk_test_bt_status.c22 return IsBleEnabled(); in SoftbusTestGetBtStatus()
/ohos5.0/foundation/communication/dsoftbus/tests/adapter/bluetooth/
H A Dbluetooth_mock.cpp69 bool IsBleEnabled() in IsBleEnabled() function
71 return MockBluetooth::GetMocker()->IsBleEnabled(); in IsBleEnabled()
H A Dbluetooth_mock.h34 virtual bool IsBleEnabled() = 0;
87 MOCK_METHOD(bool, IsBleEnabled, (), (override));
H A Dsoftbus_adapter_bt_common_test.cpp75 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 Dbluetooth_mock.cpp98 ON_CALL(*this, IsBleEnabled).WillByDefault(BluetoothMock::ActionIsBleEnabled); in BluetoothMock()
384 bool IsBleEnabled() in IsBleEnabled() function
386 return BluetoothMock::GetMock()->IsBleEnabled(); in IsBleEnabled()
H A Dbluetooth_mock.h36 virtual bool IsBleEnabled() = 0;
80 MOCK_METHOD(bool, IsBleEnabled, (), (override));
/ohos5.0/foundation/communication/dsoftbus/tests/adapter/broadcast/
H A Dbluetooth_mock.cpp88 bool IsBleEnabled() in IsBleEnabled() function
90 return MockBluetooth::GetMocker()->IsBleEnabled(); in IsBleEnabled()
H A Dbluetooth_mock.h34 virtual bool IsBleEnabled() = 0;
98 MOCK_METHOD(bool, IsBleEnabled, (), (override));
/ohos5.0/foundation/communication/bluetooth_service/test/unittest/ble/
H A Dble_test.cpp78 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 Dohos_bt_gap.h130 bool IsBleEnabled();
/ohos5.0/foundation/communication/bluetooth/
H A DREADME_zh.md80 bool IsBleEnabled();
H A DREADME.md80 bool IsBleEnabled();
/ohos5.0/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_host.h435 bool IsBleEnabled() const;
H A Dbluetooth_def.h1566 #define IS_BLE_ENABLED() (BluetoothHost::GetDefaultHost().IsBleEnabled())
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/
H A Dble_adapter.h125 bool IsBleEnabled() const;
H A Dble_adapter.cpp997 bool BleAdapter::IsBleEnabled() const in IsBleEnabled() function in OHOS::bluetooth::BleAdapter
/ohos5.0/foundation/communication/dsoftbus/adapter/common/net/bluetooth/common/
H A Dsoftbus_adapter_bt_common.c245 if (IsBleEnabled()) { in SoftBusGetBtState()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/server/include/
H A Dbluetooth_host_server.h68 bool IsBleEnabled();
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_ble_advertiser.cpp545 if (!BluetoothHost::GetDefaultHost().IsBleEnabled()) { in GetAdvHandle()
H A Dbluetooth_host.cpp814 bool BluetoothHost::IsBleEnabled() const in IsBleEnabled() function in OHOS::Bluetooth::BluetoothHost
/ohos5.0/foundation/distributedhardware/device_manager/services/service/src/
H A Ddevice_manager_service.cpp140 if (Bluetooth::BluetoothHost::GetDefaultHost().IsBleEnabled()) { in QueryDependsSwitchState()