Searched refs:hfp_info (Results 1 – 8 of 8) sorted by relevance
/external/adhd/cras/src/server/ |
D | cras_hfp_info.h | 24 struct hfp_info; 28 struct hfp_info *hfp_info_create(); 31 void hfp_info_destroy(struct hfp_info *info); 34 void hfp_info_set_wbs_logger(struct hfp_info *info, 38 int hfp_info_running(struct hfp_info *info); 45 int hfp_info_start(int fd, unsigned int mtu, int codec, struct hfp_info *info); 50 int hfp_info_stop(struct hfp_info *info); 58 int hfp_buf_queued(struct hfp_info *info, enum CRAS_STREAM_DIRECTION direction); 67 int hfp_fill_output_with_zeros(struct hfp_info *info, unsigned int nframes); 76 void hfp_force_output_level(struct hfp_info *info, unsigned int level); [all …]
|
D | cras_hfp_info.c | 99 struct hfp_info { struct 112 int (*read_cb)(struct hfp_info *info); argument 113 int (*write_cb)(struct hfp_info *info); argument 127 int hfp_info_add_iodev(struct hfp_info *info, in hfp_info_add_iodev() argument 151 int hfp_info_rm_iodev(struct hfp_info *info, in hfp_info_rm_iodev() 167 int hfp_info_has_iodev(struct hfp_info *info) in hfp_info_has_iodev() 172 void hfp_buf_acquire(struct hfp_info *info, in hfp_buf_acquire() 194 int hfp_buf_size(struct hfp_info *info, enum CRAS_STREAM_DIRECTION direction) in hfp_buf_size() 204 void hfp_buf_release(struct hfp_info *info, in hfp_buf_release() 218 int hfp_buf_queued(struct hfp_info *info, enum CRAS_STREAM_DIRECTION direction) in hfp_buf_queued() [all …]
|
D | cras_hfp_iodev.h | 22 struct hfp_info *info);
|
D | cras_hfp_iodev.c | 37 struct hfp_info *info; 287 struct hfp_info *info) in hfp_iodev_create()
|
D | cras_hfp_ag_profile.c | 96 struct hfp_info *info;
|
/external/adhd/cras/src/tests/ |
D | hfp_iodev_unittest.cc | 19 static struct hfp_info* fake_info; 74 fake_info = reinterpret_cast<struct hfp_info*>(0x123); in ResetStubData() 293 int hfp_info_add_iodev(struct hfp_info* info, in hfp_info_add_iodev() 300 int hfp_info_rm_iodev(struct hfp_info* info, in hfp_info_rm_iodev() 306 int hfp_info_has_iodev(struct hfp_info* info) { in hfp_info_has_iodev() 311 int hfp_info_running(struct hfp_info* info) { in hfp_info_running() 316 int hfp_info_start(int fd, unsigned int mtu, int codec, struct hfp_info* info) { in hfp_info_start() 321 int hfp_info_stop(struct hfp_info* info) { in hfp_info_stop() 326 int hfp_buf_queued(struct hfp_info* info, in hfp_buf_queued() 331 int hfp_buf_size(struct hfp_info* info, enum CRAS_STREAM_DIRECTION direction) { in hfp_buf_size() [all …]
|
D | hfp_ag_profile_unittest.cc | 156 struct hfp_info* info) { in hfp_iodev_create() 189 struct hfp_info* hfp_info_create() { in hfp_info_create() 193 int hfp_info_running(struct hfp_info* info) { in hfp_info_running() 197 int hfp_info_stop(struct hfp_info* info) { in hfp_info_stop() 201 void hfp_info_destroy(struct hfp_info* info) {} in hfp_info_destroy() 289 void hfp_info_set_wbs_logger(struct hfp_info* info, in hfp_info_set_wbs_logger()
|
D | hfp_info_unittest.cc | 19 static struct hfp_info* info; 264 thread_cb((struct hfp_info*)cb_data, POLLIN); in TEST() 276 thread_cb((struct hfp_info*)cb_data, POLLIN); in TEST() 308 thread_cb((struct hfp_info*)cb_data, POLLIN); in TEST() 322 thread_cb((struct hfp_info*)cb_data, POLLIN); in TEST() 397 thread_cb((struct hfp_info*)cb_data, POLLIN); in TEST() 412 thread_cb((struct hfp_info*)cb_data, POLLIN); in TEST() 425 thread_cb((struct hfp_info*)cb_data, POLLIN); in TEST() 442 thread_cb((struct hfp_info*)cb_data, POLLIN); in TEST() 458 thread_cb((struct hfp_info*)cb_data, POLLIN); in TEST() [all …]
|