Home
last modified time | relevance | path

Searched refs:TYPE_NONE (Results 1 – 11 of 11) sorted by relevance

/base/inputmethod/imf/frameworks/js/napi/inputmethodability/
Djs_text_input_client_engine.cpp71 … PARAM_CHECK_RETURN(env, argc > 0, " should 1 or 2 parameters! ", TYPE_NONE, napi_generic_failure); in MoveCursor()
109 …ils::ThrowException(env, IMFErrorCode::EXCEPTION_PARAMCHECK, "please check the params", TYPE_NONE); in MoveCursorSync()
116 JsUtils::ThrowException(env, JsUtils::Convert(ret), "failed to move cursor", TYPE_NONE); in MoveCursorSync()
193 PARAM_CHECK_RETURN(env, status == napi_ok, "missing start parameter.", TYPE_NONE, status); in GetSelectRange()
198 PARAM_CHECK_RETURN(env, status == napi_ok, "missing end parameter.", TYPE_NONE, status); in GetSelectRange()
212 PARAM_CHECK_RETURN(env, status == napi_ok, "missing direction parameter.", TYPE_NONE, status); in GetSelectMovement()
224 … PARAM_CHECK_RETURN(env, argc > 0, "should 1 or 2 parameters!", TYPE_NONE, napi_generic_failure); in SendKeyFunction()
259 …ils::ThrowException(env, IMFErrorCode::EXCEPTION_PARAMCHECK, "please check the params", TYPE_NONE); in DeleteForwardSync()
267 JsUtils::ThrowException(env, JsUtils::Convert(ret), "failed to delete forward", TYPE_NONE); in DeleteForwardSync()
276 … PARAM_CHECK_RETURN(env, argc > 0, "should 1 or 2 parameters!", TYPE_NONE, napi_generic_failure); in DeleteForward()
[all …]
Djs_panel.cpp102 PARAM_CHECK_RETURN(env, argc >= 1, "should 1 or 2 parameters!", TYPE_NONE, status); in SetUiContent()
143 PARAM_CHECK_RETURN(env, argc > 1, "should 2 or 3 parameters!", TYPE_NONE, status); in Resize()
173 PARAM_CHECK_RETURN(env, argc > 1, " should 2 or 3 parameters! ", TYPE_NONE, status); in MoveTo()
238 PARAM_CHECK_RETURN(env, argc > 0, " should 1 parameter! ", TYPE_NONE, nullptr); in ChangeFlag()
286 …ils::ThrowException(env, IMFErrorCode::EXCEPTION_PARAMCHECK, "please check the params", TYPE_NONE); in UnSubscribe()
Djs_input_method_engine_setting.cpp351 … PARAM_CHECK_RETURN(env, argc >= 2, "should has 2 or 3 parameters!", TYPE_NONE, napi_invalid_arg); in CreatePanel()
399 PARAM_CHECK_RETURN(env, argc >= 1, "should has 1 parameters!", TYPE_NONE, napi_invalid_arg); in DestroyPanel()
/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/
Djs_get_input_method_controller.cpp343 …ils::ThrowException(env, IMFErrorCode::EXCEPTION_PARAMCHECK, "please check the params", TYPE_NONE); in Subscribe()
349 …ils::ThrowException(env, IMFErrorCode::EXCEPTION_DETACHED, "need to be attached first", TYPE_NONE); in Subscribe()
526 … PARAM_CHECK_RETURN(env, argc > 1, "should 2 or 3 parameters!", TYPE_NONE, napi_generic_failure); in Attach()
528 … PARAM_CHECK_RETURN(env, ret, "paramters of attach is error. ", TYPE_NONE, napi_generic_failure); in Attach()
567 … PARAM_CHECK_RETURN(env, argc > 0, "should 1 or 2 parameters!", TYPE_NONE, napi_generic_failure); in SetCallingWindow()
570 …HECK_RETURN(env, status == napi_ok, "paramters of setCallingWindow is error. ", TYPE_NONE, status); in SetCallingWindow()
597 … PARAM_CHECK_RETURN(env, argc > 0, "should 1 or 2 parameters!", TYPE_NONE, napi_generic_failure); in UpdateCursor()
600 …PARAM_CHECK_RETURN(env, ret, "paramters of updateCursor is error. ", TYPE_NONE, napi_generic_failu… in UpdateCursor()
619 … PARAM_CHECK_RETURN(env, argc > 2, "should 3 or 4 parameters!", TYPE_NONE, napi_generic_failure); in ChangeSelection()
623 …PARAM_CHECK_RETURN(env, ret, "paramters of changeSelection is error. ", TYPE_NONE, napi_generic_fa… in ChangeSelection()
[all …]
Djs_input_method.cpp72 TYPE_NONE, napi_invalid_arg); in GetInputMethodProperty()
213 PARAM_CHECK_RETURN(env, argc > 0, "should has 1 parameters!", TYPE_NONE, napi_invalid_arg); in SwitchInputMethod()
275 … PARAM_CHECK_RETURN(env, argc > 0, "should has one parameter. ", TYPE_NONE, napi_invalid_arg); in SwitchCurrentInputMethodSubtype()
313 PARAM_CHECK_RETURN(env, argc > 1, "should has two parameter.", TYPE_NONE, napi_invalid_arg); in SwitchCurrentInputMethodAndSubtype()
Djs_utils.h51 TYPE_NONE = 0, enumerator
Djs_get_input_method_setting.cpp176 TYPE_NONE, napi_invalid_arg); in GetInputMethodProperty()
214 PARAM_CHECK_RETURN(env, argc > 0, "should has one parameter.", TYPE_NONE, napi_invalid_arg); in GetInputMethods()
297 PARAM_CHECK_RETURN(env, argc > 0, "should has one parameter.", TYPE_NONE, napi_invalid_arg); in ListInputMethodSubtype()
412 JsUtils::ThrowException(env, errCode, "", TYPE_NONE); in Subscribe()
Djs_utils.cpp90 if (type == TypeCode::TYPE_NONE) { in ThrowException()
/base/notification/distributed_notification_service/frameworks/js/napi/src/
Dconstant.cpp215 SetNamedPropertyByInteger(env, obj, (int32_t)DoNotDisturbType::TYPE_NONE, "TYPE_NONE"); in DoNotDisturbTypeInit()
274 SetNamedPropertyByInteger(env, obj, (int32_t)NotificationFlagStatus::TYPE_NONE, "TYPE_NONE"); in NotificationFlagTypeInit()
Dcommon.cpp1388 DoNotDisturbType outType = DoNotDisturbType::TYPE_NONE; in SetDoNotDisturbDate()
4511 case DoNotDisturbType::TYPE_NONE: in DoNotDisturbTypeJSToC()
4534 outType = DoNotDisturbType::TYPE_NONE; in DoNotDisturbTypeCToJS()
/base/notification/distributed_notification_service/frameworks/js/napi/include/
Dcommon.h107 TYPE_NONE, TYPE_ONCE, enumerator
125 TYPE_NONE, enumerator