Home
last modified time | relevance | path

Searched refs:AuthGetAuthHandleByIndex (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_other_test.cpp1043 EXPECT_TRUE(AuthGetAuthHandleByIndex(nullptr, true, 1, &authHandle) == SOFTBUS_INVALID_PARAM);
1044 EXPECT_TRUE(AuthGetAuthHandleByIndex(&connInfo, true, 1, nullptr) == SOFTBUS_INVALID_PARAM);
1045 EXPECT_TRUE(AuthGetAuthHandleByIndex(&connInfo, true, 1, &authHandle) == SOFTBUS_LOCK_ERR);
1049 EXPECT_TRUE(AuthGetAuthHandleByIndex(&connInfo, true, 1, &authHandle) == SOFTBUS_NOT_FIND);
1053 EXPECT_TRUE(AuthGetAuthHandleByIndex(&connInfo, true, 1, &authHandle) == SOFTBUS_LOCK_ERR);
1055 EXPECT_TRUE(AuthGetAuthHandleByIndex(&connInfo, true, 1, &authHandle) == SOFTBUS_INVALID_PARAM);
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/
H A Dsoftbus_proxychannel_message.c201 if (AuthGetAuthHandleByIndex(&connInfo, isAuthServer, index, authHandle) != SOFTBUS_OK && in GetAuthIdByHandshakeMsg()
202 AuthGetAuthHandleByIndex(&connInfo, !isAuthServer, index, authHandle) != SOFTBUS_OK) { in GetAuthIdByHandshakeMsg()
218 if (AuthGetAuthHandleByIndex(&connInfo, false, index, authHandle) != SOFTBUS_OK && in GetAuthIdReDecrypt()
219 AuthGetAuthHandleByIndex(&connInfo, true, index, authHandle) != SOFTBUS_OK) { in GetAuthIdReDecrypt()
/ohos5.0/foundation/communication/dsoftbus/core/authentication/interface/
H A Dauth_interface.h195 int32_t AuthGetAuthHandleByIndex(const AuthConnInfo *connInfo, bool isServer, int32_t index, AuthHa…
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_interface.c369 int32_t AuthGetAuthHandleByIndex(const AuthConnInfo *connInfo, bool isServer, int32_t index, in AuthGetAuthHandleByIndex() function