Searched refs:codec_info_sbc_invalid (Results 1 – 1 of 1) sorted by relevance
382 uint8_t codec_info_sbc_invalid[AVDT_CODEC_SIZE]; in TEST_F() local383 memset(codec_info_sbc_invalid, 0, sizeof(codec_info_sbc_invalid)); in TEST_F()384 EXPECT_FALSE(A2DP_IsSourceCodecValid(codec_info_sbc_invalid)); in TEST_F()385 EXPECT_FALSE(A2DP_IsSinkCodecValid(codec_info_sbc_invalid)); in TEST_F()386 EXPECT_FALSE(A2DP_IsPeerSourceCodecValid(codec_info_sbc_invalid)); in TEST_F()387 EXPECT_FALSE(A2DP_IsPeerSinkCodecValid(codec_info_sbc_invalid)); in TEST_F()389 memcpy(codec_info_sbc_invalid, codec_info_sbc, sizeof(codec_info_sbc)); in TEST_F()390 codec_info_sbc_invalid[0] = 0; // Corrupt the Length field in TEST_F()391 EXPECT_FALSE(A2DP_IsSourceCodecValid(codec_info_sbc_invalid)); in TEST_F()392 EXPECT_FALSE(A2DP_IsSinkCodecValid(codec_info_sbc_invalid)); in TEST_F()[all …]