Home
last modified time | relevance | path

Searched refs:cras_main_message (Results 1 – 12 of 12) sorted by relevance

/external/adhd/cras/src/server/
Dcras_main_message.c50 int cras_main_message_send(struct cras_main_message *msg) in cras_main_message_send()
65 struct cras_main_message *msg = (struct cras_main_message *)buf; in read_main_message()
85 struct cras_main_message *msg = (struct cras_main_message *)buf; in handle_main_messages()
Dcras_server_metrics.c47 struct cras_main_message header;
84 err = cras_main_message_send((struct cras_main_message *)&msg); in cras_server_metrics_highest_hw_level()
102 err = cras_main_message_send((struct cras_main_message *)&msg); in cras_server_metrics_longest_fetch_delay()
120 err = cras_main_message_send((struct cras_main_message *)&msg); in cras_server_metrics_num_underruns()
142 err = cras_main_message_send((struct cras_main_message *)&msg); in cras_server_metrics_stream_config()
172 static void handle_metrics_message(struct cras_main_message *msg, void *arg) in handle_metrics_message()
Dcras_device_monitor.c19 struct cras_main_message header;
42 err = cras_main_message_send((struct cras_main_message *)&msg); in cras_device_monitor_reset_device()
57 err = cras_main_message_send((struct cras_main_message *)&msg); in cras_device_monitor_set_device_mute_state()
74 static void handle_device_message(struct cras_main_message *msg, void *arg) in handle_device_message()
Dcras_main_message.h30 struct cras_main_message { struct
36 typedef void (*cras_message_callback)(struct cras_main_message *msg, argument
40 int cras_main_message_send(struct cras_main_message *msg);
Dcras_non_empty_audio_handler.c15 struct cras_main_message header;
36 rc = cras_main_message_send((struct cras_main_message *)&msg); in cras_non_empty_audio_send_msg()
45 static void handle_non_empty_audio_message(struct cras_main_message *msg, in handle_non_empty_audio_message()
Dcras_hotword_handler.c14 struct cras_main_message header;
41 rc = cras_main_message_send((struct cras_main_message *)&msg); in cras_hotword_send_triggered_msg()
50 static void handle_hotword_message(struct cras_main_message *msg, void *arg) in handle_hotword_message()
Dcras_audio_thread_monitor.c18 struct cras_main_message header;
90 struct cras_main_message *msg, in handle_audio_thread_event_message()
Dcras_bt_device.c106 struct cras_main_message header;
936 rc = cras_main_message_send((struct cras_main_message *)&msg); in cras_bt_device_cancel_suspend()
948 rc = cras_main_message_send((struct cras_main_message *)&msg); in cras_bt_device_schedule_suspend()
982 rc = cras_main_message_send((struct cras_main_message *)&msg); in cras_bt_device_switch_profile_enable_dev()
994 rc = cras_main_message_send((struct cras_main_message *)&msg); in cras_bt_device_switch_profile()
1129 static void bt_device_process_msg(struct cras_main_message *msg, void *arg) in bt_device_process_msg()
/external/adhd/cras/src/tests/
Ddevice_monitor_unittest.cc62 struct cras_main_message *main_message = in TEST()
63 reinterpret_cast<struct cras_main_message *>(&msg); in TEST()
99 struct cras_main_message *main_message = in TEST()
100 reinterpret_cast<struct cras_main_message *>(&msg); in TEST()
124 int cras_main_message_send(struct cras_main_message *msg) { in cras_main_message_send()
Daudio_thread_monitor_unittest.cc74 handle_audio_thread_event_message((struct cras_main_message *)&msg, NULL); in TEST_F()
79 handle_audio_thread_event_message((struct cras_main_message *)&msg, NULL); in TEST_F()
87 handle_audio_thread_event_message((struct cras_main_message *)&msg, NULL); in TEST_F()
116 int cras_main_message_send(struct cras_main_message *msg) { in cras_main_message_send()
Dbt_device_unittest.cc27 static cras_main_message *cras_main_message_send_msg;
298 int cras_main_message_send(struct cras_main_message *msg) in cras_main_message_send()
305 (struct cras_main_message *)calloc(1, msg->length); in cras_main_message_send()
Dserver_metrics_unittest.cc129 int cras_main_message_send(struct cras_main_message *msg) { in cras_main_message_send()