Home
last modified time | relevance | path

Searched refs:GenerateRandomStr (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/proxy_channel/
H A Dtrans_proxy_manager_test.cpp184 EXPECT_CALL(commMock, GenerateRandomStr) in TestTransProxyAddAuthChannel()
208 EXPECT_CALL(commMock, GenerateRandomStr) in TestTransProxyAddNormalChannel()
291 EXPECT_CALL(commMock, GenerateRandomStr)
314 EXPECT_CALL(commMock, GenerateRandomStr)
529 EXPECT_CALL(commMock, GenerateRandomStr)
587 EXPECT_CALL(commMock, GenerateRandomStr)
644 EXPECT_CALL(commMock, GenerateRandomStr)
831 EXPECT_CALL(commMock, GenerateRandomStr)
891 EXPECT_CALL(commMock, GenerateRandomStr)
931 EXPECT_CALL(commMock, GenerateRandomStr)
H A Dtrans_proxy_transceiver_test.cpp55 EXPECT_CALL(commMock, GenerateRandomStr).WillRepeatedly(Return(SOFTBUS_OK)); in SetUpTestCase()
88 EXPECT_CALL(commMock, GenerateRandomStr)
155 EXPECT_CALL(commMock, GenerateRandomStr).WillRepeatedly(Return(SOFTBUS_OK));
H A Dtrans_proxy_message_test.cpp66 EXPECT_CALL(commMock, GenerateRandomStr).WillRepeatedly(Return(SOFTBUS_OK)); in SetUpTestCase()
87 EXPECT_CALL(commMock, GenerateRandomStr) in TestMessageAddProxyChannel()
261 EXPECT_CALL(commMock, GenerateRandomStr)
H A Dtrans_proxy_session_test.cpp107 EXPECT_CALL(commMock, GenerateRandomStr).WillRepeatedly(Return(SOFTBUS_OK)); in SetUpTestCase()
129 EXPECT_CALL(commMock, GenerateRandomStr) in TestAddProxyChannel()
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/common/mock/include/
H A Dtrans_common_mock.h30 virtual int32_t GenerateRandomStr(char *str, uint32_t len) = 0;
54 MOCK_METHOD2(GenerateRandomStr, int32_t (char *, uint32_t));
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/common/mock/src/
H A Dtrans_common_mock.cpp41 int32_t GenerateRandomStr(char *str, uint32_t len) in GenerateRandomStr() function
43 return GetCommonInterface()->GenerateRandomStr(str, len); in GenerateRandomStr()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/utils/src/
H A Dlnn_network_id.c45 if (GenerateRandomStr(id, len) != SOFTBUS_OK) { in GetUuidFromFile()
68 if (GenerateRandomStr(networkId, NETWORK_ID_BUF_LEN) != SOFTBUS_OK) { in LnnGenLocalNetworkId()
/ohos5.0/foundation/communication/dsoftbus/tests/core/common/utils/unittest/
H A Dsoftbus_utils_test.cpp248 int32_t ret = GenerateRandomStr(str, len);
253 ret = GenerateRandomStr(str2, len);
/ohos5.0/foundation/communication/dsoftbus/core/common/include/
H A Dsoftbus_utils.h80 int32_t GenerateRandomStr(char *str, uint32_t size);
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/auth/src/
H A Dtrans_auth_message.c33 int32_t ret = GenerateRandomStr((char *)(appInfo->reqId), REQ_ID_SIZE_MAX); in TransAuthChannelMsgPack()
/ohos5.0/foundation/communication/dsoftbus/core/common/utils/
H A Dsoftbus_utils.c252 int32_t GenerateRandomStr(char *str, uint32_t len) in GenerateRandomStr() function
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/
H A Dwifi_direct_mock.cpp302 int32_t GenerateRandomStr(char *str, uint32_t len) in GenerateRandomStr() function
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/
H A Dsoftbus_proxychannel_message.c505 …if (strlen(appInfo->reqId) == 0 && GenerateRandomStr(appInfo->reqId, REQ_ID_SIZE_MAX) != SOFTBUS_O… in TransProxyPackHandshakeMsg()
H A Dsoftbus_proxychannel_manager.c1490 int32_t ret = GenerateRandomStr(chan->identity, sizeof(chan->identity)); in TransProxyCreateChanInfo()