/base/useriam/user_auth_framework/frameworks/js/napi/user_auth/src/ |
D | user_auth_callback_v8.cpp | 33 std::optional<int32_t> remainTimes {std::nullopt}; member 88 resultHolder->remainTimes, resultHolder->freezingTime); in OnResultV8Work() 145 std::optional<int32_t> &remainTimes, std::optional<int32_t> &freezingTime) in DoResultCallback() argument 163 if (remainTimes.has_value()) { in DoResultCallback() 164 …ret = UserAuthNapiHelper::SetInt32Property(env_, params[PARAM1], "remainTimes", remainTimes.value(… in DoResultCallback() 266 int32_t remainTimes = 0; in OnResult() local 267 if (extraInfo.GetInt32Value(Attributes::ATTR_REMAIN_TIMES, remainTimes)) { in OnResult() 268 resultHolder->remainTimes = remainTimes; in OnResult()
|
D | user_auth_callback_v9.cpp | 33 std::optional<int32_t> remainTimes {std::nullopt}; member 88 resultHolder->remainTimes, resultHolder->freezingTime); in OnResultV9Work() 179 std::optional<int32_t> &remainTimes, std::optional<int32_t> &freezingTime) in DoResultCallback() argument 203 if (remainTimes.has_value()) { in DoResultCallback() 204 …ret = UserAuthNapiHelper::SetInt32Property(env_, eventInfo, "remainAttempts", remainTimes.value()); in DoResultCallback() 307 int32_t remainTimes = 0; in OnResult() local 308 if (extraInfo.GetInt32Value(Attributes::ATTR_REMAIN_TIMES, remainTimes)) { in OnResult() 309 resultHolder->remainTimes = remainTimes; in OnResult()
|
/base/account/os_account/interfaces/innerkits/domain_account/native/include/ |
D | domain_plugin.h | 54 int32_t remainTimes; member 64 int32_t remainTimes; member
|
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth/inc/ |
D | user_auth_callback_v8.h | 39 std::optional<int32_t> &remainTimes, std::optional<int32_t> &freezingTime);
|
D | user_auth_callback_v9.h | 40 std::optional<int32_t> &remainTimes, std::optional<int32_t> &freezingTime);
|
/base/account/os_account/services/accountmgr/src/account_iam/ |
D | account_iam_callback.cpp | 106 int32_t remainTimes = 0; in GenerateAttributesInfo() local 107 if (extraInfo.GetInt32Value(Attributes::AttributeKey::ATTR_REMAIN_TIMES, remainTimes)) { in GenerateAttributesInfo() 108 extraAuthInfo.SetInt32Value(Attributes::AttributeKey::ATTR_REMAIN_TIMES, remainTimes); in GenerateAttributesInfo() 145 int32_t remainTimes = 0; in OnResult() local 147 extraInfo.GetInt32Value(Attributes::AttributeKey::ATTR_REMAIN_TIMES, remainTimes); in OnResult() 150 errInfo.SetInt32Value(Attributes::AttributeKey::ATTR_REMAIN_TIMES, remainTimes); in OnResult()
|
/base/useriam/user_auth_framework/services/context/src/ |
D | simple_auth_context.cpp | 74 …ol getRemainTimesRet = values.GetInt32Value(Attributes::ATTR_REMAIN_TIMES, resultInfo.remainTimes); in GetPropertyForAuthResult() 78 resultInfo.nextFailLockoutDuration, resultInfo.freezingTime, resultInfo.remainTimes); in GetPropertyForAuthResult() 225 …tRemainTimesRet = finalResult.SetInt32Value(Attributes::ATTR_REMAIN_TIMES, resultInfo.remainTimes); in InvokeResultCallback()
|
D | widget_context.cpp | 214 int32_t remainTimes = -1; in AuthResult() local 216 if (!finalResult.GetInt32Value(Attributes::ATTR_REMAIN_TIMES, remainTimes)) { in AuthResult() 223 WidgetClient::Instance().ReportWidgetResult(resultCode, authTypeTmp, freezingTime, remainTimes); in AuthResult() 465 cmd.remainAttempts = profile.remainTimes; in BuildStartCommand()
|
/base/useriam/user_auth_framework/services/context/inc/ |
D | simple_auth_context.h | 54 ResultCode SetFreezingTimeAndRemainTimes(int32_t &freezingTime, int32_t &remainTimes);
|
D | context_factory.h | 42 int32_t remainTimes {0};
|
/base/useriam/user_auth_framework/services/core/inc/ |
D | authentication.h | 46 int32_t remainTimes; member
|
/base/account/os_account/interfaces/kits/napi/account_iam/include/ |
D | napi_account_iam_common.h | 79 int32_t remainTimes = -1; member 157 int32_t remainTimes = 0; member 284 napi_value CreateAuthResult(napi_env env, const std::vector<uint8_t> &token, int32_t remainTimes, i…
|
/base/useriam/user_auth_framework/test/unittest/services/src/ |
D | widget_json_test.cpp | 61 int32_t remainTimes {0}; member 171 cmd.remainAttempts = profile.remainTimes; 240 cmd.remainAttempts = profile.remainTimes;
|
D | simple_auth_context_test.cpp | 479 int32_t remainTimes; in MockForContextCallback() local 485 ret = finalResult.GetInt32Value(Attributes::ATTR_REMAIN_TIMES, remainTimes); in MockForContextCallback() 492 EXPECT_EQ(remainTimes, TEST_REMAIN_TIMES); in MockForContextCallback() 514 resultInfo.remainTimes = testRemainTimes; in __anon61caf0481302() 550 resultInfo.remainTimes = testRemainTimes; in __anon61caf0481402()
|
/base/account/os_account/interfaces/kits/napi/account_iam/src/ |
D | napi_account_iam_constant.cpp | 104 napi_value remainTimes = nullptr; in GetPropertyTypeConstructor() local 111 …LL(env, napi_create_int32(env, static_cast<int32_t>(GetPropertyType::REMAIN_TIMES), &remainTimes)); in GetPropertyTypeConstructor() 119 NAPI_CALL(env, napi_set_named_property(env, getPropertyType, "REMAIN_TIMES", remainTimes)); in GetPropertyTypeConstructor()
|
D | napi_account_iam_common.cpp | 385 SetInt32ToJsProperty(env, prop.remainTimes, "remainTimes", dataJs); in GeneratePropertyJs() 433 …napi_value object = CreateAuthResult(param->env, param->token, param->remainTimes, param->freezing… in GenerateAuthResult() 511 extraInfo.GetInt32Value(Attributes::AttributeKey::ATTR_REMAIN_TIMES, param->remainTimes); in OnResult() 722 … if (!extraInfo.GetInt32Value(Attributes::AttributeKey::ATTR_REMAIN_TIMES, context.remainTimes)) { in GetContextParams()
|
/base/account/os_account/frameworks/domain_account/test/moduletest/src/ |
D | mock_domain_so_plugin.cpp | 74 (*authResultInfo)->remainTimes = 1; in Auth()
|
/base/useriam/user_auth_framework/services/core/src/ |
D | authentication_impl.cpp | 157 resultInfo.remainTimes = info.remainAttempts; in Update()
|
D | auth_widget_helper.cpp | 116 if (!values.GetInt32Value(Attributes::ATTR_REMAIN_TIMES, profile.remainTimes)) { in ParseAttributes()
|
/base/account/os_account/interfaces/kits/napi/common/include/ |
D | napi_account_common.h | 89 napi_env env, const std::vector<uint8_t> &authData, int32_t remainTimes, int32_t freezingTime);
|
/base/account/os_account/interfaces/kits/napi/common/src/ |
D | napi_account_common.cpp | 470 napi_env env, const std::vector<uint8_t> &token, int32_t remainTimes, int32_t freezingTime) in CreateAuthResult() argument 474 if (remainTimes >= 0) { in CreateAuthResult() 476 NAPI_CALL(env, napi_create_uint32(env, remainTimes, &napiRemainTimes)); in CreateAuthResult()
|
/base/account/os_account/services/accountmgr/src/domain_account/ |
D | inner_domain_account_manager.cpp | 456 std::vector<uint8_t> &token, int32_t &remainTimes, int32_t &freezingTime) in GetAndCleanPluginAuthResultInfo() argument 463 remainTimes = (*authResultInfo)->remainTimes; in GetAndCleanPluginAuthResultInfo() 470 int32_t &remainTimes, int32_t &freezingTime) in GetAndCleanPluginAuthStatusInfo() argument 476 remainTimes = (*statusInfo)->remainTimes; in GetAndCleanPluginAuthStatusInfo()
|
/base/useriam/user_auth_framework/test/unittest/executors/ |
D | executor_unit_test.cpp | 909 int32_t remainTimes; variable 910 ASSERT_EQ(values->GetInt32Value(Attributes::ATTR_REMAIN_TIMES, remainTimes), true); 911 ASSERT_EQ(remainTimes, testRemainTimes);
|