OSDN Git Service

android-x86/system-bt.git
7 years agoDisable 48.0kHz sampling rate for AAC - update the unit test am: 78120a1a24
Pavlin Radoslavov [Tue, 20 Jun 2017 16:49:40 +0000 (16:49 +0000)]
Disable 48.0kHz sampling rate for AAC - update the unit test am: 78120a1a24
am: 2a55cffdf4

Change-Id: I0733887483723c6e803a3f21221a0fdd5cdaf6de

7 years agoDisable 48.0kHz sampling rate for AAC - update the unit test am: 78120a1a24
Pavlin Radoslavov [Tue, 20 Jun 2017 16:49:10 +0000 (16:49 +0000)]
Disable 48.0kHz sampling rate for AAC - update the unit test am: 78120a1a24
am: c7ca419cf7

Change-Id: I86adbcc7e275d1dc95d6c97f0c1c818f6efae031

7 years agoDisable 48.0kHz sampling rate for AAC - update the unit test
Pavlin Radoslavov [Tue, 20 Jun 2017 16:46:40 +0000 (16:46 +0000)]
Disable 48.0kHz sampling rate for AAC - update the unit test
am: 78120a1a24

Change-Id: I1960ac4878a46a6e13669070f480a4b4d5243b4e

7 years agoDisable 48.0kHz sampling rate for AAC - update the unit test
Pavlin Radoslavov [Tue, 20 Jun 2017 16:46:40 +0000 (16:46 +0000)]
Disable 48.0kHz sampling rate for AAC - update the unit test
am: 78120a1a24

Change-Id: Ieb4ee6ed56ed5be7d797f493ce8c27cbbfd1c3ab

7 years agoMerge "Disable 48.0kHz sampling rate for AAC - update the unit test" am: 8fdac3b3e1...
Pavlin Radoslavov [Tue, 20 Jun 2017 16:30:40 +0000 (16:30 +0000)]
Merge "Disable 48.0kHz sampling rate for AAC - update the unit test" am: 8fdac3b3e1 am: 44e67085eb
am: c60f715a06

Change-Id: I00f4814158556ee52b0941ddc31511a0158cfb8a

7 years agoMerge "Disable 48.0kHz sampling rate for AAC - update the unit test" am: 8fdac3b3e1
Pavlin Radoslavov [Tue, 20 Jun 2017 16:28:23 +0000 (16:28 +0000)]
Merge "Disable 48.0kHz sampling rate for AAC - update the unit test" am: 8fdac3b3e1
am: 44e67085eb

Change-Id: I330b2daa48ecbec24e12286d90b7c381d060006f

7 years agoMerge "Disable 48.0kHz sampling rate for AAC - update the unit test"
Pavlin Radoslavov [Tue, 20 Jun 2017 16:25:10 +0000 (16:25 +0000)]
Merge "Disable 48.0kHz sampling rate for AAC - update the unit test"
am: 8fdac3b3e1

Change-Id: I4bd614d933bd4d14fd45ac878557298104876ee9

7 years agoMerge "Disable 48.0kHz sampling rate for AAC - update the unit test"
Treehugger Robot [Tue, 20 Jun 2017 16:19:38 +0000 (16:19 +0000)]
Merge "Disable 48.0kHz sampling rate for AAC - update the unit test"

7 years agoGet rid of BD_ADDR am: b8a477e9ac am: 61f2657d9c
Jakub Pawlowski [Tue, 20 Jun 2017 05:03:00 +0000 (05:03 +0000)]
Get rid of BD_ADDR am: b8a477e9ac am: 61f2657d9c
am: 6a3185cdc2

Change-Id: Iac527a723a5ed00e14cf9bae54e60b45d29c3d02

7 years agoGet rid of bdcpy, bdcmp and other BD_ADDR helpers am: 78b81c6db0 am: 2c4b02135e
Jakub Pawlowski [Tue, 20 Jun 2017 05:02:54 +0000 (05:02 +0000)]
Get rid of bdcpy, bdcmp and other BD_ADDR helpers am: 78b81c6db0 am: 2c4b02135e
am: 5ab9775ff5

Change-Id: Icf876c0d19a9d2b67886d0c49fc04ae77c7d28cb

7 years agoReplace BT_ADDR with bd_addr_t in bta_sys related code am: c752e135d6 am: 44c207025f
Jakub Pawlowski [Tue, 20 Jun 2017 05:02:51 +0000 (05:02 +0000)]
Replace BT_ADDR with bd_addr_t in bta_sys related code am: c752e135d6 am: 44c207025f
am: 893d31026b

Change-Id: I88d093b6902f976353ec5181d45cd91e0bcf908b

7 years agoReplace BD_ADDR with bt_addr_t in MCE related code am: 98b1b9498d am: c033d79b42
Jakub Pawlowski [Tue, 20 Jun 2017 05:02:45 +0000 (05:02 +0000)]
Replace BD_ADDR with bt_addr_t in MCE related code am: 98b1b9498d am: c033d79b42
am: 757da8addf

Change-Id: I2762173f692f8590878beb7f4171509e12b6e9ad

7 years agoBuild fix for AOSP am: 04801862d0 am: e84c1ce0e9
Jakub Pawlowski [Tue, 20 Jun 2017 05:02:31 +0000 (05:02 +0000)]
Build fix for AOSP am: 04801862d0 am: e84c1ce0e9
am: 23f7e80f07

Change-Id: If134165ba5cc0103e3d6944dc750fc443537f2fd

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 agoGet rid of BD_ADDR am: b8a477e9ac
Jakub Pawlowski [Tue, 20 Jun 2017 04:55:48 +0000 (04:55 +0000)]
Get rid of BD_ADDR am: b8a477e9ac
am: 61f2657d9c

Change-Id: I473f09be8420c9c509717cffb07b4d71efcf5cc3

7 years agoGet rid of bdcpy, bdcmp and other BD_ADDR helpers am: 78b81c6db0
Jakub Pawlowski [Tue, 20 Jun 2017 04:55:44 +0000 (04:55 +0000)]
Get rid of bdcpy, bdcmp and other BD_ADDR helpers am: 78b81c6db0
am: 2c4b02135e

Change-Id: I6a9b2624683ea603991926ce49fbe1f7aef0bbdc

7 years agoReplace BT_ADDR with bd_addr_t in bta_sys related code am: c752e135d6
Jakub Pawlowski [Tue, 20 Jun 2017 04:55:41 +0000 (04:55 +0000)]
Replace BT_ADDR with bd_addr_t in bta_sys related code am: c752e135d6
am: 44c207025f

Change-Id: Ifa9427166d13801617a04557723fb5efa286292a

7 years agoReplace BD_ADDR with bt_addr_t in MCE related code am: 98b1b9498d
Jakub Pawlowski [Tue, 20 Jun 2017 04:55:37 +0000 (04:55 +0000)]
Replace BD_ADDR with bt_addr_t in MCE related code am: 98b1b9498d
am: c033d79b42

Change-Id: I0917f64d8e2d3107fdb8de43472ab46c7afb077e

7 years agoBuild fix for AOSP am: 04801862d0
Jakub Pawlowski [Tue, 20 Jun 2017 04:55:23 +0000 (04:55 +0000)]
Build fix for AOSP am: 04801862d0
am: e84c1ce0e9

Change-Id: I292db699b34ff521059062d809ead53c56f0ac3d

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 agoGet rid of BD_ADDR
Jakub Pawlowski [Tue, 20 Jun 2017 04:33:57 +0000 (04:33 +0000)]
Get rid of BD_ADDR
am: b8a477e9ac

Change-Id: I1aef3f9bf1394e5c905d7917dc2a317f5d5d5418

7 years agoGet rid of bdcpy, bdcmp and other BD_ADDR helpers
Jakub Pawlowski [Tue, 20 Jun 2017 04:33:55 +0000 (04:33 +0000)]
Get rid of bdcpy, bdcmp and other BD_ADDR helpers
am: 78b81c6db0

Change-Id: I0d82d3c21aa035bd2501151f3aba3717d6ace767

7 years agoReplace BT_ADDR with bd_addr_t in bta_sys related code
Jakub Pawlowski [Tue, 20 Jun 2017 04:33:53 +0000 (04:33 +0000)]
Replace BT_ADDR with bd_addr_t in bta_sys related code
am: c752e135d6

Change-Id: I05466d2676a7f0e097f19420673891ae157d8d39

7 years agoReplace BD_ADDR with bt_addr_t in MCE related code
Jakub Pawlowski [Tue, 20 Jun 2017 04:33:51 +0000 (04:33 +0000)]
Replace BD_ADDR with bt_addr_t in MCE related code
am: 98b1b9498d

Change-Id: Ia895700db35496e2f0b1be7f7eff79aa53de6bd9

7 years agoDisable 48.0kHz sampling rate for AAC - update the unit test
Pavlin Radoslavov [Tue, 20 Jun 2017 04:12:37 +0000 (21:12 -0700)]
Disable 48.0kHz sampling rate for AAC - update the unit test

Some carkits have issues playing A2DP audio using AAC with 48.0kHz
sampling rate, while playing AAC with 44.1kHz sampling rate is fine.

Bug: 38443632
Bug: 62301376
Test: manual
Change-Id: I5a8b72e86fb1a2cbf92f85e7a6c340cee58dadb5
(cherry picked from commit 858b6a15f528468e2b1b497dba27337f40220f7b)

7 years agoDisable 48.0kHz sampling rate for AAC - update the unit test
Pavlin Radoslavov [Tue, 20 Jun 2017 04:12:37 +0000 (21:12 -0700)]
Disable 48.0kHz sampling rate for AAC - update the unit test

Some carkits have issues playing A2DP audio using AAC with 48.0kHz
sampling rate, while playing AAC with 44.1kHz sampling rate is fine.

Bug: 38443632
Bug: 62301376
Test: manual
Change-Id: I5a8b72e86fb1a2cbf92f85e7a6c340cee58dadb5

7 years agoBuild fix for AOSP
Jakub Pawlowski [Tue, 20 Jun 2017 02:49:43 +0000 (02:49 +0000)]
Build fix for AOSP
am: 04801862d0

Change-Id: Ib4a4913308fbfd005dfaa407b8940f9075a2c85d

7 years agoGet rid of BD_ADDR
Jakub Pawlowski [Fri, 16 Jun 2017 22:16:15 +0000 (15:16 -0700)]
Get rid of BD_ADDR

Test: compilation test
Change-Id: I8493485873a81f897fbaef1504076ef18274a8a5

7 years agoGet rid of bdcpy, bdcmp and other BD_ADDR helpers
Jakub Pawlowski [Fri, 16 Jun 2017 20:55:52 +0000 (13:55 -0700)]
Get rid of bdcpy, bdcmp and other BD_ADDR helpers

Test: compilation test
Change-Id: I37f17bfb3826b59797373645691c61bfbaefdbfd

7 years agoReplace BT_ADDR with bd_addr_t in bta_sys related code
Jakub Pawlowski [Fri, 16 Jun 2017 19:52:23 +0000 (12:52 -0700)]
Replace BT_ADDR with bd_addr_t in bta_sys related code

Test: compilation test
Change-Id: Idab6e9c03621c5540b4a3a7fa537dff71a25ce3f

7 years agoReplace BD_ADDR with bt_addr_t in MCE related code
Jakub Pawlowski [Fri, 16 Jun 2017 17:54:34 +0000 (10:54 -0700)]
Replace BD_ADDR with bt_addr_t in MCE related code

Test: compilation test
Change-Id: Icfb69cafa55bcd0f4e0146577deb05bb881672cd

7 years agoBuild fix for AOSP
Jakub Pawlowski [Tue, 20 Jun 2017 02:41:06 +0000 (19:41 -0700)]
Build fix for AOSP

Test: compilation test
Change-Id: I66a4854834f0528fad2cf76b5b1d0a48a9038948

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
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: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: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: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
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: Ide869d7b5cbf08196a77f4e8516f67b8dc2ef628

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 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
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