Lines Matching refs:a2dp_codecs
833 A2dpCodecs* a2dp_codecs = in TEST_F() local
837 EXPECT_TRUE(a2dp_codecs->init()); in TEST_F()
844 a2dp_codecs->findSourceCodecConfig(codec_info_sbc_sink_capability); in TEST_F()
846 EXPECT_TRUE(a2dp_codecs->setCodecConfig( in TEST_F()
849 EXPECT_EQ(a2dp_codecs->getCurrentCodecConfig(), codec_config); in TEST_F()
861 a2dp_codecs->findSourceCodecConfig(codec_info_aac_sink_capability); in TEST_F()
863 EXPECT_TRUE(a2dp_codecs->setCodecConfig( in TEST_F()
866 EXPECT_EQ(a2dp_codecs->getCurrentCodecConfig(), codec_config); in TEST_F()
877 codec_config = a2dp_codecs->findSourceCodecConfig(codec_info_sbc); in TEST_F()
879 EXPECT_TRUE(a2dp_codecs->setCodecConfig( in TEST_F()
882 EXPECT_EQ(a2dp_codecs->getCurrentCodecConfig(), codec_config); in TEST_F()
893 codec_config = a2dp_codecs->findSourceCodecConfig(codec_info_aac); in TEST_F()
895 EXPECT_TRUE(a2dp_codecs->setCodecConfig( in TEST_F()
898 EXPECT_EQ(a2dp_codecs->getCurrentCodecConfig(), codec_config); in TEST_F()
909 codec_config = a2dp_codecs->findSinkCodecConfig(codec_info_sbc_capability); in TEST_F()
911 EXPECT_TRUE(a2dp_codecs->setSinkCodecConfig( in TEST_F()
914 EXPECT_EQ(a2dp_codecs->getCurrentCodecConfig(), codec_config); in TEST_F()
925 codec_config = a2dp_codecs->findSinkCodecConfig(codec_info_aac_capability); in TEST_F()
927 EXPECT_TRUE(a2dp_codecs->setSinkCodecConfig( in TEST_F()
930 EXPECT_EQ(a2dp_codecs->getCurrentCodecConfig(), codec_config); in TEST_F()
941 codec_config = a2dp_codecs->findSinkCodecConfig(codec_info_sbc); in TEST_F()
943 EXPECT_TRUE(a2dp_codecs->setSinkCodecConfig( in TEST_F()
946 EXPECT_EQ(a2dp_codecs->getCurrentCodecConfig(), codec_config); in TEST_F()
957 codec_config = a2dp_codecs->findSinkCodecConfig(codec_info_aac); in TEST_F()
959 EXPECT_TRUE(a2dp_codecs->setSinkCodecConfig( in TEST_F()
962 EXPECT_EQ(a2dp_codecs->getCurrentCodecConfig(), codec_config); in TEST_F()
973 EXPECT_FALSE(a2dp_codecs->setCodecConfig( in TEST_F()
976 delete a2dp_codecs; in TEST_F()