Home
last modified time | relevance | path

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

/system/bt/stack/test/
Dstack_a2dp_test.cc255 EXPECT_TRUE(A2DP_BitsSet(0x0) == A2DP_SET_ZERO_BIT); in TEST_F()
256 EXPECT_TRUE(A2DP_BitsSet(0x1) == A2DP_SET_ONE_BIT); in TEST_F()
257 EXPECT_TRUE(A2DP_BitsSet(0x2) == A2DP_SET_ONE_BIT); in TEST_F()
258 EXPECT_TRUE(A2DP_BitsSet(0x3) == A2DP_SET_MULTL_BIT); in TEST_F()
259 EXPECT_TRUE(A2DP_BitsSet(0x7f) == A2DP_SET_MULTL_BIT); in TEST_F()
260 EXPECT_TRUE(A2DP_BitsSet(0x80) == A2DP_SET_ONE_BIT); in TEST_F()
261 EXPECT_TRUE(A2DP_BitsSet(0x81) == A2DP_SET_MULTL_BIT); in TEST_F()
262 EXPECT_TRUE(A2DP_BitsSet(0xc0) == A2DP_SET_MULTL_BIT); in TEST_F()
263 EXPECT_TRUE(A2DP_BitsSet(0xff) == A2DP_SET_MULTL_BIT); in TEST_F()
264 EXPECT_TRUE(A2DP_BitsSet(0x8000) == A2DP_SET_ONE_BIT); in TEST_F()
[all …]
/system/bt/stack/include/
Da2dp_api.h207 extern uint8_t A2DP_BitsSet(uint64_t num);
/system/bt/stack/a2dp/
Da2dp_sbc.cc203 if (A2DP_BitsSet(p_ie->samp_freq) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoSbc()
205 if (A2DP_BitsSet(p_ie->ch_mode) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoSbc()
207 if (A2DP_BitsSet(p_ie->block_len) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoSbc()
209 if (A2DP_BitsSet(p_ie->num_subbands) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoSbc()
211 if (A2DP_BitsSet(p_ie->alloc_method) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoSbc()
217 if (A2DP_BitsSet(p_ie->samp_freq) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoSbc()
219 if (A2DP_BitsSet(p_ie->ch_mode) != A2DP_SET_ONE_BIT) return A2DP_BAD_CH_MODE; in A2DP_ParseInfoSbc()
220 if (A2DP_BitsSet(p_ie->block_len) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoSbc()
222 if (A2DP_BitsSet(p_ie->num_subbands) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoSbc()
224 if (A2DP_BitsSet(p_ie->alloc_method) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoSbc()
Da2dp_aac.cc197 if (A2DP_BitsSet(p_ie->objectType) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoAac()
199 if (A2DP_BitsSet(p_ie->sampleRate) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoAac()
201 if (A2DP_BitsSet(p_ie->channelMode) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoAac()
207 if (A2DP_BitsSet(p_ie->objectType) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoAac()
209 if (A2DP_BitsSet(p_ie->sampleRate) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoAac()
211 if (A2DP_BitsSet(p_ie->channelMode) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoAac()
Da2dp_vendor_aptx.cc161 if (A2DP_BitsSet(p_ie->sampleRate) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoAptx()
163 if (A2DP_BitsSet(p_ie->channelMode) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoAptx()
169 if (A2DP_BitsSet(p_ie->sampleRate) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoAptx()
171 if (A2DP_BitsSet(p_ie->channelMode) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoAptx()
Da2dp_vendor_aptx_hd.cc177 if (A2DP_BitsSet(p_ie->sampleRate) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoAptxHd()
179 if (A2DP_BitsSet(p_ie->channelMode) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoAptxHd()
185 if (A2DP_BitsSet(p_ie->sampleRate) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoAptxHd()
187 if (A2DP_BitsSet(p_ie->channelMode) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoAptxHd()
Da2dp_vendor_ldac.cc188 if (A2DP_BitsSet(p_ie->sampleRate) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoLdac()
190 if (A2DP_BitsSet(p_ie->channelMode) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoLdac()
196 if (A2DP_BitsSet(p_ie->sampleRate) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoLdac()
198 if (A2DP_BitsSet(p_ie->channelMode) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoLdac()
Da2dp_api.cc367 uint8_t A2DP_BitsSet(uint64_t num) { in A2DP_BitsSet() function
/system/bt/bta/av/
Dbta_av_main.cc1097 (A2DP_BitsSet(bta_av_cb.conn_audio) > bits || in bta_av_link_role_ok()