Home
last modified time | relevance | path

Searched refs:startFreezeTime (Results 1 - 6 of 6) sorted by relevance

/drivers/peripheral/pin_auth/hdi_service/database/inc/
H A Dpin_db.h49 ResultCode ComputeFreezeTime(uint64_t templateId, uint32_t *freezeTime, uint32_t count, uint64_t startFreezeTime);
52 ResultCode GetAntiBruteInfo(uint64_t templateId, uint32_t *authErrorCount, uint64_t *startFreezeTime);
H A Dpin_db_ops_v0.h36 uint64_t startFreezeTime; member
/drivers/peripheral/pin_auth/test/unittest/pin_auth/database/src/
H A Dpin_db_test.cpp306 uint64_t startFreezeTime = 0; in HWTEST_F() local
307 result = GetAntiBruteInfo(INVALID_TEMPLATE_ID, &authErrorCount, &startFreezeTime); in HWTEST_F()
310 result = GetAntiBruteInfo(templateId, nullptr, &startFreezeTime); in HWTEST_F()
316 result = GetAntiBruteInfo(0, &authErrorCount, &startFreezeTime); in HWTEST_F()
319 result = GetAntiBruteInfo(templateId, &authErrorCount, &startFreezeTime); in HWTEST_F()
/drivers/peripheral/pin_auth/hdi_service/database/src/
H A Dpin_db.c298 info->startFreezeTime = INIT_START_FREEZE_TIMES; in InitAntiBruteInfo()
690 static ResultCode SetAntiBruteInfoById(uint64_t templateId, uint32_t count, uint64_t startFreezeTime) in SetAntiBruteInfoById() argument
698 g_pinDbOp->pinIndex[index].antiBruteInfo.startFreezeTime = startFreezeTime; in SetAntiBruteInfoById()
730 ResultCode GetAntiBruteInfo(uint64_t templateId, uint32_t *authErrorCount, uint64_t *startFreezeTime) in GetAntiBruteInfo() argument
732 if (authErrorCount == NULL || startFreezeTime == NULL || templateId == INVALID_TEMPLATE_ID) { in GetAntiBruteInfo()
747 *startFreezeTime = g_pinDbOp->pinIndex[index].antiBruteInfo.startFreezeTime; in GetAntiBruteInfo()
813 ResultCode ComputeFreezeTime(uint64_t templateId, uint32_t *freezeTime, uint32_t count, uint64_t startFreezeTime) in ComputeFreezeTime() argument
825 if (timeValue >= startFreezeTime) { in ComputeFreezeTime()
[all...]
H A Dpin_db_ops_v0.c35 antiBruteInfoV0->startFreezeTime = GetRtcTime(); in GetMaxLockedAntiBruteInfo()
/drivers/peripheral/pin_auth/hdi_service/main/src/
H A Dexecutor_func_common.c339 uint64_t startFreezeTime = INIT_START_FREEZE_TIMES; in GetSubTypeAndFreezeTime() local
340 ret = GetAntiBruteInfo(templateId, count, &startFreezeTime); in GetSubTypeAndFreezeTime()
346 ret = ComputeFreezeTime(templateId, freezeTime, *count, startFreezeTime); in GetSubTypeAndFreezeTime()

Completed in 5 milliseconds