/ohos5.0/base/telephony/telephony_data/common/src/ |
H A D | preferences_util.cpp | 41 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveString() 52 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainString() 61 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveInt() 72 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainInt() 81 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveBool() 92 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainBool() 101 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveLong() 112 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainLong() 121 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveFloat() 132 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainFloat() [all …]
|
/ohos5.0/base/theme/screenlock_mgr/utils/src/ |
H A D | preferences_util.cpp | 40 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveString() 51 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainString() 60 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveInt() 71 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainInt() 80 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveBool() 91 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainBool() 100 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveLong() 111 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainLong() 120 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveFloat() 131 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainFloat() [all …]
|
/ohos5.0/base/telephony/core_service/utils/preferences/src/ |
H A D | tel_profile_util.cpp | 36 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveString() 47 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainString() 56 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveInt() 67 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainInt() 76 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveBool() 87 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainBool() 96 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveLong() 107 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainLong() 116 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveFloat() 127 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainFloat() [all …]
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | data_share_service_impl_test.cpp | 260 EXPECT_NE(results.errCode_, 0); 317 EXPECT_NE(operationResult.errCode_, 0); 322 EXPECT_NE(operationResult.errCode_, 0); 335 EXPECT_NE(operationResult.errCode_, 0); 345 EXPECT_NE(operationResult.errCode_, 0); 368 EXPECT_EQ(operationResult.errCode_, 0); 374 EXPECT_EQ(operationResult.errCode_, 0); 394 EXPECT_NE(operationResult.errCode_, 0); 400 EXPECT_NE(operationResult.errCode_, 0); 422 EXPECT_EQ(operationResult.errCode_, 0); [all …]
|
/ohos5.0/base/theme/wallpaper_mgr/frameworks/js/napi/ |
H A D | call.cpp | 38 context->errCode_ = ErrorThrowType::PARAMETER_ERROR; in Call() 43 if (status != napi_ok && context->errCode_ != 0 && needException) { in Call() 44 JsError::ThrowError(env, context->errCode_, context->errMsg_); in Call() 99 if (runStatus != napi_ok && context_->ctx->errCode_ != 0) { in SyncCall() 100 JsError::ThrowError(env, context_->ctx->errCode_, context_->ctx->errMsg_); in SyncCall() 136 if (context->ctx->errCode_ != 0) { in OnComplete() 137 napi_create_int32(env, context->ctx->errCode_, &errCode); in OnComplete()
|
H A D | call.h | 48 errCode_ = errCode; in SetErrInfo() 87 int32_t errCode_ = 0; variable
|
/ohos5.0/foundation/distributedhardware/device_manager/common/include/ipc/model/ |
H A D | ipc_rsp.h | 31 return errCode_; in GetErrCode() 36 errCode_ = errCode; in SetErrCode() 40 int32_t errCode_;
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/dfx/src/ |
H A D | radar_reporter.cpp | 39 radarParam_.errCode_ = errCode; in operator =() 45 …int32_t res = state == BEGIN ? param.res_ : (param.errCode_ != NO_ERROR ? RES_FAILED : RES_SUCCESS… in Report() 50 ERROR_CODE_LABEL, param.errCode_, HOST_PKG, param.bundleName_, LOCAL_UUID_LABEL, in Report() 57 param.errCode_, HOST_PKG, param.bundleName_, LOCAL_UUID_LABEL, in Report()
|
/ohos5.0/foundation/distributeddatamgr/data_share/test/native/unittest/datashareproxy_test/ |
H A D | proxydatas_with_permission_test.cpp | 209 EXPECT_EQ(result.errCode_, 0); 237 EXPECT_EQ(result.errCode_, E_BUNDLE_NAME_NOT_EXIST); 257 EXPECT_EQ(result.errCode_, 0); 298 EXPECT_EQ(operationResult.errCode_, 0); 303 EXPECT_EQ(operationResult.errCode_, 0); 316 EXPECT_EQ(operationResult.errCode_, 0); 337 EXPECT_EQ(operationResult.errCode_, 0); 350 EXPECT_EQ(operationResult.errCode_, 0); 363 EXPECT_EQ(operationResult.errCode_, 0); 377 EXPECT_EQ(operationResult.errCode_, 0);
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/dfx/src/ |
H A D | rdb_radar_reporter.cpp | 45 LocalReport(scene_, funcName_, STATE_FINISH, errCode_); in ~RdbRadar() 50 errCode_ = errCode; in operator =() 56 return errCode_;
|
/ohos5.0/base/global/resource_management/interfaces/js/innerkits/core/include/ |
H A D | resource_manager_data_context.h | 53 int errCode_; member 66 errCode_(0), density_(0), iconType_(0), symbolValue_(0) {} in ResMgrDataContext() 72 errCode_ = errCode;
|
/ohos5.0/foundation/ability/form_fwk/services/src/ |
H A D | form_data_proxy_record.cpp | 274 SubscribeResultRecord record{iter.key_, search.subscribeId, iter.errCode_, false, 0}; in SubscribeRdbFormData() 276 if (iter.errCode_ != 0) { in SubscribeRdbFormData() 278 iter.key_.c_str(), iter.errCode_); in SubscribeRdbFormData() 320 if (iter.errCode_ != 0) { in SubscribePublishFormData() 322 iter.key_.c_str(), iter.errCode_); in SubscribePublishFormData() 631 if (iter.errCode_ != 0) { in SetRdbSubsState() 668 if (iter.errCode_ != 0) { in SetPublishSubsState() 794 if (iter.errCode_ != 0) { in RetryFailureRdbSubscribes() 801 record.retryRet = iter.errCode_; in RetryFailureRdbSubscribes() 826 if (iter.errCode_ != 0) { in RetryFailurePublishedSubscribes() [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/user_controller_test/ |
H A D | user_controller_test.cpp | 57 int errCode_ = -1; member in OHOS::AAFwk::TestUserCallback 62 errCode_ = errcode; in OnStartUserDone() 96 EXPECT_TRUE(callback->errCode_ == 0); 110 EXPECT_TRUE(callback->errCode_ != 0);
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/mock/src/ |
H A D | rdb_radar_reporter.cpp | 35 errCode_ = errCode; in operator =() 41 return errCode_;
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/multiver/ |
H A D | value_slice_sync.h | 29 ValueSliceHashPacket() : errCode_(E_OK) {}; in ValueSliceHashPacket() 43 int32_t errCode_; variable
|
H A D | multi_ver_data_sync.h | 30 MultiVerRequestPacket() : errCode_(E_OK) {}; in MultiVerRequestPacket() 44 int32_t errCode_ = E_OK; variable
|
/ohos5.0/foundation/distributeddatamgr/data_share/interfaces/inner_api/common/include/ |
H A D | datashare_template.h | 157 OperationResult(const std::string &key, int errCode) : key_(key), errCode_(errCode) {} in OperationResult() 161 int errCode_; member
|
/ohos5.0/foundation/communication/nfc/services/src/external_deps/ |
H A D | nfc_preferences.cpp | 24 errCode_ = 0; in NfcPreferences() 40 return NativePreferences::PreferencesHelper::GetPreferences(fileName, errCode_); in GetPreference()
|
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/proxy/src/ |
H A D | rdb_subscriber_manager.cpp | 69 if (subResult.errCode_ != E_OK) { in AddObservers() 159 if (subResult.errCode_ != E_OK) { in EnableObservers() 210 if (result.errCode_ != E_OK) { in RecoverObservers() 212 result.errCode_); in RecoverObservers()
|
H A D | published_data_subscriber_manager.cpp | 58 if (subResult.errCode_ != E_OK) { in AddObservers() 152 if (subResult.errCode_ != E_OK) { in EnableObservers() 205 if (result.errCode_ != E_OK) { in RecoverObservers() 207 result.key_.c_str(), result.errCode_); in RecoverObservers()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/ |
H A D | rdb_delegate.cpp | 109 store_ = RdbHelper::GetRdbStore(config, version, callback, errCode_); in RdbDelegate() 110 if (errCode_ != E_OK) { in RdbDelegate() 111 ZLOGW("GetRdbStore failed, errCode is %{public}d, dir is %{public}s", errCode_, in RdbDelegate() 113 RdbDelegate::TryAndSend(errCode_); in RdbDelegate() 266 return std::make_pair(errCode_, nullptr); in Query()
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/include/ |
H A D | async_call.h | 50 errCode_ = errCode; in SetErrInfo() 89 int32_t errCode_ = 0; variable
|
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/connection/ |
H A D | screen_session_ability_connection.cpp | 316 errCode_ = msgId; in OnRemoteRequest() 355 return errCode_; in GetErrCode() 360 errCode_ = 0; in EraseErrCode()
|
/ohos5.0/base/telephony/call_manager/services/spam_call/src/ |
H A D | spam_call_adapter.cpp | 191 errCode = errCode_; in GetDetectResult() 197 errCode_ = errCode; in SetDetectResult()
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/src/ |
H A D | async_call.cpp | 128 if (context->ctx->errCode_ != 0) { in OnComplete() 129 …napi_create_string_utf8(env, std::to_string(context->ctx->errCode_).c_str(), NAPI_AUTO_LENGTH, &er… in OnComplete()
|