Loading system/audio_hal_interface/Android.bp +4 −0 Original line number Diff line number Diff line Loading @@ -302,6 +302,7 @@ cc_test { "libfmq", "liblog", "libstatslog", "libcutils", "libutils", "server_configurable_flags", ], Loading @@ -318,6 +319,7 @@ cc_test { "libchrome", "libevent", "libgmock", "server_configurable_flags", ], cflags: [ "-DBUILDCFG", Loading Loading @@ -350,7 +352,9 @@ cc_test { static_libs: [ "libbt-bta", "libbt-platform-protos-lite", "libcutils", "libgmock", "server_configurable_flags", ], header_libs: ["libbluetooth_headers"], cflags: [ Loading system/audio_hal_interface/aidl/le_audio_utils_unittest.cc +0 −8 Original line number Diff line number Diff line Loading @@ -28,14 +28,6 @@ #include "bta/le_audio/le_audio_types.h" #include "btm_iso_api_types.h" namespace server_configurable_flags { std::string GetServerConfigurableFlag(const std::string& /* experiment_category_name */, const std::string& /* experiment_flag_name */, const std::string& /* default_value */) { return ""; } } // namespace server_configurable_flags namespace bluetooth { namespace { Loading system/audio_hal_interface/le_audio_software_unittest.cc +0 −8 Original line number Diff line number Diff line Loading @@ -486,14 +486,6 @@ namespace bluetooth::le_audio::broadcaster { std::ostream& operator<<(std::ostream& os, const BroadcastConfiguration&) { return os; } } // namespace bluetooth::le_audio::broadcaster namespace server_configurable_flags { std::string GetServerConfigurableFlag(const std::string& /* experiment_category_name */, const std::string& /* experiment_flag_name */, const std::string& /* default_value */) { return ""; } } // namespace server_configurable_flags namespace { bluetooth::common::MessageLoopThread message_loop_thread("test message loop"); Loading system/bta/Android.bp +6 −1 Original line number Diff line number Diff line Loading @@ -823,6 +823,7 @@ cc_test { shared_libs: [ "libbase", "libcrypto", "libcutils", "libhidlbase", "liblog", // __android_log_print ], Loading @@ -841,6 +842,7 @@ cc_test { "libflatbuffers-cpp", "libgmock", "libosi", "server_configurable_flags", ], sanitize: { cfi: false, Loading Loading @@ -1019,9 +1021,9 @@ cc_test { "libaconfig_storage_read_api_cc", "libbase", "libcrypto", "libcutils", "libhidlbase", "liblog", "server_configurable_flags", ], static_libs: [ "libbluetooth-types", Loading @@ -1041,6 +1043,7 @@ cc_test { "libgtest", "liblc3", "libosi", "server_configurable_flags", ], data: [ ":audio_set_configurations_bfbs", Loading Loading @@ -1187,6 +1190,7 @@ cc_test { "libbase", "libbinder_ndk", "libcrypto", "libcutils", "libfmq", "libhidlbase", "liblog", Loading @@ -1210,6 +1214,7 @@ cc_test { "libgtest", "liblc3", "libosi", "server_configurable_flags", ], sanitize: { cfi: true, Loading system/bta/le_audio/broadcaster/broadcaster_test.cc +0 −8 Original line number Diff line number Diff line Loading @@ -84,14 +84,6 @@ static base::Callback<void(BT_OCTET8)> generator_cb; void btsnd_hcic_ble_rand(base::Callback<void(BT_OCTET8)> cb) { generator_cb = cb; } namespace server_configurable_flags { std::string GetServerConfigurableFlag(const std::string& experiment_category_name, const std::string& experiment_flag_name, const std::string& default_value) { return ""; } } // namespace server_configurable_flags std::atomic<int> num_async_tasks; bluetooth::common::MessageLoopThread message_loop_thread("test message loop"); bluetooth::common::MessageLoopThread* get_main_thread() { return &message_loop_thread; } Loading Loading
system/audio_hal_interface/Android.bp +4 −0 Original line number Diff line number Diff line Loading @@ -302,6 +302,7 @@ cc_test { "libfmq", "liblog", "libstatslog", "libcutils", "libutils", "server_configurable_flags", ], Loading @@ -318,6 +319,7 @@ cc_test { "libchrome", "libevent", "libgmock", "server_configurable_flags", ], cflags: [ "-DBUILDCFG", Loading Loading @@ -350,7 +352,9 @@ cc_test { static_libs: [ "libbt-bta", "libbt-platform-protos-lite", "libcutils", "libgmock", "server_configurable_flags", ], header_libs: ["libbluetooth_headers"], cflags: [ Loading
system/audio_hal_interface/aidl/le_audio_utils_unittest.cc +0 −8 Original line number Diff line number Diff line Loading @@ -28,14 +28,6 @@ #include "bta/le_audio/le_audio_types.h" #include "btm_iso_api_types.h" namespace server_configurable_flags { std::string GetServerConfigurableFlag(const std::string& /* experiment_category_name */, const std::string& /* experiment_flag_name */, const std::string& /* default_value */) { return ""; } } // namespace server_configurable_flags namespace bluetooth { namespace { Loading
system/audio_hal_interface/le_audio_software_unittest.cc +0 −8 Original line number Diff line number Diff line Loading @@ -486,14 +486,6 @@ namespace bluetooth::le_audio::broadcaster { std::ostream& operator<<(std::ostream& os, const BroadcastConfiguration&) { return os; } } // namespace bluetooth::le_audio::broadcaster namespace server_configurable_flags { std::string GetServerConfigurableFlag(const std::string& /* experiment_category_name */, const std::string& /* experiment_flag_name */, const std::string& /* default_value */) { return ""; } } // namespace server_configurable_flags namespace { bluetooth::common::MessageLoopThread message_loop_thread("test message loop"); Loading
system/bta/Android.bp +6 −1 Original line number Diff line number Diff line Loading @@ -823,6 +823,7 @@ cc_test { shared_libs: [ "libbase", "libcrypto", "libcutils", "libhidlbase", "liblog", // __android_log_print ], Loading @@ -841,6 +842,7 @@ cc_test { "libflatbuffers-cpp", "libgmock", "libosi", "server_configurable_flags", ], sanitize: { cfi: false, Loading Loading @@ -1019,9 +1021,9 @@ cc_test { "libaconfig_storage_read_api_cc", "libbase", "libcrypto", "libcutils", "libhidlbase", "liblog", "server_configurable_flags", ], static_libs: [ "libbluetooth-types", Loading @@ -1041,6 +1043,7 @@ cc_test { "libgtest", "liblc3", "libosi", "server_configurable_flags", ], data: [ ":audio_set_configurations_bfbs", Loading Loading @@ -1187,6 +1190,7 @@ cc_test { "libbase", "libbinder_ndk", "libcrypto", "libcutils", "libfmq", "libhidlbase", "liblog", Loading @@ -1210,6 +1214,7 @@ cc_test { "libgtest", "liblc3", "libosi", "server_configurable_flags", ], sanitize: { cfi: true, Loading
system/bta/le_audio/broadcaster/broadcaster_test.cc +0 −8 Original line number Diff line number Diff line Loading @@ -84,14 +84,6 @@ static base::Callback<void(BT_OCTET8)> generator_cb; void btsnd_hcic_ble_rand(base::Callback<void(BT_OCTET8)> cb) { generator_cb = cb; } namespace server_configurable_flags { std::string GetServerConfigurableFlag(const std::string& experiment_category_name, const std::string& experiment_flag_name, const std::string& default_value) { return ""; } } // namespace server_configurable_flags std::atomic<int> num_async_tasks; bluetooth::common::MessageLoopThread message_loop_thread("test message loop"); bluetooth::common::MessageLoopThread* get_main_thread() { return &message_loop_thread; } Loading