Home
last modified time | relevance | path

Searched refs:THROWERR_CUSTOM (Results 1 - 15 of 15) sorted by relevance

/foundation/multimodalinput/input/frameworks/napi/input_monitor/src/
H A Djs_input_monitor_module.cpp62 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "EventType is invalid"); in JsOnApi9()
74 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Second Parameter type error"); in JsOnApi9()
93 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Hot Rect Area Parameter error"); in AddMouseMonitor()
105 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Third Parameter type error"); in AddMouseMonitor()
133 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "EventType is invalid"); in AddMonitor()
141 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Second Parameter type error"); in AddMonitor()
147 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "fingers is invalid"); in AddMonitor()
153 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Third Parameter type error"); in AddMonitor()
173 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "parameter number error"); in JsOn()
201 THROWERR_CUSTOM(en in JsOffApi9()
[all...]
H A Djs_input_monitor_manager.cpp309 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Maximum number of listeners exceeded for a single process"); in ThrowError()
328 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "left not found"); in GetHotRectAreaList()
337 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "top not found"); in GetHotRectAreaList()
346 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "width not found"); in GetHotRectAreaList()
355 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "height not found"); in GetHotRectAreaList()
362 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Rect parameter can't be negative"); in GetHotRectAreaList()
H A Djs_input_monitor.cpp986 THROWERR_CUSTOM(jsEnv_, COMMON_PARAMETER_ERROR, "napi_create_array is failed"); in GetJoystickPressedButtons()
994 THROWERR_CUSTOM(jsEnv_, COMMON_PARAMETER_ERROR, "Napi create int32 failed"); in GetJoystickPressedButtons()
999 THROWERR_CUSTOM(jsEnv_, COMMON_PARAMETER_ERROR, "Napi set element failed"); in GetJoystickPressedButtons()
1005 THROWERR_CUSTOM(jsEnv_, COMMON_PARAMETER_ERROR, "Set property of pressedButtons failed"); in GetJoystickPressedButtons()
1070 THROWERR_CUSTOM(jsEnv_, COMMON_PARAMETER_ERROR, "napi_create_array is failed"); in GetJoystickPointerItem()
1076 THROWERR_CUSTOM(jsEnv_, COMMON_PARAMETER_ERROR, "Set property of id failed"); in GetJoystickPointerItem()
1089 THROWERR_CUSTOM(jsEnv_, COMMON_PARAMETER_ERROR, "napi_create_object is failed"); in GetJoystickPointerItem()
1094 THROWERR_CUSTOM(jsEnv_, COMMON_PARAMETER_ERROR, "Set property of axis failed"); in GetJoystickPointerItem()
1098 THROWERR_CUSTOM(jsEnv_, COMMON_PARAMETER_ERROR, "Set property of value failed"); in GetJoystickPointerItem()
1104 THROWERR_CUSTOM(jsEnv in GetJoystickPointerItem()
[all...]
/foundation/multimodalinput/input/frameworks/napi/input_event_client/src/
H A Djs_register_util.cpp36 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Invalid KeyEvent"); in GetNamedPropertyBool()
61 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Invalid KeyEvent"); in GetNamedPropertyInt32()
73 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Invalid KeyEvent"); in GetNamedPropertyInt32()
93 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Invalid KeyEvent"); in GetNamedPropertyInt64()
122 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Invalid value"); in GetNamedPropertyDouble()
H A Djs_register_module.cpp96 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "keyDownDuration must be greater than or equal to 0"); in GetInjectionEventDataNative()
108 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "keyCode must be greater than or equal to 0"); in GetInjectionEventDataNative()
117 THROWERR_CUSTOM(env, result, "Error while injecting KeyEvent with native api"); in GetInjectionEventDataNative()
140 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "keyDownDuration must be greater than or equal to 0");
148 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "keyCode must be greater than or equal to 0");
172 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "parameter number error"); in InjectEvent()
186 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "KeyEvent not found"); in InjectEvent()
218 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "parameter number error"); in InjectKeyEvent()
232 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "keyEvent not found"); in InjectKeyEvent()
263 THROWERR_CUSTOM(en in HandleMouseButton()
[all...]
/foundation/multimodalinput/input/frameworks/napi/input_device/src/
H A Djs_input_device_manager.cpp71 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Invalid input device id"); in SupportKeys()
96 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Invalid input device id"); in SupportKeysSync()
110 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Invalid input device id"); in GetKeyboardType()
120 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Get keyboard type fail"); in GetKeyboardTypeSyncCallback()
133 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Invalid input device id"); in GetKeyboardTypeSync()
158 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Invalid input device id"); in GetDeviceInfo()
169 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "create object fail"); in GetDeviceInfoSyncCallback()
176 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "GetDeviceInfo fail"); in GetDeviceInfoSyncCallback()
192 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Invalid input device id"); in GetDeviceInfoSync()
206 THROWERR_CUSTOM(en in SetKeyboardRepeatDelay()
[all...]
H A Djs_input_device_context.cpp156 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Parameter count error"); in On()
171 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "type must be change"); in On()
195 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Parameter count error"); in Off()
210 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "type must be change"); in Off()
291 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Parameter count error"); in SupportKeys()
312 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "size range error"); in SupportKeys()
352 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Parameter count error"); in SupportKeysSync()
373 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "size range error"); in SupportKeysSync()
406 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Parameter count error"); in GetKeyboardType()
441 THROWERR_CUSTOM(en in GetKeyboardTypeSync()
[all...]
/foundation/multimodalinput/input/frameworks/napi/input_consumer/src/
H A Djs_register_module.cpp77 THROWERR_CUSTOM(env, COMMON_USE_SYSAPI_ERROR, "Non system applications use system API"); in ThrowError()
98 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "PreKeys not found"); in GetHotkeyEventInfo()
108 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "PreKeys size invalid"); in GetHotkeyEventInfo()
118 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "PreKeys size invalid"); in GetHotkeyEventInfo()
133 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "FinalKey must be greater than or equal to 0"); in GetHotkeyEventInfo()
139 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "FinalKey is not expect"); in GetHotkeyEventInfo()
184 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "preKeys not found"); in GetEventInfoAPI9()
194 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "preKeys size invalid"); in GetEventInfoAPI9()
213 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "finalKey must be greater than or equal to 0"); in GetEventInfoAPI9()
238 THROWERR_CUSTOM(en in GetEventInfoAPI9()
[all...]
H A Djs_register_util.cpp123 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "element of preKeys must be number"); in GetPreKeys()
130 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "element of preKeys must be greater than or equal to 0"); in GetPreKeys()
/foundation/multimodalinput/input/util/napi/include/
H A Dutil_napi_error.h54 #define THROWERR_CUSTOM(env, code, msg) \ macro
73 THROWERR_CUSTOM(env, code, buf); \
/foundation/multimodalinput/input/frameworks/napi/pointer/src/
H A Djs_pointer_manager.cpp225 THROWERR_CUSTOM(env, COMMON_USE_SYSAPI_ERROR, "Non system applications use system API"); in SetPointerColor()
252 THROWERR_CUSTOM(env, COMMON_USE_SYSAPI_ERROR, "Non system applications use system API"); in GetPointerColor()
277 THROWERR_CUSTOM(env, COMMON_USE_SYSAPI_ERROR, "Non system applications use system API"); in SetPointerColorSync()
296 THROWERR_CUSTOM(env, COMMON_USE_SYSAPI_ERROR, "Non system applications use system API"); in GetPointerColorSync()
372 THROWERR_CUSTOM(env, COMMON_USE_SYSAPI_ERROR, "Non system applications use system API"); in SetMouseScrollRows()
399 THROWERR_CUSTOM(env, COMMON_USE_SYSAPI_ERROR, "Non system applications use system API"); in GetMouseScrollRows()
426 THROWERR_CUSTOM(env, COMMON_USE_SYSAPI_ERROR, "Non system applications use system API"); in SetPointerLocation()
452 THROWERR_CUSTOM(env, COMMON_USE_SYSAPI_ERROR, "Non system applications use system API"); in SetCustomCursor()
482 THROWERR_CUSTOM(env, COMMON_USE_SYSAPI_ERROR, "Non system applications use system API"); in SetPointerSize()
509 THROWERR_CUSTOM(en in GetPointerSize()
[all...]
H A Djs_pointer_context.cpp478 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "x is invalid"); in SetPointerLocation()
490 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "y is invalid"); in SetPointerLocation()
530 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "pixelMap is invalid"); in SetCustomCursor()
579 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "pixelMap is invalid"); in SetCustomCursorSync()
613 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "parameter number error"); in SetMoveEventFilters()
619 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "parameter type error"); in SetMoveEventFilters()
642 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Windowid is invalid"); in GetWindowId()
657 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "focusX is invalid"); in GetCursorFocusX()
672 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "focusY is invalid"); in GetCursorFocusY()
794 THROWERR_CUSTOM(en in SetPointerStyle()
[all...]
/foundation/multimodalinput/input/frameworks/napi/short_key/src/
H A Djs_short_key_manager.cpp158 THROWERR_CUSTOM(env, COMMON_USE_SYSAPI_ERROR, "Non system applications use system API"); in SetKeyDownDuration()
162 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "param is invalid"); in SetKeyDownDuration()
H A Djs_short_key_context.cpp153 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "businessId is invalid"); in SetKeyDownDuration()
161 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Delay is invalid"); in SetKeyDownDuration()
/foundation/multimodalinput/input/frameworks/napi/infrared_emitter/src/
H A Djs_register_module.cpp215 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Parse TransmitInfrared JSParam error"); in TransmitInfrared()

Completed in 15 milliseconds