/foundation/ability/form_fwk/frameworks/js/napi/form_observer/ |
H A D | js_form_observer.cpp | 130 if (!ConvertFromJsValue(env, argv[PARAM1], bundleName)) { in OnRegisterFormAddObserver() 168 if (!ConvertFromJsValue(env, argv[PARAM1], bundleName)) { in OnRegisterFormRemoveObserver() 242 if (AppExecFwk::IsTypeForNapiValue(env, argv[PARAM1], napi_function)) { in OnRegisterFormIsVisibleObserver() 244 funcPos = PARAM1; in OnRegisterFormIsVisibleObserver() 245 } else if (AppExecFwk::IsTypeForNapiValue(env, argv[PARAM1], napi_string)) { in OnRegisterFormIsVisibleObserver() 247 if (!ConvertFromJsValue(env, argv[PARAM1], bundleName)) { in OnRegisterFormIsVisibleObserver() 289 if (AppExecFwk::IsTypeForNapiValue(env, argv[PARAM1], napi_function)) { in OnUnregisterFormIsVisibleObserver() 291 funcPos = PARAM1; in OnUnregisterFormIsVisibleObserver() 292 } else if (AppExecFwk::IsTypeForNapiValue(env, argv[PARAM1], napi_string)) { in OnUnregisterFormIsVisibleObserver() 293 bundlePos = PARAM1; in OnUnregisterFormIsVisibleObserver() [all...] |
/foundation/multimedia/player_framework/frameworks/js/system_sound_manager/src/ |
H A D | system_sound_manager_napi_ext.cpp | 31 const int32_t PARAM1 = 1; member 74 } else if (i == PARAM1 && valueType == napi_number) { in GetToneHapticsSettings() 75 napi_get_value_int32(env, argv[PARAM1], &asyncContext->toneHapticsType); in GetToneHapticsSettings() 122 context->status = ToneHapticsSettingsNapi::NewInstance(env, context->toneHapticsSettings, result[PARAM1]); in GetToneHapticsSettingsAsyncCallbackComp() 125 napi_get_undefined(env, &result[PARAM1]); in GetToneHapticsSettingsAsyncCallbackComp() 130 napi_resolve_deferred(env, context->deferred, result[PARAM1]); in GetToneHapticsSettingsAsyncCallbackComp() 191 } else if (i == PARAM1 && valueType == napi_number) { in SetToneHapticsSettings() 244 napi_get_undefined(env, &result[PARAM1]); in SetToneHapticsSettingsAsyncCallbackComp() 247 napi_get_undefined(env, &result[PARAM1]); in SetToneHapticsSettingsAsyncCallbackComp() 252 napi_resolve_deferred(env, context->deferred, result[PARAM1]); in SetToneHapticsSettingsAsyncCallbackComp() [all...] |
H A D | system_sound_manager_napi.cpp | 31 const int32_t PARAM1 = 1; member 401 napi_get_undefined(env, &result[PARAM1]); in SetSystemSoundUriAsyncCallbackComp() 406 napi_get_undefined(env, &result[PARAM1]); in SetSystemSoundUriAsyncCallbackComp() 411 napi_resolve_deferred(env, context->deferred, result[PARAM1]); in SetSystemSoundUriAsyncCallbackComp() 435 napi_create_string_utf8(env, context->uri.c_str(), NAPI_AUTO_LENGTH, &result[PARAM1]); in GetSystemSoundUriAsyncCallbackComp() 438 napi_get_undefined(env, &result[PARAM1]); in GetSystemSoundUriAsyncCallbackComp() 443 napi_resolve_deferred(env, context->deferred, result[PARAM1]); in GetSystemSoundUriAsyncCallbackComp() 505 } else if (i == PARAM1 && valueType == napi_string) { in SetRingtoneUri() 514 CHECK_AND_CONTINUE(!(i == PARAM1) && (valueType == napi_null)); in SetRingtoneUri() 576 } else if (i == PARAM1 in GetRingtoneUri() [all...] |
/foundation/barrierfree/accessibility/interfaces/kits/napi/accessibility_extension_module_loader/src/ |
H A D | napi_accessibility_extension_context.cpp | 96 HILOG_ERROR("SubscribeState args[PARAM1] format is wrong"); in IsNapiFunction() 137 if (info.argv[PARAM0] != nullptr && info.argv[PARAM1] != nullptr && in GetLastParamForTwo() 138 IsNapiBool(env, info.argv[PARAM0]) && IsNapiFunction(env, info.argv[PARAM1])) { in GetLastParamForTwo() 140 info.argv[PARAM1] : nullptr; in GetLastParamForTwo() 141 } else if (info.argv[PARAM1] != nullptr && IsNapiFunction(env, info.argv[PARAM1])) { in GetLastParamForTwo() 143 lastParam = info.argv[PARAM1]; in GetLastParamForTwo() 284 ((info.argv[PARAM1] != nullptr && IsNapiFunction(env, info.argv[PARAM1])) ? info.argv[PARAM1] in SetTargetBundleNameCompleteTask() [all...] |
/foundation/communication/bluetooth/frameworks/js/napi/src/socket/ |
H A D | napi_bluetooth_spp_server.cpp | 90 callbackInfo->sppOption_ = GetSppOptionFromJS(env, argv[PARAM1]); in CheckSppListenParams() 157 napi_create_int32(env, server->id_, &result[PARAM1]); in SppListen() 162 napi_get_undefined(env, &result[PARAM1]); in SppListen() 174 napi_resolve_deferred(env, callbackInfo->deferred_, result[PARAM1]); in SppListen() 177 napi_reject_deferred(env, callbackInfo->deferred_, result[PARAM1]); in SppListen() 218 NAPI_BT_CALL_RETURN(napi_typeof(env, argv[PARAM1], &valueType)); in CheckSppAcceptParams() 220 napi_create_reference(env, argv[PARAM1], 1, &callbackInfo->callback_); in CheckSppAcceptParams() 269 napi_create_int32(env, client->id_, &result[PARAM1]); in SppAccept() 273 napi_get_undefined(env, &result[PARAM1]); in SppAccept() 283 napi_resolve_deferred(env, callbackInfo->deferred_, result[PARAM1]); in SppAccept() [all...] |
H A D | napi_bluetooth_spp_client.cpp | 44 callbackInfo->sppOption_ = GetSppOptionFromJS(env, argv[PARAM1]); in CheckSppConnectParams() 144 napi_create_int32(env, client->id_, &result[PARAM1]); in SppConnect() 149 napi_get_undefined(env, &result[PARAM1]); in SppConnect() 164 napi_resolve_deferred(env, callbackInfo->deferred_, result[PARAM1]); in SppConnect() 167 napi_reject_deferred(env, callbackInfo->deferred_, result[PARAM1]); in SppConnect() 231 NAPI_BT_RETURN_IF(!ParseArrayBuffer(env, totalBuf, totalSize, argv[PARAM1]), in CheckSppWriteParams() 322 NAPI_BT_CALL_RETURN(napi_typeof(env, argv[PARAM1], &valueType1)); in CheckSppClientOn() 329 NAPI_BT_RETURN_IF(!ParseInt32(env, id, argv[PARAM1]), "Wrong argument type. Int expected.", napi_invalid_arg); in CheckSppClientOn() 367 NAPI_BT_RETURN_IF(!ParseInt32(env, id, argv[PARAM1]), "Wrong argument type. Int expected.", napi_invalid_arg); in CheckSppClientOff()
|
/foundation/multimedia/player_framework/frameworks/js/audio_haptic/src/ |
H A D | audio_haptic_manager_napi.cpp | 25 const int32_t PARAM1 = 1; member 247 } else if (i == PARAM1 && valueType == napi_string) { in RegisterSource() 292 napi_create_int32(env, context->sourceID, &result[PARAM1]); in RegisterSourceAsyncCallbackComp() 298 napi_get_undefined(env, &result[PARAM1]); in RegisterSourceAsyncCallbackComp() 303 napi_resolve_deferred(env, context->deferred, result[PARAM1]); in RegisterSourceAsyncCallbackComp() 371 napi_get_undefined(env, &result[PARAM1]); in UnregisterSourceAsyncCallbackComp() 383 napi_resolve_deferred(env, context->deferred, result[PARAM1]); in UnregisterSourceAsyncCallbackComp() 427 napi_typeof(env, argv[PARAM1], &valueType); in SetAudioLatencyMode() 434 napi_get_value_int32(env, argv[PARAM1], &latencyMode); in SetAudioLatencyMode() 496 napi_typeof(env, argv[PARAM1], in SetStreamUsage() [all...] |
/foundation/barrierfree/accessibility/interfaces/kits/napi/accessibility_gesture_point/src/ |
H A D | napi_accessibility_gesture_point.cpp | 40 NAPI_CALL(env, napi_typeof(env, argv[PARAM1], &valueType)); in JSConstructor() 42 HILOG_ERROR("PARAM1's valueType %{public}d is not napi_number", valueType); in JSConstructor() 46 NAPI_CALL(env, napi_set_named_property(env, jsthis, "positionY", argv[PARAM1])); in JSConstructor()
|
/foundation/barrierfree/accessibility/interfaces/kits/napi/src/ |
H A D | napi_accessibility_event_info.cpp | 56 NAPI_CALL(env, napi_typeof(env, argv[PARAM1], &valueType)); in JSConstructor() 69 NAPI_CALL(env, napi_set_named_property(env, thisVar, "bundleName", argv[PARAM1])); in JSConstructor()
|
H A D | napi_accessibility_system_ability_client.cpp | 202 NAPI_CALL_RETURN_VOID(env, napi_get_boolean(env, callbackInfo->enabled_, &result[PARAM1])); in Completefunction() 205 NAPI_CALL_RETURN_VOID(env, napi_get_boolean(env, callbackInfo->touchEnabled_, &result[PARAM1])); in Completefunction() 222 napi_resolve_deferred(env, callbackInfo->deferred_, result[PARAM1]); in Completefunction() 250 napi_create_array(env, &result[PARAM1]); in GetAbilityListComplete() 251 ConvertAccessibleAbilityInfosToJS(env, result[PARAM1], callbackInfo->abilityList_); in GetAbilityListComplete() 261 napi_resolve_deferred(env, callbackInfo->deferred_, result[PARAM1]); in GetAbilityListComplete() 345 !ParseString(env, stateTypes, parameters[PARAM1])) { in GetAccessibilityExtensionList() 429 !ParseString(env, stateTypeStr, parameters[PARAM1])) { in GetAccessibilityExtensionListSync() 513 result[PARAM1] = ret; in SendEventComplete() 522 napi_resolve_deferred(env, callbackInfo->deferred_, result[PARAM1]); in SendEventComplete() [all...] |
/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | media_asset_data_handler.cpp | 133 argv[PARAM1] = extraInfo; in JsOnDataPrepared() 179 argv[PARAM1] = arg; in JsOnDataPrepared() 184 argv[PARAM1] = arg; in JsOnDataPrepared()
|
H A D | media_scanner_napi.cpp | 143 napi_create_object(env, &results[PARAM1]); in InvokeJSCallback() 147 napi_set_named_property(env, results[PARAM1], "status", jsStatus); in InvokeJSCallback() 151 napi_set_named_property(env, results[PARAM1], "fileUri", jsUri); in InvokeJSCallback() 190 napi_typeof(env, argv[PARAM1], &valueType); in NapiScanUtils() 192 napi_create_reference(env, argv[PARAM1], refCount, &callbackRef); in NapiScanUtils()
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/ |
H A D | image_napi_utils.cpp | 30 const int PARAM1 = 1; member 171 if (argvType0 != napi_object || !ParseSize(env, argv[PARAM0], args[PARAM0], args[PARAM1])) { in ParseImageCreatorReceiverArgs() 176 napi_valuetype argvType1 = ImageNapiUtils::getType(env, argv[PARAM1]); in ParseImageCreatorReceiverArgs() 177 if (argvType1 != napi_number || napi_get_value_int32(env, argv[PARAM1], &(args[PARAM2])) != napi_ok) { in ParseImageCreatorReceiverArgs() 179 errMsg.append(std::to_string(PARAM1)).append(",type:").append(std::to_string(argvType1)); in ParseImageCreatorReceiverArgs()
|
H A D | image_packer_napi.cpp | 69 const int PARAM1 = 1; member 771 if (argc < PARAM1 || argc > PARAM3) { in ParserPackingArguments() 772 BuildMsgOnError(context, (argc < PARAM1 || argc > PARAM3), "Arguments Count error"); in ParserPackingArguments() 791 if (argc > PARAM1 && ImageNapiUtils::getType(env, argv[PARAM1]) == napi_object) { in ParserPackingArguments() 794 parsePackOptionOfLoop(env, argv[PARAM1], &(context->packOption)), in ParserPackingArguments() 796 context->resultBufferSize = parseBufferSize(env, argv[PARAM1]); in ParserPackingArguments() 798 parsePackOptionOfdisposalTypes(env, argv[PARAM1], &(context->packOption)), in ParserPackingArguments() 802 parsePackOptions(env, argv[PARAM1], &(context->packOption)), "PackOptions mismatch"); in ParserPackingArguments() 803 context->resultBufferSize = parseBufferSize(env, argv[PARAM1], contex in ParserPackingArguments() [all...] |
/foundation/ability/form_fwk/frameworks/js/napi/form_provider/ |
H A D | js_form_provider.cpp | 184 napi_typeof(env, argv[PARAM1], ¶mTwoType); in OnGetFormsInfoParseParam() 261 napi_typeof(env, argv[PARAM1], ¶mOneType); in OnSetFormNextRefreshTime() 267 if (!ConvertFromJsValue(env, argv[PARAM1], time)) { in OnSetFormNextRefreshTime() 316 napi_typeof(env, argv[PARAM1], ¶mOneType); in OnUpdateFormParseParam() 337 std::string formDataStr = GetStringByProp(env, argv[PARAM1], "data"); in OnUpdateForm() 343 napi_get_named_property(env, argv[PARAM1], "proxies", &nativeProxies); in OnUpdateForm() 426 napi_typeof(env, argv[PARAM1], ¶mOneType); in OnRequestPublishForm() 430 std::string formDataStr = GetStringByProp(env, argv[PARAM1], "data"); in OnRequestPublishForm() 436 napi_get_named_property(env, argv[PARAM1], "proxies", &nativeProxies); in OnRequestPublishForm()
|
/foundation/multimedia/player_framework/frameworks/js/system_sound_manager/src/system_tone_player/ |
H A D | system_tone_player_napi.cpp | 24 const int32_t PARAM1 = 1; member 148 napi_get_undefined(env, &result[PARAM1]); in CommonAsyncCallbackComplete() 159 napi_resolve_deferred(env, context->deferred, result[PARAM1]); in CommonAsyncCallbackComplete() 183 napi_create_string_utf8(env, context->title.c_str(), NAPI_AUTO_LENGTH, &result[PARAM1]); in GetTitleAsyncCallbackComplete() 189 napi_get_undefined(env, &result[PARAM1]); in GetTitleAsyncCallbackComplete() 194 napi_resolve_deferred(env, context->deferred, result[PARAM1]); in GetTitleAsyncCallbackComplete() 329 napi_create_int32(env, context->streamID, &result[PARAM1]); in StartAsyncCallbackComplete() 335 napi_get_undefined(env, &result[PARAM1]); in StartAsyncCallbackComplete() 340 napi_resolve_deferred(env, context->deferred, result[PARAM1]); in StartAsyncCallbackComplete() 389 } else if ((i == PARAM0 || i == PARAM1) in Start() [all...] |
/foundation/ability/ability_runtime/frameworks/js/napi/featureAbility/ |
H A D | napi_data_ability_helper.cpp | 118 std::string strUri = NapiValueToStringUtf8(env, argv[PARAM1]); in DataAbilityHelperConstructor() 127 std::string strUri = NapiValueToStringUtf8(env, argv[PARAM1]); in DataAbilityHelperConstructor() 242 AnalysisValuesBucket(insertCB->valueBucket, env, args[PARAM1]); in InsertWrap() 481 NAPI_CALL(env, napi_typeof(env, args[PARAM1], &valuetype)); in RegisterWrap() 483 onCB->uri = NapiValueToStringUtf8(env, args[PARAM1]); in RegisterWrap() 655 NAPI_CALL(env, napi_typeof(env, args[PARAM1], &valuetype)); in UnRegisterWrap() 657 offCB->uri = NapiValueToStringUtf8(env, args[PARAM1]); in UnRegisterWrap() 672 NAPI_CALL(env, napi_typeof(env, args[PARAM1], &valuetype)); in UnRegisterWrap() 674 offCB->uri = NapiValueToStringUtf8(env, args[PARAM1]); in UnRegisterWrap() 677 NAPI_CALL(env, napi_create_reference(env, args[PARAM1], in UnRegisterWrap() [all...] |
/foundation/barrierfree/accessibility/interfaces/kits/napi/accessibility_config/src/ |
H A D | napi_accessibility_config.cpp | 70 if (!ConvertJSToCapabilities(env, parameters[PARAM1], callbackInfo->capabilities_)) { in EnableAbilityError() 177 if (argc > ARGS_SIZE_TWO - 1 && CheckJsFunction(env, parameters[PARAM1])) { in DisableAbility() 178 napi_create_reference(env, parameters[PARAM1], 1, &callbackInfo->callback_); in DisableAbility() 272 napi_typeof(env, args[PARAM1], &valueType); in SubscribeState() 274 HILOG_ERROR("SubscribeState args[PARAM1] format is wrong"); in SubscribeState() 290 enableAbilityListsObservers_->SubscribeObserver(env, args[PARAM1]); in SubscribeState() 293 enableAbilityListsObservers_->SubscribeInstallObserver(env, args[PARAM1]); in SubscribeState() 337 if (argc > ARGS_SIZE_TWO - 1 && CheckJsFunction(env, args[PARAM1])) { in UnsubscribeState() 339 enableAbilityListsObservers_->UnsubscribeObserver(env, args[PARAM1]); in UnsubscribeState() 341 enableAbilityListsObservers_->UnsubscribeInstallObserver(env, args[PARAM1]); in UnsubscribeState() [all...] |
/foundation/multimedia/audio_framework/frameworks/js/napi/audiomanager/ |
H A D | napi_audio_volume_group_manager.cpp | 159 napi_value args[PARAM1] = {groupId_}; in CreateAudioVolumeGroupManagerWrapper() 165 status = napi_new_instance(env, constructor, PARAM1, args, &result); in CreateAudioVolumeGroupManagerWrapper() 198 size_t argCount = PARAM1; in Construct() 201 napi_value args[PARAM1] = { nullptr}; in Construct() 341 context->status = NapiParamUtils::GetValueInt32(env, context->volLevel, argv[PARAM1]); in SetVolume() 386 context->status = NapiParamUtils::GetValueInt32(env, context->volLevel, argv[PARAM1]); in SetVolumeWithFlag() 566 context->status = NapiParamUtils::GetValueBoolean(env, context->isMute, argv[PARAM1]); in SetMute() 886 context->status = NapiParamUtils::GetValueInt32(env, context->policyType, argv[PARAM1]); in SetMicMutePersistent() 1020 context->status = NapiParamUtils::GetValueInt32(env, context->adjustType, argv[PARAM1]); in AdjustSystemVolumeByStep() 1075 context->status = NapiParamUtils::GetValueInt32(env, context->volLevel, argv[PARAM1]); in GetSystemVolumeInDb() [all...] |
H A D | napi_audio_spatialization_manager.cpp | 195 size_t argc = PARAM1; in IsSpatializationEnabled() 261 context->status = NapiParamUtils::GetValueBoolean(env, context->spatializationEnable, argv[PARAM1]); in SetSpatializationEnabled() 316 size_t argc = PARAM1; in IsHeadTrackingEnabled() 382 context->status = NapiParamUtils::GetValueBoolean(env, context->headTrackingEnable, argv[PARAM1]); in SetHeadTrackingEnabled() 671 cb->SaveSpatializationEnabledChangeCallbackReference(args[PARAM1], cbName); in RegisterSpatializationEnabledChangeCallback() 695 cb->SaveHeadTrackingEnabledChangeCallbackReference(args[PARAM1], cbName); in RegisterHeadTrackingEnabledChangeCallback() 728 if (napi_typeof(env, args[PARAM1], &handler) != napi_ok || handler != napi_function) { in On() 751 UnregisterSpatializationEnabledChangeCallback(env, args[PARAM1], cbName, napiAudioSpatializationManager); in UnRegisterCallback() 753 UnregisterSpatializationEnabledChangeCallback(env, args[PARAM1], cbName, napiAudioSpatializationManager); in UnRegisterCallback() 755 UnregisterHeadTrackingEnabledChangeCallback(env, args[PARAM1], cbNam in UnRegisterCallback() [all...] |
H A D | napi_audio_routing_manager.cpp | 312 context->bArgTransFlag, argv[PARAM1]); in SelectOutputDeviceByFilter() 389 context->bArgTransFlag, argv[PARAM1]); in SelectInputDeviceByFilter() 432 context->status = NapiParamUtils::GetValueBoolean(env, context->isActive, argv[PARAM1]); in SetCommunicationDevice() 886 napi_typeof(env, args[PARAM1], &valueType); in RegisterDeviceChangeCallback() 890 NapiParamUtils::GetValueInt32(env, flag, args[PARAM1]); in RegisterDeviceChangeCallback() 926 napi_typeof(env, args[PARAM1], &valueType); in RegisterPreferredOutputDeviceChangeCallback() 933 NapiParamUtils::GetRendererInfo(env, &rendererInfo, args[PARAM1]); in RegisterPreferredOutputDeviceChangeCallback() 962 napi_typeof(env, args[PARAM1], &valueType); in RegisterPreferredInputDeviceChangeCallback() 969 NapiParamUtils::GetAudioCapturerInfo(env, &captureInfo, args[PARAM1]); in RegisterPreferredInputDeviceChangeCallback() 998 napi_typeof(env, args[PARAM1], in RegisterAvaiableDeviceChangeCallback() [all...] |
H A D | napi_audio_session_manager.cpp | 262 cb->SaveCallbackReference(args[PARAM1]); in RegisterAudioSessionCallback() 275 napi_value args[requireArgc + PARAM1] = {nullptr, nullptr, nullptr}; in On() 289 napi_typeof(env, args[PARAM1], &handler); in On() 346 napi_value args[requireArgc + PARAM1] = {nullptr, nullptr}; in Off() 362 napi_typeof(env, args[PARAM1], &handler); in Off()
|
/foundation/multimedia/player_framework/frameworks/js/soundpool/src/ |
H A D | soundpool_napi.cpp | 185 asyncCtx->callbackRef = CommonNapi::CreateReference(env, args[PARAM1]); in JsLoad() 237 asyncCtx->callbackRef = CommonNapi::CreateReference(env, args[PARAM1]); in JsPlay() 281 asyncCtx->callbackRef = CommonNapi::CreateReference(env, args[PARAM1]); in JsStop() 334 status = napi_get_value_int32(env, args[PARAM1], &asyncCtx->loop_); in JsSetLoop() 383 status = napi_get_value_int32(env, args[PARAM1], &asyncCtx->priority_); in JsSetPriority() 513 asyncCtx->callbackRef = CommonNapi::CreateReference(env, args[PARAM1]); in JsUnload() 550 size_t argCount = PARAM1; in JsRelease() 551 napi_value args[PARAM1] = { nullptr }; in JsRelease() 675 status = napi_get_named_property(env, argv[PARAM1], "content", &tempValue); in GetJsInstanceWithParameter() 681 status = napi_get_named_property(env, argv[PARAM1], "usag in GetJsInstanceWithParameter() [all...] |
/foundation/multimedia/player_framework/frameworks/js/system_sound_manager/src/ringtone_player/ |
H A D | ringtone_player_napi.cpp | 27 const int32_t PARAM1 = 1; member 175 napi_get_undefined(env, &result[PARAM1]); in CommonAsyncCallbackComplete() 186 napi_resolve_deferred(env, context->deferred, result[PARAM1]); in CommonAsyncCallbackComplete() 210 napi_create_string_utf8(env, context->title.c_str(), NAPI_AUTO_LENGTH, &result[PARAM1]); in GetTitleAsyncCallbackComplete() 216 napi_get_undefined(env, &result[PARAM1]); in GetTitleAsyncCallbackComplete() 221 napi_resolve_deferred(env, context->deferred, result[PARAM1]); in GetTitleAsyncCallbackComplete() 304 result[PARAM1] = valueParam; in GetAudioRendererInfoAsyncCallbackComplete() 310 napi_get_undefined(env, &result[PARAM1]); in GetAudioRendererInfoAsyncCallbackComplete() 315 napi_resolve_deferred(env, context->deferred, result[PARAM1]); in GetAudioRendererInfoAsyncCallbackComplete() 421 napi_typeof(env, argv[PARAM1], in Configure() [all...] |
/foundation/ability/form_fwk/frameworks/js/napi/formHost/ |
H A D | napi_form_host.cpp | 1135 auto callback = (argc == ARGS_ONE) ? nullptr : argv[PARAM1]; in OnDisableFormsUpdate() 1238 auto callback = flagCall ? ((argc == ARGS_TWO) ? argv[PARAM1] : argv[PARAM2]) : nullptr; in OnGetFormsInfo() 1284 napi_value lastParam = (argc == ARGS_ONE) ? nullptr : argv[PARAM1]; in OnDeleteForm() 1316 !IsTypeForNapiValue(env, argv[PARAM1], napi_function)) { in OnReleaseForm() 1317 if (IsTypeForNapiValue(env, argv[PARAM1], napi_boolean)) { in OnReleaseForm() 1318 if (!ConvertFromJsValue(env, argv[PARAM1], isReleaseCache)) { in OnReleaseForm() 1349 (argc == ARGS_TWO && !IsTypeForNapiValue(env, argv[PARAM1], napi_function)) ? nullptr : in OnReleaseForm() 1350 (argc == ARGS_THREE) ? argv[PARAM2] : argv[PARAM1]; in OnReleaseForm() 1398 napi_value lastParam = (argc == ARGS_ONE) ? nullptr : argv[PARAM1]; in OnRequestForm() 1445 napi_value lastParam = (argc == ARGS_ONE) ? nullptr : argv[PARAM1]; in OnCastTempForm() [all...] |