Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/test/btm/
Dsco_pkt_status_test.cc33 tBTM_SCO_PKT_STATUS pkt_status; in TEST_F() local
34 pkt_status.init(); in TEST_F()
35 pkt_status.update(true); in TEST_F()
36 ASSERT_NE(pkt_status.begin_ts_raw_us(), (uint64_t)0); in TEST_F()
37 ASSERT_EQ(pkt_status.end_ts_raw_us(), pkt_status.begin_ts_raw_us() + 7500); in TEST_F()
38 ASSERT_EQ(pkt_status.data_to_hex_string(), "01"); in TEST_F()
39 ASSERT_EQ(pkt_status.data_to_binary_string(), "1"); in TEST_F()
44 tBTM_SCO_PKT_STATUS pkt_status; in TEST_F() local
45 pkt_status.init(); in TEST_F()
46 for (bool b : pl) pkt_status.update(b); in TEST_F()
[all …]
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_sco_hci.cc444 tBTM_SCO_PKT_STATUS* pkt_status; /* Record of mSBC packet status */ member
503 if (pkt_status) osi_free(pkt_status); in init()
504 pkt_status = (tBTM_SCO_PKT_STATUS*)osi_calloc(sizeof(*pkt_status)); in init()
505 pkt_status->init(); in init()
518 if (pkt_status) osi_free_and_reset((void**)&pkt_status); in deinit()
762 msbc_info->pkt_status->update(false); in decode()
769 msbc_info->pkt_status->update(true); in decode()
830 return msbc_info->pkt_status; in get_pkt_status()
893 tBTM_SCO_PKT_STATUS* pkt_status; /* Record of LC3 packet status */ member
946 if (pkt_status) osi_free(pkt_status); in init()
[all …]
Dbtm_sco.cc1814 tBTM_SCO_PKT_STATUS* pkt_status = get_pkt_status(); in BTM_GetScoDebugDump() local
1815 if (pkt_status == nullptr) return debug_dump; in BTM_GetScoDebugDump()
1818 data->begin_ts_raw_us = pkt_status->begin_ts_raw_us(); in BTM_GetScoDebugDump()
1819 data->end_ts_raw_us = pkt_status->end_ts_raw_us(); in BTM_GetScoDebugDump()
1820 data->status_in_hex = pkt_status->data_to_hex_string(); in BTM_GetScoDebugDump()
1821 data->status_in_binary = pkt_status->data_to_binary_string(); in BTM_GetScoDebugDump()