Searched refs:cras_main_message (Results 1 – 12 of 12) sorted by relevance
/external/adhd/cras/src/server/ |
D | cras_server_metrics.c | 196 struct cras_main_message header; 212 static void handle_metrics_message(struct cras_main_message *msg, void *arg); 215 static int cras_server_metrics_message_send(struct cras_main_message *msg) in cras_server_metrics_message_send() 500 (struct cras_main_message *)&msg); in cras_server_metrics_hfp_sco_connection_error() 519 (struct cras_main_message *)&msg); in cras_server_metrics_hfp_battery_indicator() 538 (struct cras_main_message *)&msg); in cras_server_metrics_hfp_battery_report() 559 (struct cras_main_message *)&msg); in cras_server_metrics_hfp_packet_loss() 578 (struct cras_main_message *)&msg); in cras_server_metrics_hfp_wideband_support() 597 (struct cras_main_message *)&msg); in cras_server_metrics_hfp_wideband_selected_codec() 621 (struct cras_main_message *)&msg); in cras_server_metrics_device_runtime() [all …]
|
D | cras_device_monitor.c | 20 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() 72 err = cras_main_message_send((struct cras_main_message *)&msg); in cras_device_monitor_error_close() 88 static void handle_device_message(struct cras_main_message *msg, void *arg) in handle_device_message()
|
D | cras_main_message.c | 49 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_main_message.h | 30 struct cras_main_message { struct 36 typedef void (*cras_message_callback)(struct cras_main_message *msg, void *arg); argument 39 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; 101 static void handle_audio_thread_event_message(struct cras_main_message *msg, in handle_audio_thread_event_message()
|
D | cras_bt_device.c | 133 struct cras_main_message header; 1133 rc = cras_main_message_send((struct cras_main_message *)&msg); in cras_bt_device_cancel_suspend() 1146 rc = cras_main_message_send((struct cras_main_message *)&msg); in cras_bt_device_schedule_suspend() 1180 rc = cras_main_message_send((struct cras_main_message *)&msg); in cras_bt_device_switch_profile_enable_dev() 1192 rc = cras_main_message_send((struct cras_main_message *)&msg); in cras_bt_device_switch_profile() 1332 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 | 61 struct cras_main_message* main_message = in TEST() 62 reinterpret_cast<struct cras_main_message*>(&msg); in TEST() 96 struct cras_main_message* main_message = in TEST() 97 reinterpret_cast<struct cras_main_message*>(&msg); in TEST() 121 int cras_main_message_send(struct cras_main_message* msg) { in cras_main_message_send()
|
D | audio_thread_monitor_unittest.cc | 76 handle_audio_thread_event_message((struct cras_main_message*)&msg, NULL); in TEST_F() 81 handle_audio_thread_event_message((struct cras_main_message*)&msg, NULL); in TEST_F() 89 handle_audio_thread_event_message((struct cras_main_message*)&msg, NULL); in TEST_F() 118 int cras_main_message_send(struct cras_main_message* msg) { in cras_main_message_send()
|
D | bt_device_unittest.cc | 31 static cras_main_message* cras_main_message_send_msg; 665 int cras_main_message_send(struct cras_main_message* msg) { in cras_main_message_send() 671 (struct cras_main_message*)calloc(1, msg->length); in cras_main_message_send()
|
D | server_metrics_unittest.cc | 376 int cras_main_message_send(struct cras_main_message* msg) { in cras_main_message_send()
|