Home
last modified time | relevance | path

Searched refs:GetAdvHandle (Results 1 - 11 of 11) sorted by relevance

/foundation/communication/dsoftbus/tests/adapter/broadcast/
H A Dbluetooth_mock.h50 virtual int32_t GetAdvHandle(int32_t btAdvId, int32_t *bcHandle) = 0;
116 MOCK_METHOD(int32_t, GetAdvHandle, (int32_t btAdvId, int32_t *bcHandle), (override));
H A Dbluetooth_mock.cpp144 int32_t GetAdvHandle(int32_t btAdvId, int32_t *bcHandle) in GetAdvHandle() function
H A Dsoftbus_ble_gatt_test.cpp884 EXPECT_CALL(mocker, GetAdvHandle).WillRepeatedly(Return(OHOS_BT_STATUS_SUCCESS)); in HWTEST_F()
/foundation/communication/dsoftbus/tests/core/discovery/ble/bluetooth_mock/
H A Dbluetooth_mock.h56 virtual int32_t GetAdvHandle(int32_t advId, int32_t *advHandle) = 0;
101 MOCK_METHOD(int32_t, GetAdvHandle, (int32_t advId, int32_t *advHandle), (override));
H A Dbluetooth_mock.cpp482 int32_t GetAdvHandle(int32_t advId, int32_t *advHandle) in GetAdvHandle() function
485 return BluetoothMock::GetMock()->GetAdvHandle(advId, advHandle); in GetAdvHandle()
/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_ble_advertiser.h486 uint8_t GetAdvHandle(std::shared_ptr<BleAdvertiseCallback> callback);
/foundation/communication/bluetooth/frameworks/inner/c_adapter/
H A Dohos_bt_gatt.cpp247 int GetAdvHandle() in GetAdvHandle() function in OHOS::Bluetooth::BleAdvCallback
761 int ret = g_BleAdvertiser->EnableAdvertising(g_bleAdvCallbacks[advId]->GetAdvHandle(), 0, in BleEnableAdvEx()
793 int ret = g_BleAdvertiser->DisableAdvertising(g_bleAdvCallbacks[advId]->GetAdvHandle(), g_bleAdvCallbacks[advId]); in BleDisableAdvEx()
1115 int GetAdvHandle(int advId, int *advHandle) in GetAdvHandle() function
1117 HILOGI("GetAdvHandle enter. advId: %{public}d", advId); in GetAdvHandle()
1119 HILOGE("GetAdvHandle fail, advHandle is nullptr."); in GetAdvHandle()
1123 HILOGE("GetAdvHandle fail, advId is invalid.advId: %{public}d.", advId); in GetAdvHandle()
1128 HILOGE("GetAdvHandle fail, the current adv is not started."); in GetAdvHandle()
1131 *advHandle = g_BleAdvertiser->GetAdvHandle(g_bleAdvCallbacks[advId]); in GetAdvHandle()
/foundation/communication/bluetooth/interfaces/inner_api/include/c_header/
H A Dohos_bt_gatt.h902 int GetAdvHandle(int advId, int *advHandle);
/foundation/communication/bluetooth/frameworks/js/napi/src/ble/
H A Dnapi_bluetooth_ble.cpp882 if (outAdvHandle != bleAdvertiser->GetAdvHandle(NapiBluetoothBleAdvertiseCallback::GetInstance())) { in CheckAdvertisingEnableParams()
940 if (outAdvHandle != bleAdvertiser->GetAdvHandle(NapiBluetoothBleAdvertiseCallback::GetInstance())) { in CheckAdvertisingDisableParams()
979 if (outAdvHandle != bleAdvertiser->GetAdvHandle(NapiBluetoothBleAdvertiseCallback::GetInstance())) { in CheckStopAdvWithAdvId()
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_ble_advertiser.cpp538 uint8_t BleAdvertiser::GetAdvHandle(std::shared_ptr<BleAdvertiseCallback> callback) in GetAdvHandle() function in OHOS::Bluetooth::BleAdvertiser
/foundation/communication/dsoftbus/adapter/common/net/bluetooth/broadcast/adapter/ble/src/
H A Dsoftbus_ble_gatt.c816 int32_t ret = GetAdvHandle(btAdvId, bcHandle); in SoftbusGetBroadcastHandle()

Completed in 14 milliseconds