Home
last modified time | relevance | path

Searched refs:pinType (Results 1 - 25 of 29) sorted by relevance

12

/base/account/os_account/test/fuzztest/iamaccount/updatecredential_fuzzer/
H A Dupdatecredential_fuzzer.cpp46 std::optional<PinSubType> pinType = {fuzzData.GenerateRandomEnmu(UserIam::UserAuth::PIN_MAX)}; in UpdateCredentialFuzzTest() local
50 .pinType = pinType, in UpdateCredentialFuzzTest()
/base/account/os_account/test/fuzztest/iamaccount/addcredential_fuzzer/
H A Daddcredential_fuzzer.cpp47 std::optional<PinSubType> pinType = {fuzzData.GenerateRandomEnmu(UserIam::UserAuth::PIN_MAX)}; in AddCredentialFuzzTest() local
51 .pinType = pinType, in AddCredentialFuzzTest()
/base/useriam/user_auth_framework/interfaces/inner_api/
H A Duser_idm_client_defines.h42 std::optional<PinSubType> pinType {};
76 std::optional<PinSubType> pinType {};
/base/account/os_account/test/fuzztest/iamaccount_stub/addcredentialstub_fuzzer/
H A Daddcredentialstub_fuzzer.cpp55 std::optional<PinSubType> pinType = {fuzzData.GenerateRandomEnmu(PinSubType::PIN_MAX)}; in AddCredentialStubFuzzTest() local
70 PinSubType pin = pinType.value_or(PinSubType::PIN_MAX); in AddCredentialStubFuzzTest()
/base/account/os_account/test/fuzztest/iamaccount_stub/updatecredentialstub_fuzzer/
H A Dupdatecredentialstub_fuzzer.cpp53 std::optional<PinSubType> pinType = {fuzzData.GenerateRandomEnmu(PinSubType::PIN_MAX)}; in UpdateCredentialStubFuzzTest() local
67 PinSubType pin = pinType.value_or(PinSubType::PIN_MAX); in UpdateCredentialStubFuzzTest()
/base/account/os_account/frameworks/account_iam/src/
H A Daccount_iam_callback_stub.cpp122 int32_t pinType = 0; in ProcOnCredentialInfo() local
131 if (!data.ReadInt32(pinType)) { in ProcOnCredentialInfo()
140 info.pinType = static_cast<PinSubType>(pinType); in ProcOnCredentialInfo()
H A Daccount_iam_mgr_proxy.cpp121 PinSubType pinType = credInfo.pinType.value_or(PinSubType::PIN_MAX); in AddOrUpdateCredential() local
122 if (!data.WriteInt32(pinType)) { in AddOrUpdateCredential()
123 ACCOUNT_LOGE("failed to write pinType"); in AddOrUpdateCredential()
H A Daccount_iam_client.cpp82 SetAuthSubType(userId, static_cast<int32_t>(credInfo.pinType.value_or(PinSubType::PIN_MAX))); in AddCredential()
107 SetAuthSubType(userId, static_cast<int32_t>(credInfo.pinType.value_or(PinSubType::PIN_MAX))); in UpdateCredential()
/base/useriam/user_auth_framework/frameworks/native/ipc/src/
H A Duser_idm_callback_stub.cpp126 int32_t pinType = 0; in ReadCredentialInfoList() local
135 if (!data.ReadInt32(pinType)) { in ReadCredentialInfoList()
144 info.pinType = static_cast<PinSubType>(pinType); in ReadCredentialInfoList()
H A Duser_idm_stub.cpp201 credPara.pinType = static_cast<PinSubType>(authSubType); in AddCredentialStub()
243 credPara.pinType = static_cast<PinSubType>(authSubType); in UpdateCredentialStub()
H A Duser_idm_proxy.cpp168 if (!data.WriteInt32(credPara.pinType)) { in AddCredential()
206 if (!data.WriteInt32(credPara.pinType)) { in UpdateCredential()
H A Duser_idm_callback_proxy.cpp128 if (!data.WriteInt32(info.pinType.value_or(static_cast<PinSubType>(0)))) { in OnCredentialInfos()
/base/account/os_account/services/accountmgr/src/account_iam/
H A Daccount_iam_client_callback_proxy.cpp119 PinSubType pinType = info.pinType.value_or(PinSubType::PIN_MAX); in OnCredentialInfo() local
120 if (!data.WriteInt32(pinType)) { in OnCredentialInfo()
H A Dinner_account_iam_manager.cpp241 credInfo.pinType = PinSubType::PIN_SIX; in DelUser()
264 info.pinType = static_cast<PinSubType>(IAMAuthSubType::DOMAIN_MIXED); in GetCredentialInfo()
/base/useriam/user_auth_framework/frameworks/native/client/src/
H A Duser_idm_client_impl.cpp85 credPara.pinType = para.pinType.value_or(PIN_SIX); in AddCredential()
115 credPara.pinType = para.pinType.value_or(PIN_SIX); in UpdateCredential()
/base/useriam/user_auth_framework/services/core/inc/
H A Denrollment.h35 PinSubType pinType {PIN_SIX};
/base/useriam/user_auth_framework/test/unittest/inner_api/src/
H A Duser_idm_proxy_test.cpp166 testCredPara.pinType = PIN_SIX; in HWTEST_F()
184 EXPECT_EQ(credPara.pinType, testCredPara.pinType); in HWTEST_F()
202 testCredPara.pinType = PIN_SIX; in HWTEST_F()
220 EXPECT_EQ(credPara.pinType, testCredPara.pinType); in HWTEST_F()
H A Duser_idm_client_test.cpp161 testPara.pinType = std::nullopt; in HWTEST_F()
213 testPara.pinType = PIN_SIX; in HWTEST_F()
228 EXPECT_TRUE(testPara.pinType.has_value()); in HWTEST_F()
229 EXPECT_EQ(credPara.pinType, testPara.pinType.value()); in HWTEST_F()
/base/useriam/user_auth_framework/test/unittest/services/src/
H A Duser_idm_stub_test.cpp256 testCredPara.pinType = PIN_SIX; in HWTEST_F()
269 EXPECT_EQ(credPara.pinType, testCredPara.pinType); in HWTEST_F()
287 EXPECT_TRUE(data.WriteInt32(testCredPara.pinType)); in HWTEST_F()
313 testCredPara.pinType = PIN_SIX; in HWTEST_F()
326 EXPECT_EQ(credPara.pinType, testCredPara.pinType); in HWTEST_F()
344 EXPECT_TRUE(data.WriteInt32(testCredPara.pinType)); in HWTEST_F()
H A Duser_idm_service_test.cpp309 testCredPara.pinType = PIN_SIX; in HWTEST_F()
321 testCredPara.pinType = PIN_SIX; in HWTEST_F()
405 testCredPara.pinType = PIN_SIX; in HWTEST_F()
443 testCredPara.pinType = PIN_SIX; in HWTEST_F()
467 testCredPara.pinType = PIN_SIX; in HWTEST_F()
/base/useriam/user_auth_framework/frameworks/native/ipc/common_defines/
H A Duser_idm_interface.h32 PinSubType pinType {PIN_SIX};
/base/useriam/user_auth_framework/test/fuzztest/services/useridmservice_fuzzer/
H A Duser_idm_service_fuzzer.cpp175 para.pinType = static_cast<PinSubType>(parcel.ReadInt32()); in FuzzAddCredential()
188 para.pinType = static_cast<PinSubType>(parcel.ReadInt32()); in FuzzUpdateCredential()
/base/useriam/user_auth_framework/services/context/src/
H A Dcontext_factory.cpp68 enroll->SetPinSubType(para.pinType); in CreateEnrollContext()
/base/useriam/user_auth_framework/services/ipc/src/
H A Duser_idm_service.cpp134 info.pinType = userInfo->GetPinSubType(); in GetCredentialInfoInner()
257 para.pinType = credPara.pinType; in AddCredential()
/base/useriam/user_auth_framework/test/fuzztest/clients/useridmclient_fuzzer/
H A Duser_idm_client_fuzzer.cpp226 info.pinType = static_cast<PinSubType>(parcel.ReadInt32()); in FuzzCallbackServiceOnCredentialInfos()

Completed in 20 milliseconds

12