Home
last modified time | relevance | path

Searched refs:A2DP_SET_ONE_BIT (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Bluetooth/system/stack/test/
Dstack_a2dp_test.cc341 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()
345 EXPECT_TRUE(A2DP_BitsSet(0x80) == A2DP_SET_ONE_BIT); in TEST_F()
349 EXPECT_TRUE(A2DP_BitsSet(0x8000) == A2DP_SET_ONE_BIT); in TEST_F()
353 EXPECT_TRUE(A2DP_BitsSet(0x80000) == A2DP_SET_ONE_BIT); in TEST_F()
357 EXPECT_TRUE(A2DP_BitsSet(0x80000000) == A2DP_SET_ONE_BIT); in TEST_F()
361 EXPECT_TRUE(A2DP_BitsSet(0x8000000000000000) == A2DP_SET_ONE_BIT); in TEST_F()
/packages/modules/Bluetooth/system/stack/include/
Da2dp_api.h48 #define A2DP_SET_ONE_BIT 1 /* one and only one bit is set */ macro
/packages/modules/Bluetooth/system/stack/a2dp/
Da2dp_sbc.cc222 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.cc233 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.cc187 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.cc170 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_api.cc372 if ((num & (num - 1)) == 0) return A2DP_SET_ONE_BIT; in A2DP_BitsSet()
Da2dp_vendor_opus.cc242 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.cc198 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()
/packages/modules/Bluetooth/system/bta/av/
Dbta_av_aact.cc2341 if (!bta_av_link_role_ok(p_scb, A2DP_SET_ONE_BIT)) in bta_av_start_ok()
2958 if (!bta_av_link_role_ok(p_scb, A2DP_SET_ONE_BIT)) { in bta_av_open_rc()