Home
last modified time | relevance | path

Searched refs:COMMON_PARAMETER_ERROR (Results 1 - 21 of 21) sorted by relevance

/foundation/multimodalinput/input/frameworks/napi/input_monitor/src/
H A Djs_input_monitor_module.cpp55 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "EventType", "string"); in JsOnApi9()
62 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()
126 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "EventType", "string"); in AddMonitor()
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, "Thir in AddMonitor()
[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_, COMMON_PARAMETER_ERROR, "Nap 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()
43 THROWERR_API9(env, COMMON_PARAMETER_ERROR, name.c_str(), "bool"); 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()
103 THROWERR_API9(env, COMMON_PARAMETER_ERROR, name.c_str(), "int"); in GetNamedPropertyInt64()
122 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Invalid value"); in GetNamedPropertyDouble()
132 THROWERR_API9(env, COMMON_PARAMETER_ERROR, name.c_str(), "double"); 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()
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()
179 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "KeyEvent", "object"); in InjectEvent()
186 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "KeyEvent not found"); in InjectEvent()
192 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "KeyEvent", "object"); in InjectEvent()
218 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "parameter number error"); in InjectKeyEvent()
225 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "keyEven in InjectKeyEvent()
[all...]
/foundation/multimodalinput/input/frameworks/napi/input_device/src/
H A Djs_input_device_context.cpp156 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Parameter count error"); in On()
161 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "type", "string"); in On()
171 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "type must be change"); in On()
176 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "listener", "function"); in On()
195 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Parameter count error"); in Off()
200 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "type", "string"); in Off()
210 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "type must be change"); in Off()
223 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "listener", "function"); in Off()
291 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Parameter count error"); in SupportKeys()
297 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "deviceI in SupportKeys()
[all...]
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(env, COMMON_PARAMETER_ERROR, "Invali in SetKeyboardRepeatDelay()
[all...]
H A Djs_util.cpp234 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "parameter", "number"); in ParseDouble()
239 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "parameter", "double"); in ParseDouble()
259 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "element", "number"); in ParseInt32()
264 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "element", "int32_t"); in ParseInt32()
274 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "element", "string"); in ParseString()
281 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "element", "char[]"); in ParseString()
291 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "element", "boolean"); in ParseBool()
296 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "element", "bool"); in ParseBool()
/foundation/multimodalinput/input/frameworks/napi/pointer/src/
H A Djs_pointer_context.cpp137 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "visible", "boolean"); in SetPointerVisible()
142 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "visible", "boolean"); in SetPointerVisible()
156 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "callback", "function"); in SetPointerVisible()
170 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "visible", "boolean"); in SetPointerVisibleSync()
175 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "visible", "boolean"); in SetPointerVisibleSync()
202 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "callback", "function"); in IsPointerVisible()
226 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "color", "number"); in SetPointerColor()
231 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "color", "number"); in SetPointerColor()
244 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "callback", "function"); in SetPointerColor()
264 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "callbac in GetPointerColor()
[all...]
/foundation/multimodalinput/input/frameworks/napi/infrared_emitter/src/
H A Djs_register_module.cpp59 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "element of pattern", "Number"); in ParseInt64()
64 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "element of pattern", "Int64"); in ParseInt64()
75 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "pattern", "Array"); in ParsePatternArray()
88 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "element of pattern", "Int64"); in ParsePatternArray()
92 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "value for element of pattern", "must be positive"); in ParsePatternArray()
113 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "infraredFrequency", "number"); in ParseTransmitInfraredJSParam()
118 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "value of infraredFrequency", "must be greater than 0"); in ParseTransmitInfraredJSParam()
126 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "size of pattern", "must be less than or equal 50"); in ParseTransmitInfraredJSParam()
168 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "type", "boolean"); in HasIrEmitter()
215 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Pars in TransmitInfrared()
[all...]
/foundation/multimodalinput/input/util/napi/include/
H A Dutil_napi_error.h41 COMMON_PARAMETER_ERROR = 401,
51 { COMMON_PARAMETER_ERROR, { COMMON_PARAMETER_ERROR, "Parameter error. The type of %s must be %s." } },
/foundation/multimodalinput/input/frameworks/napi/input_consumer/src/
H A Djs_register_module.cpp98 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(env, COMMON_PARAMETER_ERROR, "finalKeyDownDuration must be greater than or equal to 0"); in GetEventInfoAPI9()
433 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "AddEventCallbac in SubscribeHotkey()
[all...]
H A Djs_register_util.cpp74 THROWERR_API9(env, COMMON_PARAMETER_ERROR, name.c_str(), "bool"); in GetNamedPropertyBool()
99 THROWERR_API9(env, COMMON_PARAMETER_ERROR, name.c_str(), "number"); in GetNamedPropertyInt32()
123 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/frameworks/napi/short_key/src/
H A Djs_short_key_context.cpp139 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "businessId", "string"); in SetKeyDownDuration()
144 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "businessId", "string"); in SetKeyDownDuration()
153 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "businessId is invalid"); in SetKeyDownDuration()
161 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "Delay is invalid"); in SetKeyDownDuration()
166 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "delay", "number"); in SetKeyDownDuration()
177 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "callback", "function"); in SetKeyDownDuration()
H A Djs_short_key_manager.cpp160 } else if (ret == COMMON_PARAMETER_ERROR) { in SetKeyDownDuration()
162 THROWERR_CUSTOM(env, COMMON_PARAMETER_ERROR, "param is invalid"); in SetKeyDownDuration()
/foundation/multimodalinput/input/service/device_manager/test/
H A Dinput_device_manager_test.cpp997 int32_t COMMON_PARAMETER_ERROR = 401; in HWTEST_F() local
1001 EXPECT_EQ(ret, COMMON_PARAMETER_ERROR); in HWTEST_F()
1009 EXPECT_EQ(ret, COMMON_PARAMETER_ERROR); in HWTEST_F()
1014 EXPECT_EQ(ret, COMMON_PARAMETER_ERROR); in HWTEST_F()
1020 EXPECT_EQ(ret, COMMON_PARAMETER_ERROR); in HWTEST_F()
/foundation/multimodalinput/input/service/device_manager/src/
H A Dinput_device_manager.cpp50 constexpr int32_t COMMON_PARAMETER_ERROR { 401 };
179 return COMMON_PARAMETER_ERROR; in SupportKeys()
292 return COMMON_PARAMETER_ERROR; in GetKeyboardType()
/foundation/multimodalinput/input/intention/cooperate/client/src/
H A Dcooperate_client.cpp218 CHKPR(listener, COMMON_PARAMETER_ERROR); in RegisterEventListener()
/foundation/multimodalinput/input/service/key_command/test/
H A Dkey_command_handler_test.cpp46 constexpr int32_t COMMON_PARAMETER_ERROR = 401; member
1626 ASSERT_EQ(COMMON_PARAMETER_ERROR, eventKeyCommandHandler.UpdateSettingsXml(businessId, delay));
1628 ASSERT_EQ(COMMON_PARAMETER_ERROR, eventKeyCommandHandler.UpdateSettingsXml(businessId, delay));
1630 ASSERT_EQ(COMMON_PARAMETER_ERROR, eventKeyCommandHandler.UpdateSettingsXml(businessId, delay));
1703 ASSERT_EQ(COMMON_PARAMETER_ERROR, eventKeyCommandHandler.UpdateSettingsXml(businessId, delay));
1705 ASSERT_EQ(COMMON_PARAMETER_ERROR, eventKeyCommandHandler.UpdateSettingsXml(businessId, delay));
1720 ASSERT_EQ(COMMON_PARAMETER_ERROR, eventKeyCommandHandler.UpdateSettingsXml(businessId, delay));
2301 ASSERT_EQ(handler.UpdateSettingsXml("", 100), COMMON_PARAMETER_ERROR);
2302 ASSERT_EQ(handler.UpdateSettingsXml("businessId", 100), COMMON_PARAMETER_ERROR);
2304 ASSERT_EQ(handler.UpdateSettingsXml("businessId3", 100), COMMON_PARAMETER_ERROR);
[all...]
/foundation/multimodalinput/input/service/module_loader/src/
H A Dmmi_service.cpp120 constexpr int32_t COMMON_PARAMETER_ERROR { 401 };
467 return COMMON_PARAMETER_ERROR; in HandleKeyInjectEventHelper()
1645 return COMMON_PARAMETER_ERROR; in OnGetDevice()
3368 return COMMON_PARAMETER_ERROR; in OnSetMotionSpace()
/foundation/multimodalinput/input/service/window_manager/src/
H A Dinput_windows_manager.cpp84 constexpr int32_t COMMON_PARAMETER_ERROR { 401 };
1830 return COMMON_PARAMETER_ERROR; in UpdateDisplayInfo()
1841 return COMMON_PARAMETER_ERROR; in UpdateDisplayInfo()

Completed in 38 milliseconds