Searched refs:A2DP_SET_ONE_BIT (Results 1 – 9 of 9) sorted by relevance
45 #define A2DP_SET_ONE_BIT 1 /* one and only one bit is set */ macro
291 EXPECT_TRUE(A2DP_BitsSet(0x1) == A2DP_SET_ONE_BIT); in TEST_F()292 EXPECT_TRUE(A2DP_BitsSet(0x2) == A2DP_SET_ONE_BIT); in TEST_F()295 EXPECT_TRUE(A2DP_BitsSet(0x80) == A2DP_SET_ONE_BIT); in TEST_F()299 EXPECT_TRUE(A2DP_BitsSet(0x8000) == A2DP_SET_ONE_BIT); in TEST_F()303 EXPECT_TRUE(A2DP_BitsSet(0x80000) == A2DP_SET_ONE_BIT); in TEST_F()307 EXPECT_TRUE(A2DP_BitsSet(0x80000000) == A2DP_SET_ONE_BIT); in TEST_F()311 EXPECT_TRUE(A2DP_BitsSet(0x8000000000000000) == A2DP_SET_ONE_BIT); in TEST_F()
221 if (A2DP_BitsSet(p_ie->samp_freq) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoSbc()223 if (A2DP_BitsSet(p_ie->ch_mode) != A2DP_SET_ONE_BIT) return A2DP_BAD_CH_MODE; in A2DP_ParseInfoSbc()224 if (A2DP_BitsSet(p_ie->block_len) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoSbc()226 if (A2DP_BitsSet(p_ie->num_subbands) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoSbc()228 if (A2DP_BitsSet(p_ie->alloc_method) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoSbc()
369 if ((num & (num - 1)) == 0) return A2DP_SET_ONE_BIT; in A2DP_BitsSet()
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()
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()
231 if (A2DP_BitsSet(p_ie->objectType) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoAac()233 if (A2DP_BitsSet(p_ie->sampleRate) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoAac()235 if (A2DP_BitsSet(p_ie->channelMode) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoAac()
197 if (A2DP_BitsSet(p_ie->sampleRate) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoLdac()199 if (A2DP_BitsSet(p_ie->channelMode) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoLdac()
2251 if (!bta_av_link_role_ok(p_scb, A2DP_SET_ONE_BIT)) in bta_av_start_ok()2905 if (!bta_av_link_role_ok(p_scb, A2DP_SET_ONE_BIT)) { in bta_av_open_rc()