Home
last modified time | relevance | path

Searched refs:A2DP_BitsSet (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Bluetooth/system/stack/test/
Dstack_a2dp_test.cc340 EXPECT_TRUE(A2DP_BitsSet(0x0) == A2DP_SET_ZERO_BIT); in TEST_F()
341 EXPECT_TRUE(A2DP_BitsSet(0x1) == A2DP_SET_ONE_BIT); in TEST_F()
342 EXPECT_TRUE(A2DP_BitsSet(0x2) == A2DP_SET_ONE_BIT); in TEST_F()
343 EXPECT_TRUE(A2DP_BitsSet(0x3) == A2DP_SET_MULTL_BIT); in TEST_F()
344 EXPECT_TRUE(A2DP_BitsSet(0x7f) == A2DP_SET_MULTL_BIT); in TEST_F()
345 EXPECT_TRUE(A2DP_BitsSet(0x80) == A2DP_SET_ONE_BIT); in TEST_F()
346 EXPECT_TRUE(A2DP_BitsSet(0x81) == A2DP_SET_MULTL_BIT); in TEST_F()
347 EXPECT_TRUE(A2DP_BitsSet(0xc0) == A2DP_SET_MULTL_BIT); in TEST_F()
348 EXPECT_TRUE(A2DP_BitsSet(0xff) == A2DP_SET_MULTL_BIT); in TEST_F()
349 EXPECT_TRUE(A2DP_BitsSet(0x8000) == A2DP_SET_ONE_BIT); in TEST_F()
[all …]
/packages/modules/Bluetooth/system/stack/a2dp/
Da2dp_sbc.cc208 if (A2DP_BitsSet(p_ie->samp_freq) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoSbc()
210 if (A2DP_BitsSet(p_ie->ch_mode) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoSbc()
212 if (A2DP_BitsSet(p_ie->block_len) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoSbc()
214 if (A2DP_BitsSet(p_ie->num_subbands) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoSbc()
216 if (A2DP_BitsSet(p_ie->alloc_method) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoSbc()
222 if (A2DP_BitsSet(p_ie->samp_freq) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoSbc()
224 if (A2DP_BitsSet(p_ie->ch_mode) != A2DP_SET_ONE_BIT) return A2DP_BAD_CH_MODE; in A2DP_ParseInfoSbc()
225 if (A2DP_BitsSet(p_ie->block_len) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoSbc()
227 if (A2DP_BitsSet(p_ie->num_subbands) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoSbc()
229 if (A2DP_BitsSet(p_ie->alloc_method) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoSbc()
Da2dp_aac.cc223 if (A2DP_BitsSet(p_ie->objectType) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoAac()
225 if (A2DP_BitsSet(p_ie->sampleRate) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoAac()
227 if (A2DP_BitsSet(p_ie->channelMode) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoAac()
233 if (A2DP_BitsSet(p_ie->objectType) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoAac()
235 if (A2DP_BitsSet(p_ie->sampleRate) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoAac()
237 if (A2DP_BitsSet(p_ie->channelMode) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoAac()
Da2dp_vendor_aptx_hd.cc179 if (A2DP_BitsSet(p_ie->sampleRate) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoAptxHd()
181 if (A2DP_BitsSet(p_ie->channelMode) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoAptxHd()
187 if (A2DP_BitsSet(p_ie->sampleRate) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoAptxHd()
189 if (A2DP_BitsSet(p_ie->channelMode) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoAptxHd()
Da2dp_vendor_aptx.cc162 if (A2DP_BitsSet(p_ie->sampleRate) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoAptx()
164 if (A2DP_BitsSet(p_ie->channelMode) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoAptx()
170 if (A2DP_BitsSet(p_ie->sampleRate) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoAptx()
172 if (A2DP_BitsSet(p_ie->channelMode) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoAptx()
Da2dp_vendor_opus.cc230 if (A2DP_BitsSet(p_ie->sampleRate) == A2DP_SET_ZERO_BIT) { in A2DP_ParseInfoOpus()
234 if (A2DP_BitsSet(p_ie->channelMode) == A2DP_SET_ZERO_BIT) { in A2DP_ParseInfoOpus()
242 if (A2DP_BitsSet(p_ie->sampleRate) != A2DP_SET_ONE_BIT) { in A2DP_ParseInfoOpus()
246 if (A2DP_BitsSet(p_ie->channelMode) != A2DP_SET_ONE_BIT) { in A2DP_ParseInfoOpus()
Da2dp_vendor_ldac.cc190 if (A2DP_BitsSet(p_ie->sampleRate) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoLdac()
192 if (A2DP_BitsSet(p_ie->channelMode) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoLdac()
198 if (A2DP_BitsSet(p_ie->sampleRate) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoLdac()
200 if (A2DP_BitsSet(p_ie->channelMode) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoLdac()
Da2dp_api.cc370 uint8_t A2DP_BitsSet(uint64_t num) { in A2DP_BitsSet() function
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_a2dp_api.cc46 uint8_t A2DP_BitsSet(uint64_t /* num */) { in A2DP_BitsSet() function
Dmock_a2dp_api.cc42 uint8_t A2DP_BitsSet(uint64_t num) { in A2DP_BitsSet() function
/packages/modules/Bluetooth/system/stack/include/
Da2dp_api.h186 uint8_t A2DP_BitsSet(uint64_t num);
/packages/modules/Bluetooth/system/stack/test/fuzzers/a2dp/
Da2dpFuzzFunctions.h84 A2DP_BitsSet(fdp->ConsumeIntegral<uint64_t>());
/packages/modules/Bluetooth/system/bta/av/
Dbta_av_main.cc1128 if (role != HCI_ROLE_CENTRAL && (A2DP_BitsSet(bta_av_cb.conn_audio) > bits)) { in bta_av_link_role_ok()