Searched refs:cras_tm (Results 1 – 19 of 19) sorted by relevance
/external/adhd/cras/src/server/ |
D | cras_tm.h | 14 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);
|
D | cras_tm.c | 26 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()
|
D | cras_dbus.c | 80 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()
|
D | cras_system_state.h | 34 struct cras_tm; 348 struct cras_tm *cras_system_state_get_tm();
|
D | stream_list.c | 26 struct cras_tm *timer_manager; 64 struct cras_tm *timer_manager) in stream_list_create()
|
D | cras_bt_device.c | 291 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()
|
D | stream_list.h | 27 struct cras_tm *timer_manager);
|
D | cras_system_state.c | 74 struct cras_tm *tm; 693 struct cras_tm *cras_system_state_get_tm() in cras_system_state_get_tm()
|
D | cras_server.c | 560 struct cras_tm *tm; in cras_server_run()
|
D | cras_alsa_jack.c | 303 struct cras_tm *tm = cras_system_state_get_tm(); in jack_state_change_cb()
|
D | cras_iodev_list.c | 747 struct cras_tm *tm = cras_system_state_get_tm(); in schedule_init_device_retry()
|
/external/adhd/cras/src/tests/ |
D | hfp_slc_unittest.cc | 415 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()
|
D | stream_list_unittest.cc | 200 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()
|
D | system_state_unittest.cc | 521 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()
|
D | bt_device_unittest.cc | 685 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()
|
D | alsa_jack_unittest.cc | 1063 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()
|
D | cras_tm_unittest.cc | 24 struct cras_tm* tm_;
|
D | iodev_list_unittest.cc | 2233 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/ |
D | Makefile.am | 737 cras_tm_unittest_SOURCES = tests/cras_tm_unittest.cc server/cras_tm.c
|