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/
Dupdatecredential_fuzzer.cpp44 std::optional<PinSubType> pinType = {static_cast<PinSubType>(size)}; in UpdateCredentialFuzzTest() local
48 .pinType = pinType, in UpdateCredentialFuzzTest()
/base/account/os_account/test/fuzztest/iamaccount/addcredential_fuzzer/
Daddcredential_fuzzer.cpp45 std::optional<PinSubType> pinType = {static_cast<PinSubType>(size)}; in AddCredentialFuzzTest() local
49 .pinType = pinType, in AddCredentialFuzzTest()
/base/useriam/user_auth_framework/interfaces/inner_api/
Duser_idm_client_defines.h42 std::optional<PinSubType> pinType {};
76 std::optional<PinSubType> pinType {};
/base/useriam/user_auth_framework/frameworks/native/ipc/src/
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()
Duser_idm_proxy.cpp168 if (!data.WriteInt32(credPara.pinType)) { in AddCredential()
206 if (!data.WriteInt32(credPara.pinType)) { in UpdateCredential()
Duser_idm_stub.cpp201 credPara.pinType = static_cast<PinSubType>(authSubType); in AddCredentialStub()
243 credPara.pinType = static_cast<PinSubType>(authSubType); in UpdateCredentialStub()
Duser_idm_callback_proxy.cpp128 if (!data.WriteInt32(info.pinType.value_or(static_cast<PinSubType>(0)))) { in OnCredentialInfos()
/base/account/os_account/test/fuzztest/iamaccount_stub/updatecredentialstub_fuzzer/
Dupdatecredentialstub_fuzzer.cpp51 std::optional<PinSubType> pinType = {static_cast<PinSubType>(size)}; in UpdateCredentialStubFuzzTest() local
69 PinSubType pin = pinType.value_or(PinSubType::PIN_MAX); in UpdateCredentialStubFuzzTest()
/base/account/os_account/test/fuzztest/iamaccount_stub/addcredentialstub_fuzzer/
Daddcredentialstub_fuzzer.cpp53 std::optional<PinSubType> pinType = {static_cast<PinSubType>(size)}; in AddCredentialStubFuzzTest() local
70 PinSubType pin = pinType.value_or(PinSubType::PIN_MAX); in AddCredentialStubFuzzTest()
/base/account/os_account/frameworks/account_iam/src/
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()
Daccount_iam_mgr_proxy.cpp121 PinSubType pinType = credInfo.pinType.value_or(PinSubType::PIN_MAX); in AddOrUpdateCredential() local
122 if (!data.WriteInt32(pinType)) { in AddOrUpdateCredential()
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/account/os_account/services/accountmgr/src/account_iam/
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()
/base/useriam/user_auth_framework/frameworks/native/client/src/
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/test/unittest/services/src/
Duser_idm_stub_test.cpp256 testCredPara.pinType = PIN_SIX;
269 EXPECT_EQ(credPara.pinType, testCredPara.pinType); in __anoneea88afe0502()
287 EXPECT_TRUE(data.WriteInt32(testCredPara.pinType));
313 testCredPara.pinType = PIN_SIX;
326 EXPECT_EQ(credPara.pinType, testCredPara.pinType); in __anoneea88afe0602()
344 EXPECT_TRUE(data.WriteInt32(testCredPara.pinType));
Duser_idm_service_test.cpp309 testCredPara.pinType = PIN_SIX;
321 testCredPara.pinType = PIN_SIX;
405 testCredPara.pinType = PIN_SIX;
443 testCredPara.pinType = PIN_SIX;
467 testCredPara.pinType = PIN_SIX;
/base/useriam/user_auth_framework/test/unittest/inner_api/src/
Duser_idm_proxy_test.cpp166 testCredPara.pinType = PIN_SIX;
184 EXPECT_EQ(credPara.pinType, testCredPara.pinType); in __anon523d9cd30902()
202 testCredPara.pinType = PIN_SIX;
220 EXPECT_EQ(credPara.pinType, testCredPara.pinType); in __anon523d9cd30b02()
Duser_idm_client_test.cpp161 testPara.pinType = std::nullopt;
213 testPara.pinType = PIN_SIX;
228 EXPECT_TRUE(testPara.pinType.has_value()); in __anon1dde66900502()
229 EXPECT_EQ(credPara.pinType, testPara.pinType.value()); in __anon1dde66900502()
/base/useriam/user_auth_framework/services/core/inc/
Denrollment.h35 PinSubType pinType {PIN_SIX};
/base/useriam/user_auth_framework/frameworks/native/ipc/common_defines/
Duser_idm_interface.h32 PinSubType pinType {PIN_SIX};
/base/useriam/user_auth_framework/test/fuzztest/services/useridmservice_fuzzer/
Duser_idm_service_fuzzer.cpp172 para.pinType = static_cast<PinSubType>(parcel.ReadInt32()); in FuzzAddCredential()
185 para.pinType = static_cast<PinSubType>(parcel.ReadInt32()); in FuzzUpdateCredential()
/base/useriam/user_auth_framework/services/context/src/
Dcontext_factory.cpp67 enroll->SetPinSubType(para.pinType); in CreateEnrollContext()
/base/useriam/user_auth_framework/services/ipc/src/
Duser_idm_service.cpp132 info.pinType = userInfo->GetPinSubType(); in GetCredentialInfoInner()
270 para.pinType = credPara.pinType; in AddCredential()
/base/useriam/user_auth_framework/test/fuzztest/clients/useridmclient_fuzzer/
Duser_idm_client_fuzzer.cpp210 info.pinType = static_cast<PinSubType>(parcel.ReadInt32()); in FuzzCallbackServiceOnCredentialInfos()
/base/account/os_account/interfaces/kits/napi/account_iam/src/
Dnapi_account_iam_common.cpp217 context.addCredInfo.pinType = static_cast<PinSubType>(credSubType); in ParseAddCredInfo()
277 PinSubType pinType = item.pinType.value_or(PinSubType::PIN_MAX); in CreateCredInfoArray() local
278 NAPI_CALL(env, napi_create_uint32(env, pinType, &napiPinType)); in CreateCredInfoArray()

12