Home
last modified time | relevance | path

Searched refs:authTypes (Results 1 - 9 of 9) sorted by relevance

/drivers/peripheral/user_auth/test/fuzztest/user_auth/userauthhdi_fuzzer/
H A Duser_auth_hdi_fuzzer.cpp163 FillFuzzInt32Vector(parcel, param.authTypes); in FillFuzzReuseUnlockParam()
466 std::vector<int32_t> authTypes; in FuzzGetValidSolution() local
467 FillFuzzInt32Vector(parcel, authTypes); in FuzzGetValidSolution()
471 g_service.GetValidSolution(userId, authTypes, authTrustLevel, validTypes); in FuzzGetValidSolution()
536 std::vector<int32_t> authTypes; in FuzzGetSignedExecutorInfo() local
537 FillFuzzInt32Vector(parcel, authTypes); in FuzzGetSignedExecutorInfo()
542 g_service.GetSignedExecutorInfo(authTypes, executorRole, remoteUdid, signedExecutorInfo); in FuzzGetSignedExecutorInfo()
/drivers/peripheral/user_auth/hdi_service/service/
H A Duser_auth_interface_service.cpp803 int32_t UserAuthInterfaceService::GetValidSolution(int32_t userId, const std::vector<int32_t> &authTypes, in GetValidSolution() argument
812 for (auto &authType : authTypes) { in GetValidSolution()
1365 if (param.authTypes.empty() || param.authTypes.size() > MAX_AUTH_TYPE_LEN || in CheckReuseUnlockResult()
1382 paramHal.authTypeSize = param.authTypes.size(); in CheckReuseUnlockResult()
1383 for (uint32_t i = 0; i < param.authTypes.size(); i++) { in CheckReuseUnlockResult()
1384 paramHal.authTypes[i] = static_cast<uint32_t>(param.authTypes[i]); in CheckReuseUnlockResult()
1524 int32_t UserAuthInterfaceService::GetSignedExecutorInfo(const std::vector<int32_t>& authTypes, int32_t executorRole, in GetSignedExecutorInfo() argument
1528 if ((g_localUdid.empty()) || (remoteUdid.empty()) || (authTypes in GetSignedExecutorInfo()
[all...]
/drivers/peripheral/user_auth/hdi_service/database/inc/
H A Didm_common.h85 uint32_t authTypes[MAX_AUTH_TYPE_LEN]; member
/drivers/peripheral/user_auth/hdi_service/user_auth/inc/
H A Duser_auth_funcs.h49 uint32_t authTypes[MAX_AUTH_TYPE_LEN]; member
/drivers/peripheral/user_auth/test/unittest/user_auth_test/
H A Duser_auth_funcs_test.cpp172 info.authTypes[0] = 2; in HWTEST_F()
179 info.authTypes[1] = 1; in HWTEST_F()
/drivers/peripheral/user_auth/test/unittest/service_test/src/
H A Duser_auth_interface_service_test.cpp1317 param.authTypes.push_back(static_cast<AuthType>(PIN)); in HWTEST_F()
1318 param.authTypes.push_back(static_cast<AuthType>(FACE)); in HWTEST_F()
1319 param.authTypes.push_back(static_cast<AuthType>(FINGERPRINT)); in HWTEST_F()
1320 param.authTypes.push_back(static_cast<AuthType>(0)); in HWTEST_F()
1322 param.authTypes.pop_back(); in HWTEST_F()
1350 param.authTypes.push_back(1); in HWTEST_F()
1355 param.authTypes.clear(); in HWTEST_F()
1359 param.authTypes.push_back(1); in HWTEST_F()
1361 param.authTypes.push_back(2); in HWTEST_F()
1362 param.authTypes in HWTEST_F()
[all...]
/drivers/peripheral/user_auth/hdi_service/database/src/
H A Didm_database.c1284 if (!CheckAuthType(param->authTypes[i])) { in SaveGlobalConfigParam()
1285 LOG_ERROR("bad authType %{public}u", param->authTypes[i]); in SaveGlobalConfigParam()
1288 ResultCode ret = UpdateGlobalConfigArray(param, param->authTypes[i]); in SaveGlobalConfigParam()
/drivers/peripheral/user_auth/hdi_service/user_auth/src/
H A Duser_auth_funcs.c352 if (info->authTypes[i] == g_unlockAuthResult.authToken.tokenDataPlain.authType) { in CheckReuseUnlockTokenValid()
/drivers/peripheral/user_auth/test/unittest/database/
H A Didm_database_test.cpp789 param.authTypes[0] = 1; in HWTEST_F()

Completed in 12 milliseconds