Home
last modified time | relevance | path

Searched refs:SetInt32Value (Results 1 – 25 of 38) sorted by relevance

12

/ohos5.0/base/useriam/user_auth_framework/services/context/src/
H A Dremote_iam_callback.cpp42 bool setMsgTypeRet = request->SetInt32Value(Attributes::ATTR_MSG_TYPE, SEND_REMOTE_AUTH_RESULT); in OnResult()
45 bool setResultRet = request->SetInt32Value(Attributes::ATTR_RESULT, result); in OnResult()
64 bool setMsgTypeRet = request->SetInt32Value(Attributes::ATTR_MSG_TYPE, SEND_REMOTE_AUTH_TIP); in OnAcquireInfo()
67 bool setModuleRet = request->SetInt32Value(Attributes::ATTR_DEST_ROLE, module); in OnAcquireInfo()
70 bool setAcquireInfoRet = request->SetInt32Value(Attributes::ATTR_TIP_INFO, acquireInfo); in OnAcquireInfo()
H A Dremote_auth_invoker_context.cpp151 bool setResultCodeRet = reply->SetInt32Value(Attributes::ATTR_RESULT_CODE, ResultCode::SUCCESS); in OnMessage()
228 bool setMsgTypeRet = request_->SetInt32Value(Attributes::ATTR_MSG_TYPE, START_REMOTE_AUTH); in SendRequest()
244 bool setCallerTypeRet = request_->SetInt32Value(Attributes::ATTR_CALLER_TYPE, callerType_); in SendRequest()
339 … attr.SetInt32Value(Attributes::ATTR_LOCKOUT_DURATION, authResultInfo.lockoutDuration); in ProcAuthResultMsgInner()
342 attr.SetInt32Value(Attributes::ATTR_REMAIN_ATTEMPTS, authResultInfo.remainAttempts); in ProcAuthResultMsgInner()
348 bool setUserId = attr.SetInt32Value(Attributes::ATTR_USER_ID, authResultInfo.userId); in ProcAuthResultMsgInner()
361 bool setResultCodeRet = attr.SetInt32Value(Attributes::ATTR_RESULT, resultCode); in ProcAuthResultMsgInner()
H A Dsimple_auth_context.cpp269 …bool setResultCodeRet = finalResult.SetInt32Value(Attributes::ATTR_RESULT_CODE, resultInfo.result); in InvokeResultCallback()
271 bool setNextDurationRet = finalResult.SetInt32Value(Attributes::ATTR_NEXT_FAIL_LOCKOUT_DURATION, in InvokeResultCallback()
275 …bool setFreezingTimeRet = finalResult.SetInt32Value(Attributes::ATTR_FREEZING_TIME, resultInfo.fre… in InvokeResultCallback()
277 …bool setRemainTimesRet = finalResult.SetInt32Value(Attributes::ATTR_REMAIN_TIMES, resultInfo.remai… in InvokeResultCallback()
285 bool setUserIdRet = finalResult.SetInt32Value(Attributes::ATTR_USER_ID, resultInfo.userId); in InvokeResultCallback()
H A Dremote_executor_stub.cpp129 bool setResultCodeRet = finalResult->SetInt32Value(Attributes::ATTR_RESULT_CODE, errorCode); in StopSchedule()
320 bool setResultCodeRet = reply->SetInt32Value(Attributes::ATTR_RESULT_CODE, ResultCode::SUCCESS); in OnMessage()
336 …bool setMsgTypeRet = request->SetInt32Value(Attributes::ATTR_MSG_TYPE, MessageType::EXECUTOR_SEND_… in OnMessage()
342 bool setDestRoleRet = request->SetInt32Value(Attributes::ATTR_DEST_ROLE, dstRole); in OnMessage()
369 …bool setMsgTypeRet = request->SetInt32Value(Attributes::ATTR_MSG_TYPE, MessageType::EXECUTOR_FINIS… in ContinueSchedule()
375 bool setResultCodeRet = request->SetInt32Value(Attributes::ATTR_RESULT_CODE, resultCode); in ContinueSchedule()
H A Didentify_context.cpp117 …bool setResultCodeRet = finalResult.SetInt32Value(Attributes::ATTR_RESULT_CODE, resultInfo.result); in InvokeResultCallback()
119 bool setUserIdRet = finalResult.SetInt32Value(Attributes::ATTR_USER_ID, resultInfo.userId); in InvokeResultCallback()
H A Dauth_widget_helper.cpp101 attr.SetInt32Value(Attributes::ATTR_AUTH_TYPE, authType); in GetUserAuthProfile()
174 bool setAuthTypeResult = extraInfo.SetInt32Value(Attributes::ATTR_AUTH_TYPE, in SetReuseUnlockResult()
177 bool setResultCodeRet = extraInfo.SetInt32Value(Attributes::ATTR_RESULT_CODE, SUCCESS); in SetReuseUnlockResult()
H A Dremote_auth_context.cpp205 bool setMsgTypeRet = request->SetInt32Value(Attributes::ATTR_MSG_TYPE, QUERY_EXECUTOR_INFO); in SendQueryExecutorInfoMsg()
212 bool setExecutorRoleRet = request->SetInt32Value(Attributes::ATTR_EXECUTOR_ROLE, COLLECTOR); in SendQueryExecutorInfoMsg()
/ohos5.0/base/useriam/user_auth_framework/test/unittest/services/src/
H A Dcontext_callback_impl_test.cpp99 EXPECT_TRUE(testAttr->SetInt32Value(Attributes::ATTR_TIP_INFO, acquire));
100 EXPECT_TRUE(testAttr->SetInt32Value(Attributes::ATTR_REMAIN_TIMES, 2));
101 EXPECT_TRUE(testAttr->SetInt32Value(Attributes::ATTR_FREEZING_TIME, 40));
131 EXPECT_TRUE(testAttr->SetInt32Value(Attributes::ATTR_TIP_INFO, acquire));
159 EXPECT_TRUE(testAttr->SetInt32Value(Attributes::ATTR_TIP_INFO, acquire));
H A Dwidget_context_test.cpp147 finalResult.SetInt32Value(Attributes::ATTR_REMAIN_TIMES, 1);
160 finalResult.SetInt32Value(Attributes::ATTR_REMAIN_TIMES, 1);
161 finalResult.SetInt32Value(Attributes::ATTR_FREEZING_TIME, 1);
175 finalResult.SetInt32Value(Attributes::ATTR_REMAIN_TIMES, 1);
176 finalResult.SetInt32Value(Attributes::ATTR_FREEZING_TIME, 1);
190 finalResult.SetInt32Value(Attributes::ATTR_REMAIN_TIMES, 1);
191 finalResult.SetInt32Value(Attributes::ATTR_FREEZING_TIME, 1);
H A Duser_auth_service_test.cpp1371 values.SetInt32Value(Attributes::ATTR_PIN_SUB_TYPE, acquire); in __anon4ff6fdb41702()
1422 values.SetInt32Value(Attributes::ATTR_PIN_SUB_TYPE, acquire); in __anon4ff6fdb41902()
1424 values.SetInt32Value(Attributes::ATTR_REMAIN_TIMES, acquire); in __anon4ff6fdb41902()
1471 values.SetInt32Value(Attributes::ATTR_PIN_SUB_TYPE, acquire); in __anon4ff6fdb41b02()
1473 values.SetInt32Value(Attributes::ATTR_REMAIN_TIMES, acquire); in __anon4ff6fdb41b02()
1474 values.SetInt32Value(Attributes::ATTR_FREEZING_TIME, acquire); in __anon4ff6fdb41b02()
1520 values.SetInt32Value(Attributes::ATTR_PIN_SUB_TYPE, acquire); in __anon4ff6fdb41d02()
1522 values.SetInt32Value(Attributes::ATTR_REMAIN_TIMES, acquire); in __anon4ff6fdb41d02()
1523 values.SetInt32Value(Attributes::ATTR_FREEZING_TIME, acquire); in __anon4ff6fdb41d02()
1569 values.SetInt32Value(Attributes::ATTR_PIN_SUB_TYPE, acquire); in __anon4ff6fdb41f02()
[all …]
/ohos5.0/base/useriam/user_auth_framework/services/core/src/
H A Dremote_msg_util.cpp77 bool setAuthTypeRet = attr.SetInt32Value(Attributes::ATTR_AUTH_TYPE, executorInfo.authType); in SetExecutorInfoToAttributes()
80 …bool setExecutorRoleRet = attr.SetInt32Value(Attributes::ATTR_EXECUTOR_ROLE, executorInfo.executor… in SetExecutorInfoToAttributes()
90 bool setEslRet = attr.SetInt32Value(Attributes::ATTR_ESL, executorInfo.esl); in SetExecutorInfoToAttributes()
223 bool setUserIdRet = attr.SetInt32Value(Attributes::ATTR_USER_ID, authParam.userId); in EncodeAuthParam()
229 bool setAuthTypeRet = attr.SetInt32Value(Attributes::ATTR_AUTH_TYPE, authParam.authType); in EncodeAuthParam()
232 …bool setAuthTrustLevelRet = attr.SetInt32Value(Attributes::ATTR_AUTH_TRUST_LEVEL, authParam.authTr… in EncodeAuthParam()
H A Dremote_executor_proxy.cpp202 bool setResultCodeRet = reply->SetInt32Value(Attributes::ATTR_RESULT_CODE, ResultCode::SUCCESS); in OnMessage()
231 …bool setMessageTypeRet = request->SetInt32Value(Attributes::ATTR_MSG_TYPE, MessageType::BEGIN_EXEC… in OnBeginExecute()
276 …bool setMessageTypeRet = request->SetInt32Value(Attributes::ATTR_MSG_TYPE, MessageType::END_EXECUT… in OnEndExecute()
300 …bool setMessageTypeRet = request->SetInt32Value(Attributes::ATTR_MSG_TYPE, MessageType::SEND_DATA_… in OnSendData()
386 …bool setResultCodeRet = request.SetInt32Value(Attributes::ATTR_RESULT_CODE, ResultCode::GENERAL_ER… in OnErrorFinish()
H A Dschedule_node_impl.cpp55 attribute.SetInt32Value(Attributes::ATTR_SCHEDULE_MODE, info_.scheduleMode); in GetScheduleAttribute()
62 attribute.SetInt32Value(Attributes::ATTR_PIN_SUB_TYPE, info_.pinSubType); in GetScheduleAttribute()
71 attribute.SetInt32Value(Attributes::ATTR_AUTH_INTENTION, info_.authIntent); in GetScheduleAttribute()
72 attribute.SetInt32Value(Attributes::ATTR_USER_ID, info_.userId); in GetScheduleAttribute()
413 …bool setPropertyModeRet = attr.SetInt32Value(Attributes::ATTR_PROPERTY_MODE, PROPERTY_MODE_NOTIFY_… in NotifyCollectorReady()
H A Dresource_node_utils.cpp73 properties.SetInt32Value(UserIam::UserAuth::Attributes::ATTR_PROPERTY_MODE, commandId); in SendMsgToExecutor()
/ohos5.0/base/account/os_account/frameworks/account_iam/src/
H A Daccount_iam_callback_service.cpp119 …attr.SetInt32Value(Attributes::AttributeKey::ATTR_REMAIN_TIMES, (*authResult).authStatusInfo.remai… in OnResult()
120 …attr.SetInt32Value(Attributes::AttributeKey::ATTR_FREEZING_TIME, (*authResult).authStatusInfo.free… in OnResult()
/ohos5.0/base/useriam/user_auth_framework/frameworks/native/executors/src/framework/
H A Dframework_executor_callback.cpp363 …bool setAuthSubTypeRet = values->SetInt32Value(Attributes::ATTR_PIN_SUB_TYPE, property.authSubType… in FillPropertyToAttribute()
369 values->SetInt32Value(Attributes::ATTR_FREEZING_TIME, property.lockoutDuration); in FillPropertyToAttribute()
375 values->SetInt32Value(Attributes::ATTR_REMAIN_TIMES, property.remainAttempts); in FillPropertyToAttribute()
391 …bool setNextFailLockoutDurationRet = values->SetInt32Value(Attributes::ATTR_NEXT_FAIL_LOCKOUT_DURA… in FillPropertyToAttribute()
/ohos5.0/base/useriam/user_auth_framework/frameworks/native/executors/src/async_command/
H A Dasync_command_base.cpp106 bool setAcquireRet = attr.SetInt32Value(Attributes::ATTR_TIP_INFO, acquire); in OnAcquireInfoInner()
139 bool setAcquireRet = attr.SetInt32Value(Attributes::ATTR_SRC_ROLE, executor->GetExecutorRole()); in OnMessageInner()
/ohos5.0/base/account/os_account/services/accountmgr/src/account_iam/
H A Daccount_iam_callback.cpp164 errInfo.SetInt32Value(Attributes::AttributeKey::ATTR_REMAIN_TIMES, remainTimes); in OnResult()
165 errInfo.SetInt32Value(Attributes::AttributeKey::ATTR_FREEZING_TIME, freezingTime); in OnResult()
663 …attributes.SetInt32Value(Attributes::ATTR_PIN_SUB_TYPE, static_cast<int32_t>(IAMAuthSubType::DOMAI… in OnResult()
664 attributes.SetInt32Value(Attributes::ATTR_REMAIN_TIMES, infoPtr->remainingTimes); in OnResult()
665 attributes.SetInt32Value(Attributes::ATTR_FREEZING_TIME, infoPtr->freezingTime); in OnResult()
/ohos5.0/base/useriam/user_auth_framework/services/ipc/src/
H A Dhdi_message_callback_service.cpp54 bool roleRet = attr.SetInt32Value(Attributes::ATTR_SRC_ROLE, SCHEDULER); in OnMessage()
/ohos5.0/foundation/resourceschedule/device_standby/interfaces/kits/napi/include/
H A Dcommon.h64 static void SetInt32Value(const napi_env& env, const std::string& fieldStr,
/ohos5.0/foundation/arkui/ui_appearance/services/utils/include/
H A Dsetting_data_manager.h49 ErrCode SetInt32Value(const std::string& key, int32_t value, int32_t userId = INVALID_USER_ID,
/ohos5.0/base/useriam/user_auth_framework/test/fuzztest/services/core/remoteexecutorstub_fuzzer/
H A Dremote_executor_stub_fuzzer.cpp60 request->SetInt32Value(Attributes::ATTR_MSG_TYPE, parcel.ReadInt32()); in FuzzTest()
/ohos5.0/base/useriam/user_auth_framework/services/remote_connect/src/
H A Dsoft_bus_client_socket.cpp141 bool setMsgTypeRet = request->SetInt32Value(Attributes::ATTR_MSG_TYPE, MessageType::KEEP_ALIVE); in SendKeepAliveMessage()
H A Dsoft_bus_message.cpp77 bool ret = attributes->SetInt32Value(Attributes::ATTR_MSG_SEQ_NUM, messageSeq_); in CreateMessage()
/ohos5.0/base/useriam/user_auth_framework/interfaces/inner_api/
H A Dattributes.h301 bool SetInt32Value(AttributeKey key, int32_t value);

12