OSDN Git Service

android-x86/system-bt.git
7 years agoReplace BD_ADDR with bt_bdaddr_t in RFCOMM related code am: 1979fa31d2 am: fe80f3379e...
Jakub Pawlowski [Tue, 20 Jun 2017 05:09:44 +0000 (05:09 +0000)]
Replace BD_ADDR with bt_bdaddr_t in RFCOMM related code am: 1979fa31d2 am: fe80f3379e am: cfca9088c9
am: c71fc59966

Change-Id: I8ec802516760df532cc55bb1c509c2131225878c

7 years agoReplace BD_ADDR with bt_bdaddr_t in SDP and A2DP related code am: 135b7f68e4 am:...
Jakub Pawlowski [Tue, 20 Jun 2017 05:09:28 +0000 (05:09 +0000)]
Replace BD_ADDR with bt_bdaddr_t in SDP and A2DP related code am: 135b7f68e4 am: 2fded74ead am: 0c1d59b9e2
am: 5afd415320

Change-Id: I8944d7e4328ae63ac2fdac3d8916ca7bbb6bc244

7 years agoReplace BD_ADDR with bt_bdaddr_t in hf client related code am: 744eeca761 am: a1a3b57...
Jakub Pawlowski [Tue, 20 Jun 2017 05:09:17 +0000 (05:09 +0000)]
Replace BD_ADDR with bt_bdaddr_t in hf client related code am: 744eeca761 am: a1a3b57f89 am: 13dee52fa6
am: ecb590f7af

Change-Id: I12c2f3e02644081dbe59331d3e9e4eba0f81bc63

7 years agoReplace BD_ADDR with bt_bdaddr_t in JV related code am: a09c348200 am: 505b932270...
Jakub Pawlowski [Tue, 20 Jun 2017 05:09:03 +0000 (05:09 +0000)]
Replace BD_ADDR with bt_bdaddr_t in JV related code am: a09c348200 am: 505b932270 am: a35ee7b2a7
am: 56bb481505

Change-Id: Iff6a2e798e17aa1aa56cb5f9e3c3f14764784b71

7 years agouse bt_bdaddr_t instead of BD_ADDR in PAN related code am: a83ac12406 am: 3329421b10...
Jakub Pawlowski [Tue, 20 Jun 2017 05:08:50 +0000 (05:08 +0000)]
use bt_bdaddr_t instead of BD_ADDR in PAN related code am: a83ac12406 am: 3329421b10 am: 76da962655
am: 238f6d2622

Change-Id: I0efc8eb661d7571661689a8a7c247f20eb729e34

7 years agoReplace BD_ADDR with bt_bdaddr_t in HL related code am: 50cf52cf6b am: 60fc7cb9d2...
Jakub Pawlowski [Tue, 20 Jun 2017 05:08:36 +0000 (05:08 +0000)]
Replace BD_ADDR with bt_bdaddr_t in HL related code am: 50cf52cf6b am: 60fc7cb9d2 am: af860a7d46
am: 6a4b33891f

Change-Id: I1e41d0b231408eadc82f61b2790cb7c0d6d1069f

7 years agoUse bt_bdaddr_t instead of BD_ADDR in AVDT related code am: 903c16685e am: cd1f80f7c5...
Jakub Pawlowski [Tue, 20 Jun 2017 05:08:21 +0000 (05:08 +0000)]
Use bt_bdaddr_t instead of BD_ADDR in AVDT related code am: 903c16685e am: cd1f80f7c5 am: f240e0c35d
am: 1f661fb3a9

Change-Id: Iec399b876db9d17fb3006b1b5f15f0159d53ac35

7 years agoGet rid of no longer necessary bt_bdaddr_t helpers am: 6da40f9782 am: aa218ace9b...
Jakub Pawlowski [Tue, 20 Jun 2017 05:08:07 +0000 (05:08 +0000)]
Get rid of no longer necessary bt_bdaddr_t helpers am: 6da40f9782 am: aa218ace9b am: 88bc74bc04
am: 746782d1d0

Change-Id: I5c6e128292ddbaa00b8e85c335d37035a3ea82ef

7 years agoAdd a mechanism to avoid using AVDTP RECONFIGURE for blacklisted devices am: e91297a4...
Pavlin Radoslavov [Tue, 20 Jun 2017 05:07:52 +0000 (05:07 +0000)]
Add a mechanism to avoid using AVDTP RECONFIGURE for blacklisted devices am: e91297a4d1 am: 469048f14e am: e1c25acd8b
am: 7f757ad5a2

Change-Id: Ic348e01f3b7c72831d4b45bdab2d820ca223e8ee

7 years agoReplace BD_ADDR with bt_bdaddr_t in RFCOMM related code am: 1979fa31d2 am: fe80f3379e
Jakub Pawlowski [Tue, 20 Jun 2017 05:02:19 +0000 (05:02 +0000)]
Replace BD_ADDR with bt_bdaddr_t in RFCOMM related code am: 1979fa31d2 am: fe80f3379e
am: cfca9088c9

Change-Id: Ia463aa2cc3b1cd68b3681265656b7df5a71e9194

7 years agoReplace BD_ADDR with bt_bdaddr_t in SDP and A2DP related code am: 135b7f68e4 am:...
Jakub Pawlowski [Tue, 20 Jun 2017 05:02:05 +0000 (05:02 +0000)]
Replace BD_ADDR with bt_bdaddr_t in SDP and A2DP related code am: 135b7f68e4 am: 2fded74ead
am: 0c1d59b9e2

Change-Id: Ie39a7650a8d1edaa9588c307aab895387c504777

7 years agoReplace BD_ADDR with bt_bdaddr_t in hf client related code am: 744eeca761 am: a1a3b57f89
Jakub Pawlowski [Tue, 20 Jun 2017 05:01:50 +0000 (05:01 +0000)]
Replace BD_ADDR with bt_bdaddr_t in hf client related code am: 744eeca761 am: a1a3b57f89
am: 13dee52fa6

Change-Id: I257340fa724f4d0023a62eceb5cb4c81c8d014fe

7 years agoReplace BD_ADDR with bt_bdaddr_t in JV related code am: a09c348200 am: 505b932270
Jakub Pawlowski [Tue, 20 Jun 2017 05:01:35 +0000 (05:01 +0000)]
Replace BD_ADDR with bt_bdaddr_t in JV related code am: a09c348200 am: 505b932270
am: a35ee7b2a7

Change-Id: I91e1896f61cbee09957e7423560214161290d0fc

7 years agouse bt_bdaddr_t instead of BD_ADDR in PAN related code am: a83ac12406 am: 3329421b10
Jakub Pawlowski [Tue, 20 Jun 2017 05:01:21 +0000 (05:01 +0000)]
use bt_bdaddr_t instead of BD_ADDR in PAN related code am: a83ac12406 am: 3329421b10
am: 76da962655

Change-Id: I5f6649b57637d70259314becfe5202d962e0d6c7

7 years agoReplace BD_ADDR with bt_bdaddr_t in HL related code am: 50cf52cf6b am: 60fc7cb9d2
Jakub Pawlowski [Tue, 20 Jun 2017 05:01:08 +0000 (05:01 +0000)]
Replace BD_ADDR with bt_bdaddr_t in HL related code am: 50cf52cf6b am: 60fc7cb9d2
am: af860a7d46

Change-Id: I3914636e28896cc650460cb44bdaecab43ce218c

7 years agoUse bt_bdaddr_t instead of BD_ADDR in AVDT related code am: 903c16685e am: cd1f80f7c5
Jakub Pawlowski [Tue, 20 Jun 2017 05:00:51 +0000 (05:00 +0000)]
Use bt_bdaddr_t instead of BD_ADDR in AVDT related code am: 903c16685e am: cd1f80f7c5
am: f240e0c35d

Change-Id: Ia2b1f0715cf9d20a05e3bbebabf810e10ef8a45b

7 years agoGet rid of no longer necessary bt_bdaddr_t helpers am: 6da40f9782 am: aa218ace9b
Jakub Pawlowski [Tue, 20 Jun 2017 05:00:37 +0000 (05:00 +0000)]
Get rid of no longer necessary bt_bdaddr_t helpers am: 6da40f9782 am: aa218ace9b
am: 88bc74bc04

Change-Id: Ia85b8c247b9134d0bdb9f9d5bfdb15216e4e88fe

7 years agoAdd a mechanism to avoid using AVDTP RECONFIGURE for blacklisted devices am: e91297a4...
Pavlin Radoslavov [Tue, 20 Jun 2017 05:00:23 +0000 (05:00 +0000)]
Add a mechanism to avoid using AVDTP RECONFIGURE for blacklisted devices am: e91297a4d1 am: 469048f14e
am: e1c25acd8b

Change-Id: I66949fc1dc74fa0d79c44fe99f97b9295afb6456

7 years agoReplace BD_ADDR with bt_bdaddr_t in RFCOMM related code am: 1979fa31d2
Jakub Pawlowski [Tue, 20 Jun 2017 04:55:10 +0000 (04:55 +0000)]
Replace BD_ADDR with bt_bdaddr_t in RFCOMM related code am: 1979fa31d2
am: fe80f3379e

Change-Id: I6deb3a93035d026666f86822ec2e677e4bbb7d7a

7 years agoReplace BD_ADDR with bt_bdaddr_t in SDP and A2DP related code am: 135b7f68e4
Jakub Pawlowski [Tue, 20 Jun 2017 04:54:57 +0000 (04:54 +0000)]
Replace BD_ADDR with bt_bdaddr_t in SDP and A2DP related code am: 135b7f68e4
am: 2fded74ead

Change-Id: I1ffd4ac27af3f73ad5606eb1f32617b256c4851a

7 years agoReplace BD_ADDR with bt_bdaddr_t in hf client related code am: 744eeca761
Jakub Pawlowski [Tue, 20 Jun 2017 04:54:45 +0000 (04:54 +0000)]
Replace BD_ADDR with bt_bdaddr_t in hf client related code am: 744eeca761
am: a1a3b57f89

Change-Id: I0c1da4167466732cdf7419b6ffd6cd8e629f6b23

7 years agoReplace BD_ADDR with bt_bdaddr_t in JV related code am: a09c348200
Jakub Pawlowski [Tue, 20 Jun 2017 04:54:32 +0000 (04:54 +0000)]
Replace BD_ADDR with bt_bdaddr_t in JV related code am: a09c348200
am: 505b932270

Change-Id: Ie23eb16c7beb8ced5f3038500f4a1da27ff7de8d

7 years agouse bt_bdaddr_t instead of BD_ADDR in PAN related code am: a83ac12406
Jakub Pawlowski [Tue, 20 Jun 2017 04:54:19 +0000 (04:54 +0000)]
use bt_bdaddr_t instead of BD_ADDR in PAN related code am: a83ac12406
am: 3329421b10

Change-Id: I495bf9e5e8aafcf5f83a709f94b2c3223edd6dd3

7 years agoReplace BD_ADDR with bt_bdaddr_t in HL related code am: 50cf52cf6b
Jakub Pawlowski [Tue, 20 Jun 2017 04:54:02 +0000 (04:54 +0000)]
Replace BD_ADDR with bt_bdaddr_t in HL related code am: 50cf52cf6b
am: 60fc7cb9d2

Change-Id: Ibbf7b6b43a36a002aff31476c1042e2637ccf5f1

7 years agoUse bt_bdaddr_t instead of BD_ADDR in AVDT related code am: 903c16685e
Jakub Pawlowski [Tue, 20 Jun 2017 04:53:46 +0000 (04:53 +0000)]
Use bt_bdaddr_t instead of BD_ADDR in AVDT related code am: 903c16685e
am: cd1f80f7c5

Change-Id: I470ca812488f0ccb383e9f94ce8055b30c504f64

7 years agoGet rid of no longer necessary bt_bdaddr_t helpers am: 6da40f9782
Jakub Pawlowski [Tue, 20 Jun 2017 04:53:31 +0000 (04:53 +0000)]
Get rid of no longer necessary bt_bdaddr_t helpers am: 6da40f9782
am: aa218ace9b

Change-Id: I394254f20c044bb1f9e6d4e03131ce980babb153

7 years agoAdd a mechanism to avoid using AVDTP RECONFIGURE for blacklisted devices am: e91297a4d1
Pavlin Radoslavov [Tue, 20 Jun 2017 04:53:09 +0000 (04:53 +0000)]
Add a mechanism to avoid using AVDTP RECONFIGURE for blacklisted devices am: e91297a4d1
am: 469048f14e

Change-Id: I4ed19391b7b5e2a1f90a510deba58f9de765020f

7 years agoReplace BD_ADDR with bt_bdaddr_t in RFCOMM related code
Jakub Pawlowski [Tue, 20 Jun 2017 01:23:05 +0000 (01:23 +0000)]
Replace BD_ADDR with bt_bdaddr_t in RFCOMM related code
am: 1979fa31d2

Change-Id: I7e0547cb91deec7c509912efa795a337e1974d3e

7 years agoReplace BD_ADDR with bt_bdaddr_t in SDP and A2DP related code
Jakub Pawlowski [Tue, 20 Jun 2017 01:19:49 +0000 (01:19 +0000)]
Replace BD_ADDR with bt_bdaddr_t in SDP and A2DP related code
am: 135b7f68e4

Change-Id: I0b233b1c26cfdc2e34a54829f5225051e40ff19f

7 years agoReplace BD_ADDR with bt_bdaddr_t in hf client related code
Jakub Pawlowski [Tue, 20 Jun 2017 01:19:36 +0000 (01:19 +0000)]
Replace BD_ADDR with bt_bdaddr_t in hf client related code
am: 744eeca761

Change-Id: I93d760b2d394d2b85d79011e4d5ffa1d5d58074f

7 years agoReplace BD_ADDR with bt_bdaddr_t in JV related code
Jakub Pawlowski [Tue, 20 Jun 2017 01:18:04 +0000 (01:18 +0000)]
Replace BD_ADDR with bt_bdaddr_t in JV related code
am: a09c348200

Change-Id: I6868cae7d9d5850e1111c81350b1c3bed6cf662a

7 years agouse bt_bdaddr_t instead of BD_ADDR in PAN related code
Jakub Pawlowski [Tue, 20 Jun 2017 01:17:50 +0000 (01:17 +0000)]
use bt_bdaddr_t instead of BD_ADDR in PAN related code
am: a83ac12406

Change-Id: Ied1db09af07d2f3b9fa7da73c3c757acc9c1542d

7 years agoReplace BD_ADDR with bt_bdaddr_t in RFCOMM related code
Jakub Pawlowski [Fri, 16 Jun 2017 17:46:47 +0000 (10:46 -0700)]
Replace BD_ADDR with bt_bdaddr_t in RFCOMM related code

Test: compilation test
Change-Id: I591049f0f4ea9fa60b1b9f0271e1a906a2a06f30

7 years agoReplace BD_ADDR with bt_bdaddr_t in SDP and A2DP related code
Jakub Pawlowski [Fri, 16 Jun 2017 17:00:46 +0000 (10:00 -0700)]
Replace BD_ADDR with bt_bdaddr_t in SDP and A2DP related code

Test: compilation test
Change-Id: I59a69d56377d38f349def6b24aa5c7d5a3d4f859

7 years agoReplace BD_ADDR with bt_bdaddr_t in HL related code
Jakub Pawlowski [Tue, 20 Jun 2017 01:17:37 +0000 (01:17 +0000)]
Replace BD_ADDR with bt_bdaddr_t in HL related code
am: 50cf52cf6b

Change-Id: I3aa7a7be02704e7dcce2078f989d156eab65742d

7 years agoUse bt_bdaddr_t instead of BD_ADDR in AVDT related code
Jakub Pawlowski [Tue, 20 Jun 2017 01:17:22 +0000 (01:17 +0000)]
Use bt_bdaddr_t instead of BD_ADDR in AVDT related code
am: 903c16685e

Change-Id: I2fc7d8e2cc826afa2c210b68d2679f16651aa8bd

7 years agoGet rid of no longer necessary bt_bdaddr_t helpers
Jakub Pawlowski [Tue, 20 Jun 2017 01:17:09 +0000 (01:17 +0000)]
Get rid of no longer necessary bt_bdaddr_t helpers
am: 6da40f9782

Change-Id: Iecdea5cdaad1422b37cd0ab6304ad72591f2a2cb

7 years agoReplace BD_ADDR with bt_bdaddr_t in hf client related code
Jakub Pawlowski [Fri, 16 Jun 2017 16:35:52 +0000 (09:35 -0700)]
Replace BD_ADDR with bt_bdaddr_t in hf client related code

Test: compilation test
Change-Id: Iee6b07b6a919e5d061a04cb3d919166661e673e8

7 years agoReplace BD_ADDR with bt_bdaddr_t in JV related code
Jakub Pawlowski [Fri, 16 Jun 2017 15:42:05 +0000 (08:42 -0700)]
Replace BD_ADDR with bt_bdaddr_t in JV related code

Test: compilation test
Change-Id: Ie0cf491506ebb898ba968586048d2b58248ba112

7 years agouse bt_bdaddr_t instead of BD_ADDR in PAN related code
Jakub Pawlowski [Thu, 15 Jun 2017 18:53:33 +0000 (11:53 -0700)]
use bt_bdaddr_t instead of BD_ADDR in PAN related code

Test: compilation test
Change-Id: I1fced7529f3d91bf429c179cf4eba5157b35c8fd

7 years agoReplace BD_ADDR with bt_bdaddr_t in HL related code
Jakub Pawlowski [Thu, 15 Jun 2017 18:10:08 +0000 (11:10 -0700)]
Replace BD_ADDR with bt_bdaddr_t in HL related code

Test: compilation test
Change-Id: Ife04e0839a4a6f61b77a60f49bf44ab5bdacc874

7 years agoUse bt_bdaddr_t instead of BD_ADDR in AVDT related code
Jakub Pawlowski [Wed, 14 Jun 2017 00:53:54 +0000 (17:53 -0700)]
Use bt_bdaddr_t instead of BD_ADDR in AVDT related code

Test: compilation test
Change-Id: Ibdfd79972d2270303cf1d2e0da26b23d8d5d62d5

7 years agoGet rid of no longer necessary bt_bdaddr_t helpers
Jakub Pawlowski [Thu, 15 Jun 2017 14:16:16 +0000 (07:16 -0700)]
Get rid of no longer necessary bt_bdaddr_t helpers

This are now implemented by the "==" and copy operator

Test: compilation test

Change-Id: I4438c54a9238ad9f3083f7f8a8159d1b7f0f9b32

7 years agoAdd a mechanism to avoid using AVDTP RECONFIGURE for blacklisted devices
Pavlin Radoslavov [Tue, 20 Jun 2017 00:45:03 +0000 (00:45 +0000)]
Add a mechanism to avoid using AVDTP RECONFIGURE for blacklisted devices
am: e91297a4d1

Change-Id: I13ffe7aeebb3ef047a0bcc67ed99130153960195

7 years agoAdd a mechanism to avoid using AVDTP RECONFIGURE for blacklisted devices
Pavlin Radoslavov [Mon, 19 Jun 2017 19:44:11 +0000 (12:44 -0700)]
Add a mechanism to avoid using AVDTP RECONFIGURE for blacklisted devices

Some carkits report SUCCESS for AVDTP RECONFIGURE commands when
changing A2DP codec configuration. However, there is no audio coming
from the carkit.

Bug: 37625892
Test: Manual - A2DP Codec reconfiguration while streaming audio
Change-Id: I01f37a2514e490986a20e96ace78c92463403396

7 years agoGet rid of last mentions of BD_ADDR from btif. am: 760f967f47 am: c04c9a1c24 am:...
Jakub Pawlowski [Fri, 16 Jun 2017 19:14:03 +0000 (19:14 +0000)]
Get rid of last mentions of BD_ADDR from btif. am: 760f967f47 am: c04c9a1c24 am: 50f7623bfa
am: 5ec6bf7a5f

Change-Id: I8d29ab0848916c07e0ef99284e5fe539da0c40f8

7 years agoGet rid of last mentions of BD_ADDR from btif. am: 760f967f47 am: c04c9a1c24
Jakub Pawlowski [Fri, 16 Jun 2017 19:07:25 +0000 (19:07 +0000)]
Get rid of last mentions of BD_ADDR from btif. am: 760f967f47 am: c04c9a1c24
am: 50f7623bfa

Change-Id: Ic943bb6ec4711f2ba052a9990b88c772084f190b

7 years agoGet rid of last mentions of BD_ADDR from btif. am: 760f967f47
Jakub Pawlowski [Fri, 16 Jun 2017 19:00:51 +0000 (19:00 +0000)]
Get rid of last mentions of BD_ADDR from btif. am: 760f967f47
am: c04c9a1c24

Change-Id: I412fa109306785ed34025604219ffd0c95383215

7 years agoGet rid of last mentions of BD_ADDR from btif.
Jakub Pawlowski [Fri, 16 Jun 2017 18:54:24 +0000 (18:54 +0000)]
Get rid of last mentions of BD_ADDR from btif.
am: 760f967f47

Change-Id: I3f8ba6e54c5ae32208c9f2e3e4eb7d7db481ce08

7 years agoGet rid of last mentions of BD_ADDR from btif.
Jakub Pawlowski [Thu, 15 Jun 2017 21:48:35 +0000 (14:48 -0700)]
Get rid of last mentions of BD_ADDR from btif.

Test: compilation test
Change-Id: I22f6b01b1a69eca96b05319692a2eb82ecc186a8

7 years agoMerge "Bluetooth 5: Update LE2M implementation through DM (3/3)" am: a0e18e3982 am...
Avish Shah [Thu, 15 Jun 2017 18:04:53 +0000 (18:04 +0000)]
Merge "Bluetooth 5: Update LE2M implementation through DM (3/3)" am: a0e18e3982 am: fd546c85ed am: cc8e0dd7a7
am: 43702e6194

Change-Id: Id4c68d6d491bb055973139bcca58efb432733ff7

7 years agoFix btm_ble_get_acl_remote_addr am: a6fad9c196 am: 659019dcd2 am: adc3ca2e1d
Jakub Pawlowski [Thu, 15 Jun 2017 18:04:33 +0000 (18:04 +0000)]
Fix btm_ble_get_acl_remote_addr am: a6fad9c196 am: 659019dcd2 am: adc3ca2e1d
am: 648583c8f9

Change-Id: Ifda0f49d6c9c43ecbd1671be7c29b3dc96b94b36

7 years agoMerge "Bluetooth 5: Update LE2M implementation through DM (3/3)" am: a0e18e3982 am...
Avish Shah [Thu, 15 Jun 2017 18:01:21 +0000 (18:01 +0000)]
Merge "Bluetooth 5: Update LE2M implementation through DM (3/3)" am: a0e18e3982 am: fd546c85ed
am: cc8e0dd7a7

Change-Id: I9f5b4fce422d7762baddfa50f79a5aed1b8fcea5

7 years agoFix btm_ble_get_acl_remote_addr am: a6fad9c196 am: 659019dcd2
Jakub Pawlowski [Thu, 15 Jun 2017 18:01:03 +0000 (18:01 +0000)]
Fix btm_ble_get_acl_remote_addr am: a6fad9c196 am: 659019dcd2
am: adc3ca2e1d

Change-Id: I2a7cb00650c389b7055d9bba9f4bb33cf1308e43

7 years agoMerge "Bluetooth 5: Update LE2M implementation through DM (3/3)" am: a0e18e3982
Avish Shah [Thu, 15 Jun 2017 17:58:28 +0000 (17:58 +0000)]
Merge "Bluetooth 5: Update LE2M implementation through DM (3/3)" am: a0e18e3982
am: fd546c85ed

Change-Id: I86f50965478ce180ea3afea9c31078c64b5f2399

7 years agoFix btm_ble_get_acl_remote_addr am: a6fad9c196
Jakub Pawlowski [Thu, 15 Jun 2017 17:58:08 +0000 (17:58 +0000)]
Fix btm_ble_get_acl_remote_addr am: a6fad9c196
am: 659019dcd2

Change-Id: I5003e9dc368118580d9b12e23508800f027c0aa0

7 years agoMerge "Bluetooth 5: Update LE2M implementation through DM (3/3)"
Avish Shah [Thu, 15 Jun 2017 17:53:41 +0000 (17:53 +0000)]
Merge "Bluetooth 5: Update LE2M implementation through DM (3/3)"
am: a0e18e3982

Change-Id: Id01de29aa9a9b37e6cbbff0cd0a047416b84c5be

7 years agoFix btm_ble_get_acl_remote_addr
Jakub Pawlowski [Thu, 15 Jun 2017 17:53:19 +0000 (17:53 +0000)]
Fix btm_ble_get_acl_remote_addr
am: a6fad9c196

Change-Id: I97fb9f6ad72a2b7aecbf7bb9c3fdcffcb8d786f9

7 years agoMerge "Bluetooth 5: Update LE2M implementation through DM (3/3)"
Treehugger Robot [Thu, 15 Jun 2017 17:50:28 +0000 (17:50 +0000)]
Merge "Bluetooth 5: Update LE2M implementation through DM (3/3)"

7 years agoFix bad comparison in btm_ble_refresh_local_resolvable_private_addr am: 3a30c69ead...
Jakub Pawlowski [Thu, 15 Jun 2017 17:23:47 +0000 (17:23 +0000)]
Fix bad comparison in btm_ble_refresh_local_resolvable_private_addr am: 3a30c69ead am: 5c79608b77 am: f77af22c70
am: a352d871f1

Change-Id: I924133d18aa62d79b157e396ed32a07f209773a6

7 years agoFix bad comparison in btm_ble_refresh_local_resolvable_private_addr am: 3a30c69ead...
Jakub Pawlowski [Thu, 15 Jun 2017 17:20:47 +0000 (17:20 +0000)]
Fix bad comparison in btm_ble_refresh_local_resolvable_private_addr am: 3a30c69ead am: 5c79608b77
am: f77af22c70

Change-Id: I20eb251a13a7442ad30b9768264f40781bdc05b2

7 years agoFix bad comparison in btm_ble_refresh_local_resolvable_private_addr am: 3a30c69ead
Jakub Pawlowski [Thu, 15 Jun 2017 17:18:23 +0000 (17:18 +0000)]
Fix bad comparison in btm_ble_refresh_local_resolvable_private_addr am: 3a30c69ead
am: 5c79608b77

Change-Id: I81358805d5a81f85de21708b1a7b700c6aa5e01a

7 years agoFix bad comparison in btm_ble_refresh_local_resolvable_private_addr
Jakub Pawlowski [Thu, 15 Jun 2017 17:14:16 +0000 (17:14 +0000)]
Fix bad comparison in btm_ble_refresh_local_resolvable_private_addr
am: 3a30c69ead

Change-Id: Ib7e23f745c467e63b1099a1d922ae6551876c51a

7 years agoBluetooth 5: Update LE2M implementation through DM (3/3)
Avish Shah [Thu, 13 Apr 2017 11:45:20 +0000 (17:15 +0530)]
Bluetooth 5: Update LE2M implementation through DM (3/3)

This patch moves LE2M implementation to the DM instead of tied to GATT.

Below are the reasons to make this change:
1) Per link setting usually be done under DM, such as link policy etc.
2) In the future, if LECOC is coming to use in more profile/apps,
   we can not rely on GATT API for these. Separate API should be required.
3) we could have multiple logical GATT user on top of the same link.
4) Also this will avoid duplicating all the APIs on GATTC and GATTS.

Bug: 37586939
Test: sl4a PhyTest passed
Change-Id: I7330be85d1bb98a4cc66b69462b01c23c9375362

7 years agoFix btm_ble_get_acl_remote_addr
Jakub Pawlowski [Thu, 15 Jun 2017 15:32:56 +0000 (08:32 -0700)]
Fix btm_ble_get_acl_remote_addr

Second parameter, conn_addr, should be assigned the value. Right now we
only modify the place in memory where the pointer points to.
This bug was introduced in commit
c2276b06572ab6fc1f900fbb1f41087e77d47e2a

Test: compilation test
Change-Id: If52a6b02f4ad0d88a6461a4d76e4f8317dcaac9f

7 years agoFix bad comparison in btm_ble_refresh_local_resolvable_private_addr
Jakub Pawlowski [Thu, 15 Jun 2017 15:22:24 +0000 (08:22 -0700)]
Fix bad comparison in btm_ble_refresh_local_resolvable_private_addr

This issue was introduced while switching from BD_ADDR to bt_bdaddr_t

Test: Pairing with BLE mouse
Change-Id: I6f6e2386cbd8449bd38d65d1d9c1c5a0032f2156

7 years agoFix build breakage from change I8d1bd6914aec55bb53495b1d0d5e3d37b86865e6 am: 2e7e691a...
Ivan Podogov [Wed, 14 Jun 2017 15:13:56 +0000 (15:13 +0000)]
Fix build breakage from change I8d1bd6914aec55bb53495b1d0d5e3d37b86865e6 am: 2e7e691aea am: 0ec36ada4a am: 2158924bd6
am: b92d0f9396

Change-Id: I3409d0e3cf6c1aeb805505fd0f30c17dd1f1bb54

7 years agoFix build breakage from change I8d1bd6914aec55bb53495b1d0d5e3d37b86865e6 am: 2e7e691a...
Ivan Podogov [Wed, 14 Jun 2017 15:09:10 +0000 (15:09 +0000)]
Fix build breakage from change I8d1bd6914aec55bb53495b1d0d5e3d37b86865e6 am: 2e7e691aea am: 0ec36ada4a
am: 2158924bd6

Change-Id: I1886c11909838d10202fa584254874a9e7769b7d

7 years agoFix build breakage from change I8d1bd6914aec55bb53495b1d0d5e3d37b86865e6 am: 2e7e691aea
Ivan Podogov [Wed, 14 Jun 2017 14:59:52 +0000 (14:59 +0000)]
Fix build breakage from change I8d1bd6914aec55bb53495b1d0d5e3d37b86865e6 am: 2e7e691aea
am: 0ec36ada4a

Change-Id: I70f66f7efd581014fe1c8c40cd98a0241e4d861e

7 years agoFix build breakage from change I8d1bd6914aec55bb53495b1d0d5e3d37b86865e6
Ivan Podogov [Wed, 14 Jun 2017 14:56:21 +0000 (14:56 +0000)]
Fix build breakage from change I8d1bd6914aec55bb53495b1d0d5e3d37b86865e6
am: 2e7e691aea

Change-Id: Id89930a5acdf45cea5bb22c1e25854476326bbd2

7 years agoFix build breakage from change I8d1bd6914aec55bb53495b1d0d5e3d37b86865e6
Ivan Podogov [Wed, 14 Jun 2017 10:40:36 +0000 (11:40 +0100)]
Fix build breakage from change I8d1bd6914aec55bb53495b1d0d5e3d37b86865e6

Test: manual build
Change-Id: I7d37ee188d2258e3a52c700c7748b53804cb1c0a

7 years agoFix HID crashing on no descriptor am: a87ca9a392 am: 1243f7cd1d
Jakub Pawlowski [Wed, 14 Jun 2017 02:18:51 +0000 (02:18 +0000)]
Fix HID crashing on no descriptor am: a87ca9a392 am: 1243f7cd1d
am: 3926afc2f1

Change-Id: Ica9667358b5cb50b2bf92ed19b3bab4ec74c02ce

7 years agoFix HID crashing on no descriptor am: a87ca9a392 am: 6ed98a56ae
Jakub Pawlowski [Wed, 14 Jun 2017 02:18:36 +0000 (02:18 +0000)]
Fix HID crashing on no descriptor am: a87ca9a392 am: 6ed98a56ae
am: d94b334de6

Change-Id: Id416f446386c56242df5e249132b9c3c29aea57a

7 years agoFix HID crashing on no descriptor am: a87ca9a392
Jakub Pawlowski [Wed, 14 Jun 2017 02:12:02 +0000 (02:12 +0000)]
Fix HID crashing on no descriptor am: a87ca9a392
am: 1243f7cd1d

Change-Id: I3f71329015f6b9e8562aabee591e0d65e03dd3b6

7 years agoFix HID crashing on no descriptor am: a87ca9a392
Jakub Pawlowski [Wed, 14 Jun 2017 02:07:28 +0000 (02:07 +0000)]
Fix HID crashing on no descriptor am: a87ca9a392
am: 6ed98a56ae

Change-Id: I6a8cc2f020eb4cc56f9cdf0829ed56355c50d128

7 years agoFix HID crashing on no descriptor
Jakub Pawlowski [Wed, 14 Jun 2017 02:03:08 +0000 (02:03 +0000)]
Fix HID crashing on no descriptor
am: a87ca9a392

Change-Id: I3ce60e5981bf1111b1aa728cd1c65270f88a8f27

7 years agoFix HID crashing on no descriptor
Jakub Pawlowski [Wed, 14 Jun 2017 02:03:08 +0000 (02:03 +0000)]
Fix HID crashing on no descriptor
am: a87ca9a392

Change-Id: Ide869d7b5cbf08196a77f4e8516f67b8dc2ef628

7 years agoUse bt_bdaddr_t instead of BD_ADDR in HID related code am: 011a619519 am: 924f10e2e0...
Jakub Pawlowski [Wed, 14 Jun 2017 01:15:29 +0000 (01:15 +0000)]
Use bt_bdaddr_t instead of BD_ADDR in HID related code am: 011a619519 am: 924f10e2e0 am: d811be0da4
am: 8b1e97f51c

Change-Id: Ia94dee59b13312c7492139720845a7d2b0dc175b

7 years agoUse bt_bdaddr_t instead of BD_ADDR in HID related code am: 011a619519 am: 924f10e2e0
Jakub Pawlowski [Wed, 14 Jun 2017 01:11:10 +0000 (01:11 +0000)]
Use bt_bdaddr_t instead of BD_ADDR in HID related code am: 011a619519 am: 924f10e2e0
am: d811be0da4

Change-Id: I97ef8000818e31bd0153349407c85bff94a0fd55

7 years agoUse bt_bdaddr_t instead of BD_ADDR in HID related code am: 011a619519
Jakub Pawlowski [Wed, 14 Jun 2017 01:07:35 +0000 (01:07 +0000)]
Use bt_bdaddr_t instead of BD_ADDR in HID related code am: 011a619519
am: 924f10e2e0

Change-Id: Ie93a46d86852868000feeb1f85f4b7e0982cea15

7 years agoUse bt_bdaddr_t instead of BD_ADDR in HID related code
Jakub Pawlowski [Wed, 14 Jun 2017 01:03:35 +0000 (01:03 +0000)]
Use bt_bdaddr_t instead of BD_ADDR in HID related code
am: 011a619519

Change-Id: Ib48932d997cad9857c9e974984638068da29f232

7 years agoUse bt_bdaddr_t instead of BD_ADDR in HID related code
Jakub Pawlowski [Fri, 9 Jun 2017 23:00:25 +0000 (16:00 -0700)]
Use bt_bdaddr_t instead of BD_ADDR in HID related code

Test: compilation test, sl4a GattReadTest
Change-Id: I4e91375746fbd966608a830ff71de79be2b99e6c

7 years agoFix HID crashing on no descriptor am: 378f095217 am: f36f92aefa am: e6c4f61dac
Jakub Pawlowski [Wed, 14 Jun 2017 00:00:20 +0000 (00:00 +0000)]
Fix HID crashing on no descriptor am: 378f095217 am: f36f92aefa am: e6c4f61dac
am: 59419ea787

Change-Id: I1a332f39348f45ba8bcf96543f13213158c82ac7

7 years agoFix for fugu build am: 029fd8783b am: 2e6afeb3f5 am: fa7a5d8887
Jakub Pawlowski [Wed, 14 Jun 2017 00:00:03 +0000 (00:00 +0000)]
Fix for fugu build am: 029fd8783b am: 2e6afeb3f5 am: fa7a5d8887
am: 5fed739136

Change-Id: Ic98a31a430b0bc394f60db8f3b4028e3f48b8443

7 years agoUse bt_bdaddr_t instead of BD_ADDR am: c2276b0657 am: 47db4290c8 am: b7916890da
Jakub Pawlowski [Tue, 13 Jun 2017 23:59:47 +0000 (23:59 +0000)]
Use bt_bdaddr_t instead of BD_ADDR am: c2276b0657 am: 47db4290c8 am: b7916890da
am: 6e129305ea

Change-Id: I8c69a0c642d335b8c71d07f173ff77695a64b391

7 years agoFix HID crashing on no descriptor am: 378f095217 am: f36f92aefa
Jakub Pawlowski [Tue, 13 Jun 2017 23:58:46 +0000 (23:58 +0000)]
Fix HID crashing on no descriptor am: 378f095217 am: f36f92aefa
am: e6c4f61dac

Change-Id: I623742d931a28726ef0dbabea998a1a0ffc6e823

7 years agoFix for fugu build am: 029fd8783b am: 2e6afeb3f5
Jakub Pawlowski [Tue, 13 Jun 2017 23:58:30 +0000 (23:58 +0000)]
Fix for fugu build am: 029fd8783b am: 2e6afeb3f5
am: fa7a5d8887

Change-Id: I37600e046dfe86c9198d353750a2155de4fc210b

7 years agoFix HID crashing on no descriptor am: 378f095217
Jakub Pawlowski [Tue, 13 Jun 2017 23:55:17 +0000 (23:55 +0000)]
Fix HID crashing on no descriptor am: 378f095217
am: f36f92aefa

Change-Id: I7b0ccee964a5da893e6d1ab206dd159f59dcdafe

7 years agoFix for fugu build am: 029fd8783b
Jakub Pawlowski [Tue, 13 Jun 2017 23:55:01 +0000 (23:55 +0000)]
Fix for fugu build am: 029fd8783b
am: 2e6afeb3f5

Change-Id: Ib25a33c43730ad8b3edc44add81ae941143be51b

7 years agoFix HID crashing on no descriptor
Jakub Pawlowski [Tue, 13 Jun 2017 23:51:19 +0000 (23:51 +0000)]
Fix HID crashing on no descriptor
am: 378f095217

Change-Id: Idf28228a7f5ef8128baa1171f27be62a913b43c8

7 years agoFix for fugu build
Jakub Pawlowski [Tue, 13 Jun 2017 23:51:00 +0000 (23:51 +0000)]
Fix for fugu build
am: 029fd8783b

Change-Id: I1aa8e1ecc0964da835bd3795f99282cd23f3ff13

7 years agoFix HID crashing on no descriptor
Jakub Pawlowski [Tue, 13 Jun 2017 21:16:57 +0000 (14:16 -0700)]
Fix HID crashing on no descriptor

Bug: 62461796
Test: compilation test
Change-Id: Ic7b1fcc4b6f3c8680f1810679ed609f2691fa4aa

7 years agoFix HID crashing on no descriptor
Jakub Pawlowski [Tue, 13 Jun 2017 21:16:57 +0000 (14:16 -0700)]
Fix HID crashing on no descriptor

Bug: 62461796
Test: compilation test
Change-Id: Ic7b1fcc4b6f3c8680f1810679ed609f2691fa4aa

7 years agoFix for fugu build
Jakub Pawlowski [Tue, 13 Jun 2017 23:41:45 +0000 (16:41 -0700)]
Fix for fugu build

Test: compilation with BLE_PRIVACY_SPT=TRUE
Change-Id: I1765ad009368077bb4c0be9673a27a9df428f41f

7 years agoUse bt_bdaddr_t instead of BD_ADDR am: c2276b0657 am: 47db4290c8
Jakub Pawlowski [Tue, 13 Jun 2017 21:46:49 +0000 (21:46 +0000)]
Use bt_bdaddr_t instead of BD_ADDR am: c2276b0657 am: 47db4290c8
am: b7916890da

Change-Id: I7a395d7300f5d9cf39cca84e9b3c0b19e2c9b8a1

7 years agoMerge "Fix some includes" am: 107579ae93 am: c2eb752327 am: a295df0621
Bailey Forrest [Tue, 13 Jun 2017 21:44:30 +0000 (21:44 +0000)]
Merge "Fix some includes" am: 107579ae93 am: c2eb752327 am: a295df0621
am: 4e125a285f

Change-Id: I1d6b7b28e2f3f66214d7b6ce44b45ea30849ed98

7 years agoUse bt_bdaddr_t instead of BD_ADDR am: c2276b0657
Jakub Pawlowski [Tue, 13 Jun 2017 21:32:49 +0000 (21:32 +0000)]
Use bt_bdaddr_t instead of BD_ADDR am: c2276b0657
am: 47db4290c8

Change-Id: Ib4c1de8b99dd1f87a9e733d868f0a9beacdf9530

7 years agoUse bt_bdaddr_t instead of BD_ADDR
Jakub Pawlowski [Tue, 13 Jun 2017 21:28:48 +0000 (21:28 +0000)]
Use bt_bdaddr_t instead of BD_ADDR
am: c2276b0657

Change-Id: I133f28f3434a44fe72c322cd61706589b03ecec2

7 years agoUse bt_bdaddr_t instead of BD_ADDR
Jakub Pawlowski [Fri, 9 Jun 2017 23:00:25 +0000 (16:00 -0700)]
Use bt_bdaddr_t instead of BD_ADDR

Test: compilation test, sl4a GattReadTest
Change-Id: I8d1bd6914aec55bb53495b1d0d5e3d37b86865e6

7 years agoMerge "Fix some includes" am: 107579ae93 am: c2eb752327
Bailey Forrest [Tue, 13 Jun 2017 21:17:13 +0000 (21:17 +0000)]
Merge "Fix some includes" am: 107579ae93 am: c2eb752327
am: a295df0621

Change-Id: Ia123ff7b96fa07351083f9f5c8ff96ceb8e3bc1a