Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimodalinput/input/frameworks/napi/pointer/src/
H A Djs_pointer_context.cpp226 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "color", "number"); in SetPointerColor()
231 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "color", "number"); in SetPointerColor()
279 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "color", "number"); in SetPointerColorSync()
284 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "color", "number"); in SetPointerColorSync()
312 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "speed", "number"); in SetPointerSpeed()
317 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "speed", "number"); in SetPointerSpeed()
408 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "rows", "number"); in SetMouseScrollRows()
413 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "rows", "number"); in SetMouseScrollRows()
466 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "x", "number"); in SetPointerLocation()
471 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "x", "number"); in SetPointerLocation()
[all …]
/ohos5.0/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()
92THROWERR_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()
118THROWERR_API9(env, COMMON_PARAMETER_ERROR, "value of infraredFrequency", "must be greater than 0"); in ParseTransmitInfraredJSParam()
126THROWERR_API9(env, COMMON_PARAMETER_ERROR, "size of pattern", "must be less than or equal 50"); in ParseTransmitInfraredJSParam()
140THROWERR_API9(env, COMMON_PERMISSION_CHECK_ERROR, "Infrared", "ohos.permission.MANAGE_INPUT_INFRAR… in ThrowError()
142THROWERR_API9(env, COMMON_USE_SYSAPI_ERROR, "Infrared", "Non system applications use system API"); in ThrowError()
[all …]
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_device/src/
H A Djs_input_device_context.cpp152 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "type", "string"); in On()
167 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "listener", "function"); in On()
191 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "type", "string"); in Off()
288 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "deviceId", "number"); in SupportKeys()
296 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "keys", "array"); in SupportKeys()
349 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "deviceId", "number"); in SupportKeysSync()
357 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "keys", "array"); in SupportKeysSync()
402 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "deviceId", "number"); in GetKeyboardType()
437 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "deviceId", "number"); in GetKeyboardTypeSync()
544 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "delay", "number"); in SetKeyboardRepeatDelay()
[all …]
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_event_client/src/
H A Djs_register_module.cpp98 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "KeyEvent", "object"); in InjectEvent()
111 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "KeyEvent", "object"); in InjectEvent()
137 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "keyEvent", "object"); in InjectKeyEvent()
150 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "keyEvent", "object"); in InjectKeyEvent()
266 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "mouseEvent", "object"); in InjectMouseEvent()
279 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "mouseEvent", "object"); in InjectMouseEvent()
339 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "touch", "object"); in HandleTouchProperty()
416 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "touchEvent", "object"); in InjectTouchEvent()
429 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "touchEvent", "object"); in InjectTouchEvent()
458 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "type", "boolean"); in PermitInjection()
H A Djs_register_util.cpp43 THROWERR_API9(env, COMMON_PARAMETER_ERROR, name.c_str(), "bool"); in GetNamedPropertyBool()
103 THROWERR_API9(env, COMMON_PARAMETER_ERROR, name.c_str(), "int"); in GetNamedPropertyInt64()
132 THROWERR_API9(env, COMMON_PARAMETER_ERROR, name.c_str(), "double"); in GetNamedPropertyDouble()
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_consumer/src/
H A Djs_register_module.cpp60THROWERR_API9(env, COMMON_PERMISSION_CHECK_ERROR, "shiled API", "ohos.permission.INPUT_CONTROL_DIS… in ThrowError()
77 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "type", "string"); in GetEventInfoAPI9()
82 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "keyOptions", "object"); in GetEventInfoAPI9()
167 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "callback", "function"); in GetEventInfoAPI9()
354 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "shieldMode", "number"); in SetShieldStatus()
359 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "shieldMode", "number"); in SetShieldStatus()
372 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "isShield", "boolean"); in SetShieldStatus()
396 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "shieldMode", "number"); in GetShieldStatus()
401 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "shieldMode", "number"); in GetShieldStatus()
H A Djs_register_util.cpp57 THROWERR_API9(env, COMMON_PARAMETER_ERROR, name.c_str(), "bool"); in GetNamedPropertyBool()
76 THROWERR_API9(env, COMMON_PARAMETER_ERROR, name.c_str(), "number"); in GetNamedPropertyInt32()
/ohos5.0/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()
166 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "delay", "number"); in SetKeyDownDuration()
177 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "callback", "function"); in SetKeyDownDuration()
/ohos5.0/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()
119 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "EventType", "string"); in AddMonitor()
186 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "EventType", "string"); in JsOffApi9()
228 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "EventType", "string"); in RemoveMonitor()
H A Djs_input_monitor_manager.cpp297THROWERR_API9(env, COMMON_PERMISSION_CHECK_ERROR, "monitor", "ohos.permission.INPUT_MONITORING"); in ThrowError()
/ohos5.0/foundation/multimodalinput/input/util/napi/include/
H A Dutil_napi_error.h64 #define THROWERR_API9(env, code, param1, param2) \ macro