Home
last modified time | relevance | path

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

/drivers/peripheral/pin_auth/test/unittest/pin_auth/database/src/
H A Dpin_db_test.cpp344 * @tc.name: GetNextFailLockoutDuration test
353 EXPECT_EQ(ONE_MIN_TIME * MS_OF_S, GetNextFailLockoutDuration(0)); in HWTEST_F()
357 EXPECT_EQ(TEN_MIN_TIME * MS_OF_S, GetNextFailLockoutDuration(FIRST_ANTI_BRUTE_COUNT)); in HWTEST_F()
361 EXPECT_EQ(THIRTY_MIN_TIME * MS_OF_S, GetNextFailLockoutDuration(SECOND_ANTI_BRUTE_COUNT)); in HWTEST_F()
365 EXPECT_EQ(ONE_HOUR_TIME * MS_OF_S, GetNextFailLockoutDuration(THIRD_ANTI_BRUTE_COUNT)); in HWTEST_F()
370 EXPECT_EQ(FAIL_LOCKOUT_DURATION01 * MS_OF_S, GetNextFailLockoutDuration(AUTH_ERROR_COUNT01)); in HWTEST_F()
371 EXPECT_EQ(FAIL_LOCKOUT_DURATION01 * MS_OF_S, GetNextFailLockoutDuration(ATTI_BRUTE_FIRST_STAGE)); in HWTEST_F()
375 EXPECT_EQ(ONE_DAY_TIME * MS_OF_S, GetNextFailLockoutDuration(ATTI_BRUTE_SECOND_STAGE - 1)); in HWTEST_F()
/drivers/peripheral/pin_auth/hdi_service/database/inc/
H A Dpin_db.h55 int32_t GetNextFailLockoutDuration(uint32_t authErrorCount);
/drivers/peripheral/pin_auth/hdi_service/main/src/
H A Dexecutor_func_common.c367 pinCredentialInfo->nextFailLockoutDuration = GetNextFailLockoutDuration(authErrorCount); in DoQueryPinInfo()
/drivers/peripheral/pin_auth/hdi_service/database/src/
H A Dpin_db.c789 int32_t GetNextFailLockoutDuration(uint32_t authErrorCount) in GetNextFailLockoutDuration() function

Completed in 4 milliseconds