- Feb 24, 2016
-
-
Jakub Pawlowski authored
uprev build/secondary/third_party/**/BUILD.gn" Other BUILD.gn files were updated to match current state of project. Change-Id: Ie895d25680d510f5e69e6f15553311f6671cdce3
-
Jakub Pawlowski authored
This patch adds empty metrics implementation for Linux in order to fix build errors. Bug: 27324453 Change-Id: I2f45db6147689bf295176b7ad30a613a7f5a8d9f
-
Jakub Pawlowski authored
This patch adds some missing header files that prevented wakelocks from compiling on linux. Bug: 27324453 Change-Id: Ifabf3350fe840524cf7e1ec7aa2825acb4399c81
-
Jakub Pawlowski authored
Bug: 27324453 Change-Id: Icebf0273c39040ff6b1bb29dcc4d0a827e25b4a8
-
- Feb 23, 2016
-
-
Andre Eisenbach authored
This breaks Nexus Player remotes. Need to only do this if the device is *not* known. This reverts commit 82471ff3. Change-Id: Iba0f25576432c8c8c399ee54abee3e91430784ef
-
Andre Eisenbach authored
-
Andre Eisenbach authored
This breaks HID completely... This reverts commit f3c3f0e6. Change-Id: I2c1994a366e193a73dbc661e5c6b03d87d7732f3
-
Jakub Pawlowski authored
This patch removes counter. We were never using those values, except for increasing them. Bug: 27324326 Change-Id: I3122a36fa0435a36a8401792267cb5ebff5ab269
-
Jakub Pawlowski authored
-
Jakub Pawlowski authored
This reverts commit a9a35f59. Change-Id: I8e0c890ee0960f986133939944c2c1362ac4f57c
-
Jakub Pawlowski authored
Change-Id: Ia259abc76b95d754fa31c2ccb96b6590348eb493
-
Jakub Pawlowski authored
-
Ajay Panicker authored
Change-Id: I3893d094a1b1dd7853016d1f539f8998cdc84833
-
Jakub Pawlowski authored
Change-Id: I2219395f504952ae1d1371a439e58fef22b71184
-
Jakub Pawlowski authored
Change-Id: I1eeabef6c6f065bbc309604345a0212fed7e7ef7
-
- Feb 19, 2016
-
-
Ajay Panicker authored
Change-Id: I0b7e5a9dda30875c9fc877baffa0daac9184cd42
-
Pavlin Radoslavov authored
Removed unused conditional defines from bt_target.h that are not needed anymore. Change-Id: Ic424f673332668b21db11d323b389f5a5f4fba81
-
- Feb 18, 2016
-
-
Pavlin Radoslavov authored
* Remove HCI_GET_CMD_BUF() wrapper macro, and replace it with its default implementation: (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE) * Remove explicit checks for NULL when HCI_GET_CMD_BUF() was used. Bug: 27048759 Change-Id: I7c71b408f40d58f6ebf3a310aa806daba3342f77
-
Andre Eisenbach authored
Bug: 27222508 Change-Id: I0075b4480aff52dcdc326b7bdb7154ca919ccee9
-
Ajay Panicker authored
Change-Id: I3868365e7fd166517b13ff03a15d629271bd47b4
-
Pavlin Radoslavov authored
Fix a failing unit test that was broken by some earlier cleanup work. Bug: 26879229 Bug: 27152031 Change-Id: I244d078a23a69c82fbc7cb4468649ab933131977
-
Pavlin Radoslavov authored
* Add new function metrics_a2dp_session() to connect A2DP metrics into Protobuf * Add new function btif_update_a2dp_metrics() that is called when the metrics should be callected * Add few more statistics to the BTIF media stats. Change-Id: I5862ac82e55b3546dc1fbde0c78cb4683e40d19e
-
- Feb 17, 2016
-
-
Pavlin Radoslavov authored
-
Jaganath Kanakkassery authored
In the BTU handler for messages from the controller, rn event may be received that the stack does not have to respond to. In this case, the stack should go to sleep. This patch calls the provided function in the BTU to enter sleep. Signed-off-by:
Jaganath Kanakkassery <jaganathx.kanakkassery@intel.com> Signed-off-by:
Yingkai Cheng <yingkaix.cheng@intel.com> Signed-off-by:
Zhiquan Liu <zhiquan.liu@intel.com> Change-Id: Ie7c3fcae418eb2480338509e86b7cc870177a965
-
Ajay Panicker authored
Log the bond state, the funciton that updated the bond state, as well as the device that was updated. Also added in functionality for protobuff logging. Example output Bond Events: Total Number of events: 8 Time BD_ADDR Function State 00:01:12.353 ac:9e:17:07:58:d8 btif_dm_create_bond BOND_STATE_NONE 00:01:12.354 ac:9e:17:07:58:d8 bond_state_changed BOND_STATE_BONDING 00:01:13.999 ac:9e:17:07:58:d8 bond_state_changed BOND_STATE_BONDING 00:01:14.778 ac:9e:17:07:58:d8 bond_state_changed BOND_STATE_BONDED 00:01:14.827 ac:9e:17:07:58:d8 bond_state_changed BOND_STATE_BONDED 00:01:31.534 34:36:3b:c4:bf:99 btif_dm_create_bond BOND_STATE_NONE 00:01:31.535 34:36:3b:c4:bf:99 bond_state_changed BOND_STATE_BONDING 00:01:32.771 34:36:3b:c4:bf:99 bond_state_changed BOND_STATE_BONDING Change-Id: I01ab3a232300203704a356a17aa045e638f97463
-
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
-
- Feb 16, 2016
-
-
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
-
- Feb 15, 2016
-
-
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
-
- Feb 13, 2016
-
-
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
-
- Feb 12, 2016
-
-
Jakub Pawlowski authored
Change-Id: I46641d0fe065b5e5a6620dc34c770429ac8dbe11
-
Jakub Pawlowski authored
This typo was introduced in commit 095e7dc1 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
-
- Feb 11, 2016
-
-
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
-