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_server_metrics.c196 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 …]
Dcras_device_monitor.c20 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()
Dcras_main_message.c49 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_main_message.h30 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);
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;
101 static void handle_audio_thread_event_message(struct cras_main_message *msg, in handle_audio_thread_event_message()
Dcras_bt_device.c133 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/
Ddevice_monitor_unittest.cc61 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()
Daudio_thread_monitor_unittest.cc76 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()
Dbt_device_unittest.cc31 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()
Dserver_metrics_unittest.cc376 int cras_main_message_send(struct cras_main_message* msg) { in cras_main_message_send()