Home
last modified time | relevance | path

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

/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_manager_test.cpp262 bool isNewCreated; in HWTEST_F() local
263 EXPECT_TRUE(GetDeviceAuthManager(AUTH_SEQ_4, &info, &isNewCreated, AUTH_SEQ_4) != nullptr); in HWTEST_F()
265 AuthManager *auth = GetDeviceAuthManager(AUTH_SEQ_4, &info, &isNewCreated, AUTH_SEQ_4); in HWTEST_F()
290 bool isNewCreated; in HWTEST_F() local
291 EXPECT_TRUE(GetDeviceAuthManager(AUTH_SEQ_5, &info, &isNewCreated, AUTH_SEQ_5) != nullptr); in HWTEST_F()
293 AuthManager *auth = GetDeviceAuthManager(AUTH_SEQ_5, &info, &isNewCreated, AUTH_SEQ_5); in HWTEST_F()
325 bool isNewCreated; in HWTEST_F() local
326 EXPECT_TRUE(GetDeviceAuthManager(AUTH_SEQ_1, &info, &isNewCreated, AUTH_SEQ_1) != nullptr); in HWTEST_F()
335 AuthManager *auth = GetDeviceAuthManager(AUTH_SEQ_1, &info, &isNewCreated, AUTH_SEQ_1); in HWTEST_F()
338 EXPECT_TRUE(GetDeviceAuthManager(AUTH_SEQ_1, &info, &isNewCreated, AUTH_SEQ_ in HWTEST_F()
[all...]
/foundation/communication/dsoftbus/core/authentication/include/
H A Dauth_manager.h112 AuthManager *GetDeviceAuthManager(int64_t authSeq, const AuthSessionInfo *info, bool *isNewCreated,
/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_device.c516 bool isNewCreated = false; in AuthDirectOnlineCreateAuthManager() local
517 AuthManager *auth = GetDeviceAuthManager(authSeq, info, &isNewCreated, authSeq); in AuthDirectOnlineCreateAuthManager()
525 "auth manager without sessionkey. isNewCreated=%{public}d, authId=%{public}" PRId64 ", authSeq=%{public}" PRId64 in AuthDirectOnlineCreateAuthManager()
527 isNewCreated, auth->authId, authSeq, auth->lastVerifyTime); in AuthDirectOnlineCreateAuthManager()
H A Dauth_manager.c640 AuthManager *GetDeviceAuthManager(int64_t authSeq, const AuthSessionInfo *info, bool *isNewCreated, in GetDeviceAuthManager() argument
644 AUTH_CHECK_AND_RETURN_RET_LOGE(isNewCreated != NULL, NULL, AUTH_FSM, "isNewCreated is NULL"); in GetDeviceAuthManager()
669 *isNewCreated = true; in GetDeviceAuthManager()
754 bool isNewCreated = false; in AuthManagerSetSessionKey() local
755 AuthManager *auth = GetDeviceAuthManager(authSeq, info, &isNewCreated, sessionKeyIndex); in AuthManagerSetSessionKey()
762 if (isNewCreated) { in AuthManagerSetSessionKey()

Completed in 6 milliseconds