d76f9fd10a809bc63fb5815fbf66a1caf0e0cd4b |
|
24-May-2016 |
Jakub Pawlowski <jpawlowski@google.com> |
Fix crashes in btif_sendmsg when worqueue not initialized Instead of crashing whole stack when trying to post task to uninitialized queue, log error message. This can happen in two cases: stack is not initialized yet, or we're shutting down and already cleaned up the workqueue thread. Bug: 28889608 Change-Id: I9b8652d27abc2489b2489997c928634b68433a3e
/system/bt/btif/src/btif_core.c
|
ebb5ebd18ceaa555a80a4cd0451be4ce643305ca |
|
06-May-2016 |
Pavlin Radoslavov <pavlin@google.com> |
Call BTA_VendorCleanup() during actual cleanup of the stack Previously, BTA_VendorCleanup() was called during the shutdown process, and this created race condition crashing the stack. Bug: 28450506 Change-Id: Ibee90d406036862b95d18e2ef00b08b820c70f68
/system/bt/btif/src/btif_core.c
|
3a44a7a4f6b2dec169097152739d7fdd38482b72 |
|
26-Apr-2016 |
Pavlin Radoslavov <pavlin@google.com> |
Fix issues during cleanup stage of the Bluetooth stack * Moved free-ing of bta_av_cb timers from the init function to the cleanup stage. * Changed the usage of btif_jni_disassociate() so it is called synchronously. Its previous usage was complicated - the function was called asynchronously on a different thread, and we had to wait on a future for its completion. * Renamed function btif_shutdown_bluetooth() to btif_cleanup_bluetooth() to represent better its purpose. Similarly, bte_main_shutdown() is renamed to bte_main_cleanup() Also: * Removed function btif_init_fail(), because it is not used. * Updated an error log message inside function btif_in_execute_service_request() so the log information is accurate and more useful. * Updated the log messages related to the lifecycle of a module in btcore/src/module.c Bug: 26982349 Change-Id: Icd6f159d993bdb9c8ef09bfb5b1386b3d6ea4ff2
/system/bt/btif/src/btif_core.c
|
29dca0643501998b14bb17c10402256417eea8aa |
|
26-Mar-2016 |
Pavlin Radoslavov <pavlin@google.com> |
Don't destroy BTIF Device Management state during shutdown Don't call btif_dm_cleanup() during stack shutdown stage, because it will destroy/free internal state that might be used later in the shutdown process. Instead, btif_dm_cleanup() should happen during the stack cleanup stage. Also, added an unit test to capture the original issue. Bug: 27856457 Change-Id: I8575537ad744cf4e6770046b779b6a53de93d66e
/system/bt/btif/src/btif_core.c
|
8d0a6a408ff57cb221e67963a95822f080911f20 |
|
10-Mar-2016 |
Marie Janssen <jamuraa@google.com> |
osi: add osi_rand() Provide a replacement for rand() which has a better random source. Change-Id: I38a8c74d86b89ec160b43b0f648f53b463be89bb
/system/bt/btif/src/btif_core.c
|
2998946db9b820806d4a3e6decf1d01f090a8031 |
|
24-Feb-2016 |
Jakub Pawlowski <jpawlowski@google.com> |
Move properties get/set code to osi Currently we use Android-specific property_get and property_set through the code. This patch adds osi_property_get and osi_property_set that is encapsulating all external dependencies. This is step further for errorless compilation on linux. Bug: 27324453 Change-Id: I97c34344617a5855b683328bcd196a21a2fae6f9
/system/bt/btif/src/btif_core.c
|
5fe6f0cf6b223e3ed6be4912d55b3ed5b41ce0cd |
|
06-Feb-2016 |
Pavlin Radoslavov <pavlin@google.com> |
Removed checks for NULL returns after osi_calloc() / osi_malloc() Removed explicit checks for NULL pointer returns after calls to osi_calloc() and osi_malloc(), because those are not needed. If the memory allocation fails, osi_calloc() and osi_malloc() will trigger an assert. Bug: 27048759 Change-Id: I2791eb2f69c08f991f8fcdef10e101a41568cd95
/system/bt/btif/src/btif_core.c
|
abd70abb5e42c9431df94fe9d2c4a78a0d8d9af9 |
|
05-Feb-2016 |
Pavlin Radoslavov <pavlin@google.com> |
Replaced osi_getbuf()/osi_freebuf() with osi_malloc()/osi_free() Removed the alternative buffer allocation osi_getbuf() / osi_freebuf() and use instead osi_malloc() / osi_free(). Correspondingly, replaced usage of osi_freebuf_and_reset() with osi_free_and_reset(). Bug: 24914560 Change-Id: I7a9599ba7fa900321f087da684428133eb0ddd6b
/system/bt/btif/src/btif_core.c
|
0229bd4f183266b103daa18cf95c175aabe87217 |
|
03-Dec-2015 |
Adam Lesinski <adamlesinski@google.com> |
Add socket tx/rx accounting Records network traffic going over bluetooth sockets. This patch adds support for L2CAP and RFCOMM. Bug:26039657 Change-Id: Idb860b367b429fa5ef41d02684a5494a668ee8ed
/system/bt/btif/src/btif_core.c
|
a11035b5ecbc6cbd9da5bd707683504c47e2744e |
|
28-Sep-2015 |
Pavlin Radoslavov <pavlin@google.com> |
GKI cleanup - moved GKI buffer allocation wrappers to OSI * 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
/system/bt/btif/src/btif_core.c
|
dd16aa29e512c4e90f107dd507ae875f3ea5ef98 |
|
07-Aug-2015 |
Ajay Panicker <apanicke@google.com> |
am f5fa111d: am 5ac0afff: am c1553d3c: Load factory Bluetooth address from system property * commit 'f5fa111d25aa308c440affbc032604720687f392': Load factory Bluetooth address from system property
|
f5fa111d25aa308c440affbc032604720687f392 |
|
07-Aug-2015 |
Ajay Panicker <apanicke@google.com> |
am 5ac0afff: am c1553d3c: Load factory Bluetooth address from system property * commit '5ac0afff1aed8e05eef6c25fa80d9b753ed63114': Load factory Bluetooth address from system property
|
c1553d3cab1a17cad8713ee61e1833903c0a6d89 |
|
04-Aug-2015 |
Ajay Panicker <apanicke@google.com> |
Load factory Bluetooth address from system property Implemented a check to grab the ro.boot.btmacaddr property in case the device fails to receive an address beforehand. Bug: 22618015 Change-Id: Ie322888e114a732f8e85c81793e3e5e5eacffc7a
/system/bt/btif/src/btif_core.c
|
8dcd2d24c78890ddb5906956a90e3c3d849c3f76 |
|
24-Jul-2015 |
Arman Uguray <armansito@google.com> |
am 40c6b7dc: am f2d6434a: gn-build: Add bluetooth-service target * commit '40c6b7dca381586ccdb381ab26acd091c36daeeb': gn-build: Add bluetooth-service target
|
40c6b7dca381586ccdb381ab26acd091c36daeeb |
|
24-Jul-2015 |
Arman Uguray <armansito@google.com> |
am f2d6434a: gn-build: Add bluetooth-service target * commit 'f2d6434a6b7ad98e20c7a601d2a0950237514837': gn-build: Add bluetooth-service target
|
f2d6434a6b7ad98e20c7a601d2a0950237514837 |
|
09-Jul-2015 |
Arman Uguray <armansito@google.com> |
gn-build: Add bluetooth-service target This patch makes the Bluetooth system service (service/) buildable using GN: 1. Added new BUILD.gn file for service/ 2. Added conditional compilation for global config paths, with TODOs for generalizing them later. 3. Added a shim for loading the Bluetooth library that calls hw_get_module on Android and explicitly calls dlopen on OS_GENERIC. 4. Fixed compile warnings and errors. 5. Did some minor clean up in gatt_server.cpp for better readability. Bug: 22124644 Change-Id: I3226537a3a5211a6762651a35707638df29956b0
/system/bt/btif/src/btif_core.c
|
4cfd343009088ac0218799b43c44f5ca3ee30911 |
|
08-Jul-2015 |
Marie Janssen <jamuraa@google.com> |
am 49120dc8: build: Fix LOG_TAG define breakage, macro usage * commit '49120dc867c7818511b5afec461dfc97d17eef58': build: Fix LOG_TAG define breakage, macro usage
|
985d4b6986b787839ba72470f96be841f7721a17 |
|
08-Jul-2015 |
Marie Janssen <jamuraa@google.com> |
build: Fix LOG_TAG define breakage, macro usage Fixes build breakages related to r.android.com/156982 Change-Id: Ib1143c41fe05a17c296226998afdb41a8cb6294a
/system/bt/btif/src/btif_core.c
|
49120dc867c7818511b5afec461dfc97d17eef58 |
|
08-Jul-2015 |
Marie Janssen <jamuraa@google.com> |
build: Fix LOG_TAG define breakage, macro usage Fixes build breakages related to r.android.com/156982 Change-Id: Ib1143c41fe05a17c296226998afdb41a8cb6294a
/system/bt/btif/src/btif_core.c
|
a661c448f7ad33ecf02b43e01aa88347778d5c81 |
|
07-Jul-2015 |
Marie Janssen <jamuraa@google.com> |
am f24432f7: am db554581: build: Update osi log functions, use consistently * commit 'f24432f71c476c7688569032a6016d265e629f40': build: Update osi log functions, use consistently
|
f24432f71c476c7688569032a6016d265e629f40 |
|
07-Jul-2015 |
Marie Janssen <jamuraa@google.com> |
am db554581: build: Update osi log functions, use consistently * commit 'db554581079863974af8e1289646f5deea6fc044': build: Update osi log functions, use consistently
|
db554581079863974af8e1289646f5deea6fc044 |
|
26-Jun-2015 |
Marie Janssen <jamuraa@google.com> |
build: Update osi log functions, use consistently Update the LOG_* functions to take a tag argument which makes them more consistent with the Android Log.*(TAG, s) common syntax and removes some #define-dependency with osi/include/log.h. Also update to never use Android log functions directly. Also contains minor cleanup of some header includes. Bug: 21569831 Change-Id: If07385cafbea062232ecdbc7c673f908d5ef8921
/system/bt/btif/src/btif_core.c
|
935324abbe8706307297f09cf79bbcd4efb73367 |
|
31-Mar-2015 |
Satya Calloji <satyac@broadcom.com> |
LE low power scan feature LE low power extended scan feature stack changes based on Google BLE spec v0.95 Bug: 20029342 Change-Id: I1db2d9bb648295340d0e93ca89d27e1b938d33d3
/system/bt/btif/src/btif_core.c
|
e835a3b78da8b59cd02640f04a2c52fb96398bd6 |
|
02-Jun-2015 |
Arman Uguray <armansito@google.com> |
am 99d68906: am d30195cb: gn-build: Get btif to compile as its own module * commit '99d68906fa80be84821d0fba6472f04f7f9bff10': gn-build: Get btif to compile as its own module
|
d30195cbf09735da593e186c4c99cce6232b072e |
|
30-May-2015 |
Arman Uguray <armansito@google.com> |
gn-build: Get btif to compile as its own module This CL adds support to build //btif:btif as its own target as a static library by introducing a new module-level BUILD.gn file, adding missing includes, and conditionally compiling code that is Android-specific (depends on libcutils). This removes/breaks some functionality on non-Android builds since the corresponding features are missing until we have a more unified replacement. BUG=21339022 Change-Id: Ibb0372da45f256c55fa894fdda3d70319ea008c9
/system/bt/btif/src/btif_core.c
|
7113d8af43e6e2d53729f68548c4299b534da61f |
|
22-May-2015 |
Andre Eisenbach <eisenbach@google.com> |
Fix merge discrepencies and resulting compile errors Change-Id: I29fbec9f668ee9218b90a222801c9ddcb9352017
/system/bt/btif/src/btif_core.c
|
f6c48a09e398de804f7d563a44904e917afd2c32 |
|
08-May-2015 |
Brian Carlstrom <bdc@google.com> |
Resetting system/bt git reset --hard fa5fec7c98ff3c56bd825bc51a1d28bdc3bad0bb^^ git reset --soft aosp/master git commit -a Change-Id: I2939d9bbd825110a42a71008e5255945e38a77e1
/system/bt/btif/src/btif_core.c
|
5725fc6d2c639a8c22a08b9b6629309eeda3715e |
|
31-Mar-2015 |
Satya Calloji <satyac@broadcom.com> |
LE low power scan feature LE low power extended scan feature stack changes based on Google BLE spec v0.95 Bug: 20029342 Change-Id: I1db2d9bb648295340d0e93ca89d27e1b938d33d3
/system/bt/btif/src/btif_core.c
|
98b744f270323db14705c1251bc7bc89d196e16d |
|
21-Apr-2015 |
Andre Eisenbach <eisenbach@google.com> |
Fix A2DP source double initialization problem Fixed a problem where A2DP source was initialized twice. Once before btif was properly initialize and then a second time when the JNI requests A2DP to be initialized, which would then fail. Change-Id: Ia5f10a5bda344fe3bd66818a302b6b3f9db32a20
/system/bt/btif/src/btif_core.c
|
2cd086a11a972f2e437dd521a121ed76ea79a15a |
|
15-Apr-2015 |
Vinit Deshpande <vinitd@google.com> |
am f29a2fb..e07ad10 from mirror-m-wireless-internal-release e07ad10 merge in m-wireless-internal-release history after reset to d232721ae5e5b6949a5249f0d116408b8a3c5f1d d232721 L2CAP socket - fix merge errors 899b771 BR/EDR secure connections support 7fb0da6 Support numeric comparison in SMP aa351f2 merge in m-wireless-internal-release history after reset to 399e89150b3df87172bdf92d54712b379324b149 399e891 Fix for AVRCP CTRL stops sending pass through command daddea9 Free Avrcp Controller callbacks on Cleanup 764babe Protect reset of out stream with mutex 444a8da LE Privacy 1.2 and LE secure connections 8372aa5 L2CAP and SDP Search API for BT profiles (2/2) fd422a7 Update Service Availability. 2a0652a merge in m-wireless-internal-release history after reset to 0b47e0a35c16f5b7d77c30ec1c095ed92ff4fd74 78d0f4c merge in m-wireless-internal-release history after reset to m-wireless-internal-dev 0b47e0a Avoid duplicate disconnection callbacks for fixed channel connections 5646973 Add a section on assertions to the style guide. d768767 Merge "Avoid null-pointer dereference in l2c_release_lcb()" into m-wireless-dev ef92b53 Avoid null-pointer dereference in l2c_release_lcb() 4bf68bf merge in m-wireless-internal-release history after reset to f538707fe64c62b1dbb8e4210e4a1bfa0bab2b56 de6ac86 Add a 'Bluedroid conventions' section to the style guide. 1b80439 Add a section to the style guide on variable declarations. 485f19e merge in m-wireless-internal-release history after reset to 4540f59bc447dc2b7b31a3e974b74a60b2417e7d bef8940 merge in m-wireless-internal-release history after reset to 841c9103cad1898ceca87b734acd4d4537f9f452 ab4c38c merge in m-wireless-internal-release history after reset to a7e698f5a9e062f62e21bc435643975c30bab846 2807a74 merge in m-wireless-internal-release history after reset to a7e698f5a9e062f62e21bc435643975c30bab846 99dbe9a merge in m-wireless-internal-release history after reset to 78c0b060f29b7b7014adddb2f98bf6ae9755c488 f7f8399 merge in m-wireless-internal-release history after reset to a5371c238b4e874d8313ac56a23451e7345ff541 3aa60d7 Make A2DP audio HAL a shared library again 3256a31 Move unused include file out of hci_audio.h b866b69 Add option for schedule_next_instance to force rescheduling 4ae5e3e Ensure alarms are called back when they expire in the past a7bd03e Rewrite alarms to use a single posix timer instance 88e7b15 Resolved hardware error observed during SCO Connection setup Change-Id: Ib9a0a2ffca1d4811a9a9e56674bf43275d8b2205
|
8372aa5fa535ee4f09c09981b6125b54ace31fe2 |
|
25-Mar-2015 |
Kim Schulz <k.schulz@samsung.com> |
L2CAP and SDP Search API for BT profiles (2/2) Added support for exposing L2CAP to Java such that OBEX over L2CAP is made possible. Added support to create SDP records as a seperate step.(as opposed to creating a SDP record when a BluetoothSocket is created). This allows both a RFCOMM channel and a L2CAP PSM to be included in a SDP record. (Additionally the content of the SDP record is set by the profile in Java, in stead of beeing hardcoded in the socket layer.) This completes the L2CAP channel exposure to Java. Change-Id: Iaf68a07d910145cdd33e940d73cd680f79164100
/system/bt/btif/src/btif_core.c
|
b246a1a750c5a337faaa6033b39e78c8bdd4c2fb |
|
10-Apr-2015 |
Prerepa Viswanadham <dham@google.com> |
Merge commit '4bf68bf020c7fd1aabcdc4b5d8f5fbb8bacdec9d' into merge_work Change-Id: Ibc6d6e691b7f97611d16f96220346dfd6ffbbf52
|
f538707fe64c62b1dbb8e4210e4a1bfa0bab2b56 |
|
10-Feb-2015 |
Satya Calloji <satyac@broadcom.com> |
OnFound/OnLost feature changes based on Google spec v0.90 Bug: 19609671 Change-Id: If9e61b405a141cb77fb65741d08227284cb22ccd
/system/bt/btif/src/btif_core.c
|
e1a9e52ff59d36bd1bb5b7b3a02fafba6394edfe |
|
31-Mar-2015 |
Etan Cohen <etancohen@google.com> |
Merge commit 'f7f839985b3931682363d2ef3b7c5cae55a842ee' into merge Change-Id: Iaaec1ea0bf3009b7e32a9a60f697631a3f56e889
|
f8027005333c88a2f097cfd70d15c3d54c7764ae |
|
12-Mar-2015 |
Chris Manton <cmanton@google.com> |
Demote, cleanup and extend observed logging
/system/bt/btif/src/btif_core.c
|
95b74f252f534ec757aab1fc08e086e02b2cfe8d |
|
12-Mar-2015 |
Sharvil Nanavati <sharvil@google.com> |
Use fully qualified path for btcore includes.
/system/bt/btif/src/btif_core.c
|
0f9b91e150e153229235c163861198e23600e636 |
|
12-Mar-2015 |
Sharvil Nanavati <sharvil@google.com> |
Use fully qualified path for OSI includes.
/system/bt/btif/src/btif_core.c
|
364a1e7be4d38d83f51f1363d9a1837de57bcd2d |
|
26-Dec-2014 |
Sharvil Nanavati <sharvil@google.com> |
Remove unnecessary newlines at the end of log statements.
/system/bt/btif/src/btif_core.c
|
44802768c447ab480d4227b3a852a97d923b816d |
|
24-Dec-2014 |
Sharvil Nanavati <sharvil@google.com> |
Add platform-independent logging macros to OSI. These macros should replace ALOG* and the various trace macros used throughout bluedroid. This change eliminates all uses of the ALOG* macros in favor of the new ones.
/system/bt/btif/src/btif_core.c
|
79ecab5d0418fde77e9afcdd451bd713af73e180 |
|
31-Oct-2014 |
Chris Manton <cmanton@google.com> |
Move controller module to device directory
/system/bt/btif/src/btif_core.c
|
794f3b5f126fffc3dd1129a710187591348bbf23 |
|
01-Oct-2014 |
Chris Manton <cmanton@google.com> |
Removal of bd.[c|h] Consolidate legacy types into bt_types.h
/system/bt/btif/src/btif_core.c
|
39110ec88460421618330863807804e03594ef67 |
|
06-Oct-2014 |
Zach Johnson <zachoverflow@google.com> |
Remove duplicate local bdaddr management functions
/system/bt/btif/src/btif_core.c
|
96363ff2b78c10e2b2e106464f337b58ec1a616a |
|
25-Sep-2014 |
Zach Johnson <zachoverflow@google.com> |
Modulizification of bt_utils
/system/bt/btif/src/btif_core.c
|
9b0fbce37260e69cb116be1cdcbceb1f43bf9346 |
|
24-Sep-2014 |
Zach Johnson <zachoverflow@google.com> |
Modulizification of btif_config
/system/bt/btif/src/btif_core.c
|
9891f32471b5c01cf58e4d7dadb04cb3024a9a88 |
|
23-Sep-2014 |
Zach Johnson <zachoverflow@google.com> |
Refactor btsnoop and stack config into modules Moves stack config out of the combined bte_config, and into its own module. Makes btsnoop more self sufficient and removes uneccessary levels of indirection. Refactor logging slightly into a (temporary) module to disassociate from the direct calls from config. Eliminates some useless stuff in the module as well.
/system/bt/btif/src/btif_core.c
|
4ada04168dbdbfac48281b7c91186a885b46f7c0 |
|
23-Sep-2014 |
Zach Johnson <zachoverflow@google.com> |
Rewerite btif_sendmsg in terms of thread_post
/system/bt/btif/src/btif_core.c
|
efea7821780cdea2b30e944b08e418d1f2781878 |
|
25-Sep-2014 |
Zach Johnson <zachoverflow@google.com> |
Post adapter_state_changed events to the JNI workqueue Otherwise, JNI rejects the callbacks. Fix for b/17655336
/system/bt/btif/src/btif_core.c
|
1924dac3811575d594c11b76874b24ee0ad24e71 |
|
25-Sep-2014 |
Zach Johnson <zachoverflow@google.com> |
Don't send adapter change until stack manager updates state Since the callback occurred before the stack manager updated its state to say the stack was fully loaded, there was a chance that the adapter name change would be attempted before the state was updated. This would cause the adapter property change function to return a "not ready" status.
/system/bt/btif/src/btif_core.c
|
f450ba53dfd7b36989c1ea6ed9c6508c7a1b895e |
|
19-Sep-2014 |
Zach Johnson <zachoverflow@google.com> |
Remove btif enable state management It's no longer necessary with the stack manager. With these changes I don't think we'll be able to handle clean_up as a result of an enable timeout coming down from Java. But I think I'm ok with that. At that point we're already hosed because of something else which should be fixed. And if we wanted to handle clean_up during start_up we'd violate the mutually exclusive guarantees the stack management thread makes about init/start_up/shut_down/clean_up.
/system/bt/btif/src/btif_core.c
|
8ea8188a481504641fc6a72087704eb808d0bd87 |
|
19-Sep-2014 |
Zach Johnson <zachoverflow@google.com> |
Make stack manager functions not finish until action complete It's a bit hacky at the moment, but this incremental update means the stack manager booleans should be correct now and we can start removing code that relies on the btif states.
/system/bt/btif/src/btif_core.c
|
0eefef0f35dbf400f295e4be8c4c1ee295042d88 |
|
09-Sep-2014 |
Chris Manton <cmanton@google.com> |
btif task removal and reactor insertion
/system/bt/btif/src/btif_core.c
|
8d9d02862b1e00d27681846e3de9c4cf4f6634fc |
|
07-Sep-2014 |
Sharvil Nanavati <sharvil@google.com> |
GKI task entry points should have a consistent signature. Previously, GKI task entry points had inconsistent signatures. For example, we had: int btif_media_task(void *p) void btif_task(UINT32 params) void btu_task (UINT32 param) The single argument was universally ignored and the caller always set it to 0. This change consolidates all of that and defines the entry point as having 0 arity and no return value.
/system/bt/btif/src/btif_core.c
|
0d5de78354b5f7c819950fc5680a6cfd0052f78a |
|
07-Sep-2014 |
Sharvil Nanavati <sharvil@google.com> |
Eliminate unused 'stack' concept for GKI tasks. This change also fixes the type for task names: should be a const string, not a mutable INT8*.
/system/bt/btif/src/btif_core.c
|
860a9af89f8dbf8ef65785d5db960c1fa488d2ba |
|
27-Aug-2014 |
Chris Manton <cmanton@google.com> |
Replace mailboxes with fixed queues. Also refactored btu_task a bit.
/system/bt/btif/src/btif_core.c
|
8a6a89faa942aed4f176b0c98402d01c8bdd6aa6 |
|
20-Aug-2014 |
Sharvil Nanavati <sharvil@google.com> |
Introduce btcore, a low-level library to manipulate Bluetooth data types. This change adds a single module to btcore: bdaddr. The bdaddr module is reponsible for manipulating and working with Bluetooth addresses.
/system/bt/btif/src/btif_core.c
|
9d52f88bfc07556cb01ab3055f5b1242c9b467aa |
|
19-Aug-2014 |
Sharvil Nanavati <sharvil@google.com> |
Eliminate unused arguments to btif_config and clarify variable names
/system/bt/btif/src/btif_core.c
|
b95c4ef4ac9e86953050a7ae6b3b4260df935713 |
|
16-Aug-2014 |
Sharvil Nanavati <sharvil@google.com> |
Switch over from an XML based file format to .INI-style conf files This change moves us to using a single file format for all configuration throughout bluedroid. I've provided a transcoder that converts the previous config file to the new format so settings will be preserved. In a future revision of bluedroid, we should remove the transcoder and drop our dependency on tinyxml2.
/system/bt/btif/src/btif_core.c
|
104e3f238f500cacdb8afaccdc672dfc34eae7ee |
|
12-Nov-2014 |
Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> |
Cleanups needed to make clang happy This patch removes a slew of unused variables and some unused functions, fixes some incomplete initializations of structs and an sprintf parameter mismatching the format string. Change-Id: I35f22fdccc8350f885cd357d3685b869224fa433 Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
/system/bt/btif/src/btif_core.c
|
d5aa24750c2202ce944560c2c27ead0214e8350d |
|
24-Sep-2014 |
Satya Calloji <satyac@broadcom.com> |
LE: Peer device's latest RPA is not being applied The latest discovered address is not used when reconnecting to devices using resolvable private addresses, if RPA resolution offloadin is not supported in the controller. This patch also address the exception case where BT off is memseting all control value while the IRK list is still being cleaned up. Bug: 17187661 Change-Id: Ifeb5b8297e7eadb0e34ec1afbd41f46bdd836cf3 Author: Chaojing Sun <cjsun@broadcom.com>
/system/bt/btif/src/btif_core.c
|
16fe0822ccd3eb6f66d3afd9965d25a0a0cb4c30 |
|
07-Aug-2014 |
Prerepa Viswanadham <dham@google.com> |
Use run time parameters to control LE features Use values read from controller to enable and control LE features such as multi advertising, RPA offload, maximum irk size etc bug 15393216 Change-Id: I193e2b9a0dc61b86f667e986803571440e390160
/system/bt/btif/src/btif_core.c
|
d773c2cfd3675aaec431a42b79b26b24e0555ed9 |
|
30-Jul-2014 |
Satya Calloji <satyac@broadcom.com> |
Incorrect data type in local LE features bt_local_le_features_t of wrong size b/16653133 Change-Id: I81da7f8c6b9151b8def8d4e3c655cf746d0e3db9
/system/bt/btif/src/btif_core.c
|
e5ba8841cd39e17c05aeb4ab65b5b761d41577da |
|
04-Jul-2014 |
Satya Calloji <satyac@broadcom.com> |
LE energy info feature Stack and BT-IF changes for LE energy feature Change-Id: I671e63aaead210c6352b45a5e20ad5e4bbbb77b7
/system/bt/btif/src/btif_core.c
|
2dc999935d4c69ae31ea93d9014165965dd373d6 |
|
17-Apr-2014 |
Hemant Gupta <hemantg@codeaurora.org> |
Bluetooth: Support MAP Client role on Bluedroid. Implementation changes from BTA and BTIF layer to support MCE role on Bluedroid stack. Change-Id: I8547b0f28338e83edabae969121872ca23fdcb36
/system/bt/btif/src/btif_core.c
|
1a9247a1229aa65b3d1dce16426177bc5828e54d |
|
05-Jun-2014 |
Satya Calloji <satyac@broadcom.com> |
LE ADV Filter changes BTIF and stack layer changes for ADV filter feature Change-Id: I865e57c41802751e172248547b8510598261ec94
/system/bt/btif/src/btif_core.c
|
e8c3d75b75493911ebf0f99c83676359657178f7 |
|
04-May-2014 |
Sharvil Nanavati <sharvil@google.com> |
Logging cleanup: BTIF and APPL. Change-Id: I5b1214642bbb4b9aecc0fd2c899a6ec2c9793286
/system/bt/btif/src/btif_core.c
|
0c4ec0dae97523cadc9207e98c4a1edff7e2e7cf |
|
11-Jun-2014 |
Prerepa Viswanadham <dham@google.com> |
Fix build for aosp_manta Change-Id: Ic1e2363e7fb7d23dcaef8e989cae37606f2af664
/system/bt/btif/src/btif_core.c
|
309243751678f395e6f7323e45433e5476dc17ef |
|
23-May-2014 |
Mike Lockwood <lockwood@google.com> |
More work on A2DP Sink: Output audio data through A2DP audio HAL rather than playing directly to native AudioTrack API. Add separate HAL interface for A2DP sink Change-Id: I6c6cb6088c350e104b4a7354f328b29c7178e295
/system/bt/btif/src/btif_core.c
|
9546abf9fc4400853803ee220482ae63e63f0d9d |
|
31-May-2014 |
Ganesh Ganapathi Batta <ganeshg@broadcom.com> |
Support for reading LE specific controller features Support for reading LE specific controller features via get adapter properties API Change-Id: Ia0b813be45fb826ce27d1d7a31ca41650d7286dd
/system/bt/btif/src/btif_core.c
|
2d75441cc17236564a431c6a5fc4c9e356fb7294 |
|
21-Nov-2013 |
Andre Eisenbach <andre@broadcom.com> |
LE: Add controller based advertising filter API (2/2) Change-Id: I444654bf19a048d5fcef33f79edbf1cdda3d3b62
/system/bt/btif/src/btif_core.c
|
d92e3cf7b26fe2dd64e7c27b43428d3cab85e371 |
|
05-Apr-2014 |
Zhihai Xu <zhihaixu@google.com> |
remove all advertised services in SDP btif_av_init is called twice. Don't need call it in enable. disable EDR ATT SDP record bug:13558005 Change-Id: Id834697eae150018f9a0382d9c1e6c972e885739
/system/bt/btif/src/btif_core.c
|
5cd8bff2dd0337cb52bf48f312e3d2d55a8882fb |
|
01-Feb-2014 |
Mike J. Chen <mjchen@google.com> |
Major warnings cleanup 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>
/system/bt/btif/src/btif_core.c
|
6c65c2f3a372885a976c14b3ccacd0b5a5fbb8bd |
|
26-Nov-2013 |
Zhihai Xu <zhihaixu@google.com> |
fix a potential native crash during bluetooth sutdown When bluetooth is initialized which call gki_buffer_init, the buffer pool is allocated by GKI_os_malloc which is to call libc malloc function. When bluetooth is cleanup which call GKI_shutdown, the buffer pool will be freed by GKI_os_free which is to call libc free function. So if we access the buffer, after the whole buffer pool is freed, we will get this native crash. if we call cleanup during bluetooth disabling: the state is still BTIF_CORE_STATE_DISABLING, then GKI_shutdown will call before bte_main_disable ( bt_hc_if->cleanup();), which is before userial thread exit. Then we may trigger this native crash. bug:11793775 Change-Id: Ic8ced12848d25f918a28f4d5ba29b803d6ac5bd7
/system/bt/btif/src/btif_core.c
|
e1202caae4920139ea0cfed5c51f5f76b2dc8bc4 |
|
15-May-2013 |
Andre Eisenbach <andre@broadcom.com> |
LE: Add GATT disable functions This patch adds required disable functions to the GATT sub-system to properly unregister with the stack. Without the disable functions in place, turning Bluetooth off with a GATT device connected may lead to unexpected behaviour and cause GATT to fail on sub-sequent stack restarts. Change-Id: I7cb80e96109e2c09882991298d0487b506f5ffdd
/system/bt/btif/src/btif_core.c
|
bad70b1d0071ee9b16a029ff145e8e53038571ff |
|
05-Jun-2013 |
Zhihai Xu <zhihaixu@google.com> |
Add debug menu to enable btsnoop bug: 8059358 Change-Id: I232f6d47e7fb7e9c4d71c119394fce3e72cd02fc
/system/bt/btif/src/btif_core.c
|
48ebe2c6928d8fd4dc97c8adb138c3440714dc89 |
|
24-Apr-2013 |
YK Jeffrey Chao <jechao@broadcom.com> |
Preload timeout and retry mechanism (1/3) If the Preload process was stuck due to unknown hardware init failure, a 8-second ENABLE_TIMEOUT timeout would be eventually expired in Java layer at AdapterState and attempted to set BT state back to STATE_OFF. However BluetoothManagerService did not handle this case accordingly and led to state mis-matching between Java layer and BTIF at the end. Add a timeout and retry mechanism to manage Preload process. Clean up native space resource and explicitly report STATE_OFF back to Java space when Preload did not go through. bug 7566317 Change-Id: I99a225e524f2b951249618990a2d0a8a39b43ff3
/system/bt/btif/src/btif_core.c
|
ead3cde4bac0c3e32cd31f149093f004eef8ceeb |
|
06-Feb-2013 |
Ganesh Ganapathi Batta <ganeshg@broadcom.com> |
Initial version of BLE support for Bluedroid Change-Id: I9825a5cef9be2559c34c2a529b211b7d471147cf
/system/bt/btif/src/btif_core.c
|
5738f83aeb59361a0a2eda2460113f6dc9194271 |
|
13-Dec-2012 |
The Android Open Source Project <initial-contribution@android.com> |
Snapshot cdeccf6fdd8c2d494ea2867cb37a025bf8879baf Change-Id: Ia2de32ccb97a9641462c72363b0a8c4288f4f36d
/system/bt/btif/src/btif_core.c
|