Home
last modified time | relevance | path

Searched refs:reuseUnlockResult (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/base/useriam/user_auth_framework/services/context/src/
H A Dauth_widget_helper.cpp195 … para.userId, authParam.reuseUnlockResult.reuseMode, authParam.reuseUnlockResult.reuseDuration); in CheckReuseUnlockResult()
196 if (!authParam.reuseUnlockResult.isReuse || authParam.reuseUnlockResult.reuseDuration == 0 || in CheckReuseUnlockResult()
197 authParam.reuseUnlockResult.reuseDuration > MAX_ALLOWABLE_REUSE_DURATION || in CheckReuseUnlockResult()
198 (authParam.reuseUnlockResult.reuseMode != AUTH_TYPE_RELEVANT && in CheckReuseUnlockResult()
199 authParam.reuseUnlockResult.reuseMode != AUTH_TYPE_IRRELEVANT && in CheckReuseUnlockResult()
200 authParam.reuseUnlockResult.reuseMode != CALLER_IRRELEVANT_AUTH_TYPE_RELEVANT && in CheckReuseUnlockResult()
201 authParam.reuseUnlockResult.reuseMode != CALLER_IRRELEVANT_AUTH_TYPE_IRRELEVANT)) { in CheckReuseUnlockResult()
221 unlockParam.reuseUnlockResultMode = authParam.reuseUnlockResult.reuseMode; in CheckReuseUnlockResult()
222 unlockParam.reuseUnlockResultDuration = authParam.reuseUnlockResult.reuseDuration; in CheckReuseUnlockResult()
/ohos5.0/base/useriam/user_auth_framework/test/unittest/services/src/
H A Dauth_widget_helper_test.cpp111 authParam.reuseUnlockResult.isReuse = false;
114 authParam.reuseUnlockResult.isReuse = true;
115 authParam.reuseUnlockResult.reuseDuration = 0;
118 authParam.reuseUnlockResult.reuseDuration = 6 * 60 * 1000;
128 authParam.reuseUnlockResult.isReuse = true;
129 authParam.reuseUnlockResult.reuseDuration = 5 * 60 * 1000;
130 authParam.reuseUnlockResult.reuseMode = AUTH_TYPE_RELEVANT;
H A Duser_auth_service_test.cpp1590 authParam.reuseUnlockResult.isReuse = true;
1591 authParam.reuseUnlockResult.reuseMode = AUTH_TYPE_IRRELEVANT;
1592 authParam.reuseUnlockResult.reuseDuration = 5 * 60 *1000;
/ohos5.0/docs/zh-cn/application-dev/security/UserAuthenticationKit/
H A Dstart-authentication.md132 let reuseUnlockResult: userAuth.ReuseUnlockResult = {
144 reuseUnlockResult: reuseUnlockResult,
180 let reuseUnlockResult: userAuth.ReuseUnlockResult = {
192 reuseUnlockResult: reuseUnlockResult,
/ohos5.0/base/useriam/user_auth_framework/frameworks/js/napi/user_auth/src/
H A Duser_auth_napi_helper.cpp618 bool UserAuthNapiHelper::CheckReuseUnlockResult(ReuseUnlockResult reuseUnlockResult) in CheckReuseUnlockResult() argument
620 if (reuseUnlockResult.reuseMode != ReuseMode::AUTH_TYPE_RELEVANT && in CheckReuseUnlockResult()
621 reuseUnlockResult.reuseMode != ReuseMode::AUTH_TYPE_IRRELEVANT && in CheckReuseUnlockResult()
622 reuseUnlockResult.reuseMode != ReuseMode::CALLER_IRRELEVANT_AUTH_TYPE_RELEVANT && in CheckReuseUnlockResult()
623 reuseUnlockResult.reuseMode != ReuseMode::CALLER_IRRELEVANT_AUTH_TYPE_IRRELEVANT) { in CheckReuseUnlockResult()
624 IAM_LOGE("reuseMode check fail:%{public}u", reuseUnlockResult.reuseMode); in CheckReuseUnlockResult()
627 …if (reuseUnlockResult.reuseDuration <= 0 || reuseUnlockResult.reuseDuration > MAX_ALLOWABLE_REUSE_… in CheckReuseUnlockResult()
628 IAM_LOGE("reuseDuration check fail:%{public}" PRIu64, reuseUnlockResult.reuseDuration); in CheckReuseUnlockResult()
H A Duser_auth_instance_v10.cpp230 authParam_.reuseUnlockResult.reuseMode = ReuseMode(reuseMode); in InitReuseUnlockResult()
243 authParam_.reuseUnlockResult.reuseDuration = reuseDuration; in InitReuseUnlockResult()
244 if (!UserAuthNapiHelper::CheckReuseUnlockResult(authParam_.reuseUnlockResult)) { in InitReuseUnlockResult()
249 authParam_.reuseUnlockResult.isReuse = true; in InitReuseUnlockResult()
250 …IAM_LOGI("reuseMode: %{public}u, reuseDuration: %{public}" PRIu64, authParam_.reuseUnlockResult.re… in InitReuseUnlockResult()
251 authParam_.reuseUnlockResult.reuseDuration); in InitReuseUnlockResult()
317 authParam_.reuseUnlockResult.isReuse = false; in ProcessReuseUnlockResult()
/ohos5.0/docs/en/application-dev/security/UserAuthenticationKit/
H A Dstart-authentication.md132 let reuseUnlockResult: userAuth.ReuseUnlockResult = {
144 reuseUnlockResult: reuseUnlockResult,
180 let reuseUnlockResult: userAuth.ReuseUnlockResult = {
192 reuseUnlockResult: reuseUnlockResult,
/ohos5.0/base/useriam/user_auth_framework/frameworks/native/ipc/common_defines/
H A Duser_auth_common_defines.h71 ReuseUnlockResult reuseUnlockResult; member
/ohos5.0/base/useriam/user_auth_framework/frameworks/native/ipc/src/
H A Duser_auth_stub.cpp388 if (!data.ReadBool(authParam.reuseUnlockResult.isReuse)) { in ReadWidgetAuthParam()
392 authParam.reuseUnlockResult.reuseDuration = 0; in ReadWidgetAuthParam()
394 if (authParam.reuseUnlockResult.isReuse) { in ReadWidgetAuthParam()
399 if (!data.ReadUint64(authParam.reuseUnlockResult.reuseDuration)) { in ReadWidgetAuthParam()
404 authParam.reuseUnlockResult.reuseMode = static_cast<ReuseMode>(reuseMode); in ReadWidgetAuthParam()
H A Duser_auth_proxy.cpp455 if (!data.WriteBool(authParam.reuseUnlockResult.isReuse)) { in WriteWidgetAuthParam()
459 if (authParam.reuseUnlockResult.isReuse) { in WriteWidgetAuthParam()
460 if (!data.WriteUint32(authParam.reuseUnlockResult.reuseMode)) { in WriteWidgetAuthParam()
464 if (!data.WriteUint64(authParam.reuseUnlockResult.reuseDuration)) { in WriteWidgetAuthParam()
/ohos5.0/base/useriam/user_auth_framework/frameworks/native/client/src/
H A Duser_auth_client_impl.cpp452 .reuseUnlockResult = authParam.reuseUnlockResult, in BeginWidgetAuth()
468 .reuseUnlockResult = authParam.reuseUnlockResult, in BeginWidgetAuth()
/ohos5.0/base/useriam/user_auth_framework/test/fuzztest/services/userauthservice_fuzzer/
H A Duser_auth_service_fuzzer.cpp426 ReuseUnlockResult reuseUnlockResult = {}; in FuzzGetAuthContextCallback() local
427 reuseUnlockResult.isReuse = true; in FuzzGetAuthContextCallback()
428 authParam.reuseUnlockResult = reuseUnlockResult; in FuzzGetAuthContextCallback()
/ohos5.0/base/useriam/user_auth_framework/interfaces/inner_api/
H A Duser_auth_client_defines.h134 ReuseUnlockResult reuseUnlockResult; member
/ohos5.0/docs/zh-cn/application-dev/reference/apis-user-authentication-kit/
H A Djs-apis-useriam-userauth.md132 | reuseUnlockResult<sup>12+</sup> | [ReuseUnlockResult](#reuseunlockresult12) | 否 |表示可以复用设备解锁结果。|
228 let reuseUnlockResult: userAuth.ReuseUnlockResult = {
240 reuseUnlockResult: reuseUnlockResult,
269 let reuseUnlockResult: userAuth.ReuseUnlockResult = {
281 reuseUnlockResult: reuseUnlockResult,
/ohos5.0/base/useriam/user_auth_framework/frameworks/js/napi/user_auth/inc/
H A Duser_auth_napi_helper.h40 static bool CheckReuseUnlockResult(ReuseUnlockResult reuseUnlockResult);
/ohos5.0/base/useriam/user_auth_framework/services/ipc/src/
H A Duser_auth_service.cpp1172 if (authParam.reuseUnlockResult.isReuse) { in GetAuthContextCallback()
1173 traceReuseMode = authParam.reuseUnlockResult.reuseMode; in GetAuthContextCallback()
1174 traceReuseDuration = authParam.reuseUnlockResult.reuseDuration; in GetAuthContextCallback()
/ohos5.0/docs/en/application-dev/reference/apis-user-authentication-kit/
H A Djs-apis-useriam-userauth.md134 | reuseUnlockResult<sup>12+</sup> | [ReuseUnlockResult](#reuseunlockresult12) | No |Device unlocki…
230 let reuseUnlockResult: userAuth.ReuseUnlockResult = {
242 reuseUnlockResult: reuseUnlockResult,
271 let reuseUnlockResult: userAuth.ReuseUnlockResult = {
283 reuseUnlockResult: reuseUnlockResult,