/base/notification/common_event_service/frameworks/native/src/ |
D | common_event_subscriber.cpp | 21 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/ |
D | edm_data_ability_utils_mock.cpp | 21 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/ |
D | print_preview_attribute.cpp | 22 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/ |
D | xcollecter.cpp | 24 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/ |
D | account_iam_proxy_mock_test.cpp | 56 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/ |
D | faultlog_query_result_ohos.cpp | 29 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/ |
D | account_iam_service_test.cpp | 42 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);
|
D | account_iam_callback_test.cpp | 71 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/ |
D | list_dumper.cpp | 39 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()
|
D | version_dumper.cpp | 35 result_ = dumpDatas; in PreExecute() 45 result_->push_back(line_vector); in Execute()
|
D | file_stream_dumper.cpp | 40 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()
|
D | api_dumper.cpp | 34 result_ = dumpDatas; in PreExecute() 76 result_->push_back(line_vector); in AddApiRetIntoResult() 86 result_->push_back(line_vector); in AddApiRetIntoResult()
|
D | sa_dumper.cpp | 142 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/ |
D | account_iam_client_no_permission_test.cpp | 46 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/ |
D | faultlog_query_result_ohos.h | 28 : result_(std::move(result)) {}; in FaultLogQueryResultOhos() 35 std::unique_ptr<OHOS::HiviewDFX::FaultLogQueryResultInner> result_;
|
/base/powermgr/display_manager/frameworks/napi/ |
D | brightness.cpp | 69 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/ |
D | sms_mms_test_helper.cpp | 70 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/ |
D | dlp_permission_kit.cpp | 36 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/ |
D | custom_command.cpp | 94 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/ |
D | core_service_test_helper.cpp | 54 result_ = result; in SetIntResult() 69 return result_; in GetIntResult()
|
/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
D | webview_hasimage_callback.cpp | 48 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/ |
D | napi_hiappevent_builder.cpp | 142 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/ |
D | napi_hiappevent_builder.h | 29 … NapiHiAppEventBuilder() : isV9_(false), result_(0), callback_(nullptr), appEventPack_(nullptr) {} in NapiHiAppEventBuilder() 53 int result_; variable
|
/base/location/services/location_geocode/geocode/source/ |
D | geo_convert_callback_host.cpp | 69 result_ = results; in OnResults() 94 return result_; in GetResult()
|
/base/hiviewdfx/hidumper/frameworks/native/include/executor/ |
D | version_dumper.h | 32 StringMatrix result_;
|