/foundation/communication/dsoftbus/tests/sdk/discovery/unittest/ |
H A D | disc_sdk_test_bt_status.c | 22 return IsBleEnabled(); in SoftbusTestGetBtStatus()
|
/foundation/communication/bluetooth_service/services/bluetooth/server/src/ |
H A D | bluetooth_host_server.cpp | 844 } else if ((transport == BTTransport::ADAPTER_BLE) && IsBleEnabled() && bleService) { in GetDeviceType() 868 } else if (IsBleEnabled() && bleService) { in GetLocalAddress() 900 bool BluetoothHostServer::IsBleEnabled() in IsBleEnabled() function in OHOS::Bluetooth::BluetoothHostServer 991 } else if (IsBleEnabled() && bleService) { in GetLocalName() 1015 if (ret && (IsBleEnabled() && bleService)) { in SetLocalName() 1023 } else if (IsBleEnabled() && bleService) { in SetLocalName() 1077 } else if ((transport == BTTransport::ADAPTER_BLE) && IsBleEnabled() && bleService) { in GetBondableMode() 1092 } else if ((transport == BTTransport::ADAPTER_BLE) && IsBleEnabled() && bleService) { in SetBondableMode() 1154 } else if ((transport == BTTransport::ADAPTER_BLE) && IsBleEnabled() && bleService) { in IsBtDiscovering() 1195 if (IsBleEnabled() in GetPairedDevices() [all...] |
H A D | bluetooth_host_dumper.cpp | 67 std::string bleState = hostServer->IsBleEnabled() ? "enabled\n" : "disabled\n"; in BtCommStateDump()
|
/foundation/communication/bluetooth/frameworks/inner/c_adapter/ |
H A D | ohos_bt_gap.cpp | 281 if (g_BluetoothHost->IsBleEnabled()) { in EnableBle() 301 if (!g_BluetoothHost->IsBleEnabled()) { in DisableBle() 373 bool IsBleEnabled() in IsBleEnabled() function 379 bool ret = g_BluetoothHost->IsBleEnabled(); in IsBleEnabled()
|
H A D | ohos_bt_gatt.cpp | 621 if (!IsBleEnabled()) { in BleStartAdvWithAddr() 692 if (!IsBleEnabled()) { in BleStartAdvEx()
|
/foundation/communication/bluetooth/frameworks/c_api/src/ |
H A D | oh_bluetooth.cpp | 57 bool enableBle = host->IsBleEnabled(); in OH_Bluetooth_GetBluetoothSwitchState()
|
/foundation/communication/bluetooth/frameworks/cj/access/src/ |
H A D | bluetooth_access_impl.cpp | 69 bool enableBle = host->IsBleEnabled(); in GetState()
|
/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)); in HWTEST()
|
/foundation/communication/dsoftbus/tests/core/discovery/ble/bluetooth_mock/ |
H A D | bluetooth_mock.cpp | 95 ON_CALL(*this, IsBleEnabled).WillByDefault(BluetoothMock::ActionIsBleEnabled); in BluetoothMock() 381 bool IsBleEnabled() in IsBleEnabled() function 383 return BluetoothMock::GetMock()->IsBleEnabled(); in IsBleEnabled()
|
H A D | bluetooth_mock.h | 36 virtual bool IsBleEnabled() = 0; 80 MOCK_METHOD(bool, IsBleEnabled, (), (override));
|
/foundation/communication/bluetooth/interfaces/inner_api/include/c_header/ |
H A D | ohos_bt_gap.h | 130 bool IsBleEnabled();
|
/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; 100 MOCK_METHOD(bool, IsBleEnabled, (), (override));
|
/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()
|
/foundation/communication/bluetooth/interfaces/inner_api/include/ |
H A D | bluetooth_host.h | 416 bool IsBleEnabled() const;
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/ |
H A D | ble_adapter.h | 125 bool IsBleEnabled() const;
|
/foundation/communication/bluetooth/frameworks/js/napi/src/access/ |
H A D | napi_bluetooth_access.cpp | 121 bool enableBle = host->IsBleEnabled(); in GetState()
|
/foundation/communication/dsoftbus/adapter/common/net/bluetooth/common/ |
H A D | softbus_adapter_bt_common.c | 243 if (IsBleEnabled()) { in SoftBusGetBtState()
|
/foundation/communication/bluetooth/frameworks/inner/ipc/interface/ |
H A D | i_bluetooth_host.h | 72 virtual bool IsBleEnabled() = 0;
|
/foundation/communication/bluetooth_service/services/bluetooth/server/include/ |
H A D | bluetooth_host_server.h | 68 bool IsBleEnabled() override;
|
/foundation/communication/bluetooth/frameworks/inner/ipc/include/ |
H A D | bluetooth_host_proxy.h | 47 bool IsBleEnabled() override;
|
/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_host.cpp | 812 bool BluetoothHost::IsBleEnabled() const in IsBleEnabled() function in OHOS::Bluetooth::BluetoothHost 820 return proxy->IsBleEnabled(); in IsBleEnabled()
|
H A D | bluetooth_ble_advertiser.cpp | 540 if (!BluetoothHost::GetDefaultHost().IsBleEnabled()) { in GetAdvHandle()
|