/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_device/src/ |
H A D | js_event_target.cpp | 428 napi_value callResult = nullptr; in CallKeystrokeAbilityPromise() local 442 if (callResult == nullptr) { in CallKeystrokeAbilityPromise() 660 napi_value callResult; in CallKeyboardTypePromise() local 674 if (callResult == nullptr) { in CallKeyboardTypePromise() 756 napi_value callResult = nullptr; in CallDevListPromiseWork() local 770 if (callResult == nullptr) { in CallDevListPromiseWork() 977 napi_value callResult[2] = {0}; in CallKeyboardRepeatDelayAsync() local 1030 napi_value callResult; in CallKeyboardRepeatDelayPromise() local 1148 napi_value callResult[2] = {0}; in CallKeyboardRepeatRateAsync() local 1201 napi_value callResult; in CallKeyboardRepeatRatePromise() local [all …]
|
/ohos5.0/base/update/update_app/common/src/main/ets/manager/ |
H A D | UpdateManager.ts | 36 callResult: UpgradeCallResult.OK, 131 callResult: UpgradeCallResult.OK 144 callResult: UpgradeCallResult.ERROR, 163 callResult: UpgradeCallResult.OK, 170 callResult: UpgradeCallResult.ERROR, 201 callResult: UpgradeCallResult.OK, 208 callResult: UpgradeCallResult.ERROR, 234 callResult: UpgradeCallResult.OK, 260 callResult: UpgradeCallResult.OK, 270 callResult: UpgradeCallResult.ERROR, [all …]
|
/ohos5.0/foundation/barrierfree/accessibility/interfaces/kits/napi/src/ |
H A D | napi_accessibility_config_observer.cpp | 141 napi_value callResult = nullptr; in NotifyStateChanged() local 147 napi_get_value_int32(callbackInfo->env_, callResult, &result); in NotifyStateChanged() 184 napi_value callResult = nullptr; in NotifyPropertyChanged() local 190 napi_get_value_int32(callbackInfo->env_, callResult, &result); in NotifyPropertyChanged() 222 napi_value callResult = nullptr; in NotifyStringChanged() local 263 napi_value callResult = nullptr; in NotifyStringVectorChanged() local 306 napi_value callResult = nullptr; in NotifyIntChanged() local 312 napi_get_value_int32(callbackInfo->env_, callResult, &result); in NotifyIntChanged() 347 napi_value callResult = nullptr; in NotifyUintChanged() local 388 napi_value callResult = nullptr; in NotifyDoubleChanged() local [all …]
|
/ohos5.0/base/print/print_fwk/frameworks/kits/extension/src/ |
H A D | js_print_extension_connection.cpp | 86 napi_value callResult = nullptr; in HandleOnAbilityConnectDone() local 87 napi_call_function(engine_, obj, methodOnConnect, NapiPrintUtils::ARGC_TWO, argv, &callResult); in HandleOnAbilityConnectDone() 151 napi_value callResult = nullptr; in HandleOnAbilityDisconnectDone() local 152 napi_call_function(engine_, obj, method, NapiPrintUtils::ARGC_ONE, argv, &callResult); in HandleOnAbilityDisconnectDone() 186 napi_value callResult = nullptr; in CallJsFailed() local 187 napi_call_function(engine_, obj, method, NapiPrintUtils::ARGC_ONE, argv, &callResult); in CallJsFailed()
|
H A D | js_print_extension.cpp | 252 napi_value callResult = nullptr; in OnDisconnect() local 253 napi_call_function(nativeEngine, obj, method, NapiPrintUtils::ARGC_ONE, argv, &callResult); in OnDisconnect() 301 napi_value callResult = nullptr; in CallObjectMethod() local 302 napi_call_function(nativeEngine, obj, method, argc, argv, &callResult); in CallObjectMethod() 303 return callResult; in CallObjectMethod()
|
/ohos5.0/base/update/updateservice/frameworks/js/napi/session/src/ |
H A D | napi_common_utils.cpp | 333 int32_t NapiCommonUtils::ConvertToErrorCode(CallResult callResult) in ConvertToErrorCode() argument 335 if (IsCommonError(callResult) || callResult == CallResult::SUCCESS) { in ConvertToErrorCode() 336 return CAST_INT(callResult); in ConvertToErrorCode() 338 return COMPONENT_ERR + CAST_INT(callResult); in ConvertToErrorCode() 351 bool NapiCommonUtils::IsCommonError(CallResult callResult) in IsCommonError() argument 353 return callResult == CallResult::UN_SUPPORT || callResult == CallResult::NOT_SYSTEM_APP || in IsCommonError() 354 callResult == CallResult::APP_NOT_GRANTED || callResult == CallResult::PARAM_ERR; in IsCommonError()
|
/ohos5.0/foundation/window/window_manager/interfaces/kits/napi/picture_in_picture_napi/ |
H A D | js_pip_window_listener.cpp | 33 napi_value callResult = nullptr; in CallJsFunction() local 35 napi_get_undefined(env, &callResult); in CallJsFunction() 36 napi_call_function(env, result, method, argc, argv, &callResult); in CallJsFunction() 38 return callResult; in CallJsFunction()
|
/ohos5.0/base/powermgr/battery_manager/frameworks/napi/src/ |
H A 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()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/app/ability_delegator/ |
H A D | js_ability_monitor.cpp | 114 napi_value callResult = nullptr; in CallLifecycleCBFunction() local 115 napi_call_function(env_, obj, method, ArraySize(argv), argv, &callResult); in CallLifecycleCBFunction() 116 return callResult; in CallLifecycleCBFunction()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/mission_manager/ |
H A D | js_mission_listener.cpp | 120 napi_value callResult = nullptr; in CallJsMethodInner() local 121 napi_call_function(env_, obj, method, ArraySize(argv), argv, &callResult); in CallJsMethodInner() 180 napi_value callResult = nullptr; in CallJsMissionIconUpdated() local 181 napi_call_function(env_, obj, method, ArraySize(argv), argv, &callResult); in CallJsMissionIconUpdated()
|
/ohos5.0/base/sensors/medical_sensor/interfaces/plugin/src/ |
H A D | medical_napi_utils.cpp | 107 napi_value callResult = nullptr; in EmitAsyncCallbackWork() local 110 napi_call_function(env, nullptr, callback, 1, &result, &callResult); in EmitAsyncCallbackWork() 153 napi_value callResult = nullptr; in EmitUvEventLoop() local 175 napi_call_function(env, undefined, callback, 1, &result, &callResult); in EmitUvEventLoop()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/js_mission_manager/ |
H A D | js_mission_listener.cpp | 147 napi_value callResult = nullptr; in CallJsFunction() local 148 napi_call_function(env_, obj, method, argc, argv, &callResult); in CallJsFunction() 206 napi_value callResult = nullptr; in CallJsMissionIconUpdated() local 207 napi_call_function(env_, obj, method, ArraySize(argv), argv, &callResult); in CallJsMissionIconUpdated()
|
/ohos5.0/base/update/updateservice/frameworks/js/napi/update/src/ |
H A D | update_session.cpp | 82 napi_value callResult; in NotifyJS() local 92 napi_call_function(env, thisVar, handler, 1, &jsEvent, &callResult); in NotifyJS() 108 napi_value callResult = nullptr; in NotifyJS() local 109 status = napi_call_function(env, thisVar, handler, 1, &jsEvent, &callResult); in NotifyJS()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/ |
H A D | js_ability_stage_context.cpp | 63 napi_value callResult = nullptr; in ConfigurationUpdated() local 64 napi_call_function(env, value, method, 1, argv, &callResult); in ConfigurationUpdated()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/featureAbility/ |
H A D | napi_data_ability_helper_utils.cpp | 118 napi_value callResult = nullptr; in InsertAsyncCompleteCB() local 229 napi_value callResult = nullptr; in NotifyChangeAsyncCompleteCB() local 349 napi_value callResult = nullptr; in GetTypeAsyncCompleteCB() local 469 napi_value callResult = nullptr; in GetFileTypesAsyncCompleteCB() local 608 napi_value callResult = nullptr; in NormalizeUriAsyncCompleteCB() local 728 napi_value callResult = nullptr; in DenormalizeUriAsyncCompleteCB() local 846 napi_value callResult = nullptr; in DeleteAsyncCompleteCB() local 961 napi_value callResult = nullptr; in UpdateAsyncCompleteCB() local 1181 napi_value callResult = nullptr; in CallAsyncCompleteCB() local 1354 napi_value callResult = nullptr; in OpenFileAsyncCompleteCB() local [all …]
|
/ohos5.0/base/sensors/miscdevice/frameworks/js/napi/vibrator/src/ |
H A D | vibrator_napi_utils.cpp | 266 napi_value callResult = nullptr; in EmitSystemCallback() local 267 … NAPI_CALL_RETURN_VOID(env, napi_call_function(env, nullptr, callback, 1, &result, &callResult)); in EmitSystemCallback() 277 napi_value callResult = nullptr; in EmitSystemCallback() local 278 NAPI_CALL_RETURN_VOID(env, napi_call_function(env, nullptr, callback, 1, result, &callResult)); in EmitSystemCallback() 318 napi_value callResult = nullptr; in EmitAsyncCallbackWork() local 319 CHKCV((napi_call_function(env, nullptr, callback, 2, result, &callResult) == napi_ok), in EmitAsyncCallbackWork()
|
/ohos5.0/base/update/updateservice/foundations/model/include/ |
H A D | business_error.h | 35 BusinessError &Build(CallResult callResult, const std::string &msg) in Build() 37 errorNum = callResult; in Build()
|
/ohos5.0/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
H A D | webview_javascript_result_callback.cpp | 865 napi_value callResult, std::vector<std::string>& methodNameList) in ProcessObjectCaseInJsTd() argument 876 if (inParam->webJsResCb->FindObjectIdInJsTd(env, callResult, &returnedObjectId)) { in ProcessObjectCaseInJsTd() 885 napi_typeof(env, callResult, &valueType); in ProcessObjectCaseInJsTd() 929 napi_value callResult = nullptr; in ExecuteGetJavaScriptResult() local 936 ProcessObjectCaseInJsTd(env, param, callResult, methodNameList); in ExecuteGetJavaScriptResult() 971 napi_value callResult = nullptr; in GetJavaScriptResultSelf() local 977 napi_typeof(jsObj->GetEnv(), callResult, &valueType); in GetJavaScriptResultSelf() 981 if (FindObjectIdInJsTd(jsObj->GetEnv(), callResult, &returnedObjectId)) { in GetJavaScriptResultSelf() 1129 napi_value callResult = nullptr; in GetJavaScriptResultSelfHelper() local 1135 napi_typeof(jsObj->GetEnv(), callResult, &valueType); in GetJavaScriptResultSelfHelper() [all …]
|
/ohos5.0/drivers/external_device_manager/services/native/driver_extension/src/ |
H A D | js_driver_extension.cpp | 253 bool callResult = false; in OnConnect() local 268 callResult = true; in OnConnect() 271 if (!callResult) { in OnConnect() 301 bool callResult = CallPromise(result, callbackInfo); in OnDisconnect() local 302 if (!callResult) { in OnDisconnect()
|
/ohos5.0/foundation/distributedhardware/device_manager/interfaces/kits/js/src/ |
H A D | dm_native_event.cpp | 106 napi_value callResult = nullptr; in OnEvent() local 107 status = napi_call_function(env_, thisVar, handler, argc, argv, &callResult); in OnEvent()
|
/ohos5.0/foundation/distributedhardware/device_manager/interfaces/kits/js4.0/src/ |
H A D | dm_native_event.cpp | 106 napi_value callResult = nullptr; in OnEvent() local 107 status = napi_call_function(env_, thisVar, handler, argc, argv, &callResult); in OnEvent()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_ability_common/ |
H A D | napi_common_ability_execute_utils.cpp | 67 napi_value callResult = nullptr; in GetAppTypeAsyncCompleteCB() local 79 …RN_VOID(env, napi_call_function(env, undefined, callback, ARGS_TWO, &result[PARAM0], &callResult)); in GetAppTypeAsyncCompleteCB() 277 napi_value callResult = nullptr; in GetAbilityInfoAsyncCompleteCB() local 286 …RN_VOID(env, napi_call_function(env, undefined, callback, ARGS_TWO, &result[PARAM0], &callResult)); in GetAbilityInfoAsyncCompleteCB() 472 napi_value callResult = nullptr; in GetHapModuleInfoAsyncCompleteCB() local 655 napi_value callResult = nullptr; in GetAppVersionInfoAsyncCompleteCB() local 844 napi_value callResult = nullptr; in GetWantAsync() local 853 napi_call_function(env, undefined, callback, ARGS_TWO, &result[PARAM0], &callResult); in GetWantAsync() 997 napi_value callResult = nullptr; in GetAbilityNameAsyncCompleteCB() local 1258 napi_value callResult = nullptr; in BackgroundRunningCallbackCompletedCB() local [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/router/test/unittest/common/ |
H A D | router_module_tdd_test.cpp | 413 JSIValue callResult = RouterModule::Replace(thisVal, args, argsNum); variable 417 EXPECT_TRUE(JSI::ValueIsError(callResult)); 418 JSI::ReleaseValue(callResult);
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/ability_manager/ |
H A D | js_ability_foreground_state_observer.cpp | 78 napi_value callResult = nullptr; in CallJsFunction() local 79 napi_status status = napi_call_function(env_, value, method, argc, argv, &callResult); in CallJsFunction()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/app/js_app_manager/ |
H A D | js_app_foreground_state_observer.cpp | 76 napi_value callResult = nullptr; in CallJsFunction() local 77 napi_status status = napi_call_function(env_, value, method, argc, argv, &callResult); in CallJsFunction()
|