Home
last modified time | relevance | path

Searched refs:state (Results 1 - 25 of 3209) sorted by relevance

12345678910>>...129

/device/soc/rockchip/rk3588/kernel/drivers/staging/android/fiq_debugger/
H A Dfiq_debugger.c172 void fiq_debugger_enable_wakeup_irq(struct fiq_debugger_state *state) {} in fiq_debugger_enable_wakeup_irq() argument
174 void fiq_debugger_disable_wakeup_irq(struct fiq_debugger_state *state) {} in fiq_debugger_disable_wakeup_irq() argument
177 void fiq_debugger_enable_wakeup_irq(struct fiq_debugger_state *state) in fiq_debugger_enable_wakeup_irq() argument
179 if (state->wakeup_irq < 0) in fiq_debugger_enable_wakeup_irq()
181 enable_irq(state->wakeup_irq); in fiq_debugger_enable_wakeup_irq()
182 if (!state->wakeup_irq_no_set_wake) in fiq_debugger_enable_wakeup_irq()
183 enable_irq_wake(state->wakeup_irq); in fiq_debugger_enable_wakeup_irq()
186 void fiq_debugger_disable_wakeup_irq(struct fiq_debugger_state *state) in fiq_debugger_disable_wakeup_irq() argument
188 if (state->wakeup_irq < 0) in fiq_debugger_disable_wakeup_irq()
190 disable_irq_nosync(state in fiq_debugger_disable_wakeup_irq()
196 fiq_debugger_have_fiq(struct fiq_debugger_state *state) fiq_debugger_have_fiq() argument
201 fiq_debugger_force_irq(struct fiq_debugger_state *state) fiq_debugger_force_irq() argument
218 fiq_debugger_uart_enable(struct fiq_debugger_state *state) fiq_debugger_uart_enable() argument
226 fiq_debugger_uart_disable(struct fiq_debugger_state *state) fiq_debugger_uart_disable() argument
234 fiq_debugger_uart_flush(struct fiq_debugger_state *state) fiq_debugger_uart_flush() argument
240 fiq_debugger_putc(struct fiq_debugger_state *state, char c) fiq_debugger_putc() argument
246 fiq_debugger_puts(struct fiq_debugger_state *state, char *s) fiq_debugger_puts() argument
256 fiq_debugger_prompt(struct fiq_debugger_state *state) fiq_debugger_prompt() argument
262 fiq_debugger_dump_kernel_log(struct fiq_debugger_state *state) fiq_debugger_dump_kernel_log() argument
282 struct fiq_debugger_state *state; fiq_debugger_printf() local
298 struct fiq_debugger_state *state = cookie; fiq_debugger_printf_nfiq() local
315 fiq_debugger_dump_irqs(struct fiq_debugger_state *state) fiq_debugger_dump_irqs() argument
337 fiq_debugger_do_ps(struct fiq_debugger_state *state) fiq_debugger_do_ps() argument
364 fiq_debugger_begin_syslog_dump(struct fiq_debugger_state *state) fiq_debugger_begin_syslog_dump() argument
369 fiq_debugger_end_syslog_dump(struct fiq_debugger_state *state) fiq_debugger_end_syslog_dump() argument
375 fiq_debugger_begin_syslog_dump(struct fiq_debugger_state *state) fiq_debugger_begin_syslog_dump() argument
380 fiq_debugger_end_syslog_dump(struct fiq_debugger_state *state) fiq_debugger_end_syslog_dump() argument
388 fiq_debugger_do_sysrq(struct fiq_debugger_state *state, char rq) fiq_debugger_do_sysrq() argument
401 fiq_debugger_do_kgdb(struct fiq_debugger_state *state) fiq_debugger_do_kgdb() argument
414 fiq_debugger_schedule_work(struct fiq_debugger_state *state, char *cmd) fiq_debugger_schedule_work() argument
434 struct fiq_debugger_state *state; fiq_debugger_work() local
464 fiq_debugger_irq_exec(struct fiq_debugger_state *state, char *cmd) fiq_debugger_irq_exec() argument
533 fiq_debugger_help(struct fiq_debugger_state *state) fiq_debugger_help() argument
573 fiq_debugger_take_affinity(struct fiq_debugger_state *state, int cpu) fiq_debugger_take_affinity() argument
582 fiq_debugger_take_affinity(struct fiq_debugger_state *state, int cpu) fiq_debugger_take_affinity() argument
587 fiq_debugger_switch_cpu(struct fiq_debugger_state *state, int cpu) fiq_debugger_switch_cpu() argument
623 fiq_debugger_fiq_exec(struct fiq_debugger_state *state, const char *cmd, const struct pt_regs *regs, void *svc_sp) fiq_debugger_fiq_exec() argument
721 struct fiq_debugger_state *state = from_timer(state, t, sleep_timer); fiq_debugger_sleep_timer_expired() local
740 fiq_debugger_handle_wakeup(struct fiq_debugger_state *state) fiq_debugger_handle_wakeup() argument
759 struct fiq_debugger_state *state = dev; fiq_debugger_wakeup_irq_handler() local
769 fiq_debugger_handle_console_irq_context(struct fiq_debugger_state *state) fiq_debugger_handle_console_irq_context() argument
786 fiq_debugger_handle_irq_context(struct fiq_debugger_state *state) fiq_debugger_handle_irq_context() argument
805 fiq_debugger_getc(struct fiq_debugger_state *state) fiq_debugger_getc() argument
813 fiq_debugger_cmd_check_back(struct fiq_debugger_state *state, char c) fiq_debugger_cmd_check_back() argument
872 fiq_debugger_cmd_tab(struct fiq_debugger_state *state) fiq_debugger_cmd_tab() argument
912 fiq_debugger_handle_uart_interrupt(struct fiq_debugger_state *state, int this_cpu, const struct pt_regs *regs, void *svc_sp) fiq_debugger_handle_uart_interrupt() argument
1063 struct fiq_debugger_state *state = fiq_debugger_fiq() local
1078 struct fiq_debugger_state *state = state_tf; fiq_debugger_fiq() local
1099 struct fiq_debugger_state *state = dev; fiq_debugger_uart_irq() local
1121 struct fiq_debugger_state *state = dev; fiq_debugger_signal_irq() local
1134 struct fiq_debugger_state *state = fiq_debugger_resume() local
1151 struct fiq_debugger_state *state; fiq_debugger_console_write() local
1189 struct fiq_debugger_state *state = states[line]; fiq_tty_open() local
1204 struct fiq_debugger_state *state = states[line]; fiq_tty_write() local
1233 struct fiq_debugger_state *state = states[line]; fiq_tty_poll_get_char() local
1256 struct fiq_debugger_state *state = states[line]; fiq_tty_poll_put_char() local
1268 struct fiq_debugger_state *state; fiq_tty_proc_show() local
1354 fiq_debugger_tty_init_one(struct fiq_debugger_state *state) fiq_debugger_tty_init_one() argument
1396 struct fiq_debugger_state *state = platform_get_drvdata(pdev); fiq_debugger_dev_suspend() local
1406 struct fiq_debugger_state *state = platform_get_drvdata(pdev); fiq_debugger_dev_resume() local
1417 struct fiq_debugger_state *state; fiq_debugger_probe() local
[all...]
/device/soc/rockchip/common/vendor/drivers/staging/android/fiq_debugger/
H A Dfiq_debugger.c171 static inline void fiq_debugger_enable_wakeup_irq(struct fiq_debugger_state *state) in fiq_debugger_enable_wakeup_irq() argument
174 static inline void fiq_debugger_disable_wakeup_irq(struct fiq_debugger_state *state) in fiq_debugger_disable_wakeup_irq() argument
178 static inline void fiq_debugger_enable_wakeup_irq(struct fiq_debugger_state *state) in fiq_debugger_enable_wakeup_irq() argument
180 if (state->wakeup_irq < 0) { in fiq_debugger_enable_wakeup_irq()
183 enable_irq(state->wakeup_irq); in fiq_debugger_enable_wakeup_irq()
184 if (!state->wakeup_irq_no_set_wake) { in fiq_debugger_enable_wakeup_irq()
185 enable_irq_wake(state->wakeup_irq); in fiq_debugger_enable_wakeup_irq()
188 static inline void fiq_debugger_disable_wakeup_irq(struct fiq_debugger_state *state) in fiq_debugger_disable_wakeup_irq() argument
190 if (state->wakeup_irq < 0) { in fiq_debugger_disable_wakeup_irq()
193 disable_irq_nosync(state in fiq_debugger_disable_wakeup_irq()
200 fiq_debugger_have_fiq(struct fiq_debugger_state *state) fiq_debugger_have_fiq() argument
206 fiq_debugger_force_irq(struct fiq_debugger_state *state) fiq_debugger_force_irq() argument
229 fiq_debugger_uart_enable(struct fiq_debugger_state *state) fiq_debugger_uart_enable() argument
239 fiq_debugger_uart_disable(struct fiq_debugger_state *state) fiq_debugger_uart_disable() argument
249 fiq_debugger_uart_flush(struct fiq_debugger_state *state) fiq_debugger_uart_flush() argument
256 fiq_debugger_putc(struct fiq_debugger_state *state, char c) fiq_debugger_putc() argument
263 fiq_debugger_puts(struct fiq_debugger_state *state, char *s) fiq_debugger_puts() argument
274 fiq_debugger_prompt(struct fiq_debugger_state *state) fiq_debugger_prompt() argument
280 fiq_debugger_dump_kernel_log(struct fiq_debugger_state *state) fiq_debugger_dump_kernel_log() argument
296 struct fiq_debugger_state *state; fiq_debugger_printf() local
311 struct fiq_debugger_state *state = cookie; fiq_debugger_printf_nfiq() local
328 fiq_debugger_dump_irqs(struct fiq_debugger_state *state) fiq_debugger_dump_irqs() argument
349 fiq_debugger_do_ps(struct fiq_debugger_state *state) fiq_debugger_do_ps() argument
377 fiq_debugger_begin_syslog_dump(struct fiq_debugger_state *state) fiq_debugger_begin_syslog_dump() argument
382 fiq_debugger_end_syslog_dump(struct fiq_debugger_state *state) fiq_debugger_end_syslog_dump() argument
388 fiq_debugger_begin_syslog_dump(struct fiq_debugger_state *state) fiq_debugger_begin_syslog_dump() argument
393 fiq_debugger_end_syslog_dump(struct fiq_debugger_state *state) fiq_debugger_end_syslog_dump() argument
401 fiq_debugger_do_sysrq(struct fiq_debugger_state *state, char rq) fiq_debugger_do_sysrq() argument
414 fiq_debugger_do_kgdb(struct fiq_debugger_state *state) fiq_debugger_do_kgdb() argument
427 fiq_debugger_schedule_work(struct fiq_debugger_state *state, char *cmd) fiq_debugger_schedule_work() argument
446 struct fiq_debugger_state *state; fiq_debugger_work() local
477 fiq_debugger_irq_exec(struct fiq_debugger_state *state, char *cmd) fiq_debugger_irq_exec() argument
537 fiq_debugger_help(struct fiq_debugger_state *state) fiq_debugger_help() argument
574 struct fiq_debugger_state *state = info; fiq_debugger_take_affinity() local
589 fiq_debugger_switch_cpu(struct fiq_debugger_state *state, int cpu) fiq_debugger_switch_cpu() argument
623 fiq_debugger_fiq_exec(struct fiq_debugger_state *state, const char *cmd, const struct pt_regs *regs, void *svc_sp) fiq_debugger_fiq_exec() argument
723 struct fiq_debugger_state *state = from_timer(state, t, sleep_timer); fiq_debugger_sleep_timer_expired() local
741 fiq_debugger_handle_wakeup(struct fiq_debugger_state *state) fiq_debugger_handle_wakeup() argument
760 struct fiq_debugger_state *state = dev; fiq_debugger_wakeup_irq_handler() local
770 fiq_debugger_handle_console_irq_context(struct fiq_debugger_state *state) fiq_debugger_handle_console_irq_context() argument
788 fiq_debugger_handle_irq_context(struct fiq_debugger_state *state) fiq_debugger_handle_irq_context() argument
808 fiq_debugger_getc(struct fiq_debugger_state *state) fiq_debugger_getc() argument
817 fiq_debugger_cmd_check_back(struct fiq_debugger_state *state, char c) fiq_debugger_cmd_check_back() argument
874 fiq_debugger_cmd_tab(struct fiq_debugger_state *state) fiq_debugger_cmd_tab() argument
918 fiq_debugger_handle_uart_interrupt(struct fiq_debugger_state *state, int this_cpu, const struct pt_regs *regs, void *svc_sp) fiq_debugger_handle_uart_interrupt() argument
1065 struct fiq_debugger_state *state = container_of(h, struct fiq_debugger_state, handler); fiq_debugger_fiq() local
1079 struct fiq_debugger_state *state = state_tf; fiq_debugger_fiq() local
1101 struct fiq_debugger_state *state = dev; fiq_debugger_uart_irq() local
1122 struct fiq_debugger_state *state = dev; fiq_debugger_signal_irq() local
1136 struct fiq_debugger_state *state = container_of(h, struct fiq_debugger_state, handler); fiq_debugger_resume() local
1152 struct fiq_debugger_state *state; fiq_debugger_console_write() local
1192 struct fiq_debugger_state *state = states[line]; fiq_tty_open() local
1207 struct fiq_debugger_state *state = states[line]; fiq_tty_write() local
1238 struct fiq_debugger_state *state = states[line]; fiq_tty_poll_get_char() local
1262 struct fiq_debugger_state *state = states[line]; fiq_tty_poll_put_char() local
1274 struct fiq_debugger_state *state; fiq_tty_proc_show() local
1359 fiq_debugger_tty_init_one(struct fiq_debugger_state *state) fiq_debugger_tty_init_one() argument
1400 struct fiq_debugger_state *state = platform_get_drvdata(pdev); fiq_debugger_dev_suspend() local
1411 struct fiq_debugger_state *state = platform_get_drvdata(pdev); fiq_debugger_dev_resume() local
1423 struct fiq_debugger_state *state; fiq_debugger_probe() local
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/
H A Ddrm_atomic_state_helper.c42 * DOC: atomic state reset and initialization
45 * and correct atomic software state for all connectors, CRTCs and planes
47 * suspend. One way to solve this is to have a hardware state read-out
48 * infrastructure which reconstructs the full software state (e.g. the i915
51 * The simpler solution is to just reset the software state to everything off,
55 * On the upside the precise state tracking of atomic simplifies system suspend
63 * __drm_atomic_helper_crtc_state_reset - reset the CRTC state
64 * @crtc_state: atomic CRTC state, must not be NULL
68 * values. This is useful for drivers that subclass the CRTC state.
77 * __drm_atomic_helper_crtc_reset - reset state o
129 __drm_atomic_helper_crtc_duplicate_state(struct drm_crtc *crtc, struct drm_crtc_state *state) __drm_atomic_helper_crtc_duplicate_state() argument
175 struct drm_crtc_state *state; drm_atomic_helper_crtc_duplicate_state() local
198 __drm_atomic_helper_crtc_destroy_state(struct drm_crtc_state *state) __drm_atomic_helper_crtc_destroy_state() argument
238 drm_atomic_helper_crtc_destroy_state(struct drm_crtc *crtc, struct drm_crtc_state *state) drm_atomic_helper_crtc_destroy_state() argument
314 __drm_atomic_helper_plane_duplicate_state(struct drm_plane *plane, struct drm_plane_state *state) __drm_atomic_helper_plane_duplicate_state() argument
337 struct drm_plane_state *state; drm_atomic_helper_plane_duplicate_state() local
360 __drm_atomic_helper_plane_destroy_state(struct drm_plane_state *state) __drm_atomic_helper_plane_destroy_state() argument
386 drm_atomic_helper_plane_destroy_state(struct drm_plane *plane, struct drm_plane_state *state) drm_atomic_helper_plane_destroy_state() argument
459 struct drm_connector_state *state = connector->state; drm_atomic_helper_connector_tv_reset() local
476 __drm_atomic_helper_connector_duplicate_state(struct drm_connector *connector, struct drm_connector_state *state) __drm_atomic_helper_connector_duplicate_state() argument
502 struct drm_connector_state *state; drm_atomic_helper_connector_duplicate_state() local
525 __drm_atomic_helper_connector_destroy_state(struct drm_connector_state *state) __drm_atomic_helper_connector_destroy_state() argument
551 drm_atomic_helper_connector_destroy_state(struct drm_connector *connector, struct drm_connector_state *state) drm_atomic_helper_connector_destroy_state() argument
566 __drm_atomic_helper_private_obj_duplicate_state(struct drm_private_obj *obj, struct drm_private_state *state) __drm_atomic_helper_private_obj_duplicate_state() argument
580 __drm_atomic_helper_bridge_duplicate_state(struct drm_bridge *bridge, struct drm_bridge_state *state) __drm_atomic_helper_bridge_duplicate_state() argument
624 drm_atomic_helper_bridge_destroy_state(struct drm_bridge *bridge, struct drm_bridge_state *state) drm_atomic_helper_bridge_destroy_state() argument
640 __drm_atomic_helper_bridge_reset(struct drm_bridge *bridge, struct drm_bridge_state *state) __drm_atomic_helper_bridge_reset() argument
[all...]
H A Ddrm_atomic_uapi.c55 * @state: the CRTC whose incoming state to update
58 * Set a mode (originating from the kernel) on the desired CRTC state and update
64 int drm_atomic_set_mode_for_crtc(struct drm_crtc_state *state, const struct drm_display_mode *mode) in drm_atomic_set_mode_for_crtc() argument
66 struct drm_crtc *crtc = state->crtc; in drm_atomic_set_mode_for_crtc()
70 if (mode && memcmp(&state->mode, mode, sizeof(*mode)) == 0) { in drm_atomic_set_mode_for_crtc()
74 drm_property_blob_put(state->mode_blob); in drm_atomic_set_mode_for_crtc()
75 state->mode_blob = NULL; in drm_atomic_set_mode_for_crtc()
79 state->mode_blob = drm_property_create_blob(state in drm_atomic_set_mode_for_crtc()
110 drm_atomic_set_mode_prop_for_crtc(struct drm_crtc_state *state, struct drm_property_blob *blob) drm_atomic_set_mode_prop_for_crtc() argument
318 set_out_fence_for_crtc(struct drm_atomic_state *state, struct drm_crtc *crtc, s32 __user *fence_ptr) set_out_fence_for_crtc() argument
323 get_out_fence_for_crtc(struct drm_atomic_state *state, struct drm_crtc *crtc) get_out_fence_for_crtc() argument
333 set_out_fence_for_connector(struct drm_atomic_state *state, struct drm_connector *connector, s32 __user *fence_ptr) set_out_fence_for_connector() argument
351 get_out_fence_for_connector(struct drm_atomic_state *state, struct drm_connector *connector) get_out_fence_for_connector() argument
390 drm_atomic_crtc_set_property(struct drm_crtc *crtc, struct drm_crtc_state *state, struct drm_property *property, uint64_t val) drm_atomic_crtc_set_property() argument
452 drm_atomic_crtc_get_property(struct drm_crtc *crtc, const struct drm_crtc_state *state, struct drm_property *property, uint64_t *val) drm_atomic_crtc_get_property() argument
485 drm_atomic_plane_set_property(struct drm_plane *plane, struct drm_plane_state *state, struct drm_file *file_priv, struct drm_property *property, uint64_t val) drm_atomic_plane_set_property() argument
568 drm_atomic_plane_get_property(struct drm_plane *plane, const struct drm_plane_state *state, struct drm_property *property, uint64_t *val) drm_atomic_plane_get_property() argument
637 drm_atomic_connector_set_property(struct drm_connector *connector, struct drm_connector_state *state, struct drm_file *file_priv, struct drm_property *property, uint64_t val) drm_atomic_connector_set_property() argument
744 drm_atomic_connector_get_property(struct drm_connector *connector, const struct drm_connector_state *state, struct drm_property *property, uint64_t *val) drm_atomic_connector_get_property() argument
870 drm_atomic_connector_commit_dpms(struct drm_atomic_state *state, struct drm_connector *connector, int mode) drm_atomic_connector_commit_dpms() argument
924 drm_atomic_set_property(struct drm_atomic_state *state, struct drm_file *file_priv, struct drm_mode_object *obj, struct drm_property *prop, uint64_t prop_value) drm_atomic_set_property() argument
1060 prepare_signaling(struct drm_device *dev, struct drm_atomic_state *state, struct drm_mode_atomic *arg, struct drm_file *file_priv, struct drm_out_fence_state **fence_state, unsigned int *num_fences) prepare_signaling() argument
1188 complete_signaling(struct drm_device *dev, struct drm_atomic_state *state, struct drm_out_fence_state *fence_state, unsigned int num_fences, bool install_fds) complete_signaling() argument
1247 struct drm_atomic_state *state; drm_mode_atomic_ioctl() local
[all...]
H A Ddrm_atomic_helper.c52 * also provides convenience implementations for the atomic state handling
54 * add their own additional internal state.
74 static void drm_atomic_helper_plane_changed(struct drm_atomic_state *state, struct drm_plane_state *old_plane_state, in drm_atomic_helper_plane_changed() argument
80 crtc_state = drm_atomic_get_new_crtc_state(state, old_plane_state->crtc); in drm_atomic_helper_plane_changed()
89 crtc_state = drm_atomic_get_new_crtc_state(state, plane_state->crtc); in drm_atomic_helper_plane_changed()
98 static int handle_conflicting_encoders(struct drm_atomic_state *state, bool disable_conflicting_encoders) in handle_conflicting_encoders() argument
109 * part of the state. If the same encoder is assigned to multiple in handle_conflicting_encoders()
112 for_each_new_connector_in_state(state, connector, new_conn_state, i) in handle_conflicting_encoders()
146 * Second loop, iterate over all connectors not part of the state. in handle_conflicting_encoders()
156 drm_connector_list_iter_begin(state in handle_conflicting_encoders()
210 set_best_encoder(struct drm_atomic_state *state, struct drm_connector_state *conn_state, struct drm_encoder *encoder) set_best_encoder() argument
247 steal_encoder(struct drm_atomic_state *state, struct drm_encoder *encoder) steal_encoder() argument
276 update_connector_routing(struct drm_atomic_state *state, struct drm_connector *connector, struct drm_connector_state *old_connector_state, struct drm_connector_state *new_connector_state) update_connector_routing() argument
380 mode_fixup(struct drm_atomic_state *state) mode_fixup() argument
496 mode_valid(struct drm_atomic_state *state) mode_valid() argument
577 drm_atomic_helper_check_modeset(struct drm_device *dev, struct drm_atomic_state *state) drm_atomic_helper_check_modeset() argument
857 drm_atomic_helper_check_planes(struct drm_device *dev, struct drm_atomic_state *state) drm_atomic_helper_check_planes() argument
1128 drm_atomic_helper_calc_timestamping_constants(struct drm_atomic_state *state) drm_atomic_helper_calc_timestamping_constants() argument
1365 drm_atomic_helper_wait_for_fences(struct drm_device *dev, struct drm_atomic_state *state, bool pre_swap) drm_atomic_helper_wait_for_fences() argument
1618 struct drm_atomic_state *state = container_of(work, struct drm_atomic_state, commit_work); commit_work() local
1635 drm_atomic_helper_async_check(struct drm_device *dev, struct drm_atomic_state *state) drm_atomic_helper_async_check() argument
1711 drm_atomic_helper_check(struct drm_device *dev, struct drm_atomic_state *state) drm_atomic_helper_check() argument
1755 drm_atomic_helper_async_commit(struct drm_device *dev, struct drm_atomic_state *state) drm_atomic_helper_async_commit() argument
1905 crtc_or_fake_commit(struct drm_atomic_state *state, struct drm_crtc *crtc) crtc_or_fake_commit() argument
1970 drm_atomic_helper_setup_commit(struct drm_atomic_state *state, bool nonblock) drm_atomic_helper_setup_commit() argument
2304 drm_atomic_helper_prepare_planes(struct drm_device *dev, struct drm_atomic_state *state) drm_atomic_helper_prepare_planes() argument
2360 plane_crtc_active(const struct drm_plane_state *state) plane_crtc_active() argument
2666 drm_atomic_helper_commit(struct drm_device *dev, struct drm_atomic_state *state, bool nonblock) drm_atomic_helper_commit() argument
2782 drm_atomic_helper_swap_state(struct drm_atomic_state *state, bool stall) drm_atomic_helper_swap_state() argument
2928 struct drm_atomic_state *state; drm_atomic_helper_update_plane() local
2981 struct drm_atomic_state *state; drm_atomic_helper_disable_plane() local
3031 struct drm_atomic_state *state; drm_atomic_helper_set_config() local
3084 struct drm_atomic_state *state; drm_atomic_helper_disable_all() local
3204 struct drm_atomic_state *state; drm_atomic_helper_duplicate_state() local
3296 struct drm_atomic_state *state; drm_atomic_helper_suspend() local
3341 drm_atomic_helper_commit_duplicated_state(struct drm_atomic_state *state, struct drm_modeset_acquire_ctx *ctx) drm_atomic_helper_commit_duplicated_state() argument
3384 drm_atomic_helper_resume(struct drm_device *dev, struct drm_atomic_state *state) drm_atomic_helper_resume() argument
3402 page_flip_common(struct drm_atomic_state *state, struct drm_crtc *crtc, struct drm_framebuffer *fb, struct drm_pending_vblank_event *event, uint32_t flags) page_flip_common() argument
3461 struct drm_atomic_state *state; drm_atomic_helper_page_flip() local
3504 struct drm_atomic_state *state; drm_atomic_helper_page_flip_target() local
3552 struct drm_atomic_state *state; drm_atomic_helper_legacy_gamma_set() local
[all...]
/foundation/communication/dsoftbus/tests/adapter/common/src/
H A Dlnn_wifiservice_monitor_test.cpp69 SoftBusWifiState state = SOFTBUS_WIFI_UNKNOWN; in HWTEST_F() local
71 EventFwk::SetSoftBusWifiConnState((int)OHOS::Wifi::ConnState::OBTAINING_IPADDR, &state); in HWTEST_F()
72 EXPECT_EQ(state, SOFTBUS_WIFI_OBTAINING_IPADDR); in HWTEST_F()
74 EventFwk::SetSoftBusWifiConnState((int)OHOS::Wifi::ConnState::CONNECTED, &state); in HWTEST_F()
75 EXPECT_EQ(state, SOFTBUS_WIFI_CONNECTED); in HWTEST_F()
77 EventFwk::SetSoftBusWifiConnState((int)OHOS::Wifi::ConnState::DISCONNECTED, &state); in HWTEST_F()
78 EXPECT_EQ(state, SOFTBUS_WIFI_DISCONNECTED); in HWTEST_F()
80 state = SOFTBUS_WIFI_UNKNOWN; in HWTEST_F()
81 EventFwk::SetSoftBusWifiConnState((int)OHOS::Wifi::ConnState::UNKNOWN, &state); in HWTEST_F()
82 EXPECT_EQ(state, SOFTBUS_WIFI_UNKNOW in HWTEST_F()
93 SoftBusWifiState state = SOFTBUS_WIFI_UNKNOWN; HWTEST_F() local
114 SoftBusWifiState state = SOFTBUS_WIFI_UNKNOWN; HWTEST_F() local
[all...]
/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/test/benchmark/
H A Dbenchmark_audiorenderer_test.cpp40 void SetUp(const ::benchmark::State &state) override
55 void TearDown(const ::benchmark::State &state) override
71 benchmark::State &state) in BENCHMARK_F()
73 while (state.KeepRunning()) in BENCHMARK_F()
78 state.SkipWithError("StartAbilityTestCase audioRenderer start failed."); in BENCHMARK_F()
81 state.PauseTiming(); in BENCHMARK_F()
85 state.SkipWithError("StartAbilityTestCase audioRenderer start failed."); in BENCHMARK_F()
87 state.ResumeTiming(); in BENCHMARK_F()
94 benchmark::State &state) in BENCHMARK_F()
96 while (state in BENCHMARK_F()
[all...]
/test/xts/acts/global_lite/i18n_lite/resource_parse_load/src/
H A Dresource_manager_test.cpp218 RState state; in HWTEST_F() local
226 state = rm->UpdateResConfig(*rc); in HWTEST_F()
228 EXPECT_EQ(SUCCESS, state); in HWTEST_F()
239 RState state; in HWTEST_F() local
245 state = rm->UpdateResConfig(*rc); in HWTEST_F()
247 EXPECT_EQ(LOCALEINFO_IS_NULL, state); in HWTEST_F()
258 RState state; in HWTEST_F() local
265 state = rm->UpdateResConfig(*rc); in HWTEST_F()
267 EXPECT_EQ(LOCALEINFO_IS_NULL, state); in HWTEST_F()
280 RState state; in HWTEST_F() local
320 RState state; HWTEST_F() local
356 RState state; HWTEST_F() local
422 RState state = rm->GetStringById(NON_EXIST_ID, outValue); HWTEST_F() local
472 RState state = rm->GetStringByName(g_nonExistName, outValue); HWTEST_F() local
489 RState state = rm->GetStringFormatById(outValue, id, 101); HWTEST_F() local
504 RState state = rm->GetStringFormatById(outValue, NON_EXIST_ID, 101); HWTEST_F() local
519 RState state = rm->GetStringFormatByName(outValue, name, 101); HWTEST_F() local
534 RState state = rm->GetStringFormatByName(outValue, g_nonExistName, 101); HWTEST_F() local
549 RState state; HWTEST_F() local
573 RState state; HWTEST_F() local
591 RState state; HWTEST_F() local
609 RState state; HWTEST_F() local
628 RState state; HWTEST_F() local
648 RState state; HWTEST_F() local
668 RState state; HWTEST_F() local
687 RState state; HWTEST_F() local
704 RState state; HWTEST_F() local
722 RState state; HWTEST_F() local
740 RState state; HWTEST_F() local
758 RState state; HWTEST_F() local
851 RState state; HWTEST_F() local
882 RState state; HWTEST_F() local
913 RState state; HWTEST_F() local
944 RState state; HWTEST_F() local
960 RState state; HWTEST_F() local
978 RState state; HWTEST_F() local
993 RState state; HWTEST_F() local
1013 RState state; HWTEST_F() local
1028 RState state; HWTEST_F() local
1052 RState state; HWTEST_F() local
1067 RState state; HWTEST_F() local
1087 RState state; HWTEST_F() local
1102 RState state; HWTEST_F() local
1126 RState state; HWTEST_F() local
1141 RState state; HWTEST_F() local
1161 RState state; HWTEST_F() local
1176 RState state; HWTEST_F() local
1200 RState state; HWTEST_F() local
1215 RState state; HWTEST_F() local
1235 RState state; HWTEST_F() local
1250 RState state; HWTEST_F() local
1271 RState state; HWTEST_F() local
1286 RState state; HWTEST_F() local
1305 RState state; HWTEST_F() local
1320 RState state; HWTEST_F() local
1344 RState state; HWTEST_F() local
1359 RState state; HWTEST_F() local
1379 RState state; HWTEST_F() local
1399 RState state; HWTEST_F() local
1418 RState state; HWTEST_F() local
1438 RState state; HWTEST_F() local
1455 RState state; HWTEST_F() local
1475 RState state; HWTEST_F() local
1494 RState state; HWTEST_F() local
1514 RState state; HWTEST_F() local
1531 RState state; HWTEST_F() local
1688 RState state; HWTEST_F() local
[all...]
H A Dlocale_info_test.cpp174 RState state = SUCCESS; in HWTEST_F() local
175 LocaleInfo* localeInfo = BuildFromString("zh-CN", '-', state); in HWTEST_F()
200 RState state = SUCCESS; in HWTEST_F() local
201 LocaleInfo* localeInfo = BuildFromString("zh-CN", '-', state); in HWTEST_F()
216 localeInfo = BuildFromString("en-US", '-', state); in HWTEST_F()
227 localeInfo = BuildFromString("en-Qaag-US", '-', state); in HWTEST_F()
253 RState state = SUCCESS; in HWTEST_F() local
254 LocaleInfo* localeInfo = BuildFromString("zh-CN", '-', state); in HWTEST_F()
271 RState state = SUCCESS; in HWTEST_F() local
272 LocaleInfo* localeInfo = BuildFromString("zh-CN", '-', state); in HWTEST_F()
289 RState state = SUCCESS; HWTEST_F() local
307 RState state = SUCCESS; HWTEST_F() local
328 RState state = SUCCESS; HWTEST_F() local
343 RState state = SUCCESS; HWTEST_F() local
358 RState state = SUCCESS; HWTEST_F() local
373 RState state = SUCCESS; HWTEST_F() local
388 RState state = SUCCESS; HWTEST_F() local
409 RState state = SUCCESS; HWTEST_F() local
430 RState state = SUCCESS; HWTEST_F() local
445 RState state = SUCCESS; HWTEST_F() local
460 RState state = SUCCESS; HWTEST_F() local
481 RState state = SUCCESS; HWTEST_F() local
502 RState state = SUCCESS; HWTEST_F() local
517 RState state = SUCCESS; HWTEST_F() local
538 RState state = SUCCESS; HWTEST_F() local
553 RState state = SUCCESS; HWTEST_F() local
568 RState state = SUCCESS; HWTEST_F() local
[all...]
/device/soc/rockchip/common/sdk_linux/include/linux/
H A Dpwm.h37 * Do not confuse this with the PWM state: PWM arguments represent the initial
39 * current PWM hardware state.
52 * struct pwm_state - state of a PWM channel
77 * @state: last applied state
78 * @last: last implemented state (for PWM_DEBUG)
89 struct pwm_state state; member
94 * pwm_get_state() - retrieve the current PWM state
96 * @state: state t
98 pwm_get_state(const struct pwm_device *pwm, struct pwm_state *state) pwm_get_state() argument
105 struct pwm_state state; pwm_is_enabled() local
121 struct pwm_state state; pwm_get_period() local
137 struct pwm_state state; pwm_get_duty_cycle() local
146 struct pwm_state state; pwm_get_polarity() local
175 pwm_init_state(const struct pwm_device *pwm, struct pwm_state *state) pwm_init_state() argument
203 pwm_get_relative_duty_cycle(const struct pwm_state *state, unsigned int scale) pwm_get_relative_duty_cycle() argument
230 pwm_set_relative_duty_cycle(struct pwm_state *state, unsigned int duty_cycle, unsigned int scale) pwm_set_relative_duty_cycle() argument
323 struct pwm_state state; pwm_config() local
351 struct pwm_state state; pwm_enable() local
372 struct pwm_state state; pwm_disable() local
417 pwm_apply_state(struct pwm_device *pwm, const struct pwm_state *state) pwm_apply_state() argument
513 struct pwm_state state = {}; pwm_apply_args() local
[all...]
/foundation/multimedia/audio_framework/frameworks/native/audiopolicy/test/benchmark/
H A Dbenchmark_audiomanager_test.cpp41 void SetUp(const ::benchmark::State &state) override
48 void TearDown(const ::benchmark::State &state) override
64 benchmark::State &state) in BENCHMARK_F()
66 while (state.KeepRunning()) in BENCHMARK_F()
71 state.SkipWithError("SetDeviceActiveAbilityTestCase audioManager SetDeviceActive true failed."); in BENCHMARK_F()
73 state.PauseTiming(); in BENCHMARK_F()
77 state.SkipWithError("SetDeviceActiveAbilityTestCase audioManager SetDeviceActive false failed."); in BENCHMARK_F()
79 state.ResumeTiming(); in BENCHMARK_F()
86 benchmark::State &state) in BENCHMARK_F()
88 while (state in BENCHMARK_F()
[all...]
/foundation/communication/dsoftbus/tests/sdk/bus_center/benchmarktest/
H A Dbus_center_test.cpp68 void SetUp(const ::benchmark::State &state) override
153 BENCHMARK_F(BusCenterTest, RegNodeDeviceStateCbTestCase)(benchmark::State &state) in BENCHMARK_F()
155 while (state.KeepRunning()) { in BENCHMARK_F()
156 state.ResumeTiming(); in BENCHMARK_F()
159 state.SkipWithError("RegNodeDeviceStateCbTestCase failed."); in BENCHMARK_F()
161 state.PauseTiming(); in BENCHMARK_F()
173 BENCHMARK_F(BusCenterTest, UnregNodeDeviceStateCbTestCase)(benchmark::State &state) in BENCHMARK_F()
175 while (state.KeepRunning()) { in BENCHMARK_F()
176 state.PauseTiming(); in BENCHMARK_F()
178 state in BENCHMARK_F()
[all...]
/device/soc/rockchip/common/sdk_linux/kernel/power/
H A Dsuspend.c164 static bool valid_state(suspend_state_t state) in valid_state() argument
171 return suspend_ops && suspend_ops->valid && suspend_ops->valid(state); in valid_state()
176 /* "mem" and "freeze" are always present in /sys/power/state. */ in pm_states_init()
188 suspend_state_t state; in mem_sleep_default_setup() local
190 for (state = PM_SUSPEND_TO_IDLE; state <= PM_SUSPEND_MEM; state++) { in mem_sleep_default_setup()
191 if (mem_sleep_labels[state] && !strcmp(str, mem_sleep_labels[state])) { in mem_sleep_default_setup()
192 mem_sleep_default = state; in mem_sleep_default_setup()
236 suspend_valid_only_mem(suspend_state_t state) suspend_valid_only_mem() argument
242 sleep_state_supported(suspend_state_t state) sleep_state_supported() argument
247 platform_suspend_prepare(suspend_state_t state) platform_suspend_prepare() argument
252 platform_suspend_prepare_late(suspend_state_t state) platform_suspend_prepare_late() argument
257 platform_suspend_prepare_noirq(suspend_state_t state) platform_suspend_prepare_noirq() argument
266 platform_resume_noirq(suspend_state_t state) platform_resume_noirq() argument
277 platform_resume_early(suspend_state_t state) platform_resume_early() argument
284 platform_resume_finish(suspend_state_t state) platform_resume_finish() argument
291 platform_suspend_begin(suspend_state_t state) platform_suspend_begin() argument
302 platform_resume_end(suspend_state_t state) platform_resume_end() argument
311 platform_recover(suspend_state_t state) platform_recover() argument
318 platform_suspend_again(suspend_state_t state) platform_suspend_again() argument
348 suspend_prepare(suspend_state_t state) suspend_prepare() argument
398 suspend_enter(suspend_state_t state, bool *wakeup) suspend_enter() argument
493 suspend_devices_and_enter(suspend_state_t state) suspend_devices_and_enter() argument
569 enter_state(suspend_state_t state) enter_state() argument
631 pm_suspend(suspend_state_t state) pm_suspend() argument
[all...]
/foundation/bundlemanager/bundle_framework/test/benchmarktest/bundlemgr_proxy_test/
H A Dbundlemgr_proxy_test.cpp110 static void BenchmarkTestGetApplicationInfoByFlag(benchmark::State &state) in BenchmarkTestGetApplicationInfoByFlag() argument
115 for (auto _ : state) { in BenchmarkTestGetApplicationInfoByFlag()
131 static void BenchmarkTestGetApplicationInfoByUserId(benchmark::State &state) in BenchmarkTestGetApplicationInfoByUserId() argument
137 for (auto _ : state) { in BenchmarkTestGetApplicationInfoByUserId()
153 static void BenchmarkTestGetApplicationInfosByApplicationFlag(benchmark::State &state) in BenchmarkTestGetApplicationInfosByApplicationFlag() argument
158 for (auto _ : state) { in BenchmarkTestGetApplicationInfosByApplicationFlag()
175 static void BenchmarkTestGetApplicationInfosByFlags(benchmark::State &state) in BenchmarkTestGetApplicationInfosByFlags() argument
181 for (auto _ : state) { in BenchmarkTestGetApplicationInfosByFlags()
197 static void BenchmarkTestGetBundleInfoByBundleFlag(benchmark::State &state) in BenchmarkTestGetBundleInfoByBundleFlag() argument
202 for (auto _ : state) { in BenchmarkTestGetBundleInfoByBundleFlag()
217 BenchmarkTestGetBundleInfoByFlags(benchmark::State &state) BenchmarkTestGetBundleInfoByFlags() argument
239 BenchmarkTestGetBundleInfosByBundleFlag(benchmark::State &state) BenchmarkTestGetBundleInfosByBundleFlag() argument
260 BenchmarkTestGetBundleInfosByFlags(benchmark::State &state) BenchmarkTestGetBundleInfosByFlags() argument
282 BenchmarkTestGetUidByBundleName(benchmark::State &state) BenchmarkTestGetUidByBundleName() argument
300 BenchmarkTestGetAppIdByBundleName(benchmark::State &state) BenchmarkTestGetAppIdByBundleName() argument
318 BenchmarkTestGetBundlesForUid(benchmark::State &state) BenchmarkTestGetBundlesForUid() argument
338 BenchmarkTestGetNameForUid(benchmark::State &state) BenchmarkTestGetNameForUid() argument
358 BenchmarkTestGetAppType(benchmark::State &state) BenchmarkTestGetAppType() argument
377 BenchmarkTestCheckIsSystemAppByUid(benchmark::State &state) BenchmarkTestCheckIsSystemAppByUid() argument
396 BenchmarkTestGetBundleInfosByMetaData(benchmark::State &state) BenchmarkTestGetBundleInfosByMetaData() argument
417 BenchmarkTestQueryAbilityInfo(benchmark::State &state) BenchmarkTestQueryAbilityInfo() argument
440 BenchmarkTestQueryAbilityInfoByFlags(benchmark::State &state) BenchmarkTestQueryAbilityInfoByFlags() argument
467 BenchmarkTestQueryAbilityInfos(benchmark::State &state) BenchmarkTestQueryAbilityInfos() argument
494 BenchmarkTestQueryAbilityInfosByFlags(benchmark::State &state) BenchmarkTestQueryAbilityInfosByFlags() argument
520 BenchmarkTestQueryAbilityInfosById(benchmark::State &state) BenchmarkTestQueryAbilityInfosById() argument
547 BenchmarkTestQueryAbilityInfoByUri(benchmark::State &state) BenchmarkTestQueryAbilityInfoByUri() argument
569 BenchmarkTestQueryAbilityInfoByUriAndId(benchmark::State &state) BenchmarkTestQueryAbilityInfoByUriAndId() argument
591 BenchmarkTestQueryAbilityInfosByUri(benchmark::State &state) BenchmarkTestQueryAbilityInfosByUri() argument
613 BenchmarkTestQueryKeepAliveBundleInfos(benchmark::State &state) BenchmarkTestQueryKeepAliveBundleInfos() argument
634 BenchmarkTestGetAbilityLabel(benchmark::State &state) BenchmarkTestGetAbilityLabel() argument
653 BenchmarkTestGetBundleArchiveInfo(benchmark::State &state) BenchmarkTestGetBundleArchiveInfo() argument
673 BenchmarkTestGetBundleArchiveInfoByFlag(benchmark::State &state) BenchmarkTestGetBundleArchiveInfoByFlag() argument
693 BenchmarkTestGetLaunchWantForBundle(benchmark::State &state) BenchmarkTestGetLaunchWantForBundle() argument
713 BenchmarkTestGetPermissionDef(benchmark::State &state) BenchmarkTestGetPermissionDef() argument
735 BenchmarkTestCleanBundleDataFiles(benchmark::State &state) BenchmarkTestCleanBundleDataFiles() argument
754 BenchmarkTestRegisterBundleStatusCallback(benchmark::State &state) BenchmarkTestRegisterBundleStatusCallback() argument
775 BenchmarkTestClearBundleStatusCallback(benchmark::State &state) BenchmarkTestClearBundleStatusCallback() argument
796 BenchmarkTestUnregisterBundleStatusCallback(benchmark::State &state) BenchmarkTestUnregisterBundleStatusCallback() argument
815 BenchmarkTestDumpInfos(benchmark::State &state) BenchmarkTestDumpInfos() argument
837 BenchmarkTestIsApplicationEnabled(benchmark::State &state) BenchmarkTestIsApplicationEnabled() argument
857 BenchmarkTestSetApplicationEnabled(benchmark::State &state) BenchmarkTestSetApplicationEnabled() argument
876 BenchmarkTestIsAbilityEnabled(benchmark::State &state) BenchmarkTestIsAbilityEnabled() argument
898 BenchmarkTestSetAbilityEnabled(benchmark::State &state) BenchmarkTestSetAbilityEnabled() argument
919 BenchmarkTestGetBundleInstaller(benchmark::State &state) BenchmarkTestGetBundleInstaller() argument
938 BenchmarkTestGetBundleUserMgr(benchmark::State &state) BenchmarkTestGetBundleUserMgr() argument
957 BenchmarkTestGetAllFormsInfo(benchmark::State &state) BenchmarkTestGetAllFormsInfo() argument
978 BenchmarkTestGetFormsInfoByApp(benchmark::State &state) BenchmarkTestGetFormsInfoByApp() argument
999 BenchmarkTestGetFormsInfoByModule(benchmark::State &state) BenchmarkTestGetFormsInfoByModule() argument
1020 BenchmarkTestGetShortcutInfos(benchmark::State &state) BenchmarkTestGetShortcutInfos() argument
1041 BenchmarkTestGetAllCommonEventInfo(benchmark::State &state) BenchmarkTestGetAllCommonEventInfo() argument
1062 BenchmarkTestGetDistributedBundleInfo(benchmark::State &state) BenchmarkTestGetDistributedBundleInfo() argument
1085 BenchmarkTestGetAppPrivilegeLevel(benchmark::State &state) BenchmarkTestGetAppPrivilegeLevel() argument
1104 BenchmarkTestQueryExtensionAbilityInfosByWant(benchmark::State &state) BenchmarkTestQueryExtensionAbilityInfosByWant() argument
1130 BenchmarkTestQueryExtensionAbilityInfosByType(benchmark::State &state) BenchmarkTestQueryExtensionAbilityInfosByType() argument
1150 BenchmarkTestQueryExtensionAbilityInfos(benchmark::State &state) BenchmarkTestQueryExtensionAbilityInfos() argument
1176 BenchmarkTestVerifyCallingPermission(benchmark::State &state) BenchmarkTestVerifyCallingPermission() argument
1196 BenchmarkTestQueryExtensionAbilityInfoByUri(benchmark::State &state) BenchmarkTestQueryExtensionAbilityInfoByUri() argument
1217 BenchmarkTestImplicitQueryInfoByPriority(benchmark::State &state) BenchmarkTestImplicitQueryInfoByPriority() argument
1244 BenchmarkTestGetSandboxBundleInfo(benchmark::State &state) BenchmarkTestGetSandboxBundleInfo() argument
1264 BenchmarkTestGetAbilityInfo(benchmark::State &state) BenchmarkTestGetAbilityInfo() argument
1285 BenchmarkTestGetAbilityInfoByModuleName(benchmark::State &state) BenchmarkTestGetAbilityInfoByModuleName() argument
1305 BenchmarkTestGetAllDependentModuleNames(benchmark::State &state) BenchmarkTestGetAllDependentModuleNames() argument
1325 BenchmarkTestObtainCallingBundleName(benchmark::State &state) BenchmarkTestObtainCallingBundleName() argument
[all...]
/foundation/barrierfree/accessibility/services/aams/test/mock/src/
H A Dmock_accessibility_settings_config.cpp27 RetError AccessibilitySettingsConfig::SetEnabled(const bool state) in SetEnabled() argument
30 enabled_ = state; in SetEnabled()
34 RetError AccessibilitySettingsConfig::SetTouchGuideState(const bool state) in SetTouchGuideState() argument
37 eventTouchGuideState_ = state; in SetTouchGuideState()
41 RetError AccessibilitySettingsConfig::SetGestureState(const bool state) in SetGestureState() argument
44 gesturesSimulation_ = state; in SetGestureState()
48 RetError AccessibilitySettingsConfig::SetKeyEventObserverState(const bool state) in SetKeyEventObserverState() argument
51 filteringKeyEvents_ = state; in SetKeyEventObserverState()
55 RetError AccessibilitySettingsConfig::SetCaptionState(const bool state) in SetCaptionState() argument
58 isCaptionState_ = state; in SetCaptionState()
62 SetScreenMagnificationState(const bool state) SetScreenMagnificationState() argument
76 SetShortKeyState(const bool state) SetShortKeyState() argument
83 SetShortKeyOnLockScreenState(const bool state) SetShortKeyOnLockScreenState() argument
97 SetMouseKeyState(const bool state) SetMouseKeyState() argument
138 SetHighContrastTextState(const bool state) SetHighContrastTextState() argument
145 SetDaltonizationState(const bool state) SetDaltonizationState() argument
152 SetInvertColorState(const bool state) SetInvertColorState() argument
159 SetAnimationOffState(const bool state) SetAnimationOffState() argument
166 SetAudioMonoState(const bool state) SetAudioMonoState() argument
194 SetStartFromAtoHosState(const bool state) SetStartFromAtoHosState() argument
373 uint32_t state = 0; GetConfigState() local
408 SetIgnoreRepeatClickState(const bool state) SetIgnoreRepeatClickState() argument
422 SetStartFromAtoHosState(const bool state) SetStartFromAtoHosState() argument
[all...]
/foundation/barrierfree/accessibility/services/test/moduletest/mock/src/
H A Dmock_mt_accessibility_settings_config.cpp27 RetError MockAccessibilitySettingsConfig::SetEnabled(const bool state) in SetEnabled() argument
30 enabled_ = state; in SetEnabled()
34 RetError MockAccessibilitySettingsConfig::SetTouchGuideState(const bool state) in SetTouchGuideState() argument
37 eventTouchGuideState_ = state; in SetTouchGuideState()
41 RetError MockAccessibilitySettingsConfig::SetGestureState(const bool state) in SetGestureState() argument
44 gesturesSimulation_ = state; in SetGestureState()
48 RetError MockAccessibilitySettingsConfig::SetKeyEventObserverState(const bool state) in SetKeyEventObserverState() argument
51 filteringKeyEvents_ = state; in SetKeyEventObserverState()
55 RetError MockAccessibilitySettingsConfig::SetCaptionState(const bool state) in SetCaptionState() argument
58 isCaptionState_ = state; in SetCaptionState()
62 SetScreenMagnificationState(const bool state) SetScreenMagnificationState() argument
76 SetShortKeyState(const bool state) SetShortKeyState() argument
83 SetShortKeyOnLockScreenState(const bool state) SetShortKeyOnLockScreenState() argument
97 SetMouseKeyState(const bool state) SetMouseKeyState() argument
138 SetHighContrastTextState(const bool state) SetHighContrastTextState() argument
145 SetDaltonizationState(const bool state) SetDaltonizationState() argument
152 SetInvertColorState(const bool state) SetInvertColorState() argument
159 SetAnimationOffState(const bool state) SetAnimationOffState() argument
166 SetAudioMonoState(const bool state) SetAudioMonoState() argument
194 SetStartFromAtoHosState(const bool state) SetStartFromAtoHosState() argument
373 uint32_t state = 0; GetConfigState() local
408 SetIgnoreRepeatClickState(const bool state) SetIgnoreRepeatClickState() argument
422 SetStartFromAtoHosState(const bool state) SetStartFromAtoHosState() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
H A Dstate_style_manager.h41 // StateStyleManager is mainly used to manage the setting and refresh of state styles.
49 bool HasStateStyle(UIState state) const in HasStateStyle()
51 return (supportedStates_ & state) == state; in HasStateStyle()
59 void AddSupportedState(UIState state) in AddSupportedState() argument
61 supportedStates_ = supportedStates_ | state; in AddSupportedState()
64 void SetSupportedStates(UIState state) in SetSupportedStates() argument
66 supportedStates_ = state; in SetSupportedStates()
69 bool IsCurrentStateOn(UIState state) const in IsCurrentStateOn()
71 if (state in IsCurrentStateOn()
77 SetCurrentUIState(UIState state, bool flag) SetCurrentUIState() argument
86 UpdateCurrentUIState(UIState state) UpdateCurrentUIState() argument
98 ResetCurrentUIState(UIState state) ResetCurrentUIState() argument
[all...]
/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/utils/
H A Dhgm_state_machine.h37 // state, {callbackId, stateChangeCallback}
40 explicit HgmStateMachine(State state) : state_(state) {} in HgmStateMachine() argument
44 void ChangeState(State state);
47 int32_t RegisterEnterStateCallback(State state, const StateChangeCallback& callback);
48 void UnRegisterEnterStateCallback(State state, int32_t callbackId);
49 int32_t RegisterExitStateCallback(State state, const StateChangeCallback& callback);
50 void UnRegisterExitStateCallback(State state, int32_t callbackId);
56 virtual std::string State2String(State state) const { return std::to_string(state); } in State2String()
81 ChangeState(State state) ChangeState() argument
126 RegisterEnterStateCallback(State state, const StateChangeCallback& callback) RegisterEnterStateCallback() argument
132 UnRegisterEnterStateCallback(State state, int32_t callbackId) UnRegisterEnterStateCallback() argument
138 RegisterExitStateCallback(State state, const StateChangeCallback& callback) RegisterExitStateCallback() argument
144 UnRegisterExitStateCallback(State state, int32_t callbackId) UnRegisterExitStateCallback() argument
164 RegisterStateChangeCallback( StateChangeCallbacksType& callbacks, State state, const StateChangeCallback& callback) RegisterStateChangeCallback() argument
173 UnRegisterStateChangeCallback( StateChangeCallbacksType& callbacks, State state, int32_t callbackId) UnRegisterStateChangeCallback() argument
[all...]
/foundation/distributedhardware/device_manager/test/benchmarktest/device_manager_fa_test/
H A Ddevice_manager_fa_test.cpp89 void SetUp(const ::benchmark::State &state) override
95 void TearDown(const ::benchmark::State &state) override
113 void SetUp(const ::benchmark::State &state) override
116 void TearDown(const ::benchmark::State &state) override
123 void SetUp(const ::benchmark::State &state) override
126 void TearDown(const ::benchmark::State &state) override
133 void SetUp(const ::benchmark::State &state) override
158 void TearDown(const ::benchmark::State &state) override
165 void TearDown(const ::benchmark::State &state) override
174 void SetUp(const ::benchmark::State &state) overrid
[all...]
/foundation/bundlemanager/bundle_framework/test/benchmarktest/json_serializer_test/
H A Djson_serializer_test.cpp33 static void BenchmarkTestForCustomizeDataToJson(benchmark::State &state) in BenchmarkTestForCustomizeDataToJson() argument
40 for (auto _ : state) { in BenchmarkTestForCustomizeDataToJson()
52 static void BenchmarkTestForCustomizeDataFromJson(benchmark::State &state) in BenchmarkTestForCustomizeDataFromJson() argument
59 for (auto _ : state) { in BenchmarkTestForCustomizeDataFromJson()
71 static void BenchmarkTestForMetadataToJson(benchmark::State &state) in BenchmarkTestForMetadataToJson() argument
78 for (auto _ : state) { in BenchmarkTestForMetadataToJson()
90 static void BenchmarkTestForMetadataFromJson(benchmark::State &state) in BenchmarkTestForMetadataFromJson() argument
97 for (auto _ : state) { in BenchmarkTestForMetadataFromJson()
109 static void BenchmarkTestForAbilityInfoToJson(benchmark::State &state) in BenchmarkTestForAbilityInfoToJson() argument
116 for (auto _ : state) { in BenchmarkTestForAbilityInfoToJson()
128 BenchmarkTestForAbilityInfoFromJson(benchmark::State &state) BenchmarkTestForAbilityInfoFromJson() argument
147 BenchmarkTestForExtensionAbilityInfoToJson(benchmark::State &state) BenchmarkTestForExtensionAbilityInfoToJson() argument
166 BenchmarkTestForExtensionAbilityInfoFromJson(benchmark::State &state) BenchmarkTestForExtensionAbilityInfoFromJson() argument
185 BenchmarkTestForApplicationInfoToJson(benchmark::State &state) BenchmarkTestForApplicationInfoToJson() argument
204 BenchmarkTestForApplicationInfoFromJson(benchmark::State &state) BenchmarkTestForApplicationInfoFromJson() argument
223 BenchmarkTestForBundleInfoToJson(benchmark::State &state) BenchmarkTestForBundleInfoToJson() argument
242 BenchmarkTestForBundleInfoFromJson(benchmark::State &state) BenchmarkTestForBundleInfoFromJson() argument
261 BenchmarkTestForModuleInfoToJson(benchmark::State &state) BenchmarkTestForModuleInfoToJson() argument
279 BenchmarkTestForModuleInfoFromJson(benchmark::State &state) BenchmarkTestForModuleInfoFromJson() argument
297 BenchmarkTestForFormInfoToJson(benchmark::State &state) BenchmarkTestForFormInfoToJson() argument
316 BenchmarkTestForFormInfoFromJson(benchmark::State &state) BenchmarkTestForFormInfoFromJson() argument
338 BenchmarkTestForShortcutInfoToJson(benchmark::State &state) BenchmarkTestForShortcutInfoToJson() argument
357 BenchmarkTestForShortcutInfoFromJson(benchmark::State &state) BenchmarkTestForShortcutInfoFromJson() argument
376 BenchmarkTestForCommonEventInfoToJson(benchmark::State &state) BenchmarkTestForCommonEventInfoToJson() argument
395 BenchmarkTestForCommonEventInfoFromJson(benchmark::State &state) BenchmarkTestForCommonEventInfoFromJson() argument
421 BenchmarkTestForHapModuleInfoToJson(benchmark::State &state) BenchmarkTestForHapModuleInfoToJson() argument
440 BenchmarkTestForHapModuleInfoFromJson(benchmark::State &state) BenchmarkTestForHapModuleInfoFromJson() argument
459 BenchmarkTestForBundleUserInfoToJson(benchmark::State &state) BenchmarkTestForBundleUserInfoToJson() argument
476 BenchmarkTestForBundleUserInfoFromJson(benchmark::State &state) BenchmarkTestForBundleUserInfoFromJson() argument
494 BenchmarkTestForShortcutWantFromJson(benchmark::State &state) BenchmarkTestForShortcutWantFromJson() argument
512 BenchmarkTestForShortcutFromJson(benchmark::State &state) BenchmarkTestForShortcutFromJson() argument
531 BenchmarkTestForShortcutJsonFromJson(benchmark::State &state) BenchmarkTestForShortcutJsonFromJson() argument
548 BenchmarkTestForReqPermissionUsedSceToJson(benchmark::State &state) BenchmarkTestForReqPermissionUsedSceToJson() argument
566 BenchmarkTestForReqPermissionUsedSceFromJson(benchmark::State &state) BenchmarkTestForReqPermissionUsedSceFromJson() argument
584 BenchmarkTestForRequestPermissionToJson(benchmark::State &state) BenchmarkTestForRequestPermissionToJson() argument
602 BenchmarkTestForRequestPermissionFromJson(benchmark::State &state) BenchmarkTestForRequestPermissionFromJson() argument
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/mkp/hal/ctrl/hisiv100/regs/
H A Dhdmi_reg_aon.c53 tx_aon_intr_state state; in hdmi_reg_aon_intr_stat1_set() local
56 state.u32 = 0; in hdmi_reg_aon_intr_stat1_set()
57 state.bits.aon_intr_stat1 = aon_intr_stat1; in hdmi_reg_aon_intr_stat1_set()
58 hdmi_tx_reg_write(reg_addr, state.u32); in hdmi_reg_aon_intr_stat1_set()
66 tx_aon_intr_state state; in hdmi_reg_aon_intr_stat0_set() local
69 state.u32 = 0; in hdmi_reg_aon_intr_stat0_set()
70 state.bits.aon_intr_stat0 = aon_intr_stat0; in hdmi_reg_aon_intr_stat0_set()
71 hdmi_tx_reg_write(reg_addr, state.u32); in hdmi_reg_aon_intr_stat0_set()
118 ddc_mst_state state; in hdmi_reg_ddc_i2c_no_ack_get() local
121 state in hdmi_reg_ddc_i2c_no_ack_get()
128 ddc_mst_state state; hdmi_reg_ddc_i2c_bus_low_get() local
148 tx_aon_state state; hdmi_reg_phy_rx_sense_get() local
158 tx_aon_state state; hdmi_reg_hotplug_state_get() local
168 tx_aon_intr_state state; hdmi_reg_aon_intr_stat1_get() local
178 tx_aon_intr_state state; hdmi_reg_aon_intr_stat0_get() local
[all...]
/foundation/communication/dsoftbus/tests/sdk/discovery/benchmarktest/
H A Ddiscovery_test.cpp62 void SetUp(const ::benchmark::State &state) override
66 void TearDown(const ::benchmark::State &state) override
138 BENCHMARK_F(DiscoveryTest, PublishLNNTestCase)(benchmark::State &state) in BENCHMARK_F()
140 while (state.KeepRunning()) { in BENCHMARK_F()
142 state.ResumeTiming(); in BENCHMARK_F()
145 state.SkipWithError("PublishLNNTestCase failed."); in BENCHMARK_F()
147 state.PauseTiming(); in BENCHMARK_F()
150 state.SkipWithError("StopPublishLNNTestCase failed."); in BENCHMARK_F()
162 BENCHMARK_F(DiscoveryTest, StopPublishLNNTestCase)(benchmark::State &state) in BENCHMARK_F()
164 while (state in BENCHMARK_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/text/
H A Dtext_emoji_processor.cpp404 void TextEmojiProcessor::OnBeginState(uint32_t codePoint, int32_t& state, int32_t& deleteCount, bool isBackward) in OnBeginState() argument
408 state = STATE_LF; in OnBeginState()
410 state = STATE_VS; in OnBeginState()
412 state = STATE_CR; in OnBeginState()
414 state = isBackward ? STATE_ODD_RIS : STATE_EVEN_RIS; in OnBeginState()
416 state = STATE_EM; in OnBeginState()
418 state = STATE_KEYCAP; in OnBeginState()
420 state = STATE_EMOJI; in OnBeginState()
422 state = STATE_IN_TAG_QUEUE; in OnBeginState()
424 state in OnBeginState()
428 OnRISState(uint32_t codePoint, int32_t& state, int32_t& deleteCount, bool isBackward) OnRISState() argument
463 OnCRLFState(uint32_t codePoint, int32_t& state, int32_t& deleteCount, bool isBackward) OnCRLFState() argument
485 OnZWJState(uint32_t codePoint, int32_t& state, int32_t& deleteCount, int32_t& lastVSCount, bool isBackward) OnZWJState() argument
524 OnVSState(uint32_t codePoint, int32_t& state, int32_t& deleteCount, bool isBackward) OnVSState() argument
551 OnKeyCapState(uint32_t codePoint, int32_t& state, int32_t& deleteCount, int32_t& lastVSCount, bool isBackward) OnKeyCapState() argument
579 OnEMState(uint32_t codePoint, int32_t& state, int32_t& deleteCount, int32_t& lastVSCount, bool isBackward) OnEMState() argument
621 OnEmojiState(uint32_t codePoint, int32_t& state, int32_t& deleteCount, bool isBackward) OnEmojiState() argument
648 OnForwardSecondState(uint32_t codePoint, int32_t& state, int32_t& deleteCount) OnForwardSecondState() argument
661 OnTagQueueState(uint32_t codePoint, int32_t& state, int32_t& deleteCount, bool isBackward) OnTagQueueState() argument
687 int32_t state = STATE_BEGIN; GetEmojiLengthAtEnd() local
744 int32_t state = STATE_BEGIN; GetEmojiLengthAtFront() local
[all...]
/foundation/barrierfree/accessibility/frameworks/acfwk/src/
H A Daccessibility_config.cpp87 Accessibility::RetError AccessibilityConfig::SetScreenMagnificationState(const bool state) in SetScreenMagnificationState() argument
90 return pImpl_->SetScreenMagnificationState(state); in SetScreenMagnificationState()
93 Accessibility::RetError AccessibilityConfig::SetShortKeyState(const bool state) in SetShortKeyState() argument
96 return pImpl_->SetShortKeyState(state); in SetShortKeyState()
99 Accessibility::RetError AccessibilityConfig::SetMouseKeyState(const bool state) in SetMouseKeyState() argument
102 return pImpl_->SetMouseKeyState(state); in SetMouseKeyState()
105 Accessibility::RetError AccessibilityConfig::SetCaptionsState(const bool state) in SetCaptionsState() argument
108 return pImpl_->SetCaptionsState(state); in SetCaptionsState()
135 Accessibility::RetError AccessibilityConfig::SetHighContrastTextState(bool state) in SetHighContrastTextState() argument
138 return pImpl_->SetHighContrastTextState(state); in SetHighContrastTextState()
141 SetInvertColorState(const bool state) SetInvertColorState() argument
147 SetDaltonizationState(bool state) SetDaltonizationState() argument
165 SetAnimationOffState(const bool state) SetAnimationOffState() argument
177 SetAudioMonoState(const bool state) SetAudioMonoState() argument
195 SetIgnoreRepeatClickState(const bool state) SetIgnoreRepeatClickState() argument
[all...]
/foundation/barrierfree/accessibility/services/test/mock/
H A Dmock_accessible_ability_manager_service_stub.cpp71 RetError MockAccessibleAbilityManagerServiceStub::SetCaptionState(const bool state) in SetCaptionState() argument
73 captionState_ = state; in SetCaptionState()
143 RetError MockAccessibleAbilityManagerServiceStub::GetCaptionState(bool &state) in GetCaptionState() argument
145 state = captionState_; in GetCaptionState()
204 RetError MockAccessibleAbilityManagerServiceStub::SetScreenMagnificationState(const bool state) in SetScreenMagnificationState() argument
206 screenMagnifier_ = state; in SetScreenMagnificationState()
210 RetError MockAccessibleAbilityManagerServiceStub::SetShortKeyState(const bool state) in SetShortKeyState() argument
212 shortkey_ = state; in SetShortKeyState()
216 RetError MockAccessibleAbilityManagerServiceStub::SetMouseKeyState(const bool state) in SetMouseKeyState() argument
218 mouseKey_ = state; in SetMouseKeyState()
240 SetHighContrastTextState(const bool state) SetHighContrastTextState() argument
246 SetInvertColorState(const bool state) SetInvertColorState() argument
252 SetAnimationOffState(const bool state) SetAnimationOffState() argument
258 SetAudioMonoState(const bool state) SetAudioMonoState() argument
264 SetDaltonizationState(const bool state) SetDaltonizationState() argument
314 SetIgnoreRepeatClickState(const bool state) SetIgnoreRepeatClickState() argument
326 GetScreenMagnificationState(bool &state) GetScreenMagnificationState() argument
332 GetShortKeyState(bool &state) GetShortKeyState() argument
338 GetMouseKeyState(bool &state) GetMouseKeyState() argument
362 GetHighContrastTextState(bool &state) GetHighContrastTextState() argument
368 GetInvertColorState(bool &state) GetInvertColorState() argument
374 GetAnimationOffState(bool &state) GetAnimationOffState() argument
380 GetAudioMonoState(bool &state) GetAudioMonoState() argument
386 GetDaltonizationState(bool &state) GetDaltonizationState() argument
422 GetIgnoreRepeatClickState(bool &state) GetIgnoreRepeatClickState() argument
[all...]

Completed in 19 milliseconds

12345678910>>...129