Home
last modified time | relevance | path

Searched refs:FailCallback (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/
H A Dimage_provider.cpp121 void ImageProvider::FailCallback(const std::string& key, const std::string& errorMsg, bool sync) in FailCallback() function in OHOS::Ace::NG::ImageProvider
131 ctx->FailCallback(errorMsg); in FailCallback()
134 auto notifyLoadFailTask = [ctx, errorMsg] { ctx->FailCallback(errorMsg); }; in FailCallback()
168 FailCallback(src.GetKey(), src.ToString() + errorMessage, sync); in CreateImageObjHelper()
174 FailCallback(src.GetKey(), "Failed to load image data", sync); in CreateImageObjHelper()
181 FailCallback(src.GetKey(), "Failed to build image object", sync); in CreateImageObjHelper()
351 FailCallback(key, "Failed to decode image"); in MakeCanvasImageHelper()
H A Danimated_image_object.cpp41 ctx->FailCallback("failed to create animated image"); in MakeCanvasImage()
H A Dimage_loading_context.cpp285 FailCallback("The length of imageData from netStack is not positive"); in DownloadImageSuccess()
292 FailCallback("After download successful, imageObject Create fail"); in DownloadImageSuccess()
302 FailCallback(errorMessage); in DownloadImageFailed()
387 void ImageLoadingContext::FailCallback(const std::string& errorMsg) in FailCallback() function in OHOS::Ace::NG::ImageLoadingContext
H A Dpixel_map_image_object.cpp29 ctx->FailCallback("pixmap is null when PixelMapImageObject try MakeCanvasImage"); in MakeCanvasImage()
H A Dimage_provider.h128 … static void FailCallback(const std::string& key, const std::string& errorMsg, bool sync = false);
H A Dimage_loading_context.h91 void FailCallback(const std::string& errorMsg);
/ohos5.0/foundation/ability/ability_lite/frameworks/abilitymgr_lite/include/
H A Dability_kit.h22 typedef int32_t (*FailCallback)(const void *data, uint16_t dataLength, uint16_t errorCode); typedef
38 …static int32_t RegisterReceiver(const char *bundleName, SuccessCallback success, FailCallback fail,
/ohos5.0/foundation/ability/ability_lite/frameworks/abilitymgr_lite/src/
H A Dability_kit.cpp20 int32_t AbilityKit::RegisterReceiver(const char *bundleName, SuccessCallback success, FailCallback in RegisterReceiver()
60 int32_t RegisterReceiver(const char *bundleName, SuccessCallback success, FailCallback fail) in RegisterReceiver()
/ohos5.0/base/powermgr/battery_manager/frameworks/napi/include/
H A Dsystem_battery.h70 void FailCallback(napi_env env);
/ohos5.0/base/powermgr/battery_manager/frameworks/napi/src/
H A Dsystem_battery.cpp55 FailCallback(env); in GetBatteryStats()
147 void SystemBattery::FailCallback(napi_env env) in FailCallback() function in SystemBattery
/ohos5.0/base/request/request/test/unittest/common/napi/requestTest/
H A DRequestJsunit.test.js369 function FailCallback(data) { } function
370 downloadTask.on('fail', FailCallback);
371 downloadTask.off('fail', FailCallback);
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/image_provider/
H A Dmock_image_loading_context.cpp64 void ImageLoadingContext::FailCallback(const std::string& errorMsg) in FailCallback() function in OHOS::Ace::NG::ImageLoadingContext
/ohos5.0/foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin/jsi/
H A Djsi.h739 …static void FailCallback(const JSIValue thisVal, const JSIValue args, int32_t errCode, const char …
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/image/
H A Dimage_test_ng.cpp296 imagePattern->altLoadingCtx_->FailCallback("");
301 imagePattern->loadingCtx_->FailCallback("");
334 imagePattern->loadingCtx_->FailCallback("");
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/image_provider/
H A Dimage_provider_test_ng.cpp1207 ctx->FailCallback("test error");
1223 ctx->FailCallback("test error");
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/native_engine/jsi/
H A Djsi.cpp1145 void JSI::FailCallback(const JSIValue thisVal, const JSIValue args, int32_t errCode, const char * c… in FailCallback() function in OHOS::ACELite::JSI