Home
last modified time | relevance | path

Searched refs:cras_tm (Results 1 – 19 of 19) sorted by relevance

/external/adhd/cras/src/server/
Dcras_tm.h14 struct cras_tm; /* timer manager */
27 struct cras_timer *cras_tm_create_timer(struct cras_tm *tm, unsigned int ms,
33 void cras_tm_cancel_timer(struct cras_tm *tm, struct cras_timer *t);
36 struct cras_tm *cras_tm_init();
39 void cras_tm_deinit(struct cras_tm *tm);
49 int cras_tm_get_next_timeout(const struct cras_tm *tm, struct timespec *ts);
52 void cras_tm_call_callbacks(struct cras_tm *tm);
Dcras_tm.c26 struct cras_tm { struct
56 struct cras_timer *cras_tm_create_timer(struct cras_tm *tm, unsigned int ms, in cras_tm_create_timer()
78 void cras_tm_cancel_timer(struct cras_tm *tm, struct cras_timer *t) in cras_tm_cancel_timer()
84 struct cras_tm *cras_tm_init() in cras_tm_init()
86 return calloc(1, sizeof(struct cras_tm)); in cras_tm_init()
89 void cras_tm_deinit(struct cras_tm *tm) in cras_tm_deinit()
100 int cras_tm_get_next_timeout(const struct cras_tm *tm, struct timespec *ts) in cras_tm_get_next_timeout()
126 void cras_tm_call_callbacks(struct cras_tm *tm) in cras_tm_call_callbacks()
Dcras_dbus.c80 struct cras_tm *tm = cras_system_state_get_tm(); in dbus_timeout_callback()
95 struct cras_tm *tm = cras_system_state_get_tm(); in dbus_timeout_add()
116 struct cras_tm *tm = cras_system_state_get_tm(); in dbus_timeout_remove()
Dcras_system_state.h34 struct cras_tm;
348 struct cras_tm *cras_system_state_get_tm();
Dstream_list.c26 struct cras_tm *timer_manager;
64 struct cras_tm *timer_manager) in stream_list_create()
Dcras_bt_device.c291 struct cras_tm *tm = cras_system_state_get_tm(); in cras_bt_device_destroy()
615 struct cras_tm *tm; in bt_device_conn_watch_cb()
703 struct cras_tm *tm = cras_system_state_get_tm(); in cras_bt_device_start_new_conn_watch_timer()
717 struct cras_tm *tm = cras_system_state_get_tm(); in cras_bt_device_set_connected()
1221 struct cras_tm *tm = cras_system_state_get_tm(); in bt_device_switch_profile_with_delay()
1314 struct cras_tm *tm = cras_system_state_get_tm(); in bt_device_schedule_suspend()
1325 struct cras_tm *tm = cras_system_state_get_tm(); in bt_device_cancel_suspend()
Dstream_list.h27 struct cras_tm *timer_manager);
Dcras_system_state.c74 struct cras_tm *tm;
693 struct cras_tm *cras_system_state_get_tm() in cras_system_state_get_tm()
Dcras_server.c560 struct cras_tm *tm; in cras_server_run()
Dcras_alsa_jack.c303 struct cras_tm *tm = cras_system_state_get_tm(); in jack_state_change_cb()
Dcras_iodev_list.c747 struct cras_tm *tm = cras_system_state_get_tm(); in schedule_init_device_retry()
/external/adhd/cras/src/tests/
Dhfp_slc_unittest.cc415 struct cras_tm* cras_system_state_get_tm() { in cras_system_state_get_tm()
419 struct cras_timer* cras_tm_create_timer(struct cras_tm* tm, in cras_tm_create_timer()
436 void cras_tm_cancel_timer(struct cras_tm* tm, struct cras_timer* t) {} in cras_tm_cancel_timer()
Dstream_list_unittest.cc200 struct cras_timer* cras_tm_create_timer(struct cras_tm* tm, in cras_tm_create_timer()
208 void cras_tm_cancel_timer(struct cras_tm* tm, struct cras_timer* t) {} in cras_tm_cancel_timer()
Dsystem_state_unittest.cc521 cras_tm* cras_tm_init() { in cras_tm_init()
522 return static_cast<cras_tm*>(malloc(sizeof(unsigned int))); in cras_tm_init()
525 void cras_tm_deinit(cras_tm* tm) { in cras_tm_deinit()
Dbt_device_unittest.cc685 struct cras_tm* cras_system_state_get_tm() { in cras_system_state_get_tm()
690 struct cras_timer* cras_tm_create_timer(struct cras_tm* tm, 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()
1070 void cras_tm_cancel_timer(cras_tm* tm, cras_timer* t) {} in cras_tm_cancel_timer()
1072 cras_tm* cras_system_state_get_tm() { in cras_system_state_get_tm()
1073 return reinterpret_cast<cras_tm*>(0x66); in cras_system_state_get_tm()
Dcras_tm_unittest.cc24 struct cras_tm* tm_;
Diodev_list_unittest.cc2233 struct cras_tm* timer_manager) { in stream_list_create()
2260 struct cras_tm* cras_system_state_get_tm() { in cras_system_state_get_tm()
2264 struct cras_timer* cras_tm_create_timer(struct cras_tm* tm, in cras_tm_create_timer()
2275 void cras_tm_cancel_timer(struct cras_tm* tm, struct cras_timer* t) { in cras_tm_cancel_timer()
/external/adhd/cras/src/
DMakefile.am737 cras_tm_unittest_SOURCES = tests/cras_tm_unittest.cc server/cras_tm.c