Home
last modified time | relevance | path

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

/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_other_test.cpp1013 * @tc.desc: AuthGetAuthHandleByIndex test
1025 EXPECT_TRUE(AuthGetAuthHandleByIndex(nullptr, true, 1, &authHandle) == SOFTBUS_INVALID_PARAM); in HWTEST_F()
1026 EXPECT_TRUE(AuthGetAuthHandleByIndex(&connInfo, true, 1, nullptr) == SOFTBUS_INVALID_PARAM); in HWTEST_F()
1027 EXPECT_TRUE(AuthGetAuthHandleByIndex(&connInfo, true, 1, &authHandle) == SOFTBUS_LOCK_ERR); in HWTEST_F()
1031 EXPECT_TRUE(AuthGetAuthHandleByIndex(&connInfo, true, 1, &authHandle) == SOFTBUS_NOT_FIND); in HWTEST_F()
1035 EXPECT_TRUE(AuthGetAuthHandleByIndex(&connInfo, true, 1, &authHandle) == SOFTBUS_LOCK_ERR); in HWTEST_F()
1037 EXPECT_TRUE(AuthGetAuthHandleByIndex(&connInfo, true, 1, &authHandle) == SOFTBUS_INVALID_PARAM); in HWTEST_F()
/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()
/foundation/communication/dsoftbus/core/authentication/interface/
H A Dauth_interface.h195 int32_t AuthGetAuthHandleByIndex(const AuthConnInfo *connInfo, bool isServer, int32_t index, AuthHandle *authHandle);
/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_interface.c366 int32_t AuthGetAuthHandleByIndex(const AuthConnInfo *connInfo, bool isServer, int32_t index, in AuthGetAuthHandleByIndex() function

Completed in 6 milliseconds