09173e75bb92d6fedfe010fa306cc0783e061c86 |
|
21-Mar-2017 |
Myles Watson <mylesgw@google.com> |
hci: Update error messages Test: builds Change-Id: I33544572122a166523a40dde090f276b102df247 (cherry picked from commit ec728d3136aabcd7675aba4a672d932e0709c509)
/system/bt/hci/src/packet_fragmenter.cc
|
f2af1c42ccb2f642b241c2261b42d0be61d45438 |
|
13-Dec-2016 |
Jack He <siyuanh@google.com> |
Replace assert with CHECK from base/logging.h * Replace assert with CHECK * Remove all NDEBUG definitions * Remove hacks for BT_LIBCHROME_NDEBUG * Removed some removed directories from Makefile such as hcis, brcm, rpc Coccinelle-assisted: @@ @@ - #include "base/logging.h" + #include <base/logging.h> @ assert_included @ @@ @ base_logging_included @ @@ @ depends on (assert_included && !(base_logging_included)) @ @@ - #include <assert.h> + #include <base/logging.h> @ depends on (assert_included && base_logging_included) @ @@ - #include <assert.h> @@ expression E; @@ - assert(E); + CHECK(E); And a bash script: for file in $(find . -name "*.cc"); do spatch --sp-file replace_assert_with_CHECK.cocci --in-place $file done The following files are maually edited: btif/src/btif_config.cc btif/src/btif_avrcp_audio_track.cc btif/src/btif_gatt_client.cc osi/src/data_dispatcher.cc osi/src/reactor.cc osi/src/thread.cc osi/src/fixed_queue.cc osi/src/list.cc osi/src/allocation_tracker.cc osi/src/alarm.cc osi/test/wakelock_test.cc Bug: 31781465 Test: Code compilation, Unit Tests, BtStressTest, BtFunhausMetricsTest Change-Id: I21dc10a45be31665e41441b75b0515ed87523988
/system/bt/hci/src/packet_fragmenter.cc
|
5ff20a23661695abb1cff6d01d71a8cad4cc7890 |
|
31-Oct-2016 |
Myles Watson <mylesgw@google.com> |
hci: Apply clang-format Remove double asterisks: cd hci/ find . | grep "\.cc\|\.h\|\.c" | \ xargs -I REPLACE sed 's/^[*][*]/ \*/' -i REPLACE Run clang-format: find . | grep "\.cc\|\.h\|\.c" | xargs -I REPLACE \ clang-format --style=file -i REPLACE Test: mma -j32 Change-Id: Ie74244127c8a264dd087d199155274d4655ccf65
/system/bt/hci/src/packet_fragmenter.cc
|
dd5e3e9e3ffd2fe2b7d520c09acd98f79c3d9a38 |
|
26-May-2016 |
Jakub Pawlowski <jpawlowski@google.com> |
Replace hash_map in packet_fragmenter with C++ unordered_map Change-Id: I7707d21c44a5b8a18c925892d950155e3be72c30
/system/bt/hci/src/packet_fragmenter.cc
|