Home
last modified time | relevance | path

Searched refs:a2dp_buf_used (Results 1 – 4 of 4) sorted by relevance

/external/adhd/cras/src/server/
Dcras_a2dp_info.c78 a2dp->a2dp_buf_used = in init_a2dp()
109 a2dp->a2dp_buf_used = in a2dp_reset()
133 err = send(stream_fd, a2dp->a2dp_buf, a2dp->a2dp_buf_used, in avdtp_write()
142 a2dp->a2dp_buf_used = sizeof(*header) + sizeof(*payload); in avdtp_write()
158 if (link_mtu == a2dp->a2dp_buf_used) in a2dp_encode()
162 a2dp->a2dp_buf + a2dp->a2dp_buf_used, in a2dp_encode()
163 link_mtu - a2dp->a2dp_buf_used, in a2dp_encode()
172 a2dp->a2dp_buf_used += out_encoded; in a2dp_encode()
183 if (a2dp->a2dp_buf_used + a2dp->frame_length > link_mtu) in a2dp_write()
Dcras_a2dp_info.h34 size_t a2dp_buf_used; member
/external/adhd/cras/src/tests/
Da2dp_info_unittest.cc35 a2dp.a2dp_buf_used = 0; in ResetStubData()
56 ASSERT_EQ(a2dp.a2dp_buf_used, 13); in TEST()
86 a2dp.a2dp_buf_used = 99; in TEST()
93 ASSERT_EQ(a2dp.a2dp_buf_used, 13); in TEST()
114 ASSERT_EQ(17, a2dp.a2dp_buf_used); in TEST()
122 ASSERT_EQ(32, a2dp.a2dp_buf_used); in TEST()
Da2dp_iodev_unittest.cc873 if (a2dp->a2dp_buf_used + a2dp->frame_length > link_mtu) in a2dp_encode()
879 a2dp->a2dp_buf_used += a2dp->frame_length; in a2dp_encode()
887 if (a2dp->frame_length + a2dp->a2dp_buf_used < link_mtu) in a2dp_write()
896 a2dp->a2dp_buf_used = 0; in a2dp_write()