Home
last modified time | relevance | path

Searched refs:ATTR_RESULT_CODE (Results 1 – 25 of 33) sorted by relevance

12

/ohos5.0/base/useriam/user_auth_framework/test/unittest/services/src/
H A Dattributes_test.cpp63 EXPECT_TRUE(attrs.SetBoolValue(Attributes::ATTR_RESULT_CODE, true));
107 EXPECT_TRUE(attrs.SetBoolValue(Attributes::ATTR_RESULT_CODE, true));
112 EXPECT_TRUE(attrs.GetBoolValue(Attributes::ATTR_RESULT_CODE, value1));
126 EXPECT_TRUE(attrs.GetUint64Value(Attributes::ATTR_RESULT_CODE, value1));
140 EXPECT_TRUE(attrs.GetUint32Value(Attributes::ATTR_RESULT_CODE, value1));
163 EXPECT_TRUE(attrs.SetUint8Value(Attributes::ATTR_RESULT_CODE, 0));
168 EXPECT_TRUE(attrs.GetUint8Value(Attributes::ATTR_RESULT_CODE, value1));
319 EXPECT_TRUE(attrs1.SetBoolValue(Attributes::ATTR_RESULT_CODE, value));
336 EXPECT_TRUE(attrs1.GetBoolValue(Attributes::ATTR_RESULT_CODE, value));
376 EXPECT_TRUE(attrs1.SetBoolValue(Attributes::ATTR_RESULT_CODE, true));
[all …]
H A Duser_auth_stub_test.cpp158 …std::vector<Attributes::AttributeKey> testAttrKeys = {Attributes::ATTR_RESULT_CODE, Attributes::AT…
593 …std::vector<Attributes::AttributeKey> testAttrKeys = {Attributes::ATTR_RESULT_CODE, Attributes::AT…
/ohos5.0/drivers/peripheral/user_auth/test/unittest/attribute_test/
H A Dattribute_test.cpp141 ASSERT_EQ(SetAttributeInt32(attribute, ATTR_RESULT_CODE, value1), RESULT_SUCCESS);
146 ASSERT_EQ(GetAttributeInt32(attribute, ATTR_RESULT_CODE, &out1), RESULT_SUCCESS);
161 ASSERT_EQ(SetAttributeInt32(nullptr, ATTR_RESULT_CODE, value), RESULT_BAD_PARAM);
162 ASSERT_EQ(SetAttributeInt32(attribute, ATTR_RESULT_CODE, value), RESULT_SUCCESS);
165 ASSERT_EQ(GetAttributeInt32(nullptr, ATTR_RESULT_CODE, &out), RESULT_BAD_PARAM);
166 ASSERT_EQ(GetAttributeInt32(attribute, ATTR_RESULT_CODE, nullptr), RESULT_BAD_PARAM);
168 ASSERT_EQ(GetAttributeInt32(attribute, ATTR_RESULT_CODE, &out), RESULT_SUCCESS);
485 const std::vector<AttributeKey> keys = {ATTR_RESULT_CODE, ATTR_SIGNATURE, ATTR_DATA,
530 result = SetAttributeInt32(originAttribute, ATTR_RESULT_CODE, testInt32);
547 result = GetAttributeInt32(parsedAttribute, ATTR_RESULT_CODE, &parsedInt32);
/ohos5.0/base/useriam/user_auth_framework/services/core/src/
H A Dremote_executor_proxy.cpp202 bool setResultCodeRet = reply->SetInt32Value(Attributes::ATTR_RESULT_CODE, ResultCode::SUCCESS); in OnMessage()
250 bool getResultCodeRet = reply->GetInt32Value(Attributes::ATTR_RESULT_CODE, resultCode); in OnBeginExecute()
309 bool getResultCodeRet = reply->GetInt32Value(Attributes::ATTR_RESULT_CODE, resultCode); in OnSendData()
364 bool getResultCodeRet = data.GetInt32Value(Attributes::ATTR_RESULT_CODE, resultCode); in ProcFinishMsg()
386 …bool setResultCodeRet = request.SetInt32Value(Attributes::ATTR_RESULT_CODE, ResultCode::GENERAL_ER… in OnErrorFinish()
/ohos5.0/drivers/peripheral/user_auth/test/unittest/co_auth/
H A Dexecutor_message_test.cpp103 result = SetAttributeInt32(attribute, ATTR_RESULT_CODE, testInt32);
144 result = SetAttributeInt32(attribute, ATTR_RESULT_CODE, testInt32);
208 ResultCode result = SetAttributeInt32(attribute, ATTR_RESULT_CODE, resultCode);
244 ResultCode result = SetAttributeInt32(attribute, ATTR_RESULT_CODE, resultCode);
255 result = GetAttributeInt32(attribute, ATTR_RESULT_CODE, &retCode);
285 result = SetAttributeInt32(attribute, ATTR_RESULT_CODE, resultCode);
337 ResultCode result = SetAttributeInt32(attribute, ATTR_RESULT_CODE, resultCode);
/ohos5.0/base/useriam/user_auth_framework/test/unittest/inner_api/src/
H A Duser_auth_proxy_test.cpp116 …std::vector<Attributes::AttributeKey> testKeys = {Attributes::ATTR_RESULT_CODE, Attributes::ATTR_S…
136 EXPECT_THAT(keys, ElementsAre(Attributes::ATTR_RESULT_CODE, Attributes::ATTR_SIGNATURE, in __anoneec003360502()
154 EXPECT_EQ(testAttr.SetInt32Value(Attributes::ATTR_RESULT_CODE, 1), true);
173 EXPECT_EQ(attributes.GetInt32Value(Attributes::ATTR_RESULT_CODE, resultCode), true); in __anoneec003360702()
516 …std::vector<Attributes::AttributeKey> testKeys = {Attributes::ATTR_RESULT_CODE, Attributes::ATTR_S…
534 EXPECT_THAT(keys, ElementsAre(Attributes::ATTR_RESULT_CODE, Attributes::ATTR_SIGNATURE, in __anoneec003361d02()
H A Dexecutor_callback_service_test.cpp204 EXPECT_TRUE(results.SetInt32Value(Attributes::ATTR_RESULT_CODE, testCode)); in __anon4997f8b00502()
213 EXPECT_TRUE(testValues.GetInt32Value(Attributes::ATTR_RESULT_CODE, code));
/ohos5.0/drivers/peripheral/user_auth/test/unittest/service_test/src/
H A Dsignature_operation.cpp42 ATTR_RESULT_CODE = 100001, enumerator
174 … if (WriteTlv(ATTR_RESULT_CODE, sizeof(result), (const uint8_t *)&result, ret) != RESULT_SUCCESS || in GetDataTlvContent()
/ohos5.0/base/useriam/user_auth_framework/services/context/src/
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()
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()
H A Dremote_auth_invoker_context.cpp151 bool setResultCodeRet = reply->SetInt32Value(Attributes::ATTR_RESULT_CODE, ResultCode::SUCCESS); in OnMessage()
258 bool getResultCodeRet = reply->GetInt32Value(Attributes::ATTR_RESULT_CODE, resultCode); in SendRequest()
H A Dauth_widget_helper.cpp177 bool setResultCodeRet = extraInfo.SetInt32Value(Attributes::ATTR_RESULT_CODE, SUCCESS); in SetReuseUnlockResult()
H A Dremote_auth_context.cpp226 bool getResultCodeRet = reply->GetInt32Value(Attributes::ATTR_RESULT_CODE, resultCode); in SendQueryExecutorInfoMsg()
H A Dremote_auth_service.cpp144 bool setResultCodeRet = reply->SetInt32Value(Attributes::ATTR_RESULT_CODE, resultCode); in OnMessage()
H A Dsimple_auth_context.cpp269 …bool setResultCodeRet = finalResult.SetInt32Value(Attributes::ATTR_RESULT_CODE, resultInfo.result); in InvokeResultCallback()
/ohos5.0/drivers/peripheral/pin_auth/hdi_service/common/inc/
H A Dattribute.h30 ATTR_RESULT_CODE = 100001, enumerator
/ohos5.0/base/useriam/user_auth_framework/frameworks/native/executors/src/async_command/
H A Dcollect_command.cpp67 bool setResultCodeRet = authAttributes->SetUint32Value(Attributes::ATTR_RESULT_CODE, result); in OnResultInner()
H A Didentify_command.cpp65 bool setResultCodeRet = authAttributes->SetUint32Value(Attributes::ATTR_RESULT_CODE, result); in OnResultInner()
H A Denroll_command.cpp78 bool setResultCodeRet = authAttributes->SetUint32Value(Attributes::ATTR_RESULT_CODE, result); in OnResultInner()
H A Dauth_command.cpp83 bool setResultCodeRet = authAttributes->SetUint32Value(Attributes::ATTR_RESULT_CODE, result); in OnResultInner()
/ohos5.0/drivers/peripheral/user_auth/hdi_service/utils/inc/
H A Dattribute.h30 ATTR_RESULT_CODE = 100001, enumerator
/ohos5.0/base/useriam/user_auth_framework/test/unittest/executors/
H A Dauth_command_unit_test.cpp77 … EXPECT_EQ(finalResult.GetUint32Value(Attributes::ATTR_RESULT_CODE, attrResultCode), true); in __anon365e08aa0102()
127 … EXPECT_EQ(finalResult.GetUint32Value(Attributes::ATTR_RESULT_CODE, attrResultCode), true); in __anon365e08aa0302()
H A Didentify_command_unit_test.cpp77 … EXPECT_EQ(finalResult.GetUint32Value(Attributes::ATTR_RESULT_CODE, attrResultCode), true); in __anon8aa13ab40102()
128 … EXPECT_EQ(finalResult.GetUint32Value(Attributes::ATTR_RESULT_CODE, attrResultCode), true); in __anon8aa13ab40302()
H A Denroll_command_unit_test.cpp77 … EXPECT_EQ(finalResult.GetUint32Value(Attributes::ATTR_RESULT_CODE, attrResultCode), true); in __anon10925dc40102()
128 … EXPECT_EQ(finalResult.GetUint32Value(Attributes::ATTR_RESULT_CODE, attrResultCode), true); in __anon10925dc40302()
/ohos5.0/base/useriam/user_auth_framework/interfaces/inner_api/
H A Dattributes.h43 ATTR_RESULT_CODE = 100001, enumerator

12