Home
last modified time | relevance | path

Searched refs:result_ (Results 1 – 25 of 43) sorted by relevance

12

/base/notification/common_event_service/frameworks/native/src/
Dcommon_event_subscriber.cpp21 CommonEventSubscriber::CommonEventSubscriber() : result_(nullptr) in CommonEventSubscriber()
27 : subscribeInfo_(subscribeInfo), result_(nullptr) in CommonEventSubscriber()
49 return result_->SetCode(code); in SetCode()
59 return result_->GetCode(); in GetCode()
69 return result_->SetData(data); in SetData()
79 return result_->GetData(); in GetData()
89 return result_->SetCodeAndData(code, data); in SetCodeAndData()
99 return result_->AbortCommonEvent(); in AbortCommonEvent()
109 return result_->ClearAbortCommonEvent(); in ClearAbortCommonEvent()
119 return result_->GetAbortCommonEvent(); in GetAbortCommonEvent()
[all …]
/base/customization/enterprise_device_management/test/unittest/edm_plugin/src/
Dedm_data_ability_utils_mock.cpp21 std::string EdmDataAbilityUtils::result_; member in OHOS::EDM::EdmDataAbilityUtils
24 result_ = result; in SetResult()
30 … GTEST_LOG_(INFO) << "mock EdmDataAbilityUtils GetStringFromDataShare start: " << result_.c_str(); in GetStringFromDataShare()
31 if (result_ == "test Failed") { in GetStringFromDataShare()
34 } else if (result_ == "test value nullptr") { in GetStringFromDataShare()
46 GTEST_LOG_(INFO) << "mock EdmDataAbilityUtils GetIntFromDataShare start: " << result_.c_str(); in GetIntFromDataShare()
47 if (result_ == "SYSTEM_ABNORMALLY") { in GetIntFromDataShare()
/base/print/print_fwk/frameworks/innerkitsimpl/src/
Dprint_preview_attribute.cpp22 PrintPreviewAttribute::PrintPreviewAttribute() : hasResult_(false), result_(PRINT_INVALID_ID) { in PrintPreviewAttribute()
28 result_ = right.result_; in PrintPreviewAttribute()
36 result_ = right.result_; in operator =()
49 result_ = PRINT_INVALID_ID; in Reset()
56 result_ = result; in SetResult()
71 return result_; in GetResult()
118 PRINT_HILOGD("result_: %{public}d", result_); in Dump()
/base/hiviewdfx/hiview/interfaces/innerkits/xcollecter_hitrace/
Dxcollecter.cpp24 explicit CollectResultCallback(std::shared_ptr<CollectTaskResult> result) : result_(result) in CollectResultCallback()
29 result_ = nullptr; in ~CollectResultCallback()
34 result_->Add(data); in Handle()
37 std::shared_ptr<CollectTaskResult> result_; member in OHOS::HiviewDFX::CollectResultCallback
/base/account/os_account/frameworks/test/unittest/
Daccount_iam_proxy_mock_test.cpp56 result_ = result; in OnResult()
59 int32_t result_; member in OHOS::AccountTest::IDMCallbackMockTest
66 result_ = result; in OnResult()
68 int32_t result_; member in OHOS::AccountTest::GetSetPropCallbackMockTest
106 ASSERT_EQ(ERR_ACCOUNT_COMMON_GET_PROXY, testCallback->result_);
121 ASSERT_EQ(ERR_ACCOUNT_COMMON_GET_PROXY, testCallback->result_);
148 ASSERT_EQ(ERR_ACCOUNT_COMMON_GET_PROXY, testCallback->result_);
163 ASSERT_EQ(ERR_ACCOUNT_COMMON_GET_PROXY, testCallback->result_);
229 ASSERT_EQ(ERR_ACCOUNT_COMMON_GET_PROXY, testCallback->result_);
244 ASSERT_EQ(ERR_ACCOUNT_COMMON_GET_PROXY, testCallback->result_);
/base/hiviewdfx/hiview/plugins/faultlogger/service/idl/
Dfaultlog_query_result_ohos.cpp29 if (result_ == nullptr) { in GetNext()
34 auto info = result_->GetNext(); in GetNext()
58 if (result_ == nullptr) { in HasNext()
62 return result_->HasNext(); in HasNext()
/base/account/os_account/services/accountmgr/test/unittest/account_iam/
Daccount_iam_service_test.cpp42 result_ = result; in OnResult()
47 int32_t result_ = -1; member in OHOS::AccountTest::MockIIDMCallback
62 result_ = result; in OnResult()
67 int32_t result_ = -1; member in OHOS::AccountTest::MockGetSetPropCallback
136 EXPECT_EQ(callback->result_, ERR_ACCOUNT_COMMON_INVALID_PARAMETER);
151 EXPECT_EQ(callback->result_, ERR_ACCOUNT_COMMON_INVALID_PARAMETER);
178 EXPECT_EQ(callback->result_, ERR_ACCOUNT_COMMON_INVALID_PARAMETER);
193 EXPECT_EQ(callback->result_, ERR_ACCOUNT_COMMON_INVALID_PARAMETER);
258 EXPECT_EQ(callback->result_, ERR_ACCOUNT_COMMON_INVALID_PARAMETER);
273 EXPECT_EQ(callback->result_, ERR_ACCOUNT_COMMON_INVALID_PARAMETER);
Daccount_iam_callback_test.cpp71 result_ = result; in OnResult()
76 int32_t result_ = -1; member in OHOS::AccountTest::MockIIDMCallback
142 EXPECT_EQ(ResultCode::FAIL, callback->result_);
145 EXPECT_EQ(errCode, callback->result_);
163 EXPECT_EQ(errCode, callback->result_);
166 EXPECT_EQ(errCode, callback->result_);
230 EXPECT_EQ(0, callback->result_);
233 EXPECT_EQ(ResultCode::FAIL, callback->result_);
285 EXPECT_EQ(ResultCode::FAIL, callback->result_);
288 EXPECT_EQ(errCode, callback->result_);
[all …]
/base/hiviewdfx/hidumper/frameworks/native/src/executor/
Dlist_dumper.cpp39 result_ = dumpDatas; in PreExecute()
65 result_->push_back(line_vector); in Execute()
75 result_->push_back(line_vector); in Execute()
80 result_->push_back(line_vector); in Execute()
84 result_->push_back(line_vector); in Execute()
92 for (size_t lineIndex = 0; lineIndex < result_->size(); lineIndex++) { in AfterExecute()
93 std::vector<std::string> line = result_->at(lineIndex); in AfterExecute()
Dversion_dumper.cpp35 result_ = dumpDatas; in PreExecute()
45 result_->push_back(line_vector); in Execute()
Dfile_stream_dumper.cpp40 result_ = dumpDatas; in PreExecute()
93 result_->push_back(line_vector_blank); in OpenNextFile()
94 result_->push_back(line_vector_filename); in OpenNextFile()
95 result_->push_back(line_vector_blank); in OpenNextFile()
117 result_->push_back(line_vector); in ReadLineInFile()
166 result_->push_back(line_vector_timeout); in AfterExecute()
Dapi_dumper.cpp34 result_ = dumpDatas; in PreExecute()
76 result_->push_back(line_vector); in AddApiRetIntoResult()
86 result_->push_back(line_vector); in AddApiRetIntoResult()
Dsa_dumper.cpp142 result_ = dump_datas; in PreExecute()
170 MatrixWriter(result_).WriteLine(line); in GetData()
171 PipeReader reader(id, result_); in GetData()
/base/account/os_account/frameworks/account_iam/test/unittest/src/
Daccount_iam_client_no_permission_test.cpp46 result_ = result; in OnResult()
51 int32_t result_ = -1; member in OHOS::AccountTest::MockIDMCallback
66 result_ = result; in OnResult()
71 int32_t result_ = -1; member in OHOS::AccountTest::MockGetSetPropCallback
142 EXPECT_EQ(callback->result_, ERR_ACCOUNT_COMMON_PERMISSION_DENIED);
157 EXPECT_EQ(callback->result_, ERR_ACCOUNT_COMMON_PERMISSION_DENIED);
185 EXPECT_EQ(callback->result_, ERR_ACCOUNT_COMMON_PERMISSION_DENIED);
200 EXPECT_EQ(callback->result_, ERR_ACCOUNT_COMMON_PERMISSION_DENIED);
/base/hiviewdfx/hiview/plugins/faultlogger/service/idl/include/
Dfaultlog_query_result_ohos.h28 : result_(std::move(result)) {}; in FaultLogQueryResultOhos()
35 std::unique_ptr<OHOS::HiviewDFX::FaultLogQueryResultInner> result_;
/base/powermgr/display_manager/frameworks/napi/
Dbrightness.cpp69 result_.Error(COMMON_ERROR_COED, GET_VALUE_ERROR_MGR); in GetValue()
71 result_.SetResult(BRIGHTNESS_VALUE, brightness); in GetValue()
82 result_.ThrowError(env_, DisplayErrors::ERR_PARAM_INVALID); in SetValue()
92 result_.ThrowError(env_, DisplayErrors::ERR_PARAM_INVALID); in SetValue()
99 result_.ThrowError(env_, error); in SetValue()
108 result_.Error(INPUT_ERROR_CODE, SET_VALUE_ERROR_MGR); in SystemSetValue()
123 result_.SetResult(BRIGHTNESS_MODE, isAuto); in GetMode()
131 result_.Error(INPUT_ERROR_CODE, SET_MODE_ERROR_MGR); in SetMode()
138 result_.Error(COMMON_ERROR_COED, SET_MODE_NOT_SUPPORTED_ERROR_MGR); in SetMode()
149 result_.Error(INPUT_ERROR_CODE, SET_KEEP_SCREENON_ERROR_MGR); in SetKeepScreenOn()
[all …]
/base/telephony/sms_mms/test/gtest/
Dsms_mms_test_helper.cpp70 result_ = result; in SetIntResult()
98 TELEPHONY_LOGI("Get IntResult : %{public}d ", result_); in GetIntResult()
99 return result_; in GetIntResult()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/src/
Ddlp_permission_kit.cpp36 this->result_ = result; in OnGenerateDlpCertificate()
49 this->result_ = result; in OnParseDlpCertificate()
82 if (callback->result_ == DLP_OK) { in GenerateDlpCertificate()
85 return callback->result_; in GenerateDlpCertificate()
130 if (callback->result_ == DLP_OK) { in ParseDlpCertificate()
141 DLP_LOG_INFO(LABEL, "callback return %{public}d, try online auth", callback->result_); in ParseDlpCertificate()
146 return callback->result_; in ParseDlpCertificate()
/base/useriam/user_auth_framework/frameworks/native/executors/src/async_command/
Dcustom_command.cpp94 IAM_LOGI("%{public}s get result %{public}d", GetDescription(), result_); in GetResult()
95 return result_; in GetResult()
100 result_ = resultCode; in SetResult()
/base/telephony/core_service/test/unittest/core_service_gtest/
Dcore_service_test_helper.cpp54 result_ = result; in SetIntResult()
69 return result_; in GetIntResult()
/base/web/webview/interfaces/kits/napi/webviewcontroller/
Dwebview_hasimage_callback.cpp48 param->result_ = result; in OnReceiveValue()
84 UvAfterWorkCbAsync(param->env_, param->callbackRef_, param->result_); in UvAfterWorkCb()
86 UvAfterWorkCbPromise(param->env_, param->deferred_, param->result_); in UvAfterWorkCb()
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
Dnapi_hiappevent_builder.cpp142 result_ = ERROR_INVALID_LIST_PARAM_TYPE; in AddArrayParam2EventPack()
172 result_ = ERROR_INVALID_PARAM_VALUE_TYPE; in AddParam2EventPack()
185 result_ = ERROR_INVALID_PARAM_NAME; in AddParams2EventPack()
191 result_ = ERROR_INVALID_PARAM_VALUE_TYPE; in AddParams2EventPack()
229 result_ = ERROR_INVALID_PARAM_NUM_JS; in Build()
237 result_ = ERROR_INVALID_PARAM_TYPE_JS; in Build()
262 return result_; in GetResult()
/base/hiviewdfx/hiappevent/frameworks/js/napi/include/
Dnapi_hiappevent_builder.h29 … NapiHiAppEventBuilder() : isV9_(false), result_(0), callback_(nullptr), appEventPack_(nullptr) {} in NapiHiAppEventBuilder()
53 int result_; variable
/base/location/services/location_geocode/geocode/source/
Dgeo_convert_callback_host.cpp69 result_ = results; in OnResults()
94 return result_; in GetResult()
/base/hiviewdfx/hidumper/frameworks/native/include/executor/
Dversion_dumper.h32 StringMatrix result_;

12