5b790feeeb211c42bf78ca3ae9c26aa30e516765 |
|
18-Sep-2017 |
Jakub Pawlowski <jpawlowski@google.com> |
Make copyright headers consistent with Google template; remove "(C)" Test: Comment changes only; still compiles... Change-Id: Id699a8170112f06e4a2c9f2e0f0834d1817ace4e
/system/bt/main/bte_main.cc
|
2b7e9058076f1b6afde219b4d7a36368ca97d7fc |
|
01-Mar-2017 |
Ajay Panicker <apanicke@google.com> |
Swap BTA and HCI queues with message loops Swapping out the queues with base::MessageLoop allows for an easier refactor of alarms as we can just replace them with an instance of base::Timer. Also refactored out the data_dispatcher as most of the code wasn't being used. Bug: 37245162 Test: Bluetooth sanity test and listening to music added net_test_btu_message_loop Change-Id: I73c359f07a225733dc89f51422a6a24ce807c593
/system/bt/main/bte_main.cc
|
5d700dd909645dd1fe120014d817041aaed43b8d |
|
21-Mar-2017 |
Myles Watson <mylesgw@google.com> |
main: Update error handling Test: builds Change-Id: Ibc6b1d94f49bd711e7844ae769c384f76d357f22
/system/bt/main/bte_main.cc
|
d56ef465026b24bfee356f2dabccffe6eab5d21f |
|
12-Sep-2016 |
Myles Watson <mylesgw@google.com> |
Remove LPM code from the stack Power management is handled in hardware/interfaces/bluetooth/. Test: mma -j32 Change-Id: Ie172ca37059768a2cfa0d4b84f34b54624b1fa49
/system/bt/main/bte_main.cc
|
796523d32d5478b63d9a545ec6a4e26207742b0c |
|
11-Nov-2016 |
Andre Eisenbach <eisenbach@google.com> |
Initial HIDL conversion Test: Unit tests, VTS test, device sanity Change-Id: Ia5b2b5fa762d240c0490666d50ea5c878631fcd1
/system/bt/main/bte_main.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/main/bte_main.cc
|
911d1ae03efec2d54c3b1b605589d790d1745488 |
|
29-Nov-2016 |
Myles Watson <mylesgw@google.com> |
Apply clang-format to the rest of the tree find * | grep "\.[ch]" | xargs clang-format --style=file -i Test: mma -j32 Change-Id: I6fcc9862bb7bc07c2a367ca58fef2b3cd27a6f05
/system/bt/main/bte_main.cc
|
ee96a3c60fca590d38025925c072d264e06493c4 |
|
23-Nov-2016 |
Myles Watson <mylesgw@google.com> |
Fix asterisks in block quotes Remove double asterisks from block quotes. git grep -lP '^[*][*]' | xargs sed 's/^[*][*]/ \*/' -i Fix asterisk line lengths git grep -l '^[ /][*]\{79,\}[*/]' | \ xargs sed -i s,"^\([ /]\)[*]\([*]\{78\}\)[*]*\([*/]\)","\1\2\3", Test: mma -j32 Change-Id: Ie3fd375ac2f804cb0f53bf1314a005e85973b3d7
/system/bt/main/bte_main.cc
|
b2a292b5d8df2f359c38b0787bc01181225a9bc9 |
|
15-Oct-2016 |
Pavlin Radoslavov <pavlin@google.com> |
Renamed most C files to C++: *.c to *.cc Also: - Fixed C++ related compilation errors. - Added missing 'extern "C"' guards in some of the header files. - Added missing LOCAL_CPP_EXTENSION to Android.mk files. - Added-back btif/src/btif_mce.cc and bta/mce/bta_mce_* to btif/Android.mk and bta/Android.mk respectively. - Fixed the alphabetical ordering of the *.cc files in some of the Android.mk files. - Added missing Copyright header to "osi/include/list.h" - Updated "osi/src/wakelock.cc" to use C++ std::string instead of dynamic allocation of C-style strings. Test: code compilation, unit tests, and A2DP streaming Change-Id: Ia2f7215ed9df32775c701b68fc86b09875b942c7
/system/bt/main/bte_main.cc
|