Loading system/audio_hal_interface/aidl/a2dp_provider_info_unittest.cc +5 −2 Original line number Diff line number Diff line Loading @@ -547,8 +547,11 @@ TEST_F_WITH_FLAGS(ProviderInfoTest, } TEST_F_WITH_FLAGS(ProviderInfoTest, TestCodecIndexStr, REQUIRES_FLAGS_ENABLED(ACONFIG_FLAG( TEST_BT, a2dp_offload_codec_extensibility))) { REQUIRES_FLAGS_ENABLED( ACONFIG_FLAG(TEST_BT, a2dp_offload_codec_extensibility))) // The test deliberately triggers undefined behaviour with an out of bound // index. __attribute__((no_sanitize("undefined"))) { GetProviderInfoForTesting(true, false); auto codecInfoArray = test_source_provider_info.codecInfos; Loading Loading
system/audio_hal_interface/aidl/a2dp_provider_info_unittest.cc +5 −2 Original line number Diff line number Diff line Loading @@ -547,8 +547,11 @@ TEST_F_WITH_FLAGS(ProviderInfoTest, } TEST_F_WITH_FLAGS(ProviderInfoTest, TestCodecIndexStr, REQUIRES_FLAGS_ENABLED(ACONFIG_FLAG( TEST_BT, a2dp_offload_codec_extensibility))) { REQUIRES_FLAGS_ENABLED( ACONFIG_FLAG(TEST_BT, a2dp_offload_codec_extensibility))) // The test deliberately triggers undefined behaviour with an out of bound // index. __attribute__((no_sanitize("undefined"))) { GetProviderInfoForTesting(true, false); auto codecInfoArray = test_source_provider_info.codecInfos; Loading