Home
last modified time | relevance | path

Searched refs:a2dpio (Results 1 – 2 of 2) sorted by relevance

/external/adhd/cras/src/server/
Dcras_a2dp_iodev.c72 struct a2dp_io *a2dpio = (struct a2dp_io *)iodev; in update_supported_formats() local
77 cras_bt_transport_configuration(a2dpio->transport, &a2dp, sizeof(a2dp)); in update_supported_formats()
111 struct a2dp_io *a2dpio = (struct a2dp_io *)iodev; in bt_local_queued_frames() local
112 return a2dp_queued_frames(&a2dpio->a2dp) + in bt_local_queued_frames()
113 buf_queued(a2dpio->pcm_buf) / in bt_local_queued_frames()
176 static int enter_no_stream(struct a2dp_io *a2dpio) in enter_no_stream() argument
178 struct cras_iodev *odev = &a2dpio->base; in enter_no_stream()
196 static int leave_no_stream(struct a2dp_io *a2dpio) in leave_no_stream() argument
198 struct cras_iodev *odev = &a2dpio->base; in leave_no_stream()
216 struct a2dp_io *a2dpio = (struct a2dp_io *)odev; in no_stream() local
[all …]
/external/adhd/cras/src/tests/
Da2dp_iodev_unittest.cc191 struct a2dp_io* a2dpio; in TEST_F() local
194 a2dpio = (struct a2dp_io*)iodev; in TEST_F()
220 EXPECT_GT(a2dpio->next_flush_time.tv_nsec, 0); in TEST_F()
237 EXPECT_EQ(768, a2dpio->a2dp.samples); in TEST_F()
249 EXPECT_EQ(768, a2dpio->a2dp.samples); in TEST_F()
266 struct a2dp_io* a2dpio; in TEST_F() local
269 a2dpio = (struct a2dp_io*)iodev; in TEST_F()
278 EXPECT_EQ(896, a2dpio->write_block); in TEST_F()
331 struct a2dp_io* a2dpio; in TEST_F() local
334 a2dpio = (struct a2dp_io*)iodev; in TEST_F()
[all …]