Searched refs:observer_ops (Results 1 – 5 of 5) sorted by relevance
/external/adhd/cras/src/server/ |
D | cras_rclient.c | 309 struct cras_observer_ops observer_ops; in register_for_notification() local 312 cras_observer_get_ops(client->observer, &observer_ops); in register_for_notification() 316 observer_ops.output_volume_changed = in register_for_notification() 320 observer_ops.output_mute_changed = in register_for_notification() 324 observer_ops.capture_gain_changed = in register_for_notification() 328 observer_ops.capture_mute_changed = in register_for_notification() 332 observer_ops.nodes_changed = in register_for_notification() 336 observer_ops.active_node_changed = in register_for_notification() 340 observer_ops.output_node_volume_changed = in register_for_notification() 344 observer_ops.node_left_right_swapped_changed = in register_for_notification() [all …]
|
D | cras_dbus_control.c | 1186 struct cras_observer_ops observer_ops; in cras_dbus_control_start() local 1202 memset(&observer_ops, 0, sizeof(observer_ops)); in cras_dbus_control_start() 1203 observer_ops.output_volume_changed = signal_output_volume; in cras_dbus_control_start() 1204 observer_ops.output_mute_changed = signal_output_mute; in cras_dbus_control_start() 1205 observer_ops.capture_gain_changed = signal_capture_gain; in cras_dbus_control_start() 1206 observer_ops.capture_mute_changed = signal_capture_mute; in cras_dbus_control_start() 1207 observer_ops.num_active_streams_changed = in cras_dbus_control_start() 1209 observer_ops.nodes_changed = signal_nodes_changed; in cras_dbus_control_start() 1210 observer_ops.active_node_changed = signal_active_node_changed; in cras_dbus_control_start() 1211 observer_ops.input_node_gain_changed = signal_node_capture_gain_changed; in cras_dbus_control_start() [all …]
|
D | cras_iodev_list.c | 1021 struct cras_observer_ops observer_ops; in cras_iodev_list_init() local 1023 memset(&observer_ops, 0, sizeof(observer_ops)); in cras_iodev_list_init() 1024 observer_ops.output_volume_changed = sys_vol_change; in cras_iodev_list_init() 1025 observer_ops.output_mute_changed = sys_mute_change; in cras_iodev_list_init() 1026 observer_ops.capture_gain_changed = sys_cap_gain_change; in cras_iodev_list_init() 1027 observer_ops.capture_mute_changed = sys_cap_mute_change; in cras_iodev_list_init() 1028 observer_ops.suspend_changed = sys_suspend_change; in cras_iodev_list_init() 1029 list_observer = cras_observer_add(&observer_ops, NULL); in cras_iodev_list_init()
|
/external/adhd/cras/src/libcras/ |
D | cras_client.c | 243 struct cras_observer_ops observer_ops; member 1774 if (client->observer_ops.output_volume_changed) in handle_message_from_server() 1775 client->observer_ops.output_volume_changed( in handle_message_from_server() 1783 if (client->observer_ops.output_mute_changed) in handle_message_from_server() 1784 client->observer_ops.output_mute_changed( in handle_message_from_server() 1794 if (client->observer_ops.capture_gain_changed) in handle_message_from_server() 1795 client->observer_ops.capture_gain_changed( in handle_message_from_server() 1803 if (client->observer_ops.capture_mute_changed) in handle_message_from_server() 1804 client->observer_ops.capture_mute_changed( in handle_message_from_server() 1811 if (client->observer_ops.nodes_changed) in handle_message_from_server() [all …]
|
/external/adhd/cras/src/tests/ |
D | iodev_list_unittest.cc | 29 static struct cras_observer_ops *observer_ops; variable 300 observer_ops->suspend_changed(NULL, 1); in TEST_F() 323 observer_ops->suspend_changed(NULL, 0); in TEST_F() 858 observer_ops->output_mute_changed(NULL, 0, 1, 0); in TEST_F() 884 observer_ops->output_mute_changed(NULL, 0, 1, 0); in TEST_F() 906 observer_ops->output_mute_changed(NULL, 0, 1, 0); in TEST_F() 942 observer_ops->output_mute_changed(NULL, 0, 0, 0); in TEST_F() 969 observer_ops->output_mute_changed(NULL, 0, 1, 0); in TEST_F() 991 observer_ops->output_mute_changed(NULL, 0, 1, 0); in TEST_F() 1462 observer_ops->suspend_changed(NULL, 1); in TEST_F() [all …]
|