Home
last modified time | relevance | path

Searched refs:cras_timer (Results 1 – 16 of 16) sorted by relevance

/external/adhd/cras/src/server/
Dcras_tm.c18 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 …]
Dcras_tm.h15 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);
Dcras_dbus.c78 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()
Dstream_list.c27 struct cras_timer *drain_timer;
30 static void delete_streams(struct cras_timer *timer, void *data) in delete_streams()
Dcras_bt_device.c114 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()
Dcras_bt_device.h14 struct cras_timer;
Dcras_iodev_list.c46 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()
Dcras_alsa_jack.c100 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()
Dcras_hfp_slc.c110 struct cras_timer *timer;
260 static void initialize_slc_handle(struct cras_timer *timer, void *arg) in initialize_slc_handle()
Dcras_server.c376 void check_output_exists(struct cras_timer *t, void *data) in check_output_exists()
/external/adhd/cras/src/tests/
Dcras_tm_unittest.cc31 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()
Dstream_list_unittest.cc200 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()
Dhfp_slc_unittest.cc29 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()
Dbt_device_unittest.cc41 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()
Dalsa_jack_unittest.cc1063 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()
Diodev_list_unittest.cc58 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()