Home
last modified time | relevance | path

Searched +defs:val +defs:errorCode (Results 1 – 25 of 36) sorted by relevance

12

/ohos5.0/foundation/communication/nfc/frameworks/js/napi/common/
H A Dnfc_napi_common_utils.h86 int32_t errorCode = 0; member
99 int errorCode = 0; variable
120 napi_value GetNapiValue(napi_env env, T val) in GetNapiValue()
128 napi_value GetNapiValue(napi_env env, T val) in GetNapiValue()
136 napi_value GetNapiValue(napi_env env, T val) in GetNapiValue()
144 napi_value GetNapiValue(napi_env env, const T &val) in GetNapiValue()
152 napi_value GetNapiValue(napi_env env, const T *val) in GetNapiValue()
160 napi_value GetNapiValue(napi_env env, T val) in GetNapiValue()
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/
H A Dimage_source_mdk_kits.cpp123 uint32_t errorCode = ERR_MEDIA_INVALID_VALUE; in ImageSourceNativeCreate() local
218 uint32_t errorCode = ERR_MEDIA_INVALID_VALUE; in ImageSourceNapiCreateFromUri() local
251 uint32_t errorCode = ERR_MEDIA_INVALID_VALUE; in ImageSourceNapiCreateFromFd() local
285 uint32_t errorCode = ERR_MEDIA_INVALID_VALUE; in ImageSourceNapiCreateFromData() local
327 uint32_t errorCode = ERR_MEDIA_INVALID_VALUE; in ImageSourceNapiCreateFromRawFile() local
366 uint32_t errorCode = ERR_MEDIA_INVALID_VALUE; in ImageSourceNapiCreateIncremental() local
507 uint32_t errorCode = ERR_MEDIA_INVALID_VALUE; in ImageSourceNapiCreatePixelmapList() local
618 std::string val; in ImageSourceNapiGetImageProperty() local
641 std::string &key, std::string &val) in NativePropertyModify()
644 uint32_t errorCode = SUCCESS; in NativePropertyModify() local
[all …]
H A Dimage_source_napi.cpp438 ImageSourceAsyncContext* &context, const napi_value &val) in ImageSourceCallbackWithErrorObj()
1014 static bool IsSupportPixelFormat(int32_t val) in IsSupportPixelFormat()
1024 static PixelFormat ParsePixlForamt(int32_t val) in ParsePixlForamt()
1252 uint32_t errorCode = ERR_MEDIA_INVALID_VALUE; in CreateNativeImageSource() local
1388 uint32_t errorCode = 0; in CreateIncrementalSource() local
2202 static bool isNapiTypedArray(napi_env env, napi_value val) in isNapiTypedArray()
2433 uint32_t errorCode = 0; in STATIC_EXEC_FUNC() local
2523 uint32_t errorCode = 0; in STATIC_EXEC_FUNC() local
2607 uint32_t errorCode = 0; in STATIC_EXEC_FUNC() local
2691 uint32_t errorCode = 0; in STATIC_EXEC_FUNC() local
[all …]
/ohos5.0/foundation/multimedia/media_foundation/engine/scene/recorder/standard/
H A Drecorder_utils.cpp41 int TransErrorCode(ErrorCode errorCode) in TransErrorCode()
112 bool CastAudRecorderParam(const RecorderParam& param, Plugin::ValueType& val) in CastAudRecorderParam()
134 bool CastVidRecorderParam(const RecorderParam& param, Plugin::ValueType& val) in CastVidRecorderParam()
160 bool CastDummyRecorderParam(const RecorderParam& param, Plugin::ValueType& val) in CastDummyRecorderParam()
/ohos5.0/foundation/multimedia/media_foundation/engine/pipeline/filters/source/audio_capture/
H A Daudio_capture_filter.cpp82 ErrorCode errorCode = ErrorCode::SUCCESS; in ConfigureAudioSampleRate() local
94 ErrorCode errorCode = ErrorCode::SUCCESS; in ConfigureAudioChannels() local
106 ErrorCode errorCode = ErrorCode::SUCCESS; in ConfigureAudioBitRate() local
117 ErrorCode errorCode = ErrorCode::SUCCESS; in ConfigureSampleFormat() local
222 …ilter::PickPreferSampleFmt(const std::shared_ptr<Plugin::Meta>& meta, const Plugin::ValueType& val) in PickPreferSampleFmt()
546 auto val = info->extra[PLUGIN_INFO_EXTRA_INPUT_TYPE]; in FindPlugin() local
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/picture_ndk/
H A Dimage_common.cpp61 std::string val; in OH_PictureMetadata_GetProperty() local
62 …uint32_t errorCode = static_cast<uint32_t>(metadata->GetInnerAuxiliaryMetadata()->GetValue(keyStri… in OH_PictureMetadata_GetProperty() local
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/ndk/
H A Dimage_source_native.cpp81 static DecodeDynamicRange ParseImageDynamicRange(int32_t val) in ParseImageDynamicRange()
434 uint32_t errorCode = IMAGE_BAD_PARAMETER; in OH_ImageSourceNative_CreatePixelmap() local
460 uint32_t errorCode = IMAGE_BAD_PARAMETER; in OH_ImageSourceNative_CreatePixelmapList() local
490 uint32_t errorCode; in OH_ImageSourceNative_CreatePicture() local
507 uint32_t errorCode = IMAGE_SUCCESS; in OH_ImageSourceNative_GetDelayTimeList() local
530 uint32_t errorCode = source->GetInnerImageSource()->GetImageInfo(index, imageInfo); in OH_ImageSourceNative_GetImageInfo() local
556 std::string val; in OH_ImageSourceNative_GetImageProperty() local
557 …uint32_t errorCode = source->GetInnerImageSource()->GetImagePropertyString(DEFAULT_INDEX, keyStrin… in OH_ImageSourceNative_GetImageProperty() local
594 std::string val(value->data, value->size); in OH_ImageSourceNative_ModifyImageProperty() local
598 uint32_t errorCode = IMAGE_BAD_PARAMETER; in OH_ImageSourceNative_ModifyImageProperty() local
[all …]
H A Dimage_packer_native.cpp103 static EncodeDynamicRange ParseDynamicRange(int32_t val) in ParseDynamicRange()
356 Image_ErrorCode errorCode = CopyPackingOptions(options, packOption); in OH_ImagePackerNative_PackToDataFromImageSource() local
373 Image_ErrorCode errorCode = CopyPackingOptions(options, packOption); in OH_ImagePackerNative_PackToDataFromPixelmap() local
390 Image_ErrorCode errorCode = CopyPackingOptions(options, packOption); in OH_ImagePackerNative_PackToDataFromPicture() local
407 Image_ErrorCode errorCode = CopyPackingOptions(options, packOption); in OH_ImagePackerNative_PackToFileFromImageSource() local
423 Image_ErrorCode errorCode = CopyPackingOptions(options, packOption); in OH_ImagePackerNative_PackToFileFromPixelmap() local
439 Image_ErrorCode errorCode = CopyPackingOptions(options, packOption); in OH_ImagePackerNative_PackToFileFromPicture() local
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/br/
H A Dbr_mock.cpp38 int32_t ConnectionBrInterfaceMock::ActionOfSoftbusGetConfig1(ConfigType type, unsigned char *val, u… in ActionOfSoftbusGetConfig1()
47 int32_t ConnectionBrInterfaceMock::ActionOfSoftbusGetConfig2(ConfigType type, unsigned char *val, u… in ActionOfSoftbusGetConfig2()
62 void LnnDCReportConnectException(const ConnectOption *option, int32_t errorCode) in LnnDCReportConnectException()
67 int SoftbusGetConfig(ConfigType type, unsigned char *val, uint32_t len) in SoftbusGetConfig()
/ohos5.0/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_server_test/
H A Dcodec_server_coverage_unit_test.cpp454 for (auto &val : testList) { variable
504 for (auto &val : testList) { variable
524 for (auto &val : testList) { variable
606 for (auto &val : testList) { variable
674 for (auto &val : testList) { variable
718 for (auto &val : testList) { variable
893 for (auto &val : testList) { variable
928 for (auto &val : testList) { variable
947 for (auto &val : testList) { variable
968 for (auto &val : testList) { variable
[all …]
/ohos5.0/base/telephony/core_service/frameworks/js/sim/src/
H A Dnapi_sim.cpp291 napi_value val = nullptr; in IccAccountInfoConversion() local
308 napi_value val = nullptr; in PinOrPukUnlockConversion() local
328 napi_value val = nullptr; in DiallingNumbersConversion() local
339 napi_value val = nullptr; in SimAuthResultConversion() local
515 int32_t errorCode = in NativeDeactivateSim() local
932 int32_t errorCode = in NativeGetSimState() local
995 int32_t errorCode = in NativeGetCardType() local
2078 for (const auto &val : config.configValue) { in NativeGetOperatorConfigs() local
2098 napi_value val = OperatorConfigAnalyze(env, operatorConfig->configValue.at(i)); in GetOperatorConfigsCallback() local
2153 napi_value val = IccAccountInfoConversion(env, info->vecInfo.at(i)); in GetActiveSimAccountInfoListCallback() local
[all …]
/ohos5.0/base/security/huks/services/huks_standard/huks_service/main/systemapi_wrap/hisysevent_wrapper/src/
H A Dhks_report_wrapper.c63 static bool ISExceedTheLimitSize(const uint32_t val) in ISExceedTheLimitSize()
150 const struct HksParamSet *paramSetIn, int32_t errorCode) in ReportFaultEvent()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/
H A Dcamera_napi_utils.cpp25 void CameraNapiUtils::CreateNapiErrorObject(napi_env env, int32_t errorCode, const char* errString, in CreateNapiErrorObject()
196 std::string errorCode = std::to_string(CameraErrorCode::INVALID_ARGUMENT); in CheckInvalidArgument() local
205 std::string errorCode = std::to_string(retCode); in CheckError() local
212 double CameraNapiUtils::FloatToDouble(float val) in FloatToDouble()
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dreminder_store.cpp267 int errorCode = store.ExecuteSql(sqlStr); in AddRdbColum() local
439 int32_t val; in GetUInt8Val() local
447 int32_t val; in GetUInt16Val() local
481 int64_t val; in GetUInt64Val() local
/ohos5.0/foundation/multimedia/av_codec/services/services/codec/ipc/
H A Dcodec_listener_stub.cpp122 for (auto &val : caches_) { in FlushCaches() local
147 for (auto &val : caches_) { in PrintCachesInfo() local
335 int32_t errorCode = data.ReadInt32(); in OnRemoteRequest() local
363 void CodecListenerStub::OnError(AVCodecErrorType errorType, int32_t errorCode) in OnError()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/
H A Djsi_declarative_group_js_bridge.cpp304 const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& val) in SerializationObjectToString()
334 shared_ptr<JsValue> val = argv[i]; in ParseJsPara() local
418 int32_t callbackId, int32_t errorCode, std::string&& errorMessage) in TriggerModulePluginGetErrorCallback()
609 const shared_ptr<JsValue> val = argv[i]; in ParseRequestData() local
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_group_js_bridge.cpp430 const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& val) in SerializationObjectToString()
464 shared_ptr<JsValue> val = argv[i]; in ParseJsPara() local
551 int32_t callbackId, int32_t errorCode, std::string&& errorMessage) in TriggerModulePluginGetErrorCallback()
752 const shared_ptr<JsValue> val = argv[i]; in ParseRequestData() local
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/
H A Dhfp_ag_command_processor.cpp163 void HfpAgCommandProcessor::SendErrorCode(const HfpAgDataConnection &dataConn, int errorCode) in SendErrorCode()
265 int val = StoiTryCatch(dataConn, arg); in VgsSetter() local
271 int val = StoiTryCatch(dataConn, arg); in VgmSetter() local
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/
H A Dhfp_hf_command_processor.cpp133 int errorCode = StoiTryCatch(arg); in ProcessCmeError() local
149 void HfpHfCommandProcessor::ProcessErrorCode(HfpHfDataConnection &dataConn, int errorCode) in ProcessErrorCode()
585 int val = StoiTryCatch(arg); in ProcessVgm() local
591 int val = StoiTryCatch(arg); in ProcessVgs() local
/ohos5.0/foundation/multimedia/player_framework/services/utils/
H A Dmedia_dfx.cpp187 … std::string& appName, uint64_t instanceId, int8_t captureMode, int8_t dataMode, int32_t errorCode, in ScreenCaptureEventWrite()
339 int32_t errorCode, const std::string& errorMessage) in FaultScreenCaptureEventWrite()
457 void MediaTrace::CounterTrace(const std::string &varName, int32_t val) in CounterTrace()
/ohos5.0/foundation/multimedia/av_codec/frameworks/native/capi/avcodec/
H A Dnative_video_encoder.cpp89 void OnError(AVCodecErrorType errorType, int32_t errorCode) override in OnError()
389 for (auto &val : tempMap) { in FormatToTempFunc() local
406 for (auto &val : tempMap) { in BufferToTempFunc() local
415 for (auto &val : tempMap) { in MemoryToTempFunc() local
H A Dnative_video_decoder.cpp83 void OnError(AVCodecErrorType errorType, int32_t errorCode) override in OnError()
322 for (auto &val : tempMap) { in BufferToTempFunc() local
331 for (auto &val : tempMap) { in MemoryToTempFunc() local
/ohos5.0/base/security/device_auth/test/unittest/deviceauth/source/
H A Ddeviceauth_func_test.cpp132 static void OnError(int64_t requestId, int operationCode, int errorCode, const char *errorReturn) in OnError()
1266 uint8_t val[] = { 0, 0 }; variable
1285 uint8_t val[] = { 0, 0 }; variable
1305 uint8_t val[] = { 0, 0 }; variable
1345 uint8_t val[] = { 0, 0 }; variable
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/
H A Dsendable_image_source_napi.cpp340 static bool IsSupportPixelFormat(int32_t val) in IsSupportPixelFormat()
350 static PixelFormat ParsePixlForamt(int32_t val) in ParsePixlForamt()
570 uint32_t errorCode = ERR_MEDIA_INVALID_VALUE; in CreateNativeImageSource() local
/ohos5.0/foundation/arkui/napi/native_engine/
H A Dnative_engine.cpp323 auto val = LocalValueFromJsValue(asyncResourceName); in CreateAsyncWork() local
361 void NativeEngine::SetLastError(int errorCode, uint32_t engineErrorCode, void* engineReserved) in SetLastError()
432 UErrorCode errorCode = U_ZERO_ERROR; in SubEncodeToChinese() local

12