ad1e23d50e431fb82ff1b8d3ce02f64ca0c5a940 |
|
10-Dec-2016 |
Jack He <siyuanh@google.com> |
Remove extern "C" from header files Since change 290046, most files in system/bt is compiled as C++ source. Therefore, there is no longer a need for the extern "C" wrapper around includes that export symbols from those sources. The following python script is applied to each file in the directory: front = '#ifdef\s+__cplusplus\s+extern\s+"C"\s+{\s+#endif\s+' back = '#ifdef\s+__cplusplus\s+}\s+#endif' with open(sys.argv[1], "r") as f: data = f.read() data = re.sub(front, "", data) data = re.sub(back, "", data) print data through a shell script: for file in $(find . -name "*.h"); do python remove_cpp_extern_c.py $file > tmp cat tmp > $file rm tmp done with following files not edited: * stack/include/a2dp_* * include/bt_trace.h * embdrv/sbc/* Bug: 33492510 Test: Code compilation, BtFunhausMetricsTest, BtStressTest Change-Id: Iac21cdfb1924b50478dd0b82326e092602cbc9d4
/system/bt/stack/avrc/avrc_int.h
|
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/stack/avrc/avrc_int.h
|
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/stack/avrc/avrc_int.h
|
e7bd8905653ec2af14ae202f538ebc2646752ce0 |
|
11-May-2016 |
Sanket Agarwal <sanketa@google.com> |
Implement AVRCP Controller (Client) Browsing. Following is included as part of the features: a) Browsing for all 4 scopes (Media, VFS, Player and Now Playing) b) Player selection and song selection from browse list. The change constructs the following (from lower to upper protocol layers): 1. AVCTP Browse (bta/ & stack/) -- Connection Handling -- Constructing browse commands -- Parsing browse responses 2. AVRCP (btif/) -- JNI interaction/API -- Connection handling to Java -- Delegating request and responses to Java Bug: 28791287 Change-Id: Ibc97ded93cb9c469778ea1e37733390d561cd4cd (cherry picked from commit 9ea8d07c9286a1f4d338dd64ee02266e324d28e5)
/system/bt/stack/avrc/avrc_int.h
|
37c1b5f8ccf4fc6d5132e07f98f0f40f65d5bfaf |
|
15-Oct-2016 |
Pavlin Radoslavov <pavlin@google.com> |
Removed unused *_DYNAMIC_MEMORY conditional statements Test: compilation from the top-level directory Change-Id: I181e6ae2e71c232ca0dc733dabda5cb0fc2672d8
/system/bt/stack/avrc/avrc_int.h
|
a408eb7227b7060aaa84b2dada7ddd9b6a955761 |
|
22-Jun-2016 |
Avish Shah <avish.shah@broadcom.com> |
AVRCP 1.6: media browsing support on Target(1/3) -> As a part of Avrcp 1.6 upgrade, added support for following features: [1] setAddressedPlayer [2] setBrowsedPlayer [3] getFolderItems scope=VFS/NowPlaying/Search [4] changePath [5] getItemAttributes [6] playItem [7] getTotalNumberOfItems [8] search string in current browsed path. [9] AddToNowPlaying -> Defined functions and enhanced structures to support above mentioned features. -> Added Dual RC support. Bug: 19361366 Merged-In: I45ed60e337b57c686d9693e19993fee1ce3c2504 Change-Id: I45ed60e337b57c686d9693e19993fee1ce3c2504
/system/bt/stack/avrc/avrc_int.h
|
d19e0785e662e640191a075eda07acce61c2aeda |
|
15-Jul-2016 |
Marie Janssen <jamuraa@google.com> |
Use standard types, consistent ifdef style everywhere Remove the typedefs in stack/include/bt_types.h Use standard types everywhere. Use standard style for #if statements: - #if (VAR_NAME == TRUE) - #if (VAR_NAME1 == TRUE && VAR_NAME2 == TRUE) Use __func__ instead of __FUNCTION__ Fix some debug statements to use __func__ Update script to be less disruptive to aligned assignment blocks. Change-Id: I8f8f068e6c26ce74fd3b3707e1e31fd0b919cdd0
/system/bt/stack/avrc/avrc_int.h
|
63b0519c3f0d1c0cc523e0e9553c60fc68651acc |
|
20-May-2016 |
Chih-Hung Hsieh <chh@google.com> |
Fix misc-macro-parentheses warnings When compiled with WITH_TIDY=1, clang-tidy warns about missing parameters around macro parameters. Bug: 28705665 Change-Id: I89c23cfe6eaefae5ef3c648a7c123c0501662c13
/system/bt/stack/avrc/avrc_int.h
|
3d6accfcc0bdc5c7a8713320c9bb069cbf253348 |
|
11-May-2016 |
Bryce Lee <brycelee@google.com> |
Move extern "C" to top of headers and remove tBTA_HF_CLIENT_HDR. Previously, extern "C" was placed in various locations within the header files, sometimes below actual struct declarations. Doing so would lead to alignment issues between C and C++ code. tBTA_HF_CLIENT_HDR was removed from bta_hf_client_api since it was extraneous and empty - leading to alignment issues. Change-Id: Icdd338f1affe4c3a70c7bbd716249be6a16443d2
/system/bt/stack/avrc/avrc_int.h
|
24933b5b1a06274c47133debac5251a97128a267 |
|
25-Sep-2014 |
June R. Tate-Gans <jtgans@google.com> |
Removing unnecessary BTAPI #defines.
/system/bt/stack/avrc/avrc_int.h
|
54db2c249efa91082c5a167a924a527ec73ff38d |
|
13-Apr-2014 |
Sharvil Nanavati <sharvil@google.com> |
Remove executable bit on source files. Change-Id: Id456478aea626f57fed3479346e8fb4dbd0fafa6
/system/bt/stack/avrc/avrc_int.h
|
9adddf4965e9ddb01e339b934c343fcbd842a977 |
|
06-Mar-2013 |
Ravi Nagarajan <nravi@broadcom.com> |
Initial version of Stack for AVRCP 1.3 BTIF and stack changes for supporting AVRCP 1.3 Change-Id: Id02eb7b6a385683cedc41c62b6f829f5d7620bd4
/system/bt/stack/avrc/avrc_int.h
|
5738f83aeb59361a0a2eda2460113f6dc9194271 |
|
13-Dec-2012 |
The Android Open Source Project <initial-contribution@android.com> |
Snapshot cdeccf6fdd8c2d494ea2867cb37a025bf8879baf Change-Id: Ia2de32ccb97a9641462c72363b0a8c4288f4f36d
/system/bt/stack/avrc/avrc_int.h
|