Home
last modified time | relevance | path

Searched refs:srvcUuid (Results 1 - 10 of 10) sorted by relevance

/foundation/communication/dsoftbus/tests/core/connection/ble/mock/
H A Dconnection_ble_mock.cpp59 int32_t SoftBusGattsAddService(SoftBusBtUuid srvcUuid, bool isPrimary, int32_t number) in SoftBusGattsAddService() argument
61 return GetConnectionBleInterface()->SoftBusGattsAddService(srvcUuid, isPrimary, number); in SoftBusGattsAddService()
89 int32_t BleGattsAddService(int32_t serverId, BtUuid srvcUuid, bool isPrimary, int32_t number) in BleGattsAddService() argument
91 return GetConnectionBleInterface()->BleGattsAddService(serverId, srvcUuid, isPrimary, number); in BleGattsAddService()
H A Dconnection_ble_mock.h44 virtual int32_t SoftBusGattsAddService(SoftBusBtUuid srvcUuid, bool isPrimary, int32_t number) = 0;
50 virtual int BleGattsAddService(int serverId, BtUuid srvcUuid, bool isPrimary, int number) = 0;
/foundation/communication/dsoftbus/adapter/common/net/bluetooth/include/
H A Dsoftbus_adapter_ble_gatt_server.h155 int SoftBusRegisterGattsCallbacks(SoftBusGattsCallback *callback, SoftBusBtUuid srvcUuid);
156 void SoftBusUnRegisterGattsCallbacks(SoftBusBtUuid srvcUuid);
157 int SoftBusGattsAddService(SoftBusBtUuid srvcUuid, bool isPrimary, int number);
/foundation/communication/dsoftbus/tests/adapter/bluetooth/
H A Dbluetooth_mock.cpp191 int32_t BleGattsAddService(int32_t serverId, BtUuid srvcUuid, bool isPrimary, int32_t number) in BleGattsAddService() argument
193 return MockBluetooth::GetMocker()->BleGattsAddService(serverId, srvcUuid, isPrimary, number); in BleGattsAddService()
H A Dbluetooth_mock.h67 virtual int BleGattsAddService(int serverId, BtUuid srvcUuid, bool isPrimary, int number) = 0;
123 MOCK_METHOD(int32_t, BleGattsAddService, (int serverId, BtUuid srvcUuid, bool isPrimary, int number), (override));
/foundation/communication/dsoftbus/adapter/common/net/bluetooth/ble/
H A Dsoftbus_adapter_ble_gatt_server.c91 int SoftBusGattsAddService(SoftBusBtUuid srvcUuid, bool isPrimary, int number) in SoftBusGattsAddService() argument
93 if ((srvcUuid.uuidLen == 0) || (srvcUuid.uuid == NULL) || (number <= 0)) { in SoftBusGattsAddService()
102 .uuid = srvcUuid.uuid, in SoftBusGattsAddService()
103 .uuidLen = srvcUuid.uuidLen in SoftBusGattsAddService()
/foundation/communication/bluetooth/interfaces/inner_api/include/c_header/
H A Dohos_bt_gatt_server.h455 * @param srvcUuid Indicates the UUID of the service.
463 int BleGattsAddService(int serverId, BtUuid srvcUuid, bool isPrimary, int number);
/foundation/communication/dsoftbus/tests/adapter/broadcast/
H A Dbluetooth_mock.cpp242 int32_t BleGattsAddService(int32_t serverId, BtUuid srvcUuid, bool isPrimary, int32_t number) in BleGattsAddService() argument
244 return MockBluetooth::GetMocker()->BleGattsAddService(serverId, srvcUuid, isPrimary, number); in BleGattsAddService()
H A Dbluetooth_mock.h75 virtual int32_t BleGattsAddService(int32_t serverId, BtUuid srvcUuid, bool isPrimary, int32_t number) = 0;
144 MOCK_METHOD(int32_t, BleGattsAddService, (int32_t serverId, BtUuid srvcUuid,
/foundation/communication/bluetooth/frameworks/inner/c_adapter/
H A Dohos_bt_gatt_server.cpp700 * @param srvcUuid Indicates the UUID of the service.
708 int BleGattsAddService(int serverId, BtUuid srvcUuid, bool isPrimary, int number) in BleGattsAddService() argument
711 string strUuid(srvcUuid.uuid); in BleGattsAddService()
738 g_GattsCallback->serviceAddCb(0, serverId, &srvcUuid, i); in BleGattsAddService()

Completed in 8 milliseconds