Home
last modified time | relevance | path

Searched defs:RESULT_GENERAL_ERROR (Results 1 - 13 of 13) sorted by relevance

/drivers/peripheral/user_auth/test/unittest/user_auth_test/
H A Didentify_funcs_test.cpp66 EXPECT_EQ(DoUpdateIdentify(contextId, scheduleResult, &userId, &token, &result), RESULT_GENERAL_ERROR); in HWTEST_F() local
H A Dcontext_manager_test.cpp222 EXPECT_EQ(CopySchedules(&context, &getSchedule), RESULT_GENERAL_ERROR); in HWTEST_F() local
234 EXPECT_EQ(CopySchedules(&context, &getSchedule), RESULT_GENERAL_ERROR); in HWTEST_F() local
295 EXPECT_EQ(FillInContext(&context, &credentialId, &info, SCHEDULE_MODE_ENROLL), RESULT_GENERAL_ERROR); in HWTEST_F() local
H A Duser_auth_funcs_test.cpp103 EXPECT_EQ(GetReuseUnlockResult(&info, &reuseResult), RESULT_GENERAL_ERROR); in HWTEST_F() local
117 EXPECT_EQ(GetReuseUnlockResult(&info, &reuseResult), RESULT_GENERAL_ERROR); in HWTEST_F() local
135 EXPECT_EQ(CheckReuseUnlockResultFunc(&info, &reuseResult), RESULT_GENERAL_ERROR); in HWTEST_F() local
157 EXPECT_EQ(CheckReuseUnlockResultFunc(&info, &reuseResult), RESULT_GENERAL_ERROR); in HWTEST_F() local
166 EXPECT_EQ(CheckReuseUnlockResultFunc(&info, &reuseResult), RESULT_GENERAL_ERROR); in HWTEST_F() local
169 EXPECT_EQ(CheckReuseUnlockResultFunc(&info, &reuseResult), RESULT_GENERAL_ERROR); in HWTEST_F() local
177 EXPECT_EQ(CheckReuseUnlockResultFunc(&info, &reuseResult), RESULT_GENERAL_ERROR); in HWTEST_F() local
H A Duser_sign_centre_test.cpp130 EXPECT_EQ(DecryptTokenCipher(&userAuthToken, &userAuthTokenPlain, &userAuthTokenKey), RESULT_GENERAL_ERROR); in HWTEST_F() local
153 EXPECT_EQ(UserAuthTokenVerify(&userAuthToken, &userAuthTokenPlain), RESULT_GENERAL_ERROR); in HWTEST_F() local
/drivers/peripheral/user_auth/test/unittest/base_test/src/
H A Dadaptor_algorithm_test.cpp159 EXPECT_EQ(HmacSha256(hmacKey, data, hmac), RESULT_GENERAL_ERROR); in HWTEST_F() local
230 EXPECT_EQ(AesGcmDecrypt(ciphertext, &aesGcmParam, tag, &plaintext), RESULT_GENERAL_ERROR); in HWTEST_F() local
233 EXPECT_EQ(AesGcmDecrypt(ciphertext, &aesGcmParam, tag, &plaintext), RESULT_GENERAL_ERROR); in HWTEST_F() local
/drivers/peripheral/user_auth/test/unittest/database/
H A Didm_file_manager_test.cpp116 EXPECT_EQ(StreamWriteEnrolledInfo(parcel, enrolledList), RESULT_GENERAL_ERROR); in HWTEST_F() local
130 EXPECT_EQ(StreamWriteCredentialList(parcel, credentialList), RESULT_GENERAL_ERROR); in HWTEST_F() local
H A Didm_database_test.cpp555 EXPECT_EQ(TraverseCredentialList(nullptr, nullptr, nullptr), RESULT_GENERAL_ERROR); in HWTEST_F() local
/drivers/peripheral/user_auth/test/unittest/idm_test/
H A Didm_session_test.cpp140 EXPECT_EQ(CheckSessionTimeout(), RESULT_GENERAL_ERROR); in HWTEST_F() local
H A Duser_idm_funcs_test.cpp112 EXPECT_EQ(CheckEnrollPermission(param, &scheduleId), RESULT_GENERAL_ERROR); in HWTEST_F() local
169 EXPECT_EQ(GetCredentialInfoFromSchedule(&resultInfo, &credInfo, &scheduleInfo), RESULT_GENERAL_ERROR); in HWTEST_F() local
181 EXPECT_EQ(GetCredentialInfoFromSchedule(&resultInfo, &credInfo, &scheduleInfo), RESULT_GENERAL_ERROR); in HWTEST_F() local
183 EXPECT_EQ(GetCredentialInfoFromSchedule(&resultInfo, &credInfo, &scheduleInfo), RESULT_GENERAL_ERROR); in HWTEST_F() local
261 EXPECT_EQ(CheckResultValid(scheduleId, userId), RESULT_GENERAL_ERROR); in HWTEST_F() local
270 EXPECT_EQ(CheckResultValid(scheduleId, userId), RESULT_GENERAL_ERROR); in HWTEST_F() local
273 EXPECT_EQ(CheckResultValid(scheduleId, userId), RESULT_GENERAL_ERROR); in HWTEST_F() local
/drivers/peripheral/pin_auth/hdi_service/common/inc/
H A Ddefines.h41 RESULT_GENERAL_ERROR = 0x1, enumerator
/drivers/peripheral/user_auth/test/unittest/attribute_test/
H A Dattribute_test.cpp128 ASSERT_EQ(GetAttributeUint32(attribute, ATTR_PROPERTY_MODE, &out), RESULT_GENERAL_ERROR); in HWTEST_F() local
167 ASSERT_EQ(GetAttributeInt32(attribute, ATTR_REMAIN_ATTEMPTS, &out), RESULT_GENERAL_ERROR); in HWTEST_F() local
206 ASSERT_EQ(GetAttributeUint64(attribute, ATTR_SCHEDULE_ID, &out), RESULT_GENERAL_ERROR); in HWTEST_F() local
250 ASSERT_EQ(GetAttributeUint8Array(attribute, ATTR_CALLER_UID, &value), RESULT_GENERAL_ERROR); in HWTEST_F() local
251 ASSERT_EQ(GetAttributeUint8Array(attribute, static_cast<AttributeKey>(invalidKey), &value), RESULT_GENERAL_ERROR); in HWTEST_F() local
256 ASSERT_EQ(GetAttributeUint8Array(attribute, ATTR_SIGNATURE, &value), RESULT_GENERAL_ERROR); in HWTEST_F() local
273 ASSERT_EQ(SetAttributeUint8Array(attribute, static_cast<AttributeKey>(invalidKey), data), RESULT_GENERAL_ERROR); in HWTEST_F() local
295 ASSERT_EQ(SetAttributeUint8Array(attribute, ATTR_SIGNATURE, data), RESULT_GENERAL_ERROR); in HWTEST_F() local
357 ASSERT_EQ(GetAttributeUint64Array(attribute, ATTR_CALLER_UID, &value), RESULT_GENERAL_ERROR); in HWTEST_F() local
359 RESULT_GENERAL_ERROR); in HWTEST_F() local
364 ASSERT_EQ(GetAttributeUint64Array(attribute, ATTR_SIGNATURE, &value), RESULT_GENERAL_ERROR); HWTEST_F() local
401 ASSERT_EQ(SetAttributeUint64Array(attribute, ATTR_TEMPLATE_ID_LIST, data), RESULT_GENERAL_ERROR); HWTEST_F() local
[all...]
/drivers/peripheral/user_auth/test/unittest/co_auth/
H A Dco_auth_test.cpp292 EXPECT_EQ(MountExecutor(&param, &schedule), RESULT_GENERAL_ERROR); in HWTEST_F() local
/drivers/peripheral/user_auth/hdi_service/utils/inc/
H A Ddefines.h53 RESULT_GENERAL_ERROR = INNER_RESULT_GENERAL_ERROR, enumerator

Completed in 9 milliseconds