OSDN Git Service

android-x86/system-bt.git
8 years agoAdd ability to add interop entries dynamically (2/2) am: a0c02f62a4 -s ours
Andre Eisenbach [Thu, 21 Apr 2016 01:15:37 +0000 (01:15 +0000)]
Add ability to add interop entries dynamically (2/2) am: a0c02f62a4  -s ours
am: 985f5be0f2

* commit '985f5be0f22c11b20cbdf70de5ad176693007029':
  Add ability to add interop entries dynamically (2/2)

Change-Id: I612ad531408eebcdc9bce8f658a0c693a183e6e9

8 years agoFix compilation warnings/errors on fugu am: 3aa58c5fad
Pavlin Radoslavov [Thu, 21 Apr 2016 01:15:23 +0000 (01:15 +0000)]
Fix compilation warnings/errors on fugu am: 3aa58c5fad
am: d4a1c80b53

* commit 'd4a1c80b535cc1bd5e0d2682524f79cc4570c340':
  Fix compilation warnings/errors on fugu

Change-Id: Ie7ed9b52701c3eedb645ec9895c45f6acd80a2ce

8 years agoFix C/C++ compiler generated warnings am: 12265e39b5 -s ours
Pavlin Radoslavov [Thu, 21 Apr 2016 01:15:01 +0000 (01:15 +0000)]
Fix C/C++ compiler generated warnings am: 12265e39b5  -s ours
am: 5bf7065116

* commit '5bf70651167077a671230d7c0d8a4e8bbcf3eac5':
  Fix C/C++ compiler generated warnings

Change-Id: I7e60a284f6df00937acb816c6f29b8e24f77737a

8 years agoservice: Add services removed/added handlers am: 0bd8fa5b24
Jakub Pawlowski [Thu, 21 Apr 2016 01:14:28 +0000 (01:14 +0000)]
service: Add services removed/added handlers am: 0bd8fa5b24
am: f39e19309a

* commit 'f39e19309ac869bec1ca89ca0f4b6f8349c8193c':
  service: Add services removed/added handlers

Change-Id: I756da0d4b01897894fff6f0e5779db1c048a14dd

8 years agoCleanup C and C++ compiler flags am: 0b60bb04b9 -s ours
Pavlin Radoslavov [Thu, 21 Apr 2016 01:14:16 +0000 (01:14 +0000)]
Cleanup C and C++ compiler flags am: 0b60bb04b9  -s ours
am: 8fc199f568

* commit '8fc199f568ef2a003f497ae19acac501b7af46ef':
  Cleanup C and C++ compiler flags

Change-Id: I260fa6318023e0e3ba82afdc37486b398335075e

8 years agoPick proper addres type for unknown devices am: 0ec558b58d
Jakub Pawlowski [Thu, 21 Apr 2016 01:14:03 +0000 (01:14 +0000)]
Pick proper addres type for unknown devices am: 0ec558b58d
am: 157f4ac664

* commit '157f4ac66485176ae2961ecb09ca3e1eec2166a6':
  Pick proper addres type for unknown devices

Change-Id: I0ff6f1e893c87c9205cff2ff55279eb11f745ecd

8 years agoFix discovery status handling am: 0e36a4d161
Jakub Pawlowski [Thu, 21 Apr 2016 01:13:51 +0000 (01:13 +0000)]
Fix discovery status handling am: 0e36a4d161
am: e1951285d7

* commit 'e1951285d7258437c1b486e69a612b9e3820b059':
  Fix discovery status handling

Change-Id: I0305cc9846b2b59a8c2407f7919480b9b7de720a

8 years agoValidates the PDU length of GATT Prepare Write attribute requests am: 4c1e089a33
Subramanian Srinivasan [Thu, 21 Apr 2016 01:13:39 +0000 (01:13 +0000)]
Validates the PDU length of GATT Prepare Write attribute requests am: 4c1e089a33
am: 8e31c01724

* commit '8e31c017247853b8c5766c866c597000bf38789d':
  Validates the PDU length of GATT Prepare Write attribute requests

Change-Id: I14e6e51fca8af86a5fb61cd9466c352a68c6240f

8 years agoCreate backup for bt_config.conf am: f621aa868f
Ajay Panicker [Thu, 21 Apr 2016 01:13:27 +0000 (01:13 +0000)]
Create backup for bt_config.conf am: f621aa868f
am: bd280b700b

* commit 'bd280b700be594f101b2d88268c249e3b3c442ce':
  Create backup for bt_config.conf

Change-Id: Ib0fad20a8a8abb8ebe5ff2995a1e3d001ad7b79e

8 years agoRemoved function bte_load_ble_conf am: d0e384c346
Ajay Panicker [Thu, 21 Apr 2016 01:13:14 +0000 (01:13 +0000)]
Removed function bte_load_ble_conf am: d0e384c346
am: d67af359fd

* commit 'd67af359fda7569af1e5273f125f6fa563553bc1':
  Removed function bte_load_ble_conf

Change-Id: Ic35a6d6c229dd46776af7684ada75f60b733e616

8 years agoAdd handle range to BTA_GATTC_GetGattDb am: 12339a8011
Jakub Pawlowski [Thu, 21 Apr 2016 01:12:59 +0000 (01:12 +0000)]
Add handle range to BTA_GATTC_GetGattDb am: 12339a8011
am: db039caf74

* commit 'db039caf74951bbaf2835cca73a658101069ea47':
  Add handle range to BTA_GATTC_GetGattDb

Change-Id: Ic5af71bbe2d2cf4f95517db96927ec1426524db6

8 years agoRemoved checks for NULL returns after osi_calloc() / osi_malloc() am: 5fe6f0cf6b...
Pavlin Radoslavov [Thu, 21 Apr 2016 01:11:29 +0000 (01:11 +0000)]
Removed checks for NULL returns after osi_calloc() / osi_malloc() am: 5fe6f0cf6b  -s ours
am: eab426f531

* commit 'eab426f531b311fe63d65bae74b652df12d58cf1':
  Removed checks for NULL returns after osi_calloc() / osi_malloc()

Change-Id: I5a506b01ad3ad9409d9d2c0e011fd2f671ea117b

8 years agoosi: Don\'t use -std=c99 to compile am: 75be8ac297 -s ours
Marie Janssen [Thu, 21 Apr 2016 01:11:17 +0000 (01:11 +0000)]
osi: Don\'t use -std=c99 to compile am: 75be8ac297  -s ours
am: c3863e0fc3

* commit 'c3863e0fc324bf671f988dd86f1d2f06491ee6c2':
  osi: Don't use -std=c99 to compile

Change-Id: Ia47387860a81e7c37d751caa96e42cc34587c31c

8 years agoRemove code related to legacy config file am: 37f7f8380f -s ours
Ajay Panicker [Thu, 21 Apr 2016 01:11:04 +0000 (01:11 +0000)]
Remove code related to legacy config file am: 37f7f8380f  -s ours
am: c9232a6b50

* commit 'c9232a6b5037c02a77e71c084688a4a78f4f98cb':
  Remove code related to legacy config file

Change-Id: Ib7809bb8c27c70aee614a72ff80896b843a42a01

8 years agoAdd Privacy 1.0/1.1 check for BG connection am: 7dc23e85a6
Satya Calloji [Thu, 21 Apr 2016 01:10:51 +0000 (01:10 +0000)]
Add Privacy 1.0/1.1 check for BG connection am: 7dc23e85a6
am: 934e3e515c

* commit '934e3e515cbf1b38657c92588448af63f8956b67':
  Add Privacy 1.0/1.1 check for BG connection

Change-Id: Ia67812e6201a92d33d4bd75eeb9513b8abc69158

8 years agobinder: fix possible stack corruption am: be4ae78ad9 -s ours
Marie Janssen [Thu, 21 Apr 2016 01:10:39 +0000 (01:10 +0000)]
binder: fix possible stack corruption am: be4ae78ad9  -s ours
am: 3446685dee

* commit '3446685deee7ea9f1ed9fd99726aff22b1816bd7':
  binder: fix possible stack corruption

Change-Id: I18cded051ceb7abdb24b4e320ddf80a8c586780f

8 years agoFix possible memory leak am: 4bdc3535a7
Jakub Pawlowski [Thu, 21 Apr 2016 01:10:24 +0000 (01:10 +0000)]
Fix possible memory leak am: 4bdc3535a7
am: f2e29e6fe7

* commit 'f2e29e6fe7631d2a6e51715b36a7039b77e05cb9':
  Fix possible memory leak

Change-Id: I19a7910631863c449122eec21a632acd2274611e

8 years agoAdd Developer menu entry to disable Bluetooth absolute volume am: 90b71eac9b
Andre Eisenbach [Thu, 21 Apr 2016 01:09:55 +0000 (01:09 +0000)]
Add Developer menu entry to disable Bluetooth absolute volume am: 90b71eac9b
am: 676d5c097d

* commit '676d5c097d5bc3b8570014fbfc91026f194dc035':
  Add Developer menu entry to disable Bluetooth absolute volume

Change-Id: I4f9180b1670ba2cfd0c8ffcf88d6f3afa83f245b

8 years agoReplaced osi_getbuf()/osi_freebuf() with osi_malloc()/osi_free() am: abd70abb5e ...
Pavlin Radoslavov [Thu, 21 Apr 2016 01:09:30 +0000 (01:09 +0000)]
Replaced osi_getbuf()/osi_freebuf() with osi_malloc()/osi_free() am: abd70abb5e  -s ours
am: 59ffa05af8

* commit '59ffa05af8277c49f5f6a9599d9f2a7d22b82f75':
  Replaced osi_getbuf()/osi_freebuf() with osi_malloc()/osi_free()

Change-Id: I7ae71fdda942ea85b388cab236fd92ce138216f0

8 years agoUse dynamic memory for keeping GATT cache am: 9df3192b94 -s ours
Jakub Pawlowski [Thu, 21 Apr 2016 01:09:15 +0000 (01:09 +0000)]
Use dynamic memory for keeping GATT cache am: 9df3192b94  -s ours
am: 0898ca451c

* commit '0898ca451c7910cef18009c89d82c2d8ec9c6af8':
  Use dynamic memory for keeping GATT cache
  Add missing "\" at end of line

Change-Id: I5bf2593114bcc28b4d64bf5e88df224c4acfe23c

8 years agoRemoved function osi_get_buf_size() am: ca57b25df8 -s ours
Pavlin Radoslavov [Thu, 21 Apr 2016 01:09:02 +0000 (01:09 +0000)]
Removed function osi_get_buf_size() am: ca57b25df8  -s ours
am: 3ec53fddf0

* commit '3ec53fddf06124d11d28bfe0a379138422c0f638':
  Removed function osi_get_buf_size()

Change-Id: I922818bdbe3cd453688891c6eac9c4f81c15491f

8 years agoDisable gnu-variable-sized-type-not-at-end warning am: 74c3783d72 -s ours
Jakub Pawlowski [Thu, 21 Apr 2016 01:08:49 +0000 (01:08 +0000)]
Disable gnu-variable-sized-type-not-at-end warning am: 74c3783d72  -s ours
am: 52b963affc

* commit '52b963affcd0ac064a47b3c235e8fd8e500cdaa1':
  Disable gnu-variable-sized-type-not-at-end warning

Change-Id: I700cad5bb1fa851627feeff01f03e951fed24e49

8 years agoAdd missing log tags am: a41dbb1560 -s ours
Jakub Pawlowski [Thu, 21 Apr 2016 01:08:36 +0000 (01:08 +0000)]
Add missing log tags am: a41dbb1560  -s ours
am: eed87ad73e

* commit 'eed87ad73e8290e21b9ef507e23558c53ce1d5c1':
  Add missing log tags

Change-Id: Ic5bc5c4fab24d01568918c3d7c53aac66c7f44ed

8 years agoRemove BCM_STR* macros am: 66209db61f -s ours
Andre Eisenbach [Thu, 21 Apr 2016 01:08:24 +0000 (01:08 +0000)]
Remove BCM_STR* macros am: 66209db61f  -s ours
am: 64e4f93b62

* commit '64e4f93b62899f85adec7bab37bde025c41969bb':
  Remove BCM_STR* macros

Change-Id: I1a538c3cdbf4d3ea6a0efbd8278897fe379524e8

8 years agoAdd list_back_node method to osi list am: 0a03a42c20
Jakub Pawlowski [Thu, 21 Apr 2016 01:08:15 +0000 (01:08 +0000)]
Add list_back_node method to osi list am: 0a03a42c20
am: f73ce2a3d2

* commit 'f73ce2a3d237ef875eb33661e8d3be01fc85baea':
  Add list_back_node method to osi list

Change-Id: Iedf263771f32604bd275872b3fa5db6226202d76

8 years agoFix auto disconnect right after connecting am: 7adaa5a3f3
Jakub Pawlowski [Thu, 21 Apr 2016 01:08:00 +0000 (01:08 +0000)]
Fix auto disconnect right after connecting am: 7adaa5a3f3
am: 1203ca1ddf

* commit '1203ca1ddfe7410e8d5741db2d0bc6a9abf87708':
  Fix auto disconnect right after connecting

Change-Id: I804ce5694ef894e2e8a23ee18c03eef242c42dfc

8 years agoSet GATT link inactivity timer to 1 am: 5c52fece85
Priti Aghera [Thu, 21 Apr 2016 01:06:37 +0000 (01:06 +0000)]
Set GATT link inactivity timer to 1 am: 5c52fece85
am: 6a96f6390e

* commit '6a96f6390ec9999640c46cb41c9faff5b7f53c26':
  Set GATT link inactivity timer to 1

Change-Id: I6c3830df17ee8aa84d6a868ade9a30d102680589

8 years agoWrite Protobuf in Base64 am: 1d00dd26c3
Ajay Panicker [Thu, 21 Apr 2016 01:06:24 +0000 (01:06 +0000)]
Write Protobuf in Base64 am: 1d00dd26c3
am: 18a7e31648

* commit '18a7e316483a441f22dc7543cb4694146345b3e0':

Change-Id: Idf0a418c9d11ccf3906cb4b683753e988c45202a

8 years agoFix ParcelHelpersTest.ScanResult unit test am: db49d08101
Pavlin Radoslavov [Thu, 21 Apr 2016 01:06:12 +0000 (01:06 +0000)]
Fix ParcelHelpersTest.ScanResult unit test am: db49d08101
am: d6ced19ae4

* commit 'd6ced19ae4d3dbc8bde3332d13302cc5a1b884e1':

Change-Id: Id566dcddd99d6bc9f3d5990e01bca71877e9ff46

8 years agoAdd support for collecting A2DP Protobuf metrics am: a1bccb9b39
Pavlin Radoslavov [Thu, 21 Apr 2016 01:06:00 +0000 (01:06 +0000)]
Add support for collecting A2DP Protobuf metrics am: a1bccb9b39
am: c6e59ef73a

* commit 'c6e59ef73a57f596d61f8c890908691404d02f81':

Change-Id: I560111480fced9df8b348b75ff86e4974599a11c

8 years agoMerge "Additional logging for bond information" am: ddf2af1497
Pavlin Radoslavov [Thu, 21 Apr 2016 01:05:47 +0000 (01:05 +0000)]
Merge "Additional logging for bond information" am: ddf2af1497
am: ff00bbe4cc

* commit 'ff00bbe4ccdd2d574ce950dd37af8c2d11f20914':

Change-Id: I288c0e3004c9eae75c8216a9ce4dcc8e5dbc9ff5

8 years agoSuspend properly when receiving events without response am: d722e2ff1e
Jaganath Kanakkassery [Thu, 21 Apr 2016 01:05:21 +0000 (01:05 +0000)]
Suspend properly when receiving events without response am: d722e2ff1e
am: 363d7e1669

* commit '363d7e16699d515a2e5fe96269899bba21f3b7f8':

Change-Id: I879bc8a900cea908e90e24680cb392596f743c40

8 years agoFix data reporting state when using HID device am: 5f30560dbb
Loic Poulain [Thu, 21 Apr 2016 01:04:45 +0000 (01:04 +0000)]
Fix data reporting state when using HID device am: 5f30560dbb
am: b75dbeca06

* commit 'b75dbeca068670e8def3404ddaa06d300ede0031':

Change-Id: If4ea9a024232818515af8d69d22c2e83e82b0d59

8 years agoservice: Use built-in byte vector parser am: 5eedb96edd
Jakub Pawlowski [Thu, 21 Apr 2016 01:04:31 +0000 (01:04 +0000)]
service: Use built-in byte vector parser am: 5eedb96edd
am: 917fa04368

* commit '917fa04368febdf12e248ac67f3872ff727dfda1':

Change-Id: If0412dc71e685bcd13f3b76ce691f158532da26e

8 years agoRemove the need for -Wno-constant-logical-operand am: e6e73fa499
Andre Eisenbach [Thu, 21 Apr 2016 01:04:17 +0000 (01:04 +0000)]
Remove the need for -Wno-constant-logical-operand am: e6e73fa499
am: b32c2abed1

* commit 'b32c2abed1ddc728c0d163f0fbe03d6ab98b1023':

Change-Id: Ie3028f61c0b90bc3c173acda292b386777a824e8

8 years agoRemove Porsche car-kit pairing workaround am: dbd767da09
Andre Eisenbach [Thu, 21 Apr 2016 01:04:03 +0000 (01:04 +0000)]
Remove Porsche car-kit pairing workaround am: dbd767da09
am: 9e2ca92c25

* commit '9e2ca92c250e69ba90e82a3ff4d3133a3a1258be':

Change-Id: Ic29a5123847938ce1d5a4988fe63274fd5630de5

8 years agoFix compile error due to interop_feature_t not being public am: ed906fc464
Andre Eisenbach [Thu, 21 Apr 2016 01:03:49 +0000 (01:03 +0000)]
Fix compile error due to interop_feature_t not being public am: ed906fc464
am: 301ec6f4e5

* commit '301ec6f4e57be4e6a447324f869e305a76dba4e7':

Change-Id: Ie31090a9e9bb4e8e9f0c23f2ee8585eccc45a322

8 years agoAdd new HAL functions to fake Bluetooth interface am: b97fc43146
Andre Eisenbach [Thu, 21 Apr 2016 01:03:35 +0000 (01:03 +0000)]
Add new HAL functions to fake Bluetooth interface am: b97fc43146
am: c0c25e0f35

* commit 'c0c25e0f358a34c57fb313c23566f6fd8826c95b':

Change-Id: Idbc718817c7a8f23bc01c63f5185cb6038b4cd3f

8 years agoAdd ability to add interop entries dynamically (2/2) am: e42d1d7223
Andre Eisenbach [Thu, 21 Apr 2016 01:03:20 +0000 (01:03 +0000)]
Add ability to add interop entries dynamically (2/2) am: e42d1d7223
am: 638d782031

* commit '638d782031943cc37919b31063299f1767337232':

Change-Id: Ic888f55feb22bf3b8401418ca4e136ea999e9021

8 years agoFix compilation warnings/errors on fugu am: a9ea43bb16
Pavlin Radoslavov [Thu, 21 Apr 2016 01:02:39 +0000 (01:02 +0000)]
Fix compilation warnings/errors on fugu am: a9ea43bb16
am: 9b32a16729

* commit '9b32a16729b49fcd2bd1b17fdab4ce2460959e37':

Change-Id: I9cb43e65c5c03b3a4c71380b12b13d849e4db2ba

8 years agoFix C/C++ compiler generated warnings am: 4394720415
Pavlin Radoslavov [Thu, 21 Apr 2016 01:02:19 +0000 (01:02 +0000)]
Fix C/C++ compiler generated warnings am: 4394720415
am: 9dcca165d5

* commit '9dcca165d54dbc1c5f26682616dc4e9ff7329bb7':

Change-Id: Ife44694b43542a1e3b750dab589c95d23f3271ed

8 years agoservice: Add services removed/added handlers am: b937cc0010
Jakub Pawlowski [Thu, 21 Apr 2016 01:01:10 +0000 (01:01 +0000)]
service: Add services removed/added handlers am: b937cc0010
am: 852897b0ab

* commit '852897b0ab93eab0e6be531108db0a3f05f4cbcc':

Change-Id: I8331a9e392cac37080252015d575b53f96404090

8 years agoRemove %s from Log message. am: d2e3b538ed
Sanket Agarwal [Thu, 21 Apr 2016 01:00:31 +0000 (01:00 +0000)]
Remove %s from Log message. am: d2e3b538ed
am: a48f2e9bf1

* commit 'a48f2e9bf1756092ecf918ece1f05468d2bcb70e':
  Remove %s from Log message.

Change-Id: Ia8ab29cae566d13e81089ecd530101c2ac506f05

8 years agoCleanup C and C++ compiler flags am: 1377f938ab
Pavlin Radoslavov [Thu, 21 Apr 2016 01:00:01 +0000 (01:00 +0000)]
Cleanup C and C++ compiler flags am: 1377f938ab
am: ff2e08e6fd

* commit 'ff2e08e6fda8370eeff74f8dbbb5a5bdaf795b86':

Change-Id: Ie182e8d124e18c7c302a9d55da4974d217dca5f6

8 years agoPick proper addres type for unknown devices am: b7672f4a3c
Jakub Pawlowski [Thu, 21 Apr 2016 00:59:47 +0000 (00:59 +0000)]
Pick proper addres type for unknown devices am: b7672f4a3c
am: dc30ad7a96

* commit 'dc30ad7a96f60ef2397e516a2d2e14f2483b08cd':

Change-Id: I78e9ca987bbca97235ebc6640d32f425715d54c4

8 years agoFix makefile merge doubling
Marie Janssen [Thu, 21 Apr 2016 00:59:33 +0000 (00:59 +0000)]
Fix makefile merge doubling
am: 77ed1a9bbf

* commit '77ed1a9bbfc3707b7a25d4baa67ee5767826bdde':
  Fix makefile merge doubling

Change-Id: I57d3de9b7d43d8543f55543a019746c61f118000

8 years agoFix discovery status handling am: ab2c48848e
Jakub Pawlowski [Thu, 21 Apr 2016 00:59:18 +0000 (00:59 +0000)]
Fix discovery status handling am: ab2c48848e
am: 16e7b03b3f

* commit '16e7b03b3fe574de6d7e04ded636534dae739aa4':

Change-Id: Iff5341397cc277257f7e87be2d67fbf95eb87f4f

8 years agoosi: add metrics API am: aa11644f76
Marie Janssen [Thu, 21 Apr 2016 00:59:06 +0000 (00:59 +0000)]
osi: add metrics API am: aa11644f76
am: 176a25cb38

* commit '176a25cb389d774dc57d5a9d3d3269fe2847ac30':
  osi: add metrics API

Change-Id: Ibad3ce24b7120ba5059a441d2be45bc789626785

8 years agoValidates the PDU length of GATT Prepare Write attribute requests am: 0acfd13d69
Subramanian Srinivasan [Thu, 21 Apr 2016 00:58:52 +0000 (00:58 +0000)]
Validates the PDU length of GATT Prepare Write attribute requests am: 0acfd13d69
am: 3bf10567b3

* commit '3bf10567b337be6989b45d97385214b2f6c78e77':

Change-Id: I87864eec7e9e19e029f72a99b72c7d3a2ca4ab92

8 years agoCreate backup for bt_config.conf am: 79b294d7cb
Ajay Panicker [Thu, 21 Apr 2016 00:58:26 +0000 (00:58 +0000)]
Create backup for bt_config.conf am: 79b294d7cb
am: 201820aad0

* commit '201820aad02313ea6ad8740d67ee1261a614f4d0':

Change-Id: I1080bf318833b07a80da68a3523e2bd9b9e0413c

8 years agoRemoved function bte_load_ble_conf am: 64a0328b5f
Ajay Panicker [Thu, 21 Apr 2016 00:57:53 +0000 (00:57 +0000)]
Removed function bte_load_ble_conf am: 64a0328b5f
am: 2c36a37ba2

* commit '2c36a37ba2523c3faa8f724b0e0cbce753336762':

Change-Id: I44e673d5257fca22a57472408b8ebb85e9f04671

8 years agoAdd handle range to BTA_GATTC_GetGattDb am: 9fd552b1f5
Jakub Pawlowski [Thu, 21 Apr 2016 00:57:38 +0000 (00:57 +0000)]
Add handle range to BTA_GATTC_GetGattDb am: 9fd552b1f5
am: 7ec2240ce7

* commit '7ec2240ce73b84d323ac0d5d82e6a3150e301aac':

Change-Id: I1fca495e0ee89848f1b5f61b7dd3ddbd106fdcc4

8 years agoRemoved checks for NULL returns after osi_calloc() / osi_malloc() am: 717a4a9f3a
Pavlin Radoslavov [Thu, 21 Apr 2016 00:57:24 +0000 (00:57 +0000)]
Removed checks for NULL returns after osi_calloc() / osi_malloc() am: 717a4a9f3a
am: 488cf6242e

* commit '488cf6242ea2034279aeeb7896c7670b4ada0e94':

Change-Id: Ibcf41655bba3ad4b873ecd58d280ff0b435e0000

8 years agoosi: Don\'t use -std=c99 to compile am: 00f6f0647f
Marie Janssen [Thu, 21 Apr 2016 00:57:09 +0000 (00:57 +0000)]
osi: Don\'t use -std=c99 to compile am: 00f6f0647f
am: e72406a198

* commit 'e72406a198a9a9405c2f417e143dc2817db294df':

Change-Id: Ifb85609cb8b9f692aa757cf8e937750b6086e6d9

8 years agoRemove code related to legacy config file am: 1eacb3d893
Ajay Panicker [Thu, 21 Apr 2016 00:56:55 +0000 (00:56 +0000)]
Remove code related to legacy config file am: 1eacb3d893
am: 77d8859444

* commit '77d88594444c988d55acf5b3888a637ba4863ac0':

Change-Id: I583b74b5839c032a4946caeae7b1a5020e5080ea

8 years agoAdd Privacy 1.0/1.1 check for BG connection am: 6ed1548be2
Satya Calloji [Thu, 21 Apr 2016 00:56:40 +0000 (00:56 +0000)]
Add Privacy 1.0/1.1 check for BG connection am: 6ed1548be2
am: 5f619b2896

* commit '5f619b2896b9a1729ba74aa7bf63ea6291378a29':

Change-Id: I9851352d0c4ca01b0d094143d6a1a2cff056fcbd

8 years agobinder: fix possible stack corruption am: 2fdc1a1f90
Marie Janssen [Thu, 21 Apr 2016 00:55:23 +0000 (00:55 +0000)]
binder: fix possible stack corruption am: 2fdc1a1f90
am: 83f2feb8c6

* commit '83f2feb8c63e39e4c572078028d42cb9cf43c150':

Change-Id: I1c9560f8f46b63187b85308803676d178e79fa89

8 years agoosi: add metrics API am: 77f579f825
Marie Janssen [Thu, 21 Apr 2016 00:55:07 +0000 (00:55 +0000)]
osi: add metrics API am: 77f579f825
am: 5783e11d27

* commit '5783e11d27758014349f4d513be7296ac621fbff':

Change-Id: I9704233cf4b9e6223a7f19e83f6d93b0d101fb59

8 years agoFix possible memory leak am: c2ea2f6723
Jakub Pawlowski [Thu, 21 Apr 2016 00:54:52 +0000 (00:54 +0000)]
Fix possible memory leak am: c2ea2f6723
am: c62f879625

* commit 'c62f8796255e1ca7b77e41437daf0e4e45674bab':

Change-Id: I3f5fb65d982e1e45e99de6c71a5df2d3e49bc682

8 years agoFix auto disconnect right after connecting am: 6b0798a32d
Jakub Pawlowski [Thu, 21 Apr 2016 00:54:38 +0000 (00:54 +0000)]
Fix auto disconnect right after connecting am: 6b0798a32d
am: 99c76bca1d

* commit '99c76bca1d0e9c39d42230efe916b19c4b9ec2f7':

Change-Id: Ibde7cc2b2ad1b651e39e3b5c07d45ca4c5defc71

8 years agoSet GATT link inactivity timer to 1 am: c12b2c0bb6
Priti Aghera [Thu, 21 Apr 2016 00:54:24 +0000 (00:54 +0000)]
Set GATT link inactivity timer to 1 am: c12b2c0bb6
am: 11c32bb9e1

* commit '11c32bb9e13c04bdfa29d8790b64fb8d2fb70183':

Change-Id: If1425d9fe4daab53e11d3c307b002272ef6113fb

8 years agoAdd Developer menu entry to disable Bluetooth absolute volume am: feb9e4d015
Andre Eisenbach [Thu, 21 Apr 2016 00:54:03 +0000 (00:54 +0000)]
Add Developer menu entry to disable Bluetooth absolute volume am: feb9e4d015
am: 6f33fb152a

* commit '6f33fb152a1759c483d24582d020d5141e331945':

Change-Id: I3454f0eceba63125aa413e5a63b47a5e06e08e14

8 years agoReplaced osi_getbuf()/osi_freebuf() with osi_malloc()/osi_free() am: cceb430489
Pavlin Radoslavov [Thu, 21 Apr 2016 00:53:20 +0000 (00:53 +0000)]
Replaced osi_getbuf()/osi_freebuf() with osi_malloc()/osi_free() am: cceb430489
am: 32953089ce

* commit '32953089ce53772dc541bce4a64a6640ff77940c':

Change-Id: I1253d9fd662b1428ef18cfdadf8b9faff2cac31a

8 years agoUse dynamic memory for keeping GATT cache am: 63e500e7cb
Jakub Pawlowski [Thu, 21 Apr 2016 00:53:05 +0000 (00:53 +0000)]
Use dynamic memory for keeping GATT cache am: 63e500e7cb
am: 20295a56ea

* commit '20295a56ea350712b92b701f7b2dd793b3790807':

Change-Id: I2a7716a8ab2fba113c3504c4e1341c3d606e434b

8 years agoRemoved function osi_get_buf_size() am: 0a20dd42a6
Pavlin Radoslavov [Thu, 21 Apr 2016 00:52:50 +0000 (00:52 +0000)]
Removed function osi_get_buf_size() am: 0a20dd42a6
am: 3473ac93ec

* commit '3473ac93ec9be494ab042cee57b6e9c52e159e8a':

Change-Id: Ief2b4b556c37198cb7fa306d91992a8203388198

8 years agoDisable gnu-variable-sized-type-not-at-end warning am: e22c8edb3b
Jakub Pawlowski [Thu, 21 Apr 2016 00:52:35 +0000 (00:52 +0000)]
Disable gnu-variable-sized-type-not-at-end warning am: e22c8edb3b
am: 96cc61de03

* commit '96cc61de03d70292acb00252feba359afced5b89':

Change-Id: I8c3ee02efbbe28179f2b4dbfb658c4df416f1e83

8 years agoOnly initiate codec negotiation if feature is supported am: ecb3b8386f am: 879ec51029...
Chenjie Luo [Thu, 21 Apr 2016 00:52:20 +0000 (00:52 +0000)]
Only initiate codec negotiation if feature is supported am: ecb3b8386f am: 879ec51029 am: 63b432ced6
am: 6c4f387ea4

* commit '6c4f387ea4f5c49819781f72d74a0eee22ca2de3':
  Only initiate codec negotiation if feature is supported

Change-Id: I3d47875a4c9eb2a7340d1c8e044560aee1838abe

8 years agokeep history after reset to mnc-dr-dev(03d171170c7ad4e40454a9575cfd4919d2e1ef2f)...
Baligh Uddin [Thu, 21 Apr 2016 00:52:04 +0000 (00:52 +0000)]
keep history after reset to mnc-dr-dev(03d171170c7ad4e40454a9575cfd4919d2e1ef2f) am: a07c9fecb4  -s ours am: 609a42cdf6
am: acab9f76e0

* commit 'acab9f76e0d24ec51847358d266a08f621f17df2':

Change-Id: I1f40203fa602a93df1bb3014a23a01496ec02cfc

8 years agoMerge "Remove BCM_STR* macros" am: 7794b7c130
Andre Eisenbach [Thu, 21 Apr 2016 00:51:32 +0000 (00:51 +0000)]
Merge "Remove BCM_STR* macros" am: 7794b7c130
am: 32dcf01b84

* commit '32dcf01b841ae69f3eac5ffd0ab958b56d3bcd85':

Change-Id: I4423252f8208c9e32e3f02bec7a6dd075f20cd72

8 years agoAdd missing log tags am: d535ddb82e
Jakub Pawlowski [Thu, 21 Apr 2016 00:50:54 +0000 (00:50 +0000)]
Add missing log tags am: d535ddb82e
am: 01202b7311

* commit '01202b73114394f3ed873752017f750800d9243a':

Change-Id: I024fc21cc38f25f42c6e5b941bdb440df3aa5257

8 years agoAdd list_back_node method to osi list am: 270f86f298
Jakub Pawlowski [Thu, 21 Apr 2016 00:50:39 +0000 (00:50 +0000)]
Add list_back_node method to osi list am: 270f86f298
am: 19d49fb2f0

* commit '19d49fb2f06cf5432198ca4a9fc4c1facafe1be6':

Change-Id: I22567bcd439741797c824c59564da888835cea74

8 years agovendor_libs: create Android.mk am: 6f2ae30
Cristian Iorga [Wed, 20 Apr 2016 20:56:19 +0000 (20:56 +0000)]
vendor_libs: create Android.mk am: 6f2ae30
am: fcc2c62

* commit 'fcc2c62c5e43c7f31cbc3f3d77f42d2ff6873323':
  vendor_libs: create Android.mk

Change-Id: I1d9f50f2f31f00bb9ee389299321aad8b8a4eca6

8 years agovendor_libs: create Android.mk
Cristian Iorga [Wed, 20 Apr 2016 20:52:55 +0000 (20:52 +0000)]
vendor_libs: create Android.mk
am: 6f2ae30

* commit '6f2ae3021d3487ef00dd76f9bfb8ace8b7069b7d':
  vendor_libs: create Android.mk

Change-Id: I4e07e95b8b609cbd5625968c9daa5618edf2ddd7

8 years agovendor_libs: create Android.mk
Cristian Iorga [Tue, 15 Mar 2016 14:33:08 +0000 (16:33 +0200)]
vendor_libs: create Android.mk

all-subdir-makefiles call works for only one
nested sublevels, so we need to add a default
Android.mk in order to be able to build libbt-vendor module.

BUG=28014054

Change-Id: I7cc004d2a4dd6216a80d13c6384d9dcde328323e
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
8 years agoMerge "vendor_libs: test_vendor_lib: fix build" am: 67a29d6
Jakub Pawlowski [Wed, 20 Apr 2016 16:03:28 +0000 (16:03 +0000)]
Merge "vendor_libs: test_vendor_lib: fix build" am: 67a29d6
am: 434889f

* commit '434889fbc8c165c76048e832540cd22245bc76ba':
  vendor_libs: test_vendor_lib: fix build

Change-Id: I2227d9cacbbd7e2897d968fd6f78385187b4c609

8 years agoMerge "vendor_libs: test_vendor_lib: fix build"
Cristian Iorga [Wed, 20 Apr 2016 16:00:24 +0000 (16:00 +0000)]
Merge "vendor_libs: test_vendor_lib: fix build"
am: 67a29d6

* commit '67a29d6259335cd12f6eb7f6daaec1785ed68d03':
  vendor_libs: test_vendor_lib: fix build

Change-Id: I21eef55cf5f3af64de9b0eb44df67b9ba300a683

8 years agoMerge "vendor_libs: test_vendor_lib: fix build"
Jakub Pawlowski [Wed, 20 Apr 2016 15:51:39 +0000 (15:51 +0000)]
Merge "vendor_libs: test_vendor_lib: fix build"

8 years agoAdd guest mode functionality (2/4) am: 7b266be
Ajay Panicker [Tue, 19 Apr 2016 21:49:26 +0000 (21:49 +0000)]
Add guest mode functionality (2/4) am: 7b266be
am: 88c5489

* commit '88c548971df3b09389e7e586a4b74efc1a9d0e55':
  Add guest mode functionality (2/4)

Change-Id: I72664880fa1d2f79922b51447a94051392c8653b

8 years agoAdd guest mode functionality (2/4)
Ajay Panicker [Tue, 19 Apr 2016 21:45:56 +0000 (21:45 +0000)]
Add guest mode functionality (2/4)
am: 7b266be

* commit '7b266be449e4f915c419199c2312eb31f70e63bc':
  Add guest mode functionality (2/4)

Change-Id: I68b38a608df104203ce9007121d3d085bede81b0

8 years agovendor_libs: test_vendor_lib: fix build
Cristian Iorga [Mon, 18 Apr 2016 13:09:31 +0000 (16:09 +0300)]
vendor_libs: test_vendor_lib: fix build

Change-Id: I1ba531c5289adea3fa5d6f9e0f68cf241a127219
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
8 years agoAdd guest mode functionality (2/4)
Ajay Panicker [Fri, 18 Mar 2016 00:09:24 +0000 (17:09 -0700)]
Add guest mode functionality (2/4)

Add a flag to enable() to start Bluetooth in restricted
mode. In restricted mode, all devices that are paired during
restricted mode are deleted upon leaving restricted mode.
Right now restricted mode is only entered while a guest
user is active.

Bug: 27410683
Change-Id: I19ff91d1d7fb8c60230fee7a05d32574b5b2aeda

8 years agoUse base from libchrome am: 9f19410
Jakub Pawlowski [Mon, 18 Apr 2016 17:46:49 +0000 (17:46 +0000)]
Use base from libchrome am: 9f19410
am: 5f23b6f

* commit '5f23b6fa7180f71b7aad728aa87840c619e1204e':
  Use base from libchrome

Change-Id: I59485278079f17d7720a33e55b3cdc2f4cc060dc

8 years agoUse base from libchrome
Jakub Pawlowski [Mon, 18 Apr 2016 17:41:41 +0000 (17:41 +0000)]
Use base from libchrome
am: 9f19410

* commit '9f19410236243d5f631582f4978df27771ff03fb':
  Use base from libchrome

Change-Id: I047ce07c58ba805721f6d4895fe795b520dd7fee

8 years agoUse base from libchrome
Jakub Pawlowski [Mon, 18 Apr 2016 17:00:26 +0000 (10:00 -0700)]
Use base from libchrome

Change-Id: I57230618ef8653a168d69f871f88714ab339408a

8 years agoFix Linux libbt-vendor build am: 8d79346
Cristian Iorga [Mon, 18 Apr 2016 16:32:18 +0000 (16:32 +0000)]
Fix Linux libbt-vendor build am: 8d79346
am: c7d0e75

* commit 'c7d0e75c97f7f18f198ec2f1f3def46ad6629412':
  Fix Linux libbt-vendor build

Change-Id: I9198a21b05e7dc9f8792173049069e5cf57c7811

8 years agoFix Linux libbt-vendor build
Cristian Iorga [Mon, 18 Apr 2016 16:27:10 +0000 (16:27 +0000)]
Fix Linux libbt-vendor build
am: 8d79346

* commit '8d793462d253ccb9ce619074b37f47a968fa8612':
  Fix Linux libbt-vendor build

Change-Id: I501e221f8d25ee038814ccab53ef33dc33dc115d

8 years agoFix Linux libbt-vendor build
Cristian Iorga [Wed, 30 Mar 2016 17:14:36 +0000 (20:14 +0300)]
Fix Linux libbt-vendor build

Fix enumeration values not explicitly handled in switch;
Fix the undefined reference to functions from libosi.

Change-Id: I64ab3d57d1c4879ad47ae1a03f8996287877535d
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
8 years agoAllow A2DP SNK audio track focus gain interface. am: 501d671
Sanket Agarwal [Fri, 15 Apr 2016 20:10:23 +0000 (20:10 +0000)]
Allow A2DP SNK audio track focus gain interface. am: 501d671
am: 6c596f7

* commit '6c596f743ec6cee290e1ea4d53139b546e0771fb':
  Allow A2DP SNK audio track focus gain interface.

Change-Id: Icdbe02f75f77e4af5014a40974cedcf1949cd526

8 years agoAllow A2DP SNK audio track focus gain interface.
Sanket Agarwal [Fri, 15 Apr 2016 20:07:27 +0000 (20:07 +0000)]
Allow A2DP SNK audio track focus gain interface.
am: 501d671

* commit '501d67199bfc5bf9c2d2a32f6eac5600320795fd':
  Allow A2DP SNK audio track focus gain interface.

Change-Id: I62bc0064c9756d1bf615d8a795b3b520d333246e

8 years agoFix LE central device not being able to disconnect am: 6f74d76
Jakub Pawlowski [Fri, 15 Apr 2016 18:56:35 +0000 (18:56 +0000)]
Fix LE central device not being able to disconnect am: 6f74d76
am: 30acd82

* commit '30acd82350466e073429fcf4f8a378178e6378e0':
  Fix LE central device not being able to disconnect

Change-Id: I1209825e9eeeb2925372bdf49507addad1de5e14

8 years agoFix LE central device not being able to disconnect
Jakub Pawlowski [Fri, 15 Apr 2016 18:53:10 +0000 (18:53 +0000)]
Fix LE central device not being able to disconnect
am: 6f74d76

* commit '6f74d76a700e79217b6bba0a40860ba19fe06b3f':
  Fix LE central device not being able to disconnect

Change-Id: I2179ef536d3a849f912665abc376b517e886dc67

8 years agoAllow A2DP SNK audio track focus gain interface.
Sanket Agarwal [Fri, 8 Apr 2016 18:26:04 +0000 (11:26 -0700)]
Allow A2DP SNK audio track focus gain interface.

In order to duck music we need to adjust the gain of the audio track
handled by A2DP SNK. Since SNK is implemented in native we need to add
interface to adjust the gain.

Bug: b/28065071

Change-Id: I60634cfadb502e276596bcb3aafc62ef81d9023a

8 years agoFix LE central device not being able to disconnect
Jakub Pawlowski [Thu, 14 Apr 2016 10:06:54 +0000 (03:06 -0700)]
Fix LE central device not being able to disconnect

This fixes issue introduced in
https://android-review.googlesource.com/#/c/202278

Bug: 28211048
Change-Id: I08e62149358f1c1fc1759a4ca9eb375cb0ad8230

8 years agoAVRCP: Update sdp record correctly for CT or TG. am: a58d7fe
AnubhavGupta [Fri, 15 Apr 2016 18:08:34 +0000 (18:08 +0000)]
AVRCP: Update sdp record correctly for CT or TG. am: a58d7fe
am: 31f54d3

* commit '31f54d343d0f2c9c4a80a7bddf9870543862a594':
  AVRCP: Update sdp record correctly for CT or TG.

Change-Id: I943bf38618e74ca1214726303d3d3d5844a3c9c0

8 years agoAVRCP: Update sdp record correctly for CT or TG.
AnubhavGupta [Fri, 15 Apr 2016 18:05:29 +0000 (18:05 +0000)]
AVRCP: Update sdp record correctly for CT or TG.
am: a58d7fe

* commit 'a58d7fe1cd90d48cea8924a4f2dcaa91e65ff629':
  AVRCP: Update sdp record correctly for CT or TG.

Change-Id: I02f0ec4c009170bf2f76f750dfc1dcaea6b411c8

8 years agoAVRCP: Update sdp record correctly for CT or TG.
AnubhavGupta [Tue, 22 Mar 2016 18:03:33 +0000 (23:33 +0530)]
AVRCP: Update sdp record correctly for CT or TG.

 -Issuses: SDP records are faulty
  - AVRCP versions are faulty
  - Nexus configuration shows browsing supported
  - Both Cat-1 and Cat-2 is supported for Nexus CT

 -Solution
  - pass sdp version as parameter
  - update sdp records for avrcp controller in case of client
    profiles being enabled
  - BTA_AV_FEAT_BROWSE flag was incorrecly set during AV registration
    causing AVRCP TG version to upgrade to 1.4 even though browsing
    feature is not supported.
  - Use AVRC_CTLR_INCLUDED feature flag instead of AVRC_ADV_CTRL_INCLUDED
    for guarding Avrcp controller code in build/parse apis for
    command/response
  - update categories supported for CT properly for mobile phone config

Bug: b/28149547

Change-Id: I3ff4082453a2624a72d8f152d75af83a8efb4937

8 years agovendor_libs: linux: Fix build am: 2c3ce4a
Cristian Iorga [Fri, 15 Apr 2016 15:07:24 +0000 (15:07 +0000)]
vendor_libs: linux: Fix build am: 2c3ce4a
am: c5e026c

* commit 'c5e026c3deae9877b508b4bcea1db688fdf7b93d':
  vendor_libs: linux: Fix build

Change-Id: I05cd040314f1928291d0420106ef9f64e15944ef

8 years agovendor_libs: linux: Fix build
Cristian Iorga [Fri, 15 Apr 2016 15:04:22 +0000 (15:04 +0000)]
vendor_libs: linux: Fix build
am: 2c3ce4a

* commit '2c3ce4ab59a0026e790af078286f82c6975524b9':
  vendor_libs: linux: Fix build

Change-Id: I29286f779abbb456e9f4329a7ce71076b99bbe2a

8 years agovendor_libs: linux: Fix build
Cristian Iorga [Thu, 14 Apr 2016 08:00:28 +0000 (11:00 +0300)]
vendor_libs: linux: Fix build

LOG_DEBUG, LOG_VERBOSE definition changed in libosi.
This triggers:
"error: use of undeclared identifier 'true'" at
build time. Fixed by the inclusion of stdbool.h.

Change-Id: Ie2ed0d6b07bc28c26669b19a2584ea248e2782a9
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
8 years agoMerge "HID: Fix regression caused by commit "3a2c2d61"" am: 153d3e4
Treehugger Robot [Thu, 14 Apr 2016 20:42:10 +0000 (20:42 +0000)]
Merge "HID: Fix regression caused by commit "3a2c2d61"" am: 153d3e4
am: 7a0f573

* commit '7a0f573660989a94e264f56473eafaafc5be5ef2':
  HID: Fix regression caused by commit "3a2c2d61"

Change-Id: Ie0f710fe50e9ae3984fca9ae24438703f33b52b8