Loading system/osi/Android.bp +3 −4 Original line number Diff line number Diff line Loading @@ -104,6 +104,9 @@ cc_test { "fluoride_osi_defaults", "mts_defaults", ], cflags: [ "-DLIB_OSI_INTERNAL", ], host_supported: true, srcs: [ "test/alarm_test.cc", Loading Loading @@ -155,10 +158,6 @@ cc_test { ], }, }, cflags: [ "-DLIB_OSI_INTERNAL", "-Wno-unused-parameter", ], sanitize: { address: true, cfi: false, Loading system/osi/test/alarm_test.cc +2 −2 Original line number Diff line number Diff line Loading @@ -50,12 +50,12 @@ extern int64_t TIMER_INTERVAL_FOR_WAKELOCK_IN_MS; static bool is_wake_lock_acquired = false; static int acquire_wake_lock_cb(const char* lock_name) { static int acquire_wake_lock_cb(const char* /*lock_name*/) { is_wake_lock_acquired = true; return BT_STATUS_SUCCESS; } static int release_wake_lock_cb(const char* lock_name) { static int release_wake_lock_cb(const char* /*lock_name*/) { is_wake_lock_acquired = false; return BT_STATUS_SUCCESS; } Loading system/osi/test/fixed_queue_test.cc +1 −1 Original line number Diff line number Diff line Loading @@ -41,7 +41,7 @@ static void fixed_queue_ready(fixed_queue_t* queue, void* /* context */) { future_ready(received_message_future, msg); } static void test_queue_entry_free_cb(void* data) { static void test_queue_entry_free_cb(void* /*data*/) { // Don't free the data, because we are testing only whether the callback // is called. test_queue_entry_free_counter++; Loading system/osi/test/wakelock_test.cc +2 −2 Original line number Diff line number Diff line Loading @@ -26,12 +26,12 @@ static bool is_wake_lock_acquired = false; static int acquire_wake_lock_cb(const char* lock_name) { static int acquire_wake_lock_cb(const char* /*lock_name*/) { is_wake_lock_acquired = true; return BT_STATUS_SUCCESS; } static int release_wake_lock_cb(const char* lock_name) { static int release_wake_lock_cb(const char* /*lock_name*/) { is_wake_lock_acquired = false; return BT_STATUS_SUCCESS; } Loading Loading
system/osi/Android.bp +3 −4 Original line number Diff line number Diff line Loading @@ -104,6 +104,9 @@ cc_test { "fluoride_osi_defaults", "mts_defaults", ], cflags: [ "-DLIB_OSI_INTERNAL", ], host_supported: true, srcs: [ "test/alarm_test.cc", Loading Loading @@ -155,10 +158,6 @@ cc_test { ], }, }, cflags: [ "-DLIB_OSI_INTERNAL", "-Wno-unused-parameter", ], sanitize: { address: true, cfi: false, Loading
system/osi/test/alarm_test.cc +2 −2 Original line number Diff line number Diff line Loading @@ -50,12 +50,12 @@ extern int64_t TIMER_INTERVAL_FOR_WAKELOCK_IN_MS; static bool is_wake_lock_acquired = false; static int acquire_wake_lock_cb(const char* lock_name) { static int acquire_wake_lock_cb(const char* /*lock_name*/) { is_wake_lock_acquired = true; return BT_STATUS_SUCCESS; } static int release_wake_lock_cb(const char* lock_name) { static int release_wake_lock_cb(const char* /*lock_name*/) { is_wake_lock_acquired = false; return BT_STATUS_SUCCESS; } Loading
system/osi/test/fixed_queue_test.cc +1 −1 Original line number Diff line number Diff line Loading @@ -41,7 +41,7 @@ static void fixed_queue_ready(fixed_queue_t* queue, void* /* context */) { future_ready(received_message_future, msg); } static void test_queue_entry_free_cb(void* data) { static void test_queue_entry_free_cb(void* /*data*/) { // Don't free the data, because we are testing only whether the callback // is called. test_queue_entry_free_counter++; Loading
system/osi/test/wakelock_test.cc +2 −2 Original line number Diff line number Diff line Loading @@ -26,12 +26,12 @@ static bool is_wake_lock_acquired = false; static int acquire_wake_lock_cb(const char* lock_name) { static int acquire_wake_lock_cb(const char* /*lock_name*/) { is_wake_lock_acquired = true; return BT_STATUS_SUCCESS; } static int release_wake_lock_cb(const char* lock_name) { static int release_wake_lock_cb(const char* /*lock_name*/) { is_wake_lock_acquired = false; return BT_STATUS_SUCCESS; } Loading