Searched refs:AuthGetAuthHandleByIndex (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/ |
H A D | auth_other_test.cpp | 1043 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 D | softbus_proxychannel_message.c | 201 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 D | auth_interface.h | 195 int32_t AuthGetAuthHandleByIndex(const AuthConnInfo *connInfo, bool isServer, int32_t index, AuthHa…
|
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_interface.c | 369 int32_t AuthGetAuthHandleByIndex(const AuthConnInfo *connInfo, bool isServer, int32_t index, in AuthGetAuthHandleByIndex() function
|