Home
last modified time | relevance | path

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

12

/foundation/communication/dsoftbus/tests/sdk/discovery/unittest/
H A Ddisc_sdk_test_bt_status.c22 return IsBleEnabled(); in SoftbusTestGetBtStatus()
/foundation/communication/bluetooth_service/services/bluetooth/server/src/
H A Dbluetooth_host_server.cpp844 } 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 Dbluetooth_host_dumper.cpp67 std::string bleState = hostServer->IsBleEnabled() ? "enabled\n" : "disabled\n"; in BtCommStateDump()
/foundation/communication/bluetooth/frameworks/inner/c_adapter/
H A Dohos_bt_gap.cpp281 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 Dohos_bt_gatt.cpp621 if (!IsBleEnabled()) { in BleStartAdvWithAddr()
692 if (!IsBleEnabled()) { in BleStartAdvEx()
/foundation/communication/bluetooth/frameworks/c_api/src/
H A Doh_bluetooth.cpp57 bool enableBle = host->IsBleEnabled(); in OH_Bluetooth_GetBluetoothSwitchState()
/foundation/communication/bluetooth/frameworks/cj/access/src/
H A Dbluetooth_access_impl.cpp69 bool enableBle = host->IsBleEnabled(); in GetState()
/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)); in HWTEST()
/foundation/communication/dsoftbus/tests/core/discovery/ble/bluetooth_mock/
H A Dbluetooth_mock.cpp95 ON_CALL(*this, IsBleEnabled).WillByDefault(BluetoothMock::ActionIsBleEnabled); in BluetoothMock()
381 bool IsBleEnabled() in IsBleEnabled() function
383 return BluetoothMock::GetMock()->IsBleEnabled(); in IsBleEnabled()
H A Dbluetooth_mock.h36 virtual bool IsBleEnabled() = 0;
80 MOCK_METHOD(bool, IsBleEnabled, (), (override));
/foundation/communication/bluetooth/interfaces/inner_api/include/c_header/
H A Dohos_bt_gap.h130 bool IsBleEnabled();
/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;
100 MOCK_METHOD(bool, IsBleEnabled, (), (override));
/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()
/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_host.h416 bool IsBleEnabled() const;
/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/
H A Dble_adapter.h125 bool IsBleEnabled() const;
/foundation/communication/bluetooth/frameworks/js/napi/src/access/
H A Dnapi_bluetooth_access.cpp121 bool enableBle = host->IsBleEnabled(); in GetState()
/foundation/communication/dsoftbus/adapter/common/net/bluetooth/common/
H A Dsoftbus_adapter_bt_common.c243 if (IsBleEnabled()) { in SoftBusGetBtState()
/foundation/communication/bluetooth/frameworks/inner/ipc/interface/
H A Di_bluetooth_host.h72 virtual bool IsBleEnabled() = 0;
/foundation/communication/bluetooth_service/services/bluetooth/server/include/
H A Dbluetooth_host_server.h68 bool IsBleEnabled() override;
/foundation/communication/bluetooth/frameworks/inner/ipc/include/
H A Dbluetooth_host_proxy.h47 bool IsBleEnabled() override;
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_host.cpp812 bool BluetoothHost::IsBleEnabled() const in IsBleEnabled() function in OHOS::Bluetooth::BluetoothHost
820 return proxy->IsBleEnabled(); in IsBleEnabled()
H A Dbluetooth_ble_advertiser.cpp540 if (!BluetoothHost::GetDefaultHost().IsBleEnabled()) { in GetAdvHandle()

Completed in 19 milliseconds

12