/base/update/update_app/common/src/main/ets/manager/ |
D | UpdateManager.ts | 36 callResult: UpgradeCallResult.OK, 39 upgradeData.callResult = UpgradeCallResult.TIME_OUT; 51 upgradeData.callResult = UpgradeCallResult.ERROR; 61 upgradeData.callResult = UpgradeCallResult.ERROR; 131 callResult: UpgradeCallResult.OK 144 callResult: UpgradeCallResult.ERROR, 163 callResult: UpgradeCallResult.OK, 170 callResult: UpgradeCallResult.ERROR, 201 callResult: UpgradeCallResult.OK, 208 callResult: UpgradeCallResult.ERROR, [all …]
|
/base/powermgr/battery_manager/frameworks/napi/ |
D | system_battery.cpp | 135 napi_value callResult = 0; in SuccessCallback() local 137 napi_status status = napi_call_function(env, nullptr, success, argc, &argv, &callResult); in SuccessCallback() 166 napi_value callResult = 0; in FailCallback() local 168 napi_status status = napi_call_function(env, nullptr, fail, argc, argv, &callResult); in FailCallback() 180 napi_value callResult = 0; in CompleteCallback() local 182 napi_status status = napi_call_function(env, nullptr, complete, argc, nullptr, &callResult); in CompleteCallback()
|
/base/sensors/medical_sensor/interfaces/plugin/src/ |
D | medical_napi_utils.cpp | 105 napi_value callResult = nullptr; in EmitAsyncCallbackWork() local 108 napi_call_function(env, nullptr, callback, 1, &result, &callResult); in EmitAsyncCallbackWork() 151 napi_value callResult = nullptr; in EmitUvEventLoop() local 173 napi_call_function(env, undefined, callback, 1, &result, &callResult); in EmitUvEventLoop()
|
/base/sensors/miscdevice/interfaces/plugin/vibrator/src/ |
D | vibrator_napi_utils.cpp | 237 napi_value callResult = nullptr; in EmitSystemCallback() local 238 … NAPI_CALL_RETURN_VOID(env, napi_call_function(env, nullptr, callback, 1, &result, &callResult)); in EmitSystemCallback() 248 napi_value callResult = nullptr; in EmitSystemCallback() local 249 NAPI_CALL_RETURN_VOID(env, napi_call_function(env, nullptr, callback, 1, result, &callResult)); in EmitSystemCallback() 289 napi_value callResult = nullptr; in EmitAsyncCallbackWork() local 290 CHKCV((napi_call_function(env, nullptr, callback, 2, result, &callResult) == napi_ok), in EmitAsyncCallbackWork()
|
/base/update/updateservice/frameworks/js/napi/client/ |
D | update_session.cpp | 146 napi_value callResult; in NotifyJS() local 164 retStatus = napi_call_function(env, undefined, callback, callBackNumber, retArgs, &callResult); in NotifyJS() 266 napi_value callResult; in NotifyJS() local 276 napi_call_function(env, thisVar, handler, 1, &jsEvent, &callResult); in NotifyJS() 292 napi_value callResult = nullptr; in NotifyJS() local 293 status = napi_call_function(env, thisVar, handler, 1, &jsEvent, &callResult); in NotifyJS()
|
/base/update/update_app/feature/ota/src/main/ets/util/ |
D | RouterUtils.ts | 81 if (upgradeData?.callResult === UpgradeCallResult.OK) {
|
D | VersionUtils.ets | 95 return upgradeData.callResult === UpgradeCallResult.OK ? upgradeData.data : null; 124 return upgradeData.callResult == UpgradeCallResult.OK ? upgradeData.data : null;
|
/base/update/update_app/common/src/main/ets/const/ |
D | update_const.ts | 379 callResult: UpgradeCallResult; property
|
/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
D | webview_javascript_result_callback.cpp | 58 napi_value callResult = nullptr; in UvJsCallbackThreadWoker() local 60 napi_call_function(param->env_, nullptr, callback, argv.size(), &argv[0], &callResult); in UvJsCallbackThreadWoker() 62 ParseNapiValue2NwebValue(param->env_, callResult, param->value_); in UvJsCallbackThreadWoker()
|
/base/update/updateservice/frameworks/js/napi/base/src/ |
D | client_helper.cpp | 595 bool ClientHelper::IsCommonError(CallResult callResult) in IsCommonError() argument 597 return callResult == CallResult::UN_SUPPORT || callResult == CallResult::NOT_SYSTEM_APP || in IsCommonError() 598 callResult == CallResult::APP_NOT_GRANTED || callResult == CallResult::PARAM_ERR; in IsCommonError() 601 int32_t ClientHelper::ConvertToErrorCode(CallResult callResult) in ConvertToErrorCode() argument 603 if (IsCommonError(callResult) || callResult == CallResult::SUCCESS) { in ConvertToErrorCode() 604 return CAST_INT(callResult); in ConvertToErrorCode() 606 return COMPONENT_ERR + CAST_INT(callResult); in ConvertToErrorCode()
|
/base/startup/init/interfaces/kits/jskits/src/ |
D | native_parameters_js.cpp | 74 napi_value callResult = nullptr; in SetCallbackWork() local 76 napi_call_function(env, nullptr, callback, ARGC_NUMBER, result, &callResult); in SetCallbackWork() 253 napi_value callResult = nullptr; in GetCallbackWork() local 255 napi_call_function(env, nullptr, callback, ARGC_NUMBER, result, &callResult); in GetCallbackWork()
|
D | native_parameters_watch.cpp | 128 napi_value callResult = nullptr; in WaitCallbackWork() local 133 napi_call_function(env, undefined, callbackRef, ARGC_NUMBER, result, &callResult); in WaitCallbackWork()
|
/base/startup/init/interfaces/kits/jskits/src_enhance/ |
D | native_parameters_js.cpp | 133 napi_value callResult = nullptr; in SetCallbackWork() local 135 napi_call_function(env, nullptr, callback, ARGC_NUMBER, result, &callResult); in SetCallbackWork() 320 napi_value callResult = nullptr; in GetCallbackWork() local 322 napi_call_function(env, nullptr, callback, ARGC_NUMBER, result, &callResult); in GetCallbackWork()
|
/base/msdp/device_status/frameworks/js/napi/src/ |
D | devicestatus_event.cpp | 189 napi_value callResult = nullptr; in CheckRet() local 191 status = napi_call_function(env_, nullptr, handler, argc, &result, &callResult); in CheckRet()
|
/base/sensors/sensor/interfaces/plugin/src/ |
D | sensor_napi_utils.cpp | 460 napi_value callResult = nullptr; in EmitAsyncCallbackWork() local 469 … CHKCV((napi_call_function(env, nullptr, callback, 2, result, &callResult) == napi_ok), in EmitAsyncCallbackWork() 479 CHKCV((napi_call_function(env, nullptr, callback, 2, result, &callResult) == napi_ok), in EmitAsyncCallbackWork() 535 napi_value callResult = nullptr; in EmitUvEventLoop() local 545 if (napi_call_function(env, nullptr, callback, 1, &result[1], &callResult) != napi_ok) { in EmitUvEventLoop()
|
/base/powermgr/thermal_manager/frameworks/napi/ |
D | thermal_manager_napi.cpp | 120 napi_value callResult = nullptr; in OnThermalLevel() local 121 status = napi_call_function(env_, nullptr, callback, ARG_1, &levelValue, &callResult); in OnThermalLevel()
|
/base/update/updateservice/frameworks/js/napi/base/include/ |
D | client_helper.h | 219 static int32_t ConvertToErrorCode(CallResult callResult); 228 static bool IsCommonError(CallResult callResult);
|
/base/update/update_app/product/oh/base/src/main/ets/pages/ |
D | index.ets | 122 …let otaStatus: OtaStatus = upgradeData.callResult == UpgradeCallResult.OK ? upgradeData.data : nul… 128 if (upgradeData.callResult == UpgradeCallResult.OK) { 148 if (upgradeData.callResult == UpgradeCallResult.OK) {
|
D | currentVersion.ets | 48 if (upgradeData.callResult == UpgradeCallResult.OK) {
|
D | newVersion.ets | 122 …let otaStatus: OtaStatus = upgradeData.callResult == UpgradeCallResult.OK ? upgradeData.data : nul… 187 return upgradeData.callResult == UpgradeCallResult.OK ? upgradeData.data : null;
|
/base/update/update_app/feature/ota/src/main/ets/manager/ |
D | OtaUpdateManager.ets | 78 if (result?.callResult === UpgradeCallResult.OK) { 94 if (result?.callResult === UpgradeCallResult.OK) { 133 if (result?.callResult === UpgradeCallResult.OK) {
|
/base/powermgr/display_manager/frameworks/napi/ |
D | brightness.cpp | 379 napi_value callResult = 0; in CallFunction() local 382 napi_status status = napi_call_function(env_, nullptr, callback, argc, response, &callResult); in CallFunction()
|
/base/update/updateservice/interfaces/inner_api/include/ |
D | update_helper.h | 437 BusinessError &Build(CallResult callResult, const std::string &msg) in Build() 439 errorNum = callResult; in Build()
|
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth/src/ |
D | user_auth_napi_helper.cpp | 375 napi_value callResult; in CallVoidNapiFunc() local 376 ret = napi_call_function(env, undefined, funcVal, argc, argv, &callResult); in CallVoidNapiFunc()
|
/base/update/updateservice/services/engine/src/ |
D | update_service_stub.cpp | 36 #define CALL_RESULT_TO_IPC_RESULT(callResult) ((callResult) + CALL_RESULT_OFFSET) argument
|