Home
last modified time | relevance | path

Searched refs:LnnConvertDeviceTypeToId (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/tests/core/discovery/ble/softbus_ble_mock/
H A Dbus_center_mock.cpp27 int32_t LnnConvertDeviceTypeToId(const char *deviceType, uint16_t *typeId) in LnnConvertDeviceTypeToId() function
29 return BusCenterMock::GetMock()->LnnConvertDeviceTypeToId(deviceType, typeId); in LnnConvertDeviceTypeToId()
115 …EXPECT_CALL(*this, LnnConvertDeviceTypeToId).WillRepeatedly(BusCenterMock::ActionOfLnnConvertDevic… in SetupSuccessStub()
H A Dbus_center_mock.h30 virtual int32_t LnnConvertDeviceTypeToId(const char *deviceType, uint16_t *typeId) = 0;
51 …MOCK_METHOD(int32_t, LnnConvertDeviceTypeToId, (const char *deviceType, uint16_t *typeId), (overri…
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_net_ledger_mock.h52 virtual int32_t LnnConvertDeviceTypeToId(const char *deviceType, uint16_t *typeId) = 0;
88 MOCK_METHOD2(LnnConvertDeviceTypeToId, int32_t(const char *, uint16_t *));
H A Dauth_net_ledger_mock.cpp118 int32_t LnnConvertDeviceTypeToId(const char *deviceType, uint16_t *typeId) in LnnConvertDeviceTypeToId() function
120 return GetNetLedgerInterface()->LnnConvertDeviceTypeToId(deviceType, typeId); in LnnConvertDeviceTypeToId()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/include/
H A Dlnn_device_info.h56 int32_t LnnConvertDeviceTypeToId(const char *deviceType, uint16_t *typeId);
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_ledger/
H A Dlnn_ledger_common_test.cpp126 EXPECT_TRUE(LnnConvertDeviceTypeToId(nullptr, nullptr) == SOFTBUS_INVALID_PARAM);
127 EXPECT_TRUE(LnnConvertDeviceTypeToId(INVALID_DEVICE_TYPE, &typeId) == SOFTBUS_ERR);
128 EXPECT_TRUE(LnnConvertDeviceTypeToId(DEVICE_TYPE, &typeId) == SOFTBUS_OK);
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/include/
H A Dlnn_net_ledger_mock.h48 virtual int32_t LnnConvertDeviceTypeToId(const char *deviceType, uint16_t *typeId) = 0;
131 MOCK_METHOD2(LnnConvertDeviceTypeToId, int32_t (const char *, uint16_t *));
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/src/
H A Dlnn_device_info.c136 int32_t LnnConvertDeviceTypeToId(const char *deviceType, uint16_t *typeId) in LnnConvertDeviceTypeToId() function
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/
H A Dlnn_net_ledger_mock.cpp294 int32_t LnnConvertDeviceTypeToId(const char *deviceType, uint16_t *typeId) in LnnConvertDeviceTypeToId() function
296 return GetNetLedgerInterface()->LnnConvertDeviceTypeToId(deviceType, typeId); in LnnConvertDeviceTypeToId()
/ohos5.0/foundation/communication/dsoftbus/core/discovery/ble/softbus_ble/src/
H A Ddisc_ble_utils.c120 ret = LnnConvertDeviceTypeToId(type, &typeId); in DiscBleGetDeviceType()
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_session_json.c1528 (void)LnnConvertDeviceTypeToId(deviceType, &(info->deviceInfo.deviceTypeId)); in ParseCommonJsonInfo()
1838 (void)LnnConvertDeviceTypeToId(deviceType, &(info->deviceInfo.deviceTypeId)); in UnpackDeviceInfoBtV1()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/local_ledger/src/
H A Dlnn_local_net_ledger.c309 if (LnnConvertDeviceTypeToId((char *)buf, &typeId) == SOFTBUS_OK) { in UpdateLocalDeviceType()
2184 return LnnConvertDeviceTypeToId(type, &info->deviceTypeId); in LnnGetLocalDeviceInfo()