- 18 Feb, 2016 34 commits
-
-
Loic Poulain authored
Start and Stop are called on HID driver probe/unprobe. Open/Close are called when driver is interesed/not-interested in data reports, typically when user-space open/close the input device. So we can have several open/close calls for one start/stop cycle. https://www.kernel.org/doc/Documentation/hid/hid-transport.txt Problem is that current implementation disables data reporting on close but never enables it on open. This patch fixes this issue to match the expected behavior. Change-Id: Id5d4627dba389338b06df60a6e1d993ac3e3e5ec Signed-off-by:
Loic Poulain <loic.poulain@intel.com> Signed-off-by:
Zhiquan Liu <zhiquan.liu@intel.com>
-
Jakub Pawlowski authored
Change-Id: I72369c0b7678338fc8ccf520b59a95affdfd2994
-
Andre Eisenbach authored
Change-Id: Iea44eeed487df3236d9b482b7e5bbc92f7f46797
-
Andre Eisenbach authored
Bug: 26551752 Change-Id: I14c5e3fcda0849874c8a94e48aeb7d09585617e1
-
Andre Eisenbach authored
Change-Id: I3c6d2d28d98098aea1854ebd2726fdaac9cc14e9
-
Andre Eisenbach authored
Change-Id: I5b2b5a495ea14fd743885c4061a6bcd3e7c39c23
-
Andre Eisenbach authored
Add ability and interface for adding dynamic entries to the interop workaround database. Bug: 26548845 Change-Id: Id886e4233fc1548727e79f1581cdc0c6f0738d59
-
Pavlin Radoslavov authored
Fix compilation warnings/errors on fugu about unused variables. Change-Id: Ib68097122f27c631ab36b71a6815d4e1f3b60558
-
Pavlin Radoslavov authored
* Remove unused functions: -Wno-unused-function * Fix logical operations that are missing parentheses: -Wno-logical-not-parentheses, -Wno-parentheses * Add missing braces in initializers: -Wno-missing-braces * Remove unused variables: -Wno-unused-variable * Fix printf()-like formatting issues: -Wno-format * Avoid using unitialized variables: -Wno-maybe-uninitialized, -Wno-uninitialized * Fix a bug inside bta_gattc_get_gatt_db_impl() when the processed GATT DB attribute type is unknown. * Fix warnings about missing field initializers: -Wno-missing-field-initializers * Re-implement macro COMPILE_ASSERT(COND) to fix a compilation warning: -Wno-non-literal-null-conversion * Fix sign mismatch comparison warnings: -Wno-sign-compare * Fix warnings related to enum conversion: -Wno-enum-conversion * Fix warnings related to incompatible pointer types: -Wno-incompatible-pointer-types * Fix warnings related to enum conversion: -Wno-enum-conversion Bug: 26879229 Change-Id: I522931fe156aeab23ae841051a9e25ceab00b1c2
-
Jakub Pawlowski authored
Change-Id: Ida3f232b4e77bfb95dec78ea4af7677c9c12b411
-
Pavlin Radoslavov authored
Cleanup the setting of C and C++ compiler flags: * (Almost) all compiler flags are set uniformly in the system/bt/Android.mk file. * Enable by default breaking the compilation if there is a compilation warning: -Werror * Enable most compilation warnings: -Wall -Wextra * Renamed Android.mk related flags: - bdroid_C_INCLUDES -> bluetooth_C_INCLUDES - bdroid_CFLAGS -> bluetooth_CFLAGS * Introduce variables for C-only and C++ only compiler: - bluetooth_CFLAGS: common C and C++ compiler flags - bluetooth_CONLYFLAGS: C only compiler flags - bluetooth_CPPFLAGS: C++ only compiler flags * Disable warnings for existing issues - to be removed as issues are resolved * Add a workaround for libchrome and -DNDEBUG usage. Bug: 26879229 Change-Id: Ie7595965ca0c8ead0e95e983e76c327e7891b2c3
-
Jakub Pawlowski authored
Change-Id: I46641d0fe065b5e5a6620dc34c770429ac8dbe11
-
Jakub Pawlowski authored
This typo was introduced in commit 48db2d25 3years ago. This cause unnecesary purge of cache and rediscovery even though discovery was successfull. Change-Id: I828e148ad489af1e231d33d7807bbe0e46f445c5
-
Subramanian Srinivasan authored
Validates whether the PDU length of GATT Prepare Write requests satisfy the minimum length requirements of GATT write attribute request format. Change-Id: Id18d32b050389ff8c71341bb738dd77225029acd
-
Ajay Panicker authored
Move current config file to a backup when a new config file is saved. This backup can be used in case there is an error loading the current config file. Change-Id: Icc210c457dc71a72fc2e82ff72c91207b25deaf1
-
Ajay Panicker authored
The functionality provided by this function is not needed anymore. Change-Id: I59696c7a7e1d7ddb095f3a450f58ce1db97927b6
-
Jakub Pawlowski authored
Change-Id: Iaf0280853278a4f28dde5b952b646096cfb12d97
-
Pavlin Radoslavov authored
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
-
Marie Janssen authored
Using -std=c99 to compile breaks when we are using C++ files, which metrics uses for protobufs. Bug: 27077250 Change-Id: Ie94e3ea5d8b219671329108e7795cdc02ecc38b4
-
Ajay Panicker authored
Change-Id: Ia82d9bbffcc5df1ec4cddff28d812ca221505ab9
-
Satya Calloji authored
Check for privacy 1.0 and 1.1 controller and do not start background connection, if RPA offloading is not supported, since it will not connect after change of random address Bug: 22102400 Change-Id: Ida618f8dc70e0a3860f76f856bb88de8b55b90d7
-
Marie Janssen authored
The stack could be corrupted by crafting a IPC call in interesting ways when a character buffer was passed. This patch also removes code duplication where these would occur. Bug: 26917241 Change-Id: Ib6c149a293abf01f31c69a94c8f6dd91d8a2fff2
-
Jakub Pawlowski authored
Fix possible memory leak when allocating reused server cache control block. Change-Id: I3aab727e4f60e55530f49b0b05ccf2c891c72760
-
Andre Eisenbach authored
Bug: 27078729 Change-Id: I24ac605c6d02dc3fe3904c441ec416cb66b63168
-
Pavlin Radoslavov authored
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
-
Jakub Pawlowski authored
Change-Id: I60674c47246d8fe2094fe78ce31b752fa2acb89e
-
Jakub Pawlowski authored
Change-Id: I6b8a275769387cc731f4bf5ec9ec4d10700fc0ba
-
Pavlin Radoslavov authored
Refactored code that uses function osi_get_buf_size(), and removed the need for that function. Bug: 24914560 Change-Id: I0d002635024a9703acb78f47735aafc957a2b761
-
Jakub Pawlowski authored
This warning is triggered unnecessary in too many places. It spills through the build log and cause very useful warnings to stay unnoticed. Change-Id: Iee75327d05cbece4b9dc9c13005a9bfdf94c0d56
-
Jakub Pawlowski authored
When building for Linux, missing log tags cause errors. Change-Id: I0b3cda3333c059251b00a25bbfc7e764057286be
-
Andre Eisenbach authored
This also fixes very incosistent null termination and various string length issues. Bug: 27069905 Change-Id: I527256d224ac5b18e3943d6038b9c912b247676f
-
Jakub Pawlowski authored
Change-Id: I919ce97373701cbdea03b8228b3a90263d7ef180
-
Jakub Pawlowski authored
Bug: 27207638 Change-Id: Ia36cd898c21058b9a3ed56a0d300c3ea8384a5cf
-
Priti Aghera authored
GATT_LINK_IDLE_TIMEOUT_WHEN_NO_APP timer was zero. Due to this zero inactivity timer after the authentication is complete the link is brought down immediately. Set it to 1 instead. Bug: 22100369 Change-Id: I6ba4f63b9e48759e4255f230d6bbf426eda31c6f
-
- 13 Feb, 2016 1 commit
-
-
Sanket Agarwal authored
This crashes when A2DP SNK role is executed in print statement. Change-Id: Iceca09ecc5977a5379d7f98f265fc2d52332c6e4
-
- 12 Feb, 2016 1 commit
-
-
Marie Janssen authored
Add a metrics API, which supports creating events which are eventually passed up to the clearcut logging to track pairings and other events. Connect this to the dumpsys call when it is called. Change-Id: Idcf75541fd18b0413cc843d6c7e23a5f08a634a5
-
- 08 Feb, 2016 2 commits
-
-
Chenjie Luo authored
am: 879ec510 * commit '879ec510': Only initiate codec negotiation if feature is supported
-
Baligh Uddin authored
am: a07c9fec -s ours * commit 'a07c9fec':
-
- 06 Feb, 2016 2 commits
-
-
Jakub Pawlowski authored
am: 8a01f77a * commit '8a01f77a': Remove unused return value of bta_gattc_alloc_cache_buf
-
Jakub Pawlowski authored
Change-Id: I624aeaa0c562b5c7404ad37411ad209beac3a5e1
-