Searched refs:cras_main_message (Results 1 – 12 of 12) sorted by relevance
/external/adhd/cras/src/server/ |
D | cras_main_message.c | 50 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()
|
D | cras_server_metrics.c | 47 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()
|
D | cras_device_monitor.c | 19 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()
|
D | cras_main_message.h | 30 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);
|
D | cras_non_empty_audio_handler.c | 15 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()
|
D | cras_hotword_handler.c | 14 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()
|
D | cras_audio_thread_monitor.c | 18 struct cras_main_message header; 90 struct cras_main_message *msg, in handle_audio_thread_event_message()
|
D | cras_bt_device.c | 106 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/ |
D | device_monitor_unittest.cc | 62 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()
|
D | audio_thread_monitor_unittest.cc | 74 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()
|
D | bt_device_unittest.cc | 27 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()
|
D | server_metrics_unittest.cc | 129 int cras_main_message_send(struct cras_main_message *msg) { in cras_main_message_send()
|