Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dcras_a2dp_info.c78 a2dp->a2dp_buf_used = sizeof(struct rtp_header) in init_a2dp()
109 a2dp->a2dp_buf_used = sizeof(struct rtp_header) in a2dp_drain()
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 > in a2dp_write()
Dcras_a2dp_info.h34 size_t a2dp_buf_used; member
/external/adhd/cras/src/tests/
Da2dp_info_unittest.cc61 a2dp.a2dp_buf_used = 0; in ResetStubData()
82 ASSERT_EQ(a2dp.a2dp_buf_used, 13); in TEST()
112 a2dp.a2dp_buf_used = 99; in TEST()
119 ASSERT_EQ(a2dp.a2dp_buf_used, 13); in TEST()
140 ASSERT_EQ(17, a2dp.a2dp_buf_used); in TEST()
148 ASSERT_EQ(32, a2dp.a2dp_buf_used); in TEST()