Home
last modified time | relevance | path

Searched refs:AuthPostTransData (Results 1 - 23 of 23) sorted by relevance

/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/mock/
H A Dauth_mock.cpp75 int32_t AuthPostTransData(AuthHandle authHandle, const AuthTransData *dataInfo) in AuthPostTransData() function
77 return GetAuthInterface()->AuthPostTransData(authHandle, dataInfo); in AuthPostTransData()
H A Dauth_mock.h37 virtual int32_t AuthPostTransData(AuthHandle authHandle, const AuthTransData *dataInfo) = 0;
55 MOCK_METHOD2(AuthPostTransData, int32_t (AuthHandle, const AuthTransData *));
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/mock/
H A Dtrans_tcp_direct_p2p_test_mock.cpp69 int32_t AuthPostTransData(AuthHandle authHandle, const AuthTransData *dataInfo) in AuthPostTransData() function
71 return GetTransTcpDirectP2pInterface()->AuthPostTransData(authHandle, dataInfo); in AuthPostTransData()
H A Dtrans_tcp_direct_p2p_test_mock.h39 virtual int32_t AuthPostTransData(AuthHandle authHandle, const AuthTransData *dataInfo) = 0;
72 MOCK_METHOD2(AuthPostTransData, int32_t (AuthHandle authHandle, const AuthTransData *dataInfo));
/foundation/communication/dsoftbus/tests/core/transmission/common/mock/src/
H A Dtrans_auth_mock.cpp114 int32_t AuthPostTransData(AuthHandle authHandle, const AuthTransData *dataInfo) in AuthPostTransData() function
116 return GetTransAuthInterface()->AuthPostTransData(authHandle, dataInfo); in AuthPostTransData()
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/
H A Dtrans_tcp_direct_p2p_mock_test.cpp277 * @tc.desc: Should return SOFTBUS_INVALID_PARAM when AuthPostTransData return SOFTBUS_INVALID_PARAM.
288 EXPECT_CALL(TcpP2pDirectMock, AuthPostTransData).WillOnce(Return(SOFTBUS_INVALID_PARAM)); in HWTEST_F()
291 EXPECT_CALL(TcpP2pDirectMock, AuthPostTransData).WillOnce(Return(SOFTBUS_OK)); in HWTEST_F()
299 * @tc.desc: Should return SOFTBUS_INVALID_PARAM when AuthPostTransData return SOFTBUS_INVALID_PARAM.
317 EXPECT_CALL(TcpP2pDirectMock, AuthPostTransData).WillOnce(Return(SOFTBUS_INVALID_PARAM)); in HWTEST_F()
325 EXPECT_CALL(TcpP2pDirectMock, AuthPostTransData).WillOnce(Return(SOFTBUS_OK)); in HWTEST_F()
378 EXPECT_CALL(TcpP2pDirectMock, AuthPostTransData).WillOnce(Return(SOFTBUS_OK)); in HWTEST_F()
446 EXPECT_CALL(TcpP2pDirectMock, AuthPostTransData).WillOnce(Return(SOFTBUS_OK)); in HWTEST_F()
453 * @tc.desc: Should return SOFTBUS_OK when AuthPostTransData return SOFTBUS_OK.
480 EXPECT_CALL(TcpP2pDirectMock, AuthPostTransData) in HWTEST_F()
[all...]
/foundation/communication/dsoftbus/tests/core/transmission/common/mock/include/
H A Dtrans_auth_mock.h51 virtual int32_t AuthPostTransData(AuthHandle authHandle, const AuthTransData *dataInfo) = 0;
114 MOCK_METHOD2(AuthPostTransData, int32_t (AuthHandle, const AuthTransData *));
/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/channel/
H A Dauth_negotiate_channel_test.cpp131 EXPECT_CALL(mock, AuthPostTransData(_, _)).WillRepeatedly(Return(SOFTBUS_CONN_AUTH_POST_DATA_FAILED)); in HWTEST_F()
148 EXPECT_CALL(mock, AuthPostTransData(_, _)).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F()
/foundation/communication/dsoftbus/core/authentication/src/virtual/
H A Dauth_interface_virtual.c105 int32_t AuthPostTransData(AuthHandle authHandle, const AuthTransData *dataInfo) in AuthPostTransData() function
/foundation/communication/dsoftbus/tests/core/authentication/fuzztest/authdata_fuzzer/
H A Dauthdata_fuzzer.cpp70 AuthPostTransData(authHandle, dataInfo); in AuthDataFuzzTest()
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane/include/
H A Dlnn_lane_deps_mock.h85 virtual int32_t AuthPostTransData(AuthHandle authHandle, const AuthTransData *dataInfo) = 0;
151 MOCK_METHOD2(AuthPostTransData, int32_t (AuthHandle, const AuthTransData *));
/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/
H A Dwifi_direct_mock.cpp27 int32_t AuthPostTransData(AuthHandle authHandle, const AuthTransData *dataInfo) in AuthPostTransData() function
29 return OHOS::SoftBus::WifiDirectInterfaceMock::GetMock()->AuthPostTransData(authHandle, dataInfo); in AuthPostTransData()
H A Dwifi_direct_mock.h42 virtual int32_t AuthPostTransData(AuthHandle authHandle, const AuthTransData *dataInfo) = 0;
132 MOCK_METHOD(int32_t, AuthPostTransData, (AuthHandle authHandle, const AuthTransData *dataInfo), (override));
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane/src/
H A Dlnn_lane_deps_mock.cpp314 int32_t AuthPostTransData(AuthHandle authHandle, const AuthTransData *dataInfo) in AuthPostTransData() function
316 return GetLaneDepsInterface()->AuthPostTransData(authHandle, dataInfo); in AuthPostTransData()
/foundation/communication/dsoftbus/core/authentication/interface/
H A Dauth_interface.h184 int32_t AuthPostTransData(AuthHandle authHandle, const AuthTransData *dataInfo);
/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/
H A Dlnn_sync_info_manager.c1093 if (AuthPostTransData(authHandle, &dataInfo) != SOFTBUS_OK) { in TrySendSyncInfoMsgByAuth()
1259 if (AuthPostTransData(authHandle, &dataInfo) == SOFTBUS_OK) { in LnnSendP2pSyncInfoMsg()
1307 if (AuthPostTransData(authHandle[i], &dataInfo) == SOFTBUS_OK) { in LnnSendWifiOfflineInfoMsg()
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/channel/
H A Dauth_negotiate_channel.cpp116 AuthPostTransData(handle_, &dataInfo) == SOFTBUS_OK, SOFTBUS_CONN_AUTH_POST_DATA_FAILED, in SendMessage()
/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_other_test.cpp1059 EXPECT_TRUE(AuthPostTransData(authHandle, &dataInfo) == SOFTBUS_INVALID_PARAM); in HWTEST_F()
1063 EXPECT_TRUE(AuthPostTransData(authHandle, &dataInfo) == SOFTBUS_INVALID_PARAM); in HWTEST_F()
H A Dauth_test.cpp1092 ret = AuthPostTransData(authHandle, nullptr); in HWTEST_F()
1094 ret = AuthPostTransData(authHandle, &dataInfo); in HWTEST_F()
/foundation/communication/dsoftbus/core/transmission/trans_channel/udp_negotiation/src/
H A Dtrans_udp_negotiation.c425 int32_t ret = AuthPostTransData(authHandle, &dataInfo); in SendUdpInfo()
755 ret = AuthPostTransData(authHandle, &dataInfo); in StartExchangeUdpInfo()
757 TRANS_LOGE(TRANS_CTRL, "AuthPostTransData failed."); in StartExchangeUdpInfo()
/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_interface.c256 int32_t AuthPostTransData(AuthHandle authHandle, const AuthTransData *dataInfo) in AuthPostTransData() function
/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/src/
H A Dtrans_tcp_direct_p2p.c515 int32_t ret = AuthPostTransData(authHandle, &dataInfo); in SendAuthData()
516 TRANS_CHECK_AND_RETURN_RET_LOGE(ret == SOFTBUS_OK, ret, TRANS_CTRL, "AuthPostTransData failed."); in SendAuthData()
/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/processor/
H A Dp2p_v1_processor_test.cpp273 EXPECT_CALL(mock, AuthPostTransData(_, _)).WillRepeatedly(Return(SOFTBUS_OK)); in InjectCommonMock()

Completed in 27 milliseconds