Home
last modified time | relevance | path

Searched refs:device (Results 1 - 25 of 4690) sorted by relevance

12345678910>>...188

/third_party/libinput/src/
H A Devdev.c105 parse_udev_flag(struct evdev_device *device, in parse_udev_flag() argument
117 evdev_log_error(device, in parse_udev_flag()
128 evdev_update_key_down_count(struct evdev_device *device, in evdev_update_key_down_count() argument
136 key_count = ++device->key_count[code]; in evdev_update_key_down_count()
138 if (device->key_count[code] > 0) { in evdev_update_key_down_count()
139 key_count = --device->key_count[code]; in evdev_update_key_down_count()
141 evdev_log_bug_libinput(device, in evdev_update_key_down_count()
144 device->key_count[code]); in evdev_update_key_down_count()
149 evdev_log_bug_libinput(device, in evdev_update_key_down_count()
158 evdev_device_switch_get_state(struct evdev_device *device, in evdev_device_switch_get_state() argument
169 evdev_pointer_notify_physical_button(struct evdev_device *device, uint64_t time, int button, enum libinput_button_state state) evdev_pointer_notify_physical_button() argument
187 evdev_pointer_post_button(struct evdev_device *device, uint64_t time, unsigned int button, enum libinput_button_state state) evdev_pointer_post_button() argument
214 struct evdev_device *device = data; evdev_button_scroll_timeout() local
220 evdev_button_scroll_button(struct evdev_device *device, uint64_t time, int is_press) evdev_button_scroll_button() argument
317 evdev_pointer_notify_button(struct evdev_device *device, uint64_t time, unsigned int button, enum libinput_button_state state) evdev_pointer_notify_button() argument
332 evdev_device_led_update(struct evdev_device *device, enum libinput_led leds) evdev_device_led_update() argument
362 evdev_transform_absolute(struct evdev_device *device, struct device_coords *point) evdev_transform_absolute() argument
372 evdev_transform_relative(struct evdev_device *device, struct device_coords *point) evdev_transform_relative() argument
391 evdev_device_transform_x(struct evdev_device *device, double x, uint32_t width) evdev_device_transform_x() argument
399 evdev_device_transform_y(struct evdev_device *device, double y, uint32_t height) evdev_device_transform_y() argument
407 evdev_notify_axis_legacy_wheel(struct evdev_device *device, uint64_t time, uint32_t axes, const struct normalized_coords *delta_in, const struct discrete_coords *discrete_in) evdev_notify_axis_legacy_wheel() argument
436 evdev_notify_axis_wheel(struct evdev_device *device, uint64_t time, uint32_t axes, const struct normalized_coords *delta_in, const struct wheel_v120 *v120_in) evdev_notify_axis_wheel() argument
465 evdev_notify_axis_finger(struct evdev_device *device, uint64_t time, uint32_t axes, const struct normalized_coords *delta_in) evdev_notify_axis_finger() argument
484 evdev_notify_axis_continous(struct evdev_device *device, uint64_t time, uint32_t axes, const struct normalized_coords *delta_in) evdev_notify_axis_continous() argument
503 evdev_tag_external_mouse(struct evdev_device *device, struct udev_device *udev_device) evdev_tag_external_mouse() argument
514 evdev_tag_trackpoint(struct evdev_device *device, struct udev_device *udev_device) evdev_tag_trackpoint() argument
548 evdev_tag_keyboard_internal(struct evdev_device *device) evdev_tag_keyboard_internal() argument
555 evdev_tag_keyboard_external(struct evdev_device *device) evdev_tag_keyboard_external() argument
562 evdev_tag_keyboard(struct evdev_device *device, struct udev_device *udev_device) evdev_tag_keyboard() argument
600 evdev_tag_tablet_touchpad(struct evdev_device *device) evdev_tag_tablet_touchpad() argument
608 struct evdev_device *device = evdev_device(libinput_device); evdev_calibration_has_matrix() local
617 struct evdev_device *device = evdev_device(libinput_device); evdev_calibration_set_matrix() local
628 struct evdev_device *device = evdev_device(libinput_device); evdev_calibration_get_matrix() local
639 struct evdev_device *device = evdev_device(libinput_device); evdev_calibration_get_default_matrix() local
647 evdev_sendevents_get_modes(struct libinput_device *device) evdev_sendevents_get_modes() argument
653 evdev_sendevents_set_mode(struct libinput_device *device, enum libinput_config_send_events_mode mode) evdev_sendevents_set_mode() argument
679 evdev_sendevents_get_mode(struct libinput_device *device) evdev_sendevents_get_mode() argument
688 evdev_sendevents_get_default_mode(struct libinput_device *device) evdev_sendevents_get_default_mode() argument
694 evdev_left_handed_has(struct libinput_device *device) evdev_left_handed_has() argument
702 evdev_left_handed_set(struct libinput_device *device, int left_handed) evdev_left_handed_set() argument
714 evdev_left_handed_get(struct libinput_device *device) evdev_left_handed_get() argument
724 evdev_left_handed_get_default(struct libinput_device *device) evdev_left_handed_get_default() argument
730 evdev_init_left_handed(struct evdev_device *device, void (*change_to_left_handed)(struct evdev_device *)) evdev_init_left_handed() argument
744 evdev_scroll_get_methods(struct libinput_device *device) evdev_scroll_get_methods() argument
750 evdev_scroll_set_method(struct libinput_device *device, enum libinput_config_scroll_method method) evdev_scroll_set_method() argument
762 evdev_scroll_get_method(struct libinput_device *device) evdev_scroll_get_method() argument
772 evdev_scroll_get_default_method(struct libinput_device *device) evdev_scroll_get_default_method() argument
790 evdev_scroll_set_button(struct libinput_device *device, uint32_t button) evdev_scroll_set_button() argument
802 evdev_scroll_get_button(struct libinput_device *device) evdev_scroll_get_button() argument
812 evdev_scroll_get_default_button(struct libinput_device *device) evdev_scroll_get_default_button() argument
832 evdev_scroll_set_button_lock(struct libinput_device *device, enum libinput_config_scroll_button_lock_state state) evdev_scroll_set_button_lock() argument
854 evdev_scroll_get_button_lock(struct libinput_device *device) evdev_scroll_get_button_lock() argument
865 evdev_scroll_get_default_button_lock(struct libinput_device *device) evdev_scroll_get_default_button_lock() argument
871 evdev_set_button_scroll_lock_enabled(struct evdev_device *device, bool enabled) evdev_set_button_scroll_lock_enabled() argument
881 evdev_init_button_scroll(struct evdev_device *device, void (*change_scroll_method)(struct evdev_device *)) evdev_init_button_scroll() argument
913 evdev_init_calibration(struct evdev_device *device, struct libinput_device_config_calibration *calibration) evdev_init_calibration() argument
925 evdev_init_sendevents(struct evdev_device *device, struct evdev_dispatch *dispatch) evdev_init_sendevents() argument
938 evdev_scroll_config_natural_has(struct libinput_device *device) evdev_scroll_config_natural_has() argument
944 evdev_scroll_config_natural_set(struct libinput_device *device, int enabled) evdev_scroll_config_natural_set() argument
955 evdev_scroll_config_natural_get(struct libinput_device *device) evdev_scroll_config_natural_get() argument
963 evdev_scroll_config_natural_get_default(struct libinput_device *device) evdev_scroll_config_natural_get_default() argument
970 evdev_init_natural_scroll(struct evdev_device *device) evdev_init_natural_scroll() argument
981 evdev_need_mtdev(struct evdev_device *device) evdev_need_mtdev() argument
994 evdev_is_fake_mt_device(struct evdev_device *device) evdev_is_fake_mt_device() argument
1003 evdev_read_switch_reliability_prop(struct evdev_device *device) evdev_read_switch_reliability_prop() argument
1031 evdev_print_event(struct evdev_device *device, const struct input_event *e) evdev_print_event() argument
1065 evdev_process_event(struct evdev_device *device, struct input_event *e) evdev_process_event() argument
1080 evdev_device_dispatch_one(struct evdev_device *device, struct input_event *ev) evdev_device_dispatch_one() argument
1098 evdev_sync_device(struct evdev_device *device) evdev_sync_device() argument
1115 evdev_note_time_delay(struct evdev_device *device, const struct input_event *ev) evdev_note_time_delay() argument
1144 struct evdev_device *device = data; evdev_device_dispatch() local
1189 evdev_init_accel(struct evdev_device *device, enum libinput_config_accel_profile which) evdev_init_accel() argument
1223 evdev_accel_config_available(struct libinput_device *device) evdev_accel_config_available() argument
1231 evdev_accel_config_set_speed(struct libinput_device *device, double speed) evdev_accel_config_set_speed() argument
1242 evdev_accel_config_get_speed(struct libinput_device *device) evdev_accel_config_get_speed() argument
1250 evdev_accel_config_get_default_speed(struct libinput_device *device) evdev_accel_config_get_default_speed() argument
1258 struct evdev_device *device = evdev_device(libinput_device); evdev_accel_config_get_profiles() local
1272 struct evdev_device *device = evdev_device(libinput_device); evdev_accel_config_set_profile() local
1297 struct evdev_device *device = evdev_device(libinput_device); evdev_accel_config_get_profile() local
1305 struct evdev_device *device = evdev_device(libinput_device); evdev_accel_config_get_default_profile() local
1329 evdev_device_init_pointer_acceleration(struct evdev_device *device, struct motion_filter *filter) evdev_device_init_pointer_acceleration() argument
1354 evdev_read_wheel_click_prop(struct evdev_device *device, const char *prop, double *angle) evdev_read_wheel_click_prop() argument
1380 evdev_read_wheel_click_count_prop(struct evdev_device *device, const char *prop, double *angle) evdev_read_wheel_click_count_prop() argument
1406 evdev_read_wheel_click_props(struct evdev_device *device) evdev_read_wheel_click_props() argument
1432 evdev_get_trackpoint_multiplier(struct evdev_device *device) evdev_get_trackpoint_multiplier() argument
1464 evdev_need_velocity_averaging(struct evdev_device *device) evdev_need_velocity_averaging() argument
1487 evdev_read_dpi_prop(struct evdev_device *device) evdev_read_dpi_prop() argument
1515 evdev_read_model_flags(struct evdev_device *device) evdev_read_model_flags() argument
1596 evdev_read_attr_res_prop(struct evdev_device *device, size_t *xres, size_t *yres) evdev_read_attr_res_prop() argument
1622 evdev_read_attr_size_prop(struct evdev_device *device, size_t *size_x, size_t *size_y) evdev_read_attr_size_prop() argument
1649 evdev_fix_abs_resolution(struct evdev_device *device, unsigned int xcode, unsigned int ycode) evdev_fix_abs_resolution() argument
1694 evdev_device_get_udev_tags(struct evdev_device *device, struct udev_device *udev_device) evdev_device_get_udev_tags() argument
1716 evdev_fix_android_mt(struct evdev_device *device) evdev_fix_android_mt() argument
1736 evdev_check_min_max(struct evdev_device *device, unsigned int code) evdev_check_min_max() argument
1771 evdev_reject_device(struct evdev_device *device) evdev_reject_device() argument
1829 evdev_extract_abs_axes(struct evdev_device *device, enum evdev_device_udev_tags udev_tags) evdev_extract_abs_axes() argument
1877 evdev_disable_accelerometer_axes(struct evdev_device *device) evdev_disable_accelerometer_axes() argument
1891 evdev_device_is_joystick_or_gamepad(struct evdev_device *device) evdev_device_is_joystick_or_gamepad() argument
1969 evdev_configure_device(struct evdev_device *device) evdev_configure_device() argument
2158 evdev_notify_added_device(struct evdev_device *device) evdev_notify_added_device() argument
2212 evdev_set_device_group(struct evdev_device *device, struct udev_device *udev_device) evdev_set_device_group() argument
2249 evdev_pre_configure_model_quirks(struct evdev_device *device) evdev_pre_configure_model_quirks() argument
2387 struct evdev_device *device = NULL; evdev_device_create() local
2503 evdev_device_get_output(struct evdev_device *device) evdev_device_get_output() argument
2509 evdev_device_get_sysname(struct evdev_device *device) evdev_device_get_sysname() argument
2515 evdev_device_get_name(struct evdev_device *device) evdev_device_get_name() argument
2521 evdev_device_get_id_product(struct evdev_device *device) evdev_device_get_id_product() argument
2527 evdev_device_get_id_vendor(struct evdev_device *device) evdev_device_get_id_vendor() argument
2533 evdev_device_get_udev_device(struct evdev_device *device) evdev_device_get_udev_device() argument
2539 evdev_device_set_default_calibration(struct evdev_device *device, const float calibration[6]) evdev_device_set_default_calibration() argument
2547 evdev_device_calibrate(struct evdev_device *device, const float calibration[6]) evdev_device_calibrate() argument
2611 evdev_read_calibration_prop(struct evdev_device *device) evdev_read_calibration_prop() argument
2640 evdev_read_fuzz_prop(struct evdev_device *device, unsigned int code) evdev_read_fuzz_prop() argument
2687 evdev_device_has_capability(struct evdev_device *device, enum libinput_device_capability capability) evdev_device_has_capability() argument
2711 evdev_device_get_size(const struct evdev_device *device, double *width, double *height) evdev_device_get_size() argument
2731 evdev_device_has_button(struct evdev_device *device, uint32_t code) evdev_device_has_button() argument
2740 evdev_device_has_key(struct evdev_device *device, uint32_t code) evdev_device_has_key() argument
2749 evdev_device_get_touch_count(struct evdev_device *device) evdev_device_get_touch_count() argument
2771 evdev_device_has_switch(struct evdev_device *device, enum libinput_switch sw) evdev_device_has_switch() argument
2794 evdev_is_scrolling(const struct evdev_device *device, enum libinput_pointer_axis axis) evdev_is_scrolling() argument
2804 evdev_start_scrolling(struct evdev_device *device, enum libinput_pointer_axis axis) evdev_start_scrolling() argument
2814 evdev_post_scroll(struct evdev_device *device, uint64_t time, enum libinput_pointer_axis_source source, const struct normalized_coords *delta) evdev_post_scroll() argument
2895 evdev_stop_scroll(struct evdev_device *device, uint64_t time, enum libinput_pointer_axis_source source) evdev_stop_scroll() argument
2930 evdev_notify_suspended_device(struct evdev_device *device) evdev_notify_suspended_device() argument
2950 evdev_notify_resumed_device(struct evdev_device *device) evdev_notify_resumed_device() argument
2970 evdev_device_suspend(struct evdev_device *device) evdev_device_suspend() argument
2997 evdev_device_resume(struct evdev_device *device) evdev_device_resume() argument
3063 evdev_device_remove(struct evdev_device *device) evdev_device_remove() argument
3097 evdev_device_destroy(struct evdev_device *device) evdev_device_destroy() argument
3121 evdev_tablet_has_left_handed(struct evdev_device *device) evdev_tablet_has_left_handed() argument
[all...]
H A Devdev-middle-button.c81 middlebutton_state_error(struct evdev_device *device, in middlebutton_state_error() argument
84 evdev_log_bug_libinput(device, in middlebutton_state_error()
87 middlebutton_state_to_str(device->middlebutton.state)); in middlebutton_state_error()
91 middlebutton_timer_set(struct evdev_device *device, uint64_t now) in middlebutton_timer_set() argument
93 libinput_timer_set(&device->middlebutton.timer, in middlebutton_timer_set()
98 middlebutton_timer_cancel(struct evdev_device *device) in middlebutton_timer_cancel() argument
100 libinput_timer_cancel(&device->middlebutton.timer); in middlebutton_timer_cancel()
104 middlebutton_set_state(struct evdev_device *device, in middlebutton_set_state() argument
111 middlebutton_timer_set(device, now); in middlebutton_set_state()
112 device in middlebutton_set_state()
130 middlebutton_post_event(struct evdev_device *device, uint64_t now, int button, enum libinput_button_state state) middlebutton_post_event() argument
142 evdev_middlebutton_idle_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_idle_handle_event() argument
168 evdev_middlebutton_ldown_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_ldown_handle_event() argument
221 evdev_middlebutton_rdown_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_rdown_handle_event() argument
275 evdev_middlebutton_middle_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_middle_handle_event() argument
318 evdev_middlebutton_lup_pending_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_lup_pending_handle_event() argument
353 evdev_middlebutton_rup_pending_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_rup_pending_handle_event() argument
388 evdev_middlebutton_passthrough_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_passthrough_handle_event() argument
411 evdev_middlebutton_ignore_lr_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_ignore_lr_handle_event() argument
440 evdev_middlebutton_ignore_l_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_ignore_l_handle_event() argument
467 evdev_middlebutton_ignore_r_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_ignore_r_handle_event() argument
495 evdev_middlebutton_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_handle_event() argument
565 evdev_middlebutton_apply_config(struct evdev_device *device) evdev_middlebutton_apply_config() argument
578 evdev_middlebutton_filter_button(struct evdev_device *device, uint64_t time, int button, enum libinput_button_state state) evdev_middlebutton_filter_button() argument
645 struct evdev_device *device = evdev_device(data); evdev_middlebutton_handle_timeout() local
651 evdev_middlebutton_is_available(struct libinput_device *device) evdev_middlebutton_is_available() argument
657 evdev_middlebutton_set(struct libinput_device *device, enum libinput_config_middle_emulation_state enable) evdev_middlebutton_set() argument
679 evdev_middlebutton_get(struct libinput_device *device) evdev_middlebutton_get() argument
689 evdev_middlebutton_get_default(struct libinput_device *device) evdev_middlebutton_get_default() argument
699 evdev_init_middlebutton(struct evdev_device *device, bool enable, bool want_config) evdev_init_middlebutton() argument
[all...]
H A Devdev-fallback.c36 struct evdev_device *device, in fallback_keyboard_notify_key()
43 down_count = evdev_update_key_down_count(device, key, state); in fallback_keyboard_notify_key()
47 keyboard_notify_key(&device->base, time, key, state); in fallback_keyboard_notify_key()
52 struct evdev_device *device, in fallback_lid_notify_toggle()
56 switch_notify_toggle(&device->base, in fallback_lid_notify_toggle()
66 struct evdev_device *device, in fallback_notify_physical_button()
71 evdev_pointer_notify_physical_button(device, time, button, state); in fallback_notify_physical_button()
94 post_button_scroll(struct evdev_device *device, in post_button_scroll() argument
98 if (device->scroll.method != LIBINPUT_CONFIG_SCROLL_ON_BUTTON_DOWN) in post_button_scroll()
101 switch(device in post_button_scroll()
35 fallback_keyboard_notify_key(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time, int key, enum libinput_key_state state) fallback_keyboard_notify_key() argument
51 fallback_lid_notify_toggle(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_lid_notify_toggle() argument
65 fallback_notify_physical_button(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time, int button, enum libinput_button_state state) fallback_notify_physical_button() argument
131 fallback_filter_defuzz_touch(struct fallback_dispatch *dispatch, struct evdev_device *device, struct mt_slot *slot) fallback_filter_defuzz_touch() argument
155 fallback_rotate_relative(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_rotate_relative() argument
169 fallback_flush_relative_motion(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_flush_relative_motion() argument
207 fallback_flush_absolute_motion(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_flush_absolute_motion() argument
224 fallback_flush_mt_down(struct fallback_dispatch *dispatch, struct evdev_device *device, int slot_idx, uint64_t time) fallback_flush_mt_down() argument
263 fallback_flush_mt_motion(struct fallback_dispatch *dispatch, struct evdev_device *device, int slot_idx, uint64_t time) fallback_flush_mt_motion() argument
294 fallback_flush_mt_up(struct fallback_dispatch *dispatch, struct evdev_device *device, int slot_idx, uint64_t time) fallback_flush_mt_up() argument
322 fallback_flush_mt_cancel(struct fallback_dispatch *dispatch, struct evdev_device *device, int slot_idx, uint64_t time) fallback_flush_mt_cancel() argument
350 fallback_flush_st_down(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_flush_st_down() argument
385 fallback_flush_st_motion(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_flush_st_motion() argument
407 fallback_flush_st_up(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_flush_st_up() argument
432 fallback_flush_st_cancel(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_flush_st_cancel() argument
457 fallback_process_touch_button(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time, int value) fallback_process_touch_button() argument
467 fallback_process_key(struct fallback_dispatch *dispatch, struct evdev_device *device, struct input_event *e, uint64_t time) fallback_process_key() argument
524 fallback_process_touch(struct fallback_dispatch *dispatch, struct evdev_device *device, struct input_event *e, uint64_t time) fallback_process_touch() argument
607 fallback_process_absolute_motion(struct fallback_dispatch *dispatch, struct evdev_device *device, struct input_event *e) fallback_process_absolute_motion() argument
702 fallback_process_switch(struct fallback_dispatch *dispatch, struct evdev_device *device, struct input_event *e, uint64_t time) fallback_process_switch() argument
742 fallback_reject_relative(struct evdev_device *device, const struct input_event *e, uint64_t time) fallback_reject_relative() argument
758 fallback_process_relative(struct fallback_dispatch *dispatch, struct evdev_device *device, struct input_event *e, uint64_t time) fallback_process_relative() argument
780 fallback_process_absolute(struct fallback_dispatch *dispatch, struct evdev_device *device, struct input_event *e, uint64_t time) fallback_process_absolute() argument
793 fallback_any_button_down(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_any_button_down() argument
824 fallback_flush_mt_events(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_flush_mt_events() argument
899 fallback_handle_state(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_handle_state() argument
965 fallback_interface_process(struct evdev_dispatch *evdev_dispatch, struct evdev_device *device, struct input_event *event, uint64_t time) fallback_interface_process() argument
1003 cancel_touches(struct fallback_dispatch *dispatch, struct evdev_device *device, const struct device_coord_rect *rect, uint64_t time) cancel_touches() argument
1037 release_pressed_keys(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) release_pressed_keys() argument
1092 fallback_return_to_neutral_state(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_return_to_neutral_state() argument
1108 fallback_interface_suspend(struct evdev_dispatch *evdev_dispatch, struct evdev_device *device) fallback_interface_suspend() argument
1137 fallback_interface_sync_initial_state(struct evdev_device *device, struct evdev_dispatch *evdev_dispatch) fallback_interface_sync_initial_state() argument
1173 fallback_interface_update_rect(struct evdev_dispatch *evdev_dispatch, struct evdev_device *device, const struct phys_rect *phys_rect, uint64_t time) fallback_interface_update_rect() argument
1191 fallback_interface_toggle_touch(struct evdev_dispatch *evdev_dispatch, struct evdev_device *device, enum evdev_arbitration_state which, const struct phys_rect *phys_rect, uint64_t time) fallback_interface_toggle_touch() argument
1294 fallback_resume(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_resume() argument
1305 fallback_suspend(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_suspend() argument
1317 struct evdev_device *device = dispatch->device; fallback_tablet_mode_switch_event() local
1389 fallback_interface_device_added(struct evdev_device *device, struct evdev_device *added_device) fallback_interface_device_added() argument
1397 fallback_interface_device_removed(struct evdev_device *device, struct evdev_device *removed_device) fallback_interface_device_removed() argument
1441 fallback_change_to_left_handed(struct evdev_device *device) fallback_change_to_left_handed() argument
1455 fallback_change_scroll_method(struct evdev_device *device) fallback_change_scroll_method() argument
1474 fallback_rotation_config_is_available(struct libinput_device *device) fallback_rotation_config_is_available() argument
1484 struct evdev_device *device = evdev_device(libinput_device); fallback_rotation_config_set_angle() local
1496 struct evdev_device *device = evdev_device(libinput_device); fallback_rotation_config_get_angle() local
1503 fallback_rotation_config_get_default_angle(struct libinput_device *device) fallback_rotation_config_get_default_angle() argument
1509 fallback_init_rotation(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_init_rotation() argument
1524 fallback_dispatch_init_slots(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_dispatch_init_slots() argument
1587 fallback_dispatch_init_rel(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_dispatch_init_rel() argument
1595 fallback_dispatch_init_abs(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_dispatch_init_abs() argument
1609 fallback_dispatch_init_switch(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_dispatch_init_switch() argument
1643 fallback_init_arbitration(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_init_arbitration() argument
1663 struct evdev_device *device = evdev_device(libinput_device); fallback_dispatch_create() local
[all...]
H A Devdev.h214 /* set during device init, used at runtime to delay changes
219 void (*change_scroll_method)(struct evdev_device *device);
227 /* set during device init if we want natural scrolling,
231 /* set during device init to invert direction of
256 /* set during device init if we want left_handed config,
260 void (*change_to_enabled)(struct evdev_device *device);
277 evdev_device(struct libinput_device *device) in evdev_device() argument
279 return container_of(device, struct evdev_device, base); in evdev_device()
289 struct evdev_device *device,
295 struct evdev_device *device);
382 evdev_libinput_context(const struct evdev_device *device) evdev_libinput_context() argument
388 evdev_device_has_model_quirk(struct evdev_device *device, enum quirk model_quirk) evdev_device_has_model_quirk() argument
654 evdev_convert_xy_to_mm(const struct evdev_device *device, int x, int y) evdev_convert_xy_to_mm() argument
672 evdev_to_left_handed(struct evdev_device *device, uint32_t button) evdev_to_left_handed() argument
774 evdev_log_msg(struct evdev_device *device, enum libinput_log_priority priority, const char *format, ...) evdev_log_msg() argument
805 evdev_log_msg_ratelimit(struct evdev_device *device, struct ratelimit *ratelimit, enum libinput_log_priority priority, const char *format, ...) evdev_log_msg_ratelimit() argument
876 evdev_device_unit_delta_to_mm(const struct evdev_device* device, const struct device_coords *units) evdev_device_unit_delta_to_mm() argument
904 evdev_device_units_to_mm(const struct evdev_device* device, const struct device_coords *units) evdev_device_units_to_mm() argument
932 evdev_device_mm_to_units(const struct evdev_device *device, const struct phys_coords *mm) evdev_device_mm_to_units() argument
956 evdev_phys_rect_to_units(const struct evdev_device *device, const struct phys_rect *mm) evdev_phys_rect_to_units() argument
982 evdev_device_init_abs_range_warnings(struct evdev_device *device) evdev_device_init_abs_range_warnings() argument
1004 evdev_device_check_abs_axis_range(struct evdev_device *device, unsigned int code, int value) evdev_device_check_abs_axis_range() argument
1037 struct evdev_device *device; global() member
[all...]
/third_party/vulkan-loader/loader/generated/
H A Dvk_dispatch_table_helper.h32 static inline void layer_init_device_dispatch_table(VkDevice device, VkLayerDispatchTable *table, PFN_vkGetDeviceProcAddr gpa) { in layer_init_device_dispatch_table() argument
38 table->DestroyDevice = (PFN_vkDestroyDevice)gpa(device, "vkDestroyDevice"); in layer_init_device_dispatch_table()
39 table->GetDeviceQueue = (PFN_vkGetDeviceQueue)gpa(device, "vkGetDeviceQueue"); in layer_init_device_dispatch_table()
40 table->QueueSubmit = (PFN_vkQueueSubmit)gpa(device, "vkQueueSubmit"); in layer_init_device_dispatch_table()
41 table->QueueWaitIdle = (PFN_vkQueueWaitIdle)gpa(device, "vkQueueWaitIdle"); in layer_init_device_dispatch_table()
42 table->DeviceWaitIdle = (PFN_vkDeviceWaitIdle)gpa(device, "vkDeviceWaitIdle"); in layer_init_device_dispatch_table()
43 table->AllocateMemory = (PFN_vkAllocateMemory)gpa(device, "vkAllocateMemory"); in layer_init_device_dispatch_table()
44 table->FreeMemory = (PFN_vkFreeMemory)gpa(device, "vkFreeMemory"); in layer_init_device_dispatch_table()
45 table->MapMemory = (PFN_vkMapMemory)gpa(device, "vkMapMemory"); in layer_init_device_dispatch_table()
46 table->UnmapMemory = (PFN_vkUnmapMemory)gpa(device, "vkUnmapMemor in layer_init_device_dispatch_table()
[all...]
/third_party/vulkan-loader/tests/framework/layer/
H A Dvk_dispatch_table_helper.h32 static inline void layer_init_device_dispatch_table(VkDevice device, VkLayerDispatchTable *table, PFN_vkGetDeviceProcAddr gpa) { in layer_init_device_dispatch_table() argument
38 table->DestroyDevice = (PFN_vkDestroyDevice)gpa(device, "vkDestroyDevice"); in layer_init_device_dispatch_table()
39 table->GetDeviceQueue = (PFN_vkGetDeviceQueue)gpa(device, "vkGetDeviceQueue"); in layer_init_device_dispatch_table()
40 table->QueueSubmit = (PFN_vkQueueSubmit)gpa(device, "vkQueueSubmit"); in layer_init_device_dispatch_table()
41 table->QueueWaitIdle = (PFN_vkQueueWaitIdle)gpa(device, "vkQueueWaitIdle"); in layer_init_device_dispatch_table()
42 table->DeviceWaitIdle = (PFN_vkDeviceWaitIdle)gpa(device, "vkDeviceWaitIdle"); in layer_init_device_dispatch_table()
43 table->AllocateMemory = (PFN_vkAllocateMemory)gpa(device, "vkAllocateMemory"); in layer_init_device_dispatch_table()
44 table->FreeMemory = (PFN_vkFreeMemory)gpa(device, "vkFreeMemory"); in layer_init_device_dispatch_table()
45 table->MapMemory = (PFN_vkMapMemory)gpa(device, "vkMapMemory"); in layer_init_device_dispatch_table()
46 table->UnmapMemory = (PFN_vkUnmapMemory)gpa(device, "vkUnmapMemor in layer_init_device_dispatch_table()
[all...]
/third_party/vulkan-loader/loader/
H A Ddev_ext_trampoline.c37 VKAPI_ATTR void VKAPI_CALL vkdev_ext0(VkDevice device) ASM_NAME("vkdev_ext0");
38 VKAPI_ATTR void VKAPI_CALL vkdev_ext1(VkDevice device) ASM_NAME("vkdev_ext1");
39 VKAPI_ATTR void VKAPI_CALL vkdev_ext2(VkDevice device) ASM_NAME("vkdev_ext2");
40 VKAPI_ATTR void VKAPI_CALL vkdev_ext3(VkDevice device) ASM_NAME("vkdev_ext3");
41 VKAPI_ATTR void VKAPI_CALL vkdev_ext4(VkDevice device) ASM_NAME("vkdev_ext4");
42 VKAPI_ATTR void VKAPI_CALL vkdev_ext5(VkDevice device) ASM_NAME("vkdev_ext5");
43 VKAPI_ATTR void VKAPI_CALL vkdev_ext6(VkDevice device) ASM_NAME("vkdev_ext6");
44 VKAPI_ATTR void VKAPI_CALL vkdev_ext7(VkDevice device) ASM_NAME("vkdev_ext7");
45 VKAPI_ATTR void VKAPI_CALL vkdev_ext8(VkDevice device) ASM_NAME("vkdev_ext8");
46 VKAPI_ATTR void VKAPI_CALL vkdev_ext9(VkDevice device) ASM_NAM
[all...]
/drivers/hdf_core/framework/support/platform/src/fwk/
H A Dplatform_device.c25 struct PlatformDevice *device = NULL; in PlatformDeviceOnLastPut() local
33 device = CONTAINER_OF(sref, struct PlatformDevice, ref); in PlatformDeviceOnLastPut()
34 if (device == NULL) { in PlatformDeviceOnLastPut()
35 PLAT_LOGE("PlatformDeviceOnLastPut: get device is null!"); in PlatformDeviceOnLastPut()
39 ret = PlatformDevicePostEvent(device, PLAT_EVENT_DEVICE_DEAD); in PlatformDeviceOnLastPut()
44 PLAT_LOGI("PlatformDeviceOnLastPut: device:%s(%d) life cycle end", device->name, device->number); in PlatformDeviceOnLastPut()
53 int32_t PlatformDeviceSetName(struct PlatformDevice *device, const char *fmt, ...) in PlatformDeviceSetName() argument
61 if (device in PlatformDeviceSetName()
102 PlatformDeviceClearName(struct PlatformDevice *device) PlatformDeviceClearName() argument
110 PlatformDeviceInit(struct PlatformDevice *device) PlatformDeviceInit() argument
140 PlatformDeviceUninit(struct PlatformDevice *device) PlatformDeviceUninit() argument
152 PlatformDeviceGet(struct PlatformDevice *device) PlatformDeviceGet() argument
163 PlatformDevicePut(struct PlatformDevice *device) PlatformDevicePut() argument
170 PlatformDeviceRefCount(struct PlatformDevice *device) PlatformDeviceRefCount() argument
178 PlatformDeviceAdd(struct PlatformDevice *device) PlatformDeviceAdd() argument
212 PlatformDeviceDel(struct PlatformDevice *device) PlatformDeviceDel() argument
247 PlatformDeviceCreateService(struct PlatformDevice *device, int32_t (*dispatch)(struct HdfDeviceIoClient *client, int cmd, struct HdfSBuf *data, struct HdfSBuf *reply)) PlatformDeviceCreateService() argument
270 PlatformDeviceDestroyService(struct PlatformDevice *device) PlatformDeviceDestroyService() argument
286 PlatformDeviceSetHdfDev(struct PlatformDevice *device, struct HdfDeviceObject *hdfDevice) PlatformDeviceSetHdfDev() argument
303 PlatformDeviceBind(struct PlatformDevice *device, struct HdfDeviceObject *hdfDevice) PlatformDeviceBind() argument
314 PlatformDeviceUnbind(struct PlatformDevice *device, const struct HdfDeviceObject *hdfDev) PlatformDeviceUnbind() argument
344 PlatformDevicePostEvent(struct PlatformDevice *device, uint32_t events) PlatformDevicePostEvent() argument
353 PlatformDeviceWaitEvent(struct PlatformDevice *device, uint32_t mask, uint32_t tms, uint32_t *events) PlatformDeviceWaitEvent() argument
378 PlatformDeviceListenEvent(struct PlatformDevice *device, struct PlatformEventListener *listener) PlatformDeviceListenEvent() argument
391 PlatformDeviceUnListenEvent(struct PlatformDevice *device, struct PlatformEventListener *listener) PlatformDeviceUnListenEvent() argument
398 PlatformDeviceGetDrs(const struct PlatformDevice *device) PlatformDeviceGetDrs() argument
[all...]
H A Dplatform_manager.c19 (void)OsalSpinLockIrqSave(&manager->device.spin, &manager->device.irqSave); in PlatformManagerLock()
24 (void)OsalSpinUnlockIrqRestore(&manager->device.spin, &manager->device.irqSave); in PlatformManagerUnlock()
33 if ((ret = PlatformDeviceInit(&manager->device)) != HDF_SUCCESS) { in PlatformManagerInit()
34 PLAT_LOGE("PlatformManagerInit: device init fail!"); in PlatformManagerInit()
64 PlatformDeviceUninit(&manager->device); in PlatformManagerUninit()
79 managerNew->device.name = name; in PlatformManagerCreate()
127 static int32_t PlatformManagerAddDeviceDefault(struct PlatformManager *manager, struct PlatformDevice *device) in PlatformManagerAddDeviceDefault() argument
134 if (device in PlatformManagerAddDeviceDefault()
159 PlatformManagerAddDevice(struct PlatformManager *manager, struct PlatformDevice *device) PlatformManagerAddDevice() argument
203 PlatformManagerDelDeviceDefault(const struct PlatformManager *manager, struct PlatformDevice *device) PlatformManagerDelDeviceDefault() argument
219 PlatformManagerDelDevice(struct PlatformManager *manager, struct PlatformDevice *device) PlatformManagerDelDevice() argument
289 PlatformDeviceMatchByNumber(struct PlatformDevice *device, void *data) PlatformDeviceMatchByNumber() argument
305 PlatformDeviceMatchByName(struct PlatformDevice *device, void *data) PlatformDeviceMatchByName() argument
[all...]
/drivers/hdf_core/framework/support/platform/src/clock/
H A Dclock_core.c22 struct HdfDeviceObject *device; member
29 static int32_t ClockDeviceLockDefault(struct ClockDevice *device) in ClockDeviceLockDefault() argument
31 if (device == NULL) { in ClockDeviceLockDefault()
32 HDF_LOGE("ClockDeviceLockDefault: device is null!"); in ClockDeviceLockDefault()
35 return OsalSpinLock(&device->spin); in ClockDeviceLockDefault()
38 static void ClockDeviceUnlockDefault(struct ClockDevice *device) in ClockDeviceUnlockDefault() argument
40 if (device == NULL) { in ClockDeviceUnlockDefault()
41 HDF_LOGE("ClockDeviceUnlockDefault: device is null!"); in ClockDeviceUnlockDefault()
44 (void)OsalSpinUnlock(&device->spin); in ClockDeviceUnlockDefault()
52 static inline int32_t ClockDeviceLock(struct ClockDevice *device) in ClockDeviceLock() argument
61 ClockDeviceUnlock(struct ClockDevice *device) ClockDeviceUnlock() argument
68 ClockManagerAddDevice(struct ClockDevice *device) ClockManagerAddDevice() argument
101 ClockManagerRemoveDevice(struct ClockDevice *device) ClockManagerRemoveDevice() argument
129 ClockDeviceRemove(struct ClockDevice *device) ClockDeviceRemove() argument
141 struct ClockDevice *device = NULL; ClockManagerFindDevice() local
165 ClockDeviceAdd(struct ClockDevice *device) ClockDeviceAdd() argument
228 ClockDeviceStart(struct ClockDevice *device) ClockDeviceStart() argument
253 ClockDeviceStop(struct ClockDevice *device) ClockDeviceStop() argument
281 struct ClockDevice *device = NULL; ClockDeviceOpen() local
298 ClockDeviceClose(struct ClockDevice *device) ClockDeviceClose() argument
315 ClockDeviceSetRate(struct ClockDevice *device, uint32_t rate) ClockDeviceSetRate() argument
340 ClockDeviceGetRate(struct ClockDevice *device, uint32_t *rate) ClockDeviceGetRate() argument
363 ClockDeviceGetParent(struct ClockDevice *device) ClockDeviceGetParent() argument
388 ClockDeviceSetParent(struct ClockDevice *device, struct ClockDevice *parent) ClockDeviceSetParent() argument
419 ClockDeviceDisable(struct ClockDevice *device) ClockDeviceDisable() argument
444 ClockDeviceEnable(struct ClockDevice *device) ClockDeviceEnable() argument
506 struct ClockDevice *device = NULL; ClockManagerClose() local
538 struct ClockDevice *device = NULL; ClockManagerEnable() local
569 struct ClockDevice *device = NULL; ClockManagerDisable() local
600 struct ClockDevice *device = NULL; ClockManagerSetRate() local
637 struct ClockDevice *device = NULL; ClockManagerGetRate() local
673 struct ClockDevice *device = NULL; ClockManagerGetParent() local
716 struct ClockDevice *device = NULL; ClockManagerSetParent() local
803 ClockManagerBind(struct HdfDeviceObject *device) ClockManagerBind() argument
809 ClockManagerInit(struct HdfDeviceObject *device) ClockManagerInit() argument
839 ClockManagerRelease(struct HdfDeviceObject *device) ClockManagerRelease() argument
[all...]
/third_party/skia/src/gpu/vk/
H A DGrVkInterface.cpp13 #define ACQUIRE_PROC(name, instance, device) \
14 fFunctions.f##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device))
16 #define ACQUIRE_PROC_SUFFIX(name, suffix, instance, device) \
18 reinterpret_cast<PFN_vk##name##suffix>(getProc("vk" #name #suffix, instance, device))
22 VkDevice device, in GrVkInterface()
50 ACQUIRE_PROC(GetDeviceQueue, VK_NULL_HANDLE, device); in GrVkInterface()
51 ACQUIRE_PROC(QueueSubmit, VK_NULL_HANDLE, device); in GrVkInterface()
52 ACQUIRE_PROC(QueueWaitIdle, VK_NULL_HANDLE, device); in GrVkInterface()
53 ACQUIRE_PROC(DeviceWaitIdle, VK_NULL_HANDLE, device); in GrVkInterface()
54 ACQUIRE_PROC(AllocateMemory, VK_NULL_HANDLE, device); in GrVkInterface()
20 GrVkInterface(GrVkGetProc getProc, VkInstance instance, VkDevice device, uint32_t instanceVersion, uint32_t physicalDeviceVersion, const GrVkExtensions* extensions) GrVkInterface() argument
[all...]
/drivers/hdf_core/framework/core/host/src/
H A Dhdf_device.c19 // device node id less than 129 is configured in hcs, dynamic allocation ID starts from 129
22 static void UpdateDeivceNodeIdIndex(struct HdfDevice *device, devid_t nodeDevid) in UpdateDeivceNodeIdIndex() argument
24 if (device->devidIndex < DEVNODEID(nodeDevid)) { in UpdateDeivceNodeIdIndex()
25 device->devidIndex = DEVNODEID(nodeDevid); in UpdateDeivceNodeIdIndex()
29 static devid_t FindUsableDevNodeId(struct HdfDevice *device) in FindUsableDevNodeId() argument
34 for (; nodeId <= device->devidIndex; nodeId++) { in FindUsableDevNodeId()
36 DLIST_FOR_EACH_ENTRY(devNode, &device->devNodes, struct HdfDeviceNode, entry) { in FindUsableDevNodeId()
49 static int AcquireNodeDeivceId(struct HdfDevice *device, devid_t *devid) in AcquireNodeDeivceId() argument
53 if (device->devidIndex >= DEVNODEID_MASK) { in AcquireNodeDeivceId()
57 if (device in AcquireNodeDeivceId()
82 struct HdfDevice *device = (struct HdfDevice *)devInst; HdfDeviceAttach() local
107 struct HdfDevice *device = NULL; HdfDeviceDetach() local
129 HdfDeviceGetDeviceNode(struct IHdfDevice *device, devid_t devid) HdfDeviceGetDeviceNode() argument
141 HdfDeviceDetachWithDevid(struct IHdfDevice *device, devid_t devid) HdfDeviceDetachWithDevid() argument
154 HdfDeviceConstruct(struct HdfDevice *device) HdfDeviceConstruct() argument
164 HdfDeviceDestruct(struct HdfDevice *device) HdfDeviceDestruct() argument
176 struct HdfDevice *device = (struct HdfDevice *)OsalMemCalloc(sizeof(struct HdfDevice)); HdfDeviceCreate() local
185 struct HdfDevice *device = (struct HdfDevice *)object; HdfDeviceRelease() local
197 HdfDeviceFreeInstance(struct HdfDevice *device) HdfDeviceFreeInstance() argument
[all...]
/foundation/multimedia/audio_framework/frameworks/native/bluetoothclient/
H A Dbluetooth_device_manager.cpp103 BluetoothRemoteDevice device; in SendUserSelectionEvent() local
105 if (MediaBluetoothDeviceManager::GetConnectedA2dpBluetoothDevice(macAddress, device) != SUCCESS) { in SendUserSelectionEvent()
106 AUDIO_ERR_LOG("failed for the device is not connected."); in SendUserSelectionEvent()
109 BluetoothAudioManager::GetInstance().SendDeviceSelection(device, eventType, in SendUserSelectionEvent()
112 if (HfpBluetoothDeviceManager::GetConnectedHfpBluetoothDevice(macAddress, device) != SUCCESS) { in SendUserSelectionEvent()
113 AUDIO_ERR_LOG("failed for the device is not connected."); in SendUserSelectionEvent()
116 BluetoothAudioManager::GetInstance().SendDeviceSelection(device, A2DP_DEFAULT_SELECTION, in SendUserSelectionEvent()
123 bool IsBTWearDetectionEnable(const BluetoothRemoteDevice &device) in IsBTWearDetectionEnable() argument
127 BluetoothAudioManager::GetInstance().GetWearDetectionState(device.GetDeviceAddr(), wearEnabledAbility); in IsBTWearDetectionEnable()
128 BluetoothAudioManager::GetInstance().IsWearDetectionSupported(device in IsBTWearDetectionEnable()
134 GetDeviceCategory(const BluetoothRemoteDevice &device) GetDeviceCategory() argument
149 SetMediaStack(const BluetoothRemoteDevice &device, int action) SetMediaStack() argument
194 HandleConnectingDevice(const BluetoothRemoteDevice &device) HandleConnectingDevice() argument
202 HandleConnectDevice(const BluetoothRemoteDevice &device) HandleConnectDevice() argument
240 HandleDisconnectDevice(const BluetoothRemoteDevice &device) HandleDisconnectDevice() argument
259 HandleWearDevice(const BluetoothRemoteDevice &device) HandleWearDevice() argument
281 HandleUnwearDevice(const BluetoothRemoteDevice &device) HandleUnwearDevice() argument
302 HandleEnableDevice(const BluetoothRemoteDevice &device) HandleEnableDevice() argument
318 HandleDisableDevice(const BluetoothRemoteDevice &device) HandleDisableDevice() argument
334 HandleWearEnable(const BluetoothRemoteDevice &device) HandleWearEnable() argument
361 HandleWearDisable(const BluetoothRemoteDevice &device) HandleWearDisable() argument
380 HandleUserSelection(const BluetoothRemoteDevice &device) HandleUserSelection() argument
388 HandleVirtualConnectDevice(const BluetoothRemoteDevice &device) HandleVirtualConnectDevice() argument
401 HandleRemoveVirtualConnectDevice(const BluetoothRemoteDevice &device) HandleRemoveVirtualConnectDevice() argument
414 AddDeviceInConfigVector(const BluetoothRemoteDevice &device, std::vector<BluetoothRemoteDevice> &deviceVector) AddDeviceInConfigVector() argument
427 RemoveDeviceInConfigVector(const BluetoothRemoteDevice &device, std::vector<BluetoothRemoteDevice> &deviceVector) RemoveDeviceInConfigVector() argument
440 NotifyToUpdateAudioDevice(const BluetoothRemoteDevice &device, AudioDeviceDescriptor &desc, DeviceStatus deviceStatus) NotifyToUpdateAudioDevice() argument
467 NotifyToUpdateVirtualDevice(const BluetoothRemoteDevice &device, AudioDeviceDescriptor &desc, DeviceStatus deviceStatus) NotifyToUpdateVirtualDevice() argument
503 GetConnectedA2dpBluetoothDevice(const std::string& macAddress, BluetoothRemoteDevice &device) GetConnectedA2dpBluetoothDevice() argument
526 UpdateA2dpDeviceConfiguration(const BluetoothRemoteDevice &device, const AudioStreamInfo &streamInfo) UpdateA2dpDeviceConfiguration() argument
558 SetHfpStack(const BluetoothRemoteDevice &device, int action) SetHfpStack() argument
606 HandleConnectingDevice(const BluetoothRemoteDevice &device) HandleConnectingDevice() argument
614 HandleConnectDevice(const BluetoothRemoteDevice &device) HandleConnectDevice() argument
653 HandleDisconnectDevice(const BluetoothRemoteDevice &device) HandleDisconnectDevice() argument
672 HandleWearDevice(const BluetoothRemoteDevice &device) HandleWearDevice() argument
695 HandleUnwearDevice(const BluetoothRemoteDevice &device) HandleUnwearDevice() argument
718 HandleEnableDevice(const BluetoothRemoteDevice &device) HandleEnableDevice() argument
734 HandleDisableDevice(const BluetoothRemoteDevice &device) HandleDisableDevice() argument
750 HandleWearEnable(const BluetoothRemoteDevice &device) HandleWearEnable() argument
777 HandleWearDisable(const BluetoothRemoteDevice &device) HandleWearDisable() argument
796 HandleUserSelection(const BluetoothRemoteDevice &device) HandleUserSelection() argument
819 HandleStopVirtualCall(const BluetoothRemoteDevice &device) HandleStopVirtualCall() argument
831 HandleVirtualConnectDevice(const BluetoothRemoteDevice &device) HandleVirtualConnectDevice() argument
844 HandleRemoveVirtualConnectDevice(const BluetoothRemoteDevice &device) HandleRemoveVirtualConnectDevice() argument
857 AddDeviceInConfigVector(const BluetoothRemoteDevice &device, std::vector<BluetoothRemoteDevice> &deviceVector) AddDeviceInConfigVector() argument
870 RemoveDeviceInConfigVector(const BluetoothRemoteDevice &device, std::vector<BluetoothRemoteDevice> &deviceVector) RemoveDeviceInConfigVector() argument
883 NotifyToUpdateAudioDevice(const BluetoothRemoteDevice &device, AudioDeviceDescriptor &desc, DeviceStatus deviceStatus) NotifyToUpdateAudioDevice() argument
912 NotifyToUpdateVirtualDevice(const BluetoothRemoteDevice &device, AudioDeviceDescriptor &desc, DeviceStatus deviceStatus) NotifyToUpdateVirtualDevice() argument
947 GetConnectedHfpBluetoothDevice(const std::string& macAddress, BluetoothRemoteDevice &device) GetConnectedHfpBluetoothDevice() argument
987 OnScoStateChanged(const BluetoothRemoteDevice &device, bool isConnected, int reason) OnScoStateChanged() argument
[all...]
H A Dbluetooth_device_manager.h34 bool IsBTWearDetectionEnable(const BluetoothRemoteDevice &device);
41 static void SetMediaStack(const BluetoothRemoteDevice &device, int action);
42 static void HandleConnectingDevice(const BluetoothRemoteDevice &device);
43 static void HandleConnectDevice(const BluetoothRemoteDevice &device);
44 static void HandleDisconnectDevice(const BluetoothRemoteDevice &device);
45 static void HandleWearDevice(const BluetoothRemoteDevice &device);
46 static void HandleUnwearDevice(const BluetoothRemoteDevice &device);
47 static void HandleEnableDevice(const BluetoothRemoteDevice &device);
48 static void HandleDisableDevice(const BluetoothRemoteDevice &device);
49 static void HandleWearEnable(const BluetoothRemoteDevice &device);
82 BluetoothRemoteDevice device; global() member
[all...]
/drivers/hdf_core/framework/support/platform/src/dac/
H A Ddac_core.c25 struct HdfDeviceObject *device; member
32 static int32_t DacDeviceLockDefault(struct DacDevice *device) in DacDeviceLockDefault() argument
34 if (device == NULL) { in DacDeviceLockDefault()
35 HDF_LOGE("DacDeviceLockDefault: device is null!"); in DacDeviceLockDefault()
38 return OsalSpinLock(&device->spin); in DacDeviceLockDefault()
41 static void DacDeviceUnlockDefault(struct DacDevice *device) in DacDeviceUnlockDefault() argument
43 if (device == NULL) { in DacDeviceUnlockDefault()
44 HDF_LOGE("DacDeviceUnlockDefault: device is null!"); in DacDeviceUnlockDefault()
47 (void)OsalSpinUnlock(&device->spin); in DacDeviceUnlockDefault()
55 static inline int32_t DacDeviceLock(struct DacDevice *device) in DacDeviceLock() argument
68 DacDeviceUnlock(struct DacDevice *device) DacDeviceUnlock() argument
79 DacManagerAddDevice(struct DacDevice *device) DacManagerAddDevice() argument
115 DacManagerRemoveDevice(const struct DacDevice *device) DacManagerRemoveDevice() argument
149 struct DacDevice *device = NULL; DacManagerFindDevice() local
173 DacDeviceAdd(struct DacDevice *device) DacDeviceAdd() argument
205 DacDeviceRemove(struct DacDevice *device) DacDeviceRemove() argument
220 DacDevicePut(const struct DacDevice *device) DacDevicePut() argument
228 struct DacDevice *device = NULL; DacDeviceOpen() local
245 DacDeviceClose(struct DacDevice *device) DacDeviceClose() argument
256 DacDeviceWrite(struct DacDevice *device, uint32_t channel, uint32_t val) DacDeviceWrite() argument
280 DacDeviceStart(struct DacDevice *device) DacDeviceStart() argument
312 DacDeviceStop(struct DacDevice *device) DacDeviceStop() argument
462 DacManagerBind(struct HdfDeviceObject *device) DacManagerBind() argument
467 DacManagerInit(struct HdfDeviceObject *device) DacManagerInit() argument
497 DacManagerRelease(struct HdfDeviceObject *device) DacManagerRelease() argument
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/server/src/
H A Dbluetooth_hfp_hf_server.cpp37 void OnConnectionStateChanged(const RawAddress& device, int state) override
39 HILOGI("addr: %{public}s, state: %{public}d", GET_ENCRYPT_ADDR(device), state);
40 observers_->ForEach([device, state](IBluetoothHfpHfObserver* observer) {
41 observer->OnConnectionStateChanged(device, state,
46 void OnScoStateChanged(const RawAddress& device, int state) override
48 HILOGI("addr: %{public}s, state: %{public}d", GET_ENCRYPT_ADDR(device), state);
49 observers_->ForEach([device, state](IBluetoothHfpHfObserver* observer) {
50 observer->OnScoStateChanged(device, state);
54 void OnCallChanged(const RawAddress& device, const HandsFreeUnitCalls& call) override
56 HILOGI("addr: %{public}s", GET_ENCRYPT_ADDR(device));
193 ConnectSco(const BluetoothRawAddress &device) ConnectSco() argument
202 DisconnectSco(const BluetoothRawAddress &device) DisconnectSco() argument
236 GetDeviceState(const BluetoothRawAddress &device) GetDeviceState() argument
249 GetScoState(const BluetoothRawAddress &device) GetScoState() argument
258 SendDTMFTone(const BluetoothRawAddress &device, uint8_t code) SendDTMFTone() argument
267 Connect(const BluetoothRawAddress &device) Connect() argument
276 Disconnect(const BluetoothRawAddress &device) Disconnect() argument
285 OpenVoiceRecognition(const BluetoothRawAddress &device) OpenVoiceRecognition() argument
294 CloseVoiceRecognition(const BluetoothRawAddress &device) CloseVoiceRecognition() argument
303 GetCurrentCallList(const BluetoothRawAddress &device, std::vector<BluetoothHfpHfCall> &calls) GetCurrentCallList() argument
317 AcceptIncomingCall(const BluetoothRawAddress &device, int flag) AcceptIncomingCall() argument
326 HoldActiveCall(const BluetoothRawAddress &device) HoldActiveCall() argument
335 RejectIncomingCall(const BluetoothRawAddress &device) RejectIncomingCall() argument
344 SendKeyPressed(const BluetoothRawAddress &device) SendKeyPressed() argument
353 HandleIncomingCall(const BluetoothRawAddress &device, int flag) HandleIncomingCall() argument
363 DialLastNumber(const BluetoothRawAddress &device) DialLastNumber() argument
373 DialMemory(const BluetoothRawAddress &device, int index) DialMemory() argument
384 HandleMultiCall(const BluetoothRawAddress &device, int flag, int index) HandleMultiCall() argument
395 SendVoiceTag(const BluetoothRawAddress &device, int index) SendVoiceTag() argument
405 FinishActiveCall(const BluetoothRawAddress &device, const BluetoothHfpHfCall &call) FinishActiveCall() argument
416 StartDial(const BluetoothRawAddress &device, const std::string &number, BluetoothHfpHfCall &call) StartDial() argument
[all...]
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_sqtt.c39 radv_se_is_disabled(struct radv_device *device, unsigned se) in radv_se_is_disabled() argument
42 return device->physical_device->rad_info.cu_mask[se][0] == 0; in radv_se_is_disabled()
46 gfx10_get_thread_trace_ctrl(struct radv_device *device, bool enable) in gfx10_get_thread_trace_ctrl() argument
54 if (device->physical_device->rad_info.gfx_level == GFX10_3) in gfx10_get_thread_trace_ctrl()
57 if (device->physical_device->rad_info.has_sqtt_auto_flush_mode_bug) in gfx10_get_thread_trace_ctrl()
64 radv_emit_wait_for_idle(struct radv_device *device, struct radeon_cmdbuf *cs, int family) in radv_emit_wait_for_idle() argument
68 cs, device->physical_device->rad_info.gfx_level, NULL, 0, in radv_emit_wait_for_idle()
69 family == AMD_IP_COMPUTE && device->physical_device->rad_info.gfx_level >= GFX7, in radv_emit_wait_for_idle()
79 radv_emit_thread_trace_start(struct radv_device *device, struct radeon_cmdbuf *cs, in radv_emit_thread_trace_start() argument
82 uint32_t shifted_size = device in radv_emit_thread_trace_start()
225 radv_copy_thread_trace_info_regs(struct radv_device *device, struct radeon_cmdbuf *cs, unsigned se_index) radv_copy_thread_trace_info_regs() argument
256 radv_emit_thread_trace_stop(struct radv_device *device, struct radeon_cmdbuf *cs, enum radv_queue_family qf) radv_emit_thread_trace_stop() argument
341 struct radv_device *device = cmd_buffer->device; radv_emit_thread_trace_userdata() local
368 radv_emit_spi_config_cntl(struct radv_device *device, struct radeon_cmdbuf *cs, bool enable) radv_emit_spi_config_cntl() argument
388 radv_emit_inhibit_clockgating(struct radv_device *device, struct radeon_cmdbuf *cs, bool inhibit) radv_emit_inhibit_clockgating() argument
403 radv_thread_trace_init_bo(struct radv_device *device) radv_thread_trace_init_bo() argument
441 radv_thread_trace_finish_bo(struct radv_device *device) radv_thread_trace_finish_bo() argument
452 radv_thread_trace_init(struct radv_device *device) radv_thread_trace_init() argument
484 radv_thread_trace_finish(struct radv_device *device) radv_thread_trace_finish() argument
511 radv_thread_trace_resize_bo(struct radv_device *device) radv_thread_trace_resize_bo() argument
531 struct radv_device *device = queue->device; radv_begin_thread_trace() local
600 struct radv_device *device = queue->device; radv_end_thread_trace() local
662 struct radv_device *device = queue->device; radv_get_thread_trace() local
[all...]
/drivers/hdf_core/framework/support/platform/src/adc/
H A Dadc_core.c26 struct HdfDeviceObject *device; member
33 static int32_t AdcDeviceLockDefault(struct AdcDevice *device) in AdcDeviceLockDefault() argument
35 if (device == NULL) { in AdcDeviceLockDefault()
36 HDF_LOGE("AdcDeviceLockDefault: device is null!"); in AdcDeviceLockDefault()
39 return OsalSpinLock(&device->spin); in AdcDeviceLockDefault()
42 static void AdcDeviceUnlockDefault(struct AdcDevice *device) in AdcDeviceUnlockDefault() argument
44 if (device == NULL) { in AdcDeviceUnlockDefault()
45 HDF_LOGE("AdcDeviceUnlockDefault: device is null!"); in AdcDeviceUnlockDefault()
48 (void)OsalSpinUnlock(&device->spin); in AdcDeviceUnlockDefault()
56 static inline int32_t AdcDeviceLock(struct AdcDevice *device) in AdcDeviceLock() argument
65 AdcDeviceUnlock(struct AdcDevice *device) AdcDeviceUnlock() argument
72 AdcDeviceStart(struct AdcDevice *device) AdcDeviceStart() argument
104 AdcDeviceStop(struct AdcDevice *device) AdcDeviceStop() argument
137 AdcManagerAddDevice(struct AdcDevice *device) AdcManagerAddDevice() argument
169 AdcManagerRemoveDevice(struct AdcDevice *device) AdcManagerRemoveDevice() argument
199 struct AdcDevice *device = NULL; AdcManagerFindDevice() local
228 AdcDevicePut(struct AdcDevice *device) AdcDevicePut() argument
236 struct AdcDevice *device = NULL; AdcDeviceOpen() local
253 AdcDeviceClose(struct AdcDevice *device) AdcDeviceClose() argument
264 AdcDeviceAdd(struct AdcDevice *device) AdcDeviceAdd() argument
296 AdcDeviceRemove(struct AdcDevice *device) AdcDeviceRemove() argument
306 AdcDeviceRead(struct AdcDevice *device, uint32_t channel, uint32_t *val) AdcDeviceRead() argument
448 AdcManagerBind(struct HdfDeviceObject *device) AdcManagerBind() argument
454 AdcManagerInit(struct HdfDeviceObject *device) AdcManagerInit() argument
485 AdcManagerRelease(struct HdfDeviceObject *device) AdcManagerRelease() argument
[all...]
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_hfp_hf.cpp42 void OnConnectionStateChanged(const BluetoothRawAddress &device, int32_t state, int32_t cause) override
44 HILOGD("enter, device: %{public}s, state: %{public}d, cause: %{public}d",
45 GET_ENCRYPT_RAW_ADDR(device), state, cause);
46 BluetoothRemoteDevice remoteDevice(device.GetAddress(), 0);
52 void OnScoStateChanged(const BluetoothRawAddress &device, int32_t state) override
54 HILOGI("enter, device: %{public}s, state: %{public}d", GetEncryptAddr((device).GetAddress()).c_str(), state);
55 BluetoothRemoteDevice remoteDevice(device.GetAddress(), 0);
61 void OnCallChanged(const BluetoothRawAddress &device,
64 HILOGI("enter, device
489 ConnectSco(const BluetoothRemoteDevice &device) ConnectSco() argument
502 DisconnectSco(const BluetoothRemoteDevice &device) DisconnectSco() argument
554 SendDTMFTone(const BluetoothRemoteDevice &device, uint8_t code) SendDTMFTone() argument
566 Connect(const BluetoothRemoteDevice &device) Connect() argument
579 Disconnect(const BluetoothRemoteDevice &device) Disconnect() argument
592 OpenVoiceRecognition(const BluetoothRemoteDevice &device) OpenVoiceRecognition() argument
605 CloseVoiceRecognition(const BluetoothRemoteDevice &device) CloseVoiceRecognition() argument
618 GetExistingCalls(const BluetoothRemoteDevice &device) GetExistingCalls() argument
631 AcceptIncomingCall(const BluetoothRemoteDevice &device, int flag) AcceptIncomingCall() argument
643 HoldActiveCall(const BluetoothRemoteDevice &device) HoldActiveCall() argument
656 RejectIncomingCall(const BluetoothRemoteDevice &device) RejectIncomingCall() argument
669 SendKeyPressed(const BluetoothRemoteDevice &device) SendKeyPressed() argument
674 HandleIncomingCall(const BluetoothRemoteDevice &device, int flag) HandleIncomingCall() argument
687 HandleMultiCall(const BluetoothRemoteDevice &device, int flag, int index) HandleMultiCall() argument
700 DialLastNumber(const BluetoothRemoteDevice &device) DialLastNumber() argument
713 DialMemory(const BluetoothRemoteDevice &device, int index) DialMemory() argument
726 SendVoiceTag(const BluetoothRemoteDevice &device, int index) SendVoiceTag() argument
732 FinishActiveCall(const BluetoothRemoteDevice &device, const HandsFreeUnitCall &call) FinishActiveCall() argument
745 StartDial( const BluetoothRemoteDevice &device, const std::string &number) StartDial() argument
[all...]
/base/msdp/device_status/intention/cooperate/plugin/src/
H A Dinput_device_mgr.cpp18 #include "device.h"
74 for (const auto &device : notice.devices) { in OnRemoteInputDevice()
75 DispDeviceInfo(device); in OnRemoteInputDevice()
76 AddRemoteInputDevice(networkId, device); in OnRemoteInputDevice()
88 FI_HILOGI("Add virtual device from %{public}s", Utility::Anonymize(networkId).c_str()); in AddVirtualInputDevice()
89 for (const auto &device : remoteDevices_[networkId]) { in AddVirtualInputDevice()
90 CHKPC(device); in AddVirtualInputDevice()
91 AddVirtualInputDevice(networkId, device->GetId()); in AddVirtualInputDevice()
98 FI_HILOGI("Remove virtual device from %{public}s", Utility::Anonymize(networkId).c_str()); in RemoveVirtualInputDevice()
99 for (const auto &device in RemoveVirtualInputDevice()
159 auto device = env_->GetDeviceManager().GetDevice(notice.deviceId); BroadcastHotPlugToRemote() local
180 RemoveRemoteInputDevice(const std::string &networkId, std::shared_ptr<IDevice> device) RemoveRemoteInputDevice() argument
191 AddRemoteInputDevice(const std::string &networkId, std::shared_ptr<IDevice> device) AddRemoteInputDevice() argument
213 DispDeviceInfo(std::shared_ptr<IDevice> device) DispDeviceInfo() argument
243 SerializeDevice(std::shared_ptr<IDevice> device, NetPacket &packet) SerializeDevice() argument
257 Transform(std::shared_ptr<IDevice> device) Transform() argument
287 auto device = GetRemoteDeviceById(networkId, remoteDeviceId); AddVirtualInputDevice() local
[all...]
/foundation/multimodalinput/input/intention/cooperate/plugin/src/
H A Dinput_device_mgr.cpp18 #include "device.h"
74 for (const auto &device : notice.devices) { in OnRemoteInputDevice()
75 DispDeviceInfo(device); in OnRemoteInputDevice()
76 AddRemoteInputDevice(networkId, device); in OnRemoteInputDevice()
88 FI_HILOGI("Add virtual device from %{public}s", Utility::Anonymize(networkId).c_str()); in AddVirtualInputDevice()
89 for (const auto &device : remoteDevices_[networkId]) { in AddVirtualInputDevice()
90 CHKPC(device); in AddVirtualInputDevice()
91 AddVirtualInputDevice(networkId, device->GetId()); in AddVirtualInputDevice()
98 FI_HILOGI("Remove virtual device from %{public}s", Utility::Anonymize(networkId).c_str()); in RemoveVirtualInputDevice()
99 for (const auto &device in RemoveVirtualInputDevice()
159 auto device = env_->GetDeviceManager().GetDevice(notice.deviceId); BroadcastHotPlugToRemote() local
180 RemoveRemoteInputDevice(const std::string &networkId, std::shared_ptr<IDevice> device) RemoveRemoteInputDevice() argument
191 AddRemoteInputDevice(const std::string &networkId, std::shared_ptr<IDevice> device) AddRemoteInputDevice() argument
213 DispDeviceInfo(std::shared_ptr<IDevice> device) DispDeviceInfo() argument
243 SerializeDevice(std::shared_ptr<IDevice> device, NetPacket &packet) SerializeDevice() argument
257 Transform(std::shared_ptr<IDevice> device) Transform() argument
287 auto device = GetRemoteDeviceById(networkId, remoteDeviceId); AddVirtualInputDevice() local
[all...]
/third_party/backends/backend/
H A Dricoh2.c140 Ricoh2_Device *device; in lookup_handle() local
142 for (device = ricoh2_devices; device; device = device->next) in lookup_handle()
144 if (device == handle) in lookup_handle()
145 return device; in lookup_handle()
162 return "Unidentified device"; in get_model_by_productid()
170 Ricoh2_Device *device = NULL; in attach() local
173 for (device in attach()
308 Ricoh2_Device *device = NULL; sane_get_devices() local
343 Ricoh2_Device *device; sane_open() local
384 Ricoh2_Device *device; sane_get_option_descriptor() local
415 Ricoh2_Device *device; sane_control_option() local
524 update_scan_params(Ricoh2_Device *device) update_scan_params() argument
544 Ricoh2_Device *device; sane_get_parameters() local
711 Ricoh2_Device *device; sane_start() local
798 Ricoh2_Device *device; sane_read() local
870 Ricoh2_Device *device; sane_set_io_mode() local
887 Ricoh2_Device *device; sane_get_select_fd() local
901 Ricoh2_Device *device; sane_cancel() local
931 Ricoh2_Device *device; sane_close() local
950 Ricoh2_Device *device, *next; sane_exit() local
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/
H A Dsubscribe_manager.cpp22 void SubscribeManager::ClearRemoteSubscribeQuery(const std::string &device) in ClearRemoteSubscribeQuery() argument
25 ClearSubscribeQuery(device, remoteSubscribedMap_, remoteSubscribedTotalMap_); in ClearRemoteSubscribeQuery()
35 void SubscribeManager::ClearLocalSubscribeQuery(const std::string &device) in ClearLocalSubscribeQuery() argument
38 unFinishedLocalAutoSubMap_.erase(device); in ClearLocalSubscribeQuery()
39 ClearSubscribeQuery(device, localSubscribeMap_, localSubscribeTotalMap_); in ClearLocalSubscribeQuery()
42 int SubscribeManager::ReserveRemoteSubscribeQuery(const std::string &device, const QuerySyncObject &query) in ReserveRemoteSubscribeQuery() argument
45 int errCode = ReserveSubscribeQuery(device, query, remoteSubscribedMap_, remoteSubscribedTotalMap_); in ReserveRemoteSubscribeQuery()
46 LOGI("[SubscribeManager] dev=%s,queryId=%s remote reserve err=%d", STR_MASK(device), STR_MASK(query.GetIdentify()), in ReserveRemoteSubscribeQuery()
51 int SubscribeManager::ActiveRemoteSubscribeQuery(const std::string &device, const QuerySyncObject &query) in ActiveRemoteSubscribeQuery() argument
55 int errCode = ActiveSubscribeQuery(device, queryI in ActiveRemoteSubscribeQuery()
60 ReserveLocalSubscribeQuery(const std::string &device, const QuerySyncObject &query) ReserveLocalSubscribeQuery() argument
69 ActiveLocalSubscribeQuery(const std::string &device, const QuerySyncObject &query) ActiveLocalSubscribeQuery() argument
85 DeleteLocalSubscribeQuery(const std::string &device, const QuerySyncObject &query) DeleteLocalSubscribeQuery() argument
92 DeleteRemoteSubscribeQuery(const std::string &device, const QuerySyncObject &query) DeleteRemoteSubscribeQuery() argument
99 PutLocalUnFinishedSubQueries(const std::string &device, const std::vector<QuerySyncObject> &subscribeQueries) PutLocalUnFinishedSubQueries() argument
136 RemoveRemoteSubscribeQuery(const std::string &device, const QuerySyncObject &query) RemoveRemoteSubscribeQuery() argument
143 RemoveLocalSubscribeQuery(const std::string &device, const QuerySyncObject &query) RemoveLocalSubscribeQuery() argument
159 GetLocalSubscribeQueries(const std::string &device, std::vector<QuerySyncObject> &subscribeQueries) const GetLocalSubscribeQueries() argument
166 GetRemoteSubscribeQueries(const std::string &device, std::vector<QuerySyncObject> &subscribeQueries) const GetRemoteSubscribeQueries() argument
173 IsLastRemoteContainSubscribe(const std::string &device, const std::string &queryId) const IsLastRemoteContainSubscribe() argument
186 GetRemoteSubscribeQueryIds(const std::string &device, std::vector<std::string> &subscribeQueryIds) const GetRemoteSubscribeQueryIds() argument
233 ClearSubscribeQuery(const std::string &device, SubscribeMap &subscribeMap, SubscribedTotalMap &subscribedTotalMap) ClearSubscribeQuery() argument
255 ReserveSubscribeQuery(const std::string &device, const QuerySyncObject &query, SubscribeMap &subscribeMap, SubscribedTotalMap &subscribedTotalMap) ReserveSubscribeQuery() argument
297 ActiveSubscribeQuery(const std::string &device, const std::string &queryId, SubscribeMap &subscribeMap, SubscribedTotalMap &subscribedTotalMap) ActiveSubscribeQuery() argument
316 DeleteSubscribeQuery(const std::string &device, const std::string &queryId, SubscribeMap &subscribeMap, SubscribedTotalMap &subscribedTotalMap) DeleteSubscribeQuery() argument
347 RemoveSubscribeQuery(const std::string &device, const std::string &queryId, SubscribeMap &subscribeMap, SubscribedTotalMap &subscribedTotalMap) RemoveSubscribeQuery() argument
373 GetSubscribeQueries(const std::string &device, const SubscribeMap &subscribeMap, const SubscribedTotalMap &subscribedTotalMap, std::vector<QuerySyncObject> &subscribeQueries) const GetSubscribeQueries() argument
[all...]
/drivers/hdf_core/adapter/khdf/uniproton/test/sample_driver/src/
H A Dplatform_device_test.c45 static int32_t PlatformDeviceTestSetName(struct PlatformDevice *device) in PlatformDeviceTestSetName() argument
51 ret = PlatformDeviceSetName(device, "platform_device_name_%d", 1); in PlatformDeviceTestSetName()
53 ret = strcmp(device->name, "platform_device_name_1"); in PlatformDeviceTestSetName()
57 PlatformDeviceClearName(device); in PlatformDeviceTestSetName()
58 CHECK_EQ_RETURN(device->name, NULL, HDF_FAILURE); in PlatformDeviceTestSetName()
61 ret = PlatformDeviceSetName(device, "platform_device_name"); in PlatformDeviceTestSetName()
63 ret = strcmp(device->name, "platform_device_name"); in PlatformDeviceTestSetName()
67 PlatformDeviceClearName(device); in PlatformDeviceTestSetName()
73 static int32_t PlatformDeviceTestGetDevice(struct PlatformDevice *device) in PlatformDeviceTestGetDevice() argument
81 device in PlatformDeviceTestGetDevice()
112 PlatformDeviceTestAddDevice(struct PlatformDevice *device) PlatformDeviceTestAddDevice() argument
153 PlatformDeviceTestCreateService(struct PlatformDevice *device) PlatformDeviceTestCreateService() argument
172 PlatformDeviceTestBindDeviceBefore(struct PlatformDevice *device) PlatformDeviceTestBindDeviceBefore() argument
186 PlatformDeviceTestBindDeviceAfter(struct PlatformDevice *device) PlatformDeviceTestBindDeviceAfter() argument
195 PlatformDeviceTestBindDevice(struct PlatformDevice *device) PlatformDeviceTestBindDevice() argument
219 PlatformDeviceTestReliability(struct PlatformDevice *device) PlatformDeviceTestReliability() argument
293 struct PlatformDevice device = {0}; PlatformDeviceTestExecute() local
[all...]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/
H A Dwifi_p2p_device_manager.cpp26 bool WifiP2pDeviceManager::AddDevice(const WifiP2pDevice &device) in AddDevice() argument
28 if (!device.IsValid()) { in AddDevice()
34 if (*it == device) { in AddDevice()
35 LOGE("WifiP2pDeviceManager::AddDevice: device is existed"); in AddDevice()
39 LOGI("add a device: name:%{private}s, address:%{private}s, addressType:%{public}d", in AddDevice()
40 device.GetDeviceName().c_str(), device.GetDeviceAddress().c_str(), in AddDevice()
41 device.GetDeviceAddressType()); in AddDevice()
43 LOGD("%{public}s: add a device, deviceName: %{private}s, address: %{private}s", in AddDevice()
44 __func__, device in AddDevice()
65 RemoveDevice(const WifiP2pDevice &device) RemoveDevice() argument
89 UpdateDevice(const WifiP2pDevice &device) UpdateDevice() argument
112 UpdateDeviceSupplicantInf(const WifiP2pDevice &device) UpdateDeviceSupplicantInf() argument
159 UpdateDeviceGroupCap(const WifiP2pDevice &device) UpdateDeviceGroupCap() argument
186 UpdateDeviceStatus(const WifiP2pDevice &device) UpdateDeviceStatus() argument
221 UpdateGroupAddress(const WifiP2pDevice &device) UpdateGroupAddress() argument
244 WifiP2pDevice device = GetDevices(deviceAddress); GetDeviceName() local
[all...]

Completed in 18 milliseconds

12345678910>>...188