Searched refs:cras_alert (Results 1 – 7 of 7) sorted by relevance
/external/adhd/cras/src/server/ |
D | cras_alert.h | 32 struct cras_alert; 39 typedef void (*cras_alert_prepare)(struct cras_alert *alert); 60 struct cras_alert *cras_alert_create(cras_alert_prepare prepare, 71 int cras_alert_add_callback(struct cras_alert *alert, cras_alert_cb cb, 83 int cras_alert_rm_callback(struct cras_alert *alert, cras_alert_cb cb, 92 void cras_alert_pending(struct cras_alert *alert); 105 void cras_alert_pending_data(struct cras_alert *alert, void *data, 120 void cras_alert_destroy(struct cras_alert *alert);
|
D | cras_alert.c | 28 struct cras_alert { struct 34 struct cras_alert *prev, *next; argument 38 static struct cras_alert *all_alerts; 42 struct cras_alert *cras_alert_create(cras_alert_prepare prepare, in cras_alert_create() 45 struct cras_alert *alert; in cras_alert_create() 55 int cras_alert_add_callback(struct cras_alert *alert, cras_alert_cb cb, in cras_alert_add_callback() 76 int cras_alert_rm_callback(struct cras_alert *alert, cras_alert_cb cb, in cras_alert_rm_callback() 92 static void cras_alert_process(struct cras_alert *alert) in cras_alert_process() 118 void cras_alert_pending(struct cras_alert *alert) in cras_alert_pending() 124 void cras_alert_pending_data(struct cras_alert *alert, void *data, in cras_alert_pending_data() [all …]
|
D | cras_observer.c | 20 struct cras_alert *output_volume; 21 struct cras_alert *output_mute; 22 struct cras_alert *capture_gain; 23 struct cras_alert *capture_mute; 24 struct cras_alert *nodes; 25 struct cras_alert *active_node; 26 struct cras_alert *output_node_volume; 27 struct cras_alert *node_left_right_swapped; 28 struct cras_alert *input_node_gain; 29 struct cras_alert *suspend_changed; [all …]
|
/external/adhd/cras/src/tests/ |
D | alert_unittest.cc | 16 void prepare(struct cras_alert* alert); 44 struct cras_alert* alert = cras_alert_create(NULL, 0); in TEST_F() 55 struct cras_alert* alert = cras_alert_create(NULL, 0); in TEST_F() 68 struct cras_alert* alert = cras_alert_create(NULL, 0); in TEST_F() 81 struct cras_alert* alert = cras_alert_create(NULL, 0); in TEST_F() 97 struct cras_alert* alert = in TEST_F() 114 struct cras_alert* alert = cras_alert_create(NULL, 0); in TEST_F() 128 struct cras_alert* alert = cras_alert_create(NULL, 0); in TEST_F() 138 struct cras_alert* alert1 = cras_alert_create(NULL, 0); in TEST_F() 139 struct cras_alert* alert2 = cras_alert_create(NULL, 0); in TEST_F() [all …]
|
D | observer_unittest.cc | 22 static std::vector<struct cras_alert*> cras_alert_create_return_values; 23 typedef std::map<struct cras_alert*, void*> alert_callback_map; 26 typedef std::map<struct cras_alert*, unsigned int> alert_flags_map; 28 static struct cras_alert* cras_alert_pending_alert_value; 673 void cras_alert_destroy(struct cras_alert* alert) { in cras_alert_destroy() 677 struct cras_alert* cras_alert_create(cras_alert_prepare prepare, in cras_alert_create() 679 struct cras_alert* alert = NULL; in cras_alert_create() 682 alert = reinterpret_cast<struct cras_alert*>(cras_alert_create_called); in cras_alert_create() 689 int cras_alert_add_callback(struct cras_alert* alert, in cras_alert_add_callback() 696 void cras_alert_pending(struct cras_alert* alert) { in cras_alert_pending() [all …]
|
D | system_state_unittest.cc | 492 struct cras_alert* cras_alert_create(cras_alert_prepare prepare, in cras_alert_create() 497 void cras_alert_destroy(struct cras_alert* alert) {} in cras_alert_destroy() 499 int cras_alert_add_callback(struct cras_alert* alert, in cras_alert_add_callback() 508 int cras_alert_rm_callback(struct cras_alert* alert, in cras_alert_rm_callback() 517 void cras_alert_pending(struct cras_alert* alert) { in cras_alert_pending()
|
/external/adhd/cras/src/ |
D | Makefile.am | 576 server/cras_alert.c
|