/external/adhd/cras/src/server/ |
D | cras_tm.c | 18 struct cras_timer { struct 20 void (*cb)(struct cras_timer *t, void *data); argument 22 struct cras_timer *next, *prev; argument 27 struct cras_timer *timers; 56 struct cras_timer *cras_tm_create_timer(struct cras_tm *tm, unsigned int ms, in cras_tm_create_timer() 57 void (*cb)(struct cras_timer *t, in cras_tm_create_timer() 61 struct cras_timer *t; in cras_tm_create_timer() 78 void cras_tm_cancel_timer(struct cras_tm *tm, struct cras_timer *t) in cras_tm_cancel_timer() 91 struct cras_timer *t; in cras_tm_deinit() 102 struct cras_timer *t; in cras_tm_get_next_timeout() [all …]
|
D | cras_tm.h | 15 struct cras_timer; 27 struct cras_timer *cras_tm_create_timer(struct cras_tm *tm, unsigned int ms, 28 void (*cb)(struct cras_timer *t, 33 void cras_tm_cancel_timer(struct cras_tm *tm, struct cras_timer *t);
|
D | cras_dbus.c | 78 static void dbus_timeout_callback(struct cras_timer *t, void *data) in dbus_timeout_callback() 96 struct cras_timer *t = dbus_timeout_get_data(timeout); in dbus_timeout_add() 117 struct cras_timer *t = dbus_timeout_get_data(timeout); in dbus_timeout_remove()
|
D | stream_list.c | 27 struct cras_timer *drain_timer; 30 static void delete_streams(struct cras_timer *timer, void *data) in delete_streams()
|
D | cras_bt_device.c | 114 struct cras_timer *conn_watch_timer; 115 struct cras_timer *suspend_timer; 116 struct cras_timer *switch_profile_timer; 512 static void bt_device_conn_watch_cb(struct cras_timer *timer, void *arg); 613 static void bt_device_conn_watch_cb(struct cras_timer *timer, void *arg) in bt_device_conn_watch_cb() 1196 static void profile_switch_delay_cb(struct cras_timer *timer, void *arg) in profile_switch_delay_cb() 1275 static void bt_device_suspend_cb(struct cras_timer *timer, void *arg) in bt_device_suspend_cb()
|
D | cras_bt_device.h | 14 struct cras_timer;
|
D | cras_iodev_list.c | 46 struct cras_timer *init_timer; 87 static struct cras_timer *idle_timer; 98 static void idle_dev_check(struct cras_timer *timer, void *data); 399 static void idle_dev_check(struct cras_timer *timer, void *data) in idle_dev_check() 721 static void init_device_cb(struct cras_timer *timer, void *arg) in init_device_cb()
|
D | cras_alsa_jack.c | 100 struct cras_timer *display_info_timer; 291 static void display_info_delay_cb(struct cras_timer *timer, void *arg); 369 static void display_info_delay_cb(struct cras_timer *timer, void *arg) in display_info_delay_cb()
|
D | cras_hfp_slc.c | 110 struct cras_timer *timer; 260 static void initialize_slc_handle(struct cras_timer *timer, void *arg) in initialize_slc_handle()
|
D | cras_server.c | 376 void check_output_exists(struct cras_timer *t, void *data) in check_output_exists()
|
/external/adhd/cras/src/tests/ |
D | cras_tm_unittest.cc | 31 void test_cb(struct cras_timer* t, void* data) { in test_cb() 35 void test_cb2(struct cras_timer* t, void* data) { in test_cb2() 48 struct cras_timer* t; in TEST_F() 56 struct cras_timer* t; in TEST_F() 84 struct cras_timer* t; in TEST_F() 112 struct cras_timer *t1, *t2; in TEST_F()
|
D | stream_list_unittest.cc | 200 struct cras_timer* cras_tm_create_timer(struct cras_tm* tm, in cras_tm_create_timer() 202 void (*cb)(struct cras_timer* t, in cras_tm_create_timer() 205 return reinterpret_cast<struct cras_timer*>(0x404); in cras_tm_create_timer() 208 void cras_tm_cancel_timer(struct cras_tm* tm, struct cras_timer* t) {} in cras_tm_cancel_timer()
|
D | hfp_slc_unittest.cc | 29 static void (*cras_tm_timer_cb)(struct cras_timer* t, void* data); 419 struct cras_timer* cras_tm_create_timer(struct cras_tm* tm, in cras_tm_create_timer() 421 void (*cb)(struct cras_timer* t, in cras_tm_create_timer() 426 return reinterpret_cast<struct cras_timer*>(0x404); in cras_tm_create_timer() 436 void cras_tm_cancel_timer(struct cras_tm* tm, struct cras_timer* t) {} in cras_tm_cancel_timer()
|
D | bt_device_unittest.cc | 41 static void (*cras_tm_create_timer_cb)(struct cras_timer* t, void* data); 47 static struct cras_timer* cras_tm_cancel_timer_arg; 48 static struct cras_timer* cras_tm_create_timer_ret; 456 cras_tm_create_timer_ret = reinterpret_cast<struct cras_timer*>(0x101); in TEST_F() 690 struct cras_timer* cras_tm_create_timer(struct cras_tm* tm, in cras_tm_create_timer() 692 void (*cb)(struct cras_timer* t, in cras_tm_create_timer() 701 void cras_tm_cancel_timer(struct cras_tm* tm, struct cras_timer* t) { in cras_tm_cancel_timer()
|
D | alsa_jack_unittest.cc | 1063 cras_timer* cras_tm_create_timer(cras_tm* tm, in cras_tm_create_timer() 1065 void (*cb)(cras_timer* t, void* data), in cras_tm_create_timer() 1067 return reinterpret_cast<cras_timer*>(0x55); in cras_tm_create_timer() 1070 void cras_tm_cancel_timer(cras_tm* tm, cras_timer* t) {} in cras_tm_cancel_timer()
|
D | iodev_list_unittest.cc | 58 static void (*cras_tm_timer_cb)(struct cras_timer* t, void* data); 2264 struct cras_timer* cras_tm_create_timer(struct cras_tm* tm, in cras_tm_create_timer() 2266 void (*cb)(struct cras_timer* t, in cras_tm_create_timer() 2272 return reinterpret_cast<struct cras_timer*>(0x404); in cras_tm_create_timer() 2275 void cras_tm_cancel_timer(struct cras_tm* tm, struct cras_timer* t) { in cras_tm_cancel_timer()
|