- 06 Oct, 2015 2 commits
-
-
Pavlin Radoslavov authored
* Moved the following GKI buffer allocation functions to OSI: - GKI_getbuf() -> osi_getbuf() - GKI_freebuf() -> osi_freebuf() - GKI_get_buf_size() -> osi_get_buf_size() For now we need the osi_getbuf() / osi_freebuf() allocation wrapper, because we need to be able to call osi_get_buf_size() on the allocated buffer. In the future those should be replaced with osi_malloc() / osi_free(). Currently, the osi_malloc() buffer size internal allocation tracker does not always track the size, hence we need the osi_getbuf() wrapper. * Replaced GKI_MAX_BUF_SIZE with BT_DEFAULT_BUFFER_SIZE * Added new file include/bt_common.h that can be usee to include few files that should be included alost everywhere (e.g. bt_target.h" NOTE: This file might be removed in the future and we should include everywhere the right set of header files. * Removed some of the GKI-related references * Removed file include/gki_target.h Change-Id: Ie87830e73143de200746d54235aa99f228a95024
-
Pavlin Radoslavov authored
* Moved struct TIMER_LIST_ENT to file osi/include/non_repeating_timer.h and renamed it to timer_entry_t NOTE: This is a short-term solution. timer_entry_t should be removed, and its usage everywhere should be replaced by struct non_repeating_timer_t . * Renamed TIMER_CBACK to timer_callback_t * Renamed TIMER_PARAM_TYPE to timer_param_t Change-Id: I9ca830718bf900195f9c0a513a97f6995322693b
-
- 12 Jun, 2015 1 commit
-
-
Arman Uguray authored
This CL removes the -Wno-pointer-to-integer-cast and -Wno-integer-to-pointer-cast flags from GN build files. The resulting errors were fixed using the following: 1. All ptr <-> integer casts are now done by using the new PTR_TO_INT/INT_TO_PTR macros defined in osi.h 2. The TIMER_PARAM_TYPE macro, defined in gki/common/gki.h and include/bt_target.h have been redefined as void* rather than UINT32. This is better, since "void*" can act as a simple container without any precision loss that would be caused by a type such as UINT32 on 64-bit systems. void* inherently is a safer container for all pointer types but UINT32 isn't. BUG=21570302 Change-Id: I4a82c4a40c91caa31e372382c40d424be220cbe3
-
- 10 Jun, 2015 2 commits
-
-
Andre Eisenbach authored
Change-Id: I8839ba732560a31a5e8a2351ea4bfb16999cf5ea
-
Mallikarjuna GB authored
During SCO transfer process from HS1 to HS2, firstly active SCO for HS1 is disconnected. However, if suddenly HS2 disconnects even before SCO transfer is complete, listen SCO for HS1 is not created. This causes further incoming SCO connections from HS1 to be rejected. The change creates listen SCO for HS1 and moves SCO state properly to LISTEN. Change-Id: I0993c1ba1c24b3b7e9c243d179a913d7a0c40446
-
- 04 Jun, 2015 2 commits
-
-
Andre Eisenbach authored
Change-Id: I8839ba732560a31a5e8a2351ea4bfb16999cf5ea
-
Mallikarjuna GB authored
During SCO transfer process from HS1 to HS2, firstly active SCO for HS1 is disconnected. However, if suddenly HS2 disconnects even before SCO transfer is complete, listen SCO for HS1 is not created. This causes further incoming SCO connections from HS1 to be rejected. The change creates listen SCO for HS1 and moves SCO state properly to LISTEN. Change-Id: I0993c1ba1c24b3b7e9c243d179a913d7a0c40446
-
- 02 Apr, 2015 1 commit
-
-
Scott James Remnant authored
Some standard library functions are used while relying on bionic headers including the headers the functions were actually declared on. Add those missing #includes so that bluetooth.default.so will compile on glibc. Change-Id: Ied9f89ce5a05911fca63f6bfe1b8cc8196ab3b1c
-
- 27 Mar, 2015 1 commit
-
-
Mudumba Ananth authored
Hardware error was caused due to a faulty HCI command formed in the process of vendor specific pre-SCO setup in the stack(set_audio_state) Fixed the above problem and also added back the vendor (interface) mapping for the set_audio_state functionality to facilitate the sending of the pre-SCO vendor specific commands. Made common vendor library audio setting by moving to hci subsystem. General cleanup around this functionality. Bug: 19923226 Change-Id: I4a743f6725459f360bd2a90e0a46f08fcca2292d
-
- 26 Mar, 2015 1 commit
-
-
Mudumba Ananth authored
Hardware error was caused due to a faulty HCI command formed in the process of vendor specific pre-SCO setup in the stack(set_audio_state) Fixed the above problem and also added back the vendor (interface) mapping for the set_audio_state functionality to facilitate the sending of the pre-SCO vendor specific commands. Made common vendor library audio setting by moving to hci subsystem. General cleanup around this functionality. Bug: 19923226 Change-Id: I4a743f6725459f360bd2a90e0a46f08fcca2292d
-
- 06 Feb, 2015 1 commit
-
-
Ian Coolidge authored
stddef and signal are not pulled in transitively in glibc. Change-Id: I7a834bbdc31ae2aee4cb700a223c1636fda42afa
-
- 30 Jun, 2014 1 commit
-
-
Matthew Xie authored
Bug 13764086 Change-Id: I12bf302f7dd19efb497ad49d4d1d638a7a926049
-
- 19 Jun, 2014 1 commit
-
-
Sharvil Nanavati authored
Change-Id: I5b1214642bbb4b9aecc0fd2c899a6ec2c9793286
-
- 11 Feb, 2014 1 commit
-
-
Mike J. Chen authored
Mostly fixing unused parameter warnings. A few other warnings also fixed like possible use of unitialized variables (no real issue found, just compiler couldn't follow the path), signed vs unsigned warning. Also fixed some typos, indent issues, removal of dead code, etc. Change-Id: I95eb887aefc4d559d7921f71a0af5f3bfb01ac01 Signed-off-by:
Mike J. Chen <mjchen@google.com>
-
- 13 Dec, 2012 1 commit
-
-
The Android Open Source Project authored
Change-Id: Ia2de32ccb97a9641462c72363b0a8c4288f4f36d
-