Home
last modified time | relevance | path

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

/external/adhd/cras/src/tests/
Dhfp_info_unittest.cc400 rc = recv(sock[0], sample, MSBC_PKT_SIZE, 0); in TEST()
401 ASSERT_EQ(MSBC_PKT_SIZE, rc); in TEST()
413 rc = recv(sock[0], sample, MSBC_PKT_SIZE, 0); in TEST()
414 ASSERT_EQ(MSBC_PKT_SIZE, rc); in TEST()
426 rc = recv(sock[0], sample, MSBC_PKT_SIZE, 0); in TEST()
427 ASSERT_EQ(MSBC_PKT_SIZE, rc); in TEST()
443 rc = recv(sock[0], sample, MSBC_PKT_SIZE, 0); in TEST()
444 ASSERT_EQ(MSBC_PKT_SIZE, rc); in TEST()
459 rc = recv(sock[0], sample, MSBC_PKT_SIZE, 0); in TEST()
460 ASSERT_EQ(MSBC_PKT_SIZE, rc); in TEST()
/external/adhd/cras/src/server/
Dcras_hfp_info.c43 #define MSBC_PKT_SIZE 60 macro
299 MSBC_PKT_SIZE - MSBC_H2_HEADER_LEN, &encoded); in hfp_write_msbc()
306 info->write_wp += MSBC_PKT_SIZE; in hfp_write_msbc()
539 if (info->read_rp + MSBC_PKT_SIZE >= info->read_wp) in hfp_read_msbc()
543 if (info->read_rp + MSBC_PKT_SIZE > info->read_wp) in hfp_read_msbc()
562 info->read_rp += MSBC_PKT_SIZE; in hfp_read_msbc()
810 (info->packet_size == MSBC_PKT_SIZE) ? NULL : msbc_frame_align; in hfp_info_start()