OSDN Git Service
Pavlin Radoslavov [Thu, 3 Aug 2017 03:33:29 +0000 (03:33 +0000)]
Don't reuse AVDTP internal state for different purposes am:
c64dc1d284 am:
318943e5ca
am:
d561d343c4
Change-Id: Ic80d7e3e93172d973cad25475e82f513a04d2c62
Pavlin Radoslavov [Thu, 3 Aug 2017 03:23:39 +0000 (03:23 +0000)]
Don't reuse AVDTP internal state for different purposes am:
c64dc1d284
am:
318943e5ca
Change-Id: Ib40c880b43c4c11f8fa277c5a2b29b4839e06b25
Pavlin Radoslavov [Thu, 3 Aug 2017 03:17:38 +0000 (03:17 +0000)]
Don't reuse AVDTP internal state for different purposes
am:
c64dc1d284
Change-Id: Id2640ae54ffe2da7cb5a5fc0275a1df8853d7045
Pavlin Radoslavov [Thu, 3 Aug 2017 02:57:23 +0000 (02:57 +0000)]
Merge "Add A2DP_DumpCodecInfo() API am:
81c2234305 am:
98f5272ea0" into oc-mr1-dev-plus-aosp
am:
1cff4e27f4
Change-Id: Ic7fe2a3566441ccbb086422173c74277756959d6
Pavlin Radoslavov [Thu, 3 Aug 2017 02:57:09 +0000 (02:57 +0000)]
Add A2DP_DumpCodecInfo() API am:
81c2234305 am:
6fc20ca428
am:
6fe9f51724
Change-Id: Ia7c153633cce4ecc0257f1e08855bffd17e74ddb
Android Build Merger (Role) [Thu, 3 Aug 2017 02:52:20 +0000 (02:52 +0000)]
Merge "Add A2DP_DumpCodecInfo() API am:
81c2234305 am:
98f5272ea0" into oc-mr1-dev-plus-aosp
Pavlin Radoslavov [Thu, 3 Aug 2017 02:52:08 +0000 (02:52 +0000)]
Add A2DP_DumpCodecInfo() API am:
81c2234305
am:
6fc20ca428
Change-Id: I3a03be1d40f279b22b954063e6de4110d8bc5681
Pavlin Radoslavov [Thu, 3 Aug 2017 02:52:08 +0000 (02:52 +0000)]
Add A2DP_DumpCodecInfo() API am:
81c2234305
am:
98f5272ea0
Change-Id: If6de2527d408b0fda383e52bef85b82f743b3bf1
Pavlin Radoslavov [Thu, 3 Aug 2017 02:47:37 +0000 (02:47 +0000)]
Add A2DP_DumpCodecInfo() API
am:
81c2234305
Change-Id: Ia7166677a094f498667a3508ce45d979830d32f4
Pavlin Radoslavov [Thu, 3 Aug 2017 02:47:37 +0000 (02:47 +0000)]
Add A2DP_DumpCodecInfo() API
am:
81c2234305
Change-Id: I9775e3cf2ca822cb9b8386f8d4a63f65b20b5952
Pavlin Radoslavov [Wed, 2 Aug 2017 20:52:14 +0000 (13:52 -0700)]
Don't reuse AVDTP internal state for different purposes
A number of issues were exposed by carkits that proactively try
to discover the codecs supported by the Phone and explicitly select
the A2DP codec.
* Don't reuse p_scb->p_cap for storing the most recent fetched capability
and for storing the result configuration while reconfiguring the stream.
Instead, use p_scb->cfg for storing the result configuration.
* Don't try to reconfigure the audio stream before all peer's capabilities
have been retrieved.
* Don't reset p_scb->sep_info_idx after fetching all capabilities inside
bta_av_save_caps(), otherwise the stream reconfiguration logic is
confused. Apparently, p_scb->sep_info_idx is overused for both:
(a) Pointing where to store the next capability while fetching the
capabilities.
(b) Storing the selected the SEP after the codec selection is completed.
Resetting p_scb->sep_info_idx to 0 creates logical confusion when the
actual selected SEP index is 0.
* Add extra debug log messages
Test: Connecting to and streaming with various carkits
Bug:
64128712
Change-Id: I5f57e9069d5402bcbb17613470ac0d29c8e45069
Pavlin Radoslavov [Wed, 2 Aug 2017 20:43:44 +0000 (13:43 -0700)]
Add A2DP_DumpCodecInfo() API
The API can be used to display A2DP codec info when using |LOG_DEBUG|.
Test: Code compilation
Bug:
64128712
Change-Id: I04379b45f24adb7008365d38ccc8aa7f49ed4b73
Jakub Pawlowski [Wed, 2 Aug 2017 22:22:43 +0000 (22:22 +0000)]
Workaround for Traxxas am:
02d1ec171f am:
9f4e534074 am:
7571a640eb am:
112f439ab9
am:
15426a21a6
Change-Id: I04e0b4512c60f00d84ce380b27cbab2ed8313c2d
Jakub Pawlowski [Wed, 2 Aug 2017 22:17:41 +0000 (22:17 +0000)]
Workaround for Traxxas am:
02d1ec171f am:
9f4e534074 am:
7571a640eb
am:
112f439ab9
Change-Id: I5445c02f580a82489c12c5737aaa092b48f017b8
Jakub Pawlowski [Wed, 2 Aug 2017 22:12:20 +0000 (22:12 +0000)]
Workaround for Traxxas am:
02d1ec171f am:
9f4e534074
am:
7571a640eb
Change-Id: Ie8b9c333c21c4e7b74a432238a7e57aa6be227ba
Jakub Pawlowski [Wed, 2 Aug 2017 22:07:20 +0000 (22:07 +0000)]
Workaround for Traxxas am:
02d1ec171f
am:
9f4e534074
Change-Id: I34c64ec33c5cb09d839416f81110b3594e125bb4
Jakub Pawlowski [Wed, 2 Aug 2017 22:02:51 +0000 (22:02 +0000)]
Workaround for Traxxas
am:
02d1ec171f
Change-Id: If547b412aabc0cf86194116c9a0641e700209336
Jakub Pawlowski [Tue, 1 Aug 2017 22:12:04 +0000 (15:12 -0700)]
Workaround for Traxxas
Bug:
64252588
Test: net_test_stack_ad_parser
Change-Id: I1471e9e5f0f36ec931f8d86c927abbc1137e2b94
Sunny Kapdi [Wed, 2 Aug 2017 20:03:14 +0000 (20:03 +0000)]
Merge "AE: Set secondary adv max skip to zero" into oc-dr1-dev am:
427ea2398a am:
ac903f82ff
am:
308e13ea84
Change-Id: I43393feac3254d4eb1005bad6b5f63aadcdb9209
Joseph Pirozzo [Wed, 2 Aug 2017 20:03:00 +0000 (20:03 +0000)]
Merge "AVRCP Controller request metadata on playback." am:
39b6c45264 am:
9cc7daf831 am:
d1fd1f38c9 am:
464e16a369
am:
93d956f76a
Change-Id: I254a43d6e92190e750f2b17beb52729c1ff29638
Sunny Kapdi [Wed, 2 Aug 2017 20:02:43 +0000 (20:02 +0000)]
Merge "AE: Set secondary adv max skip to zero" into oc-dr1-dev am:
427ea2398a am:
1881614fc9
am:
00e9b1d20a
Change-Id: I3fdbcff21ae002c64a653b505a0264cd100d5f66
Sunny Kapdi [Wed, 2 Aug 2017 20:00:55 +0000 (20:00 +0000)]
Merge "AE: Set secondary adv max skip to zero" into oc-dr1-dev am:
427ea2398a
am:
ac903f82ff
Change-Id: Ia06487d9dadb5e192db99887e856d02a091e41e2
Joseph Pirozzo [Wed, 2 Aug 2017 20:00:41 +0000 (20:00 +0000)]
Merge "AVRCP Controller request metadata on playback." am:
39b6c45264 am:
9cc7daf831 am:
d1fd1f38c9
am:
464e16a369
Change-Id: Iae6969ff230d91335b6af41955f07f1151d79de2
Sunny Kapdi [Wed, 2 Aug 2017 19:56:41 +0000 (19:56 +0000)]
Merge "AE: Set secondary adv max skip to zero" into oc-dr1-dev am:
427ea2398a
am:
1881614fc9
Change-Id: I9c98f53d7ddd40c2af6a19a0e6bd5c308c2e9772
Sunny Kapdi [Wed, 2 Aug 2017 19:56:32 +0000 (19:56 +0000)]
Merge "AE: Set secondary adv max skip to zero" into oc-dr1-dev
am:
427ea2398a
Change-Id: I7fddeb8c364d2253c8d8916458148ee6a5dbd09f
Joseph Pirozzo [Wed, 2 Aug 2017 19:56:12 +0000 (19:56 +0000)]
Merge "AVRCP Controller request metadata on playback." am:
39b6c45264 am:
9cc7daf831
am:
d1fd1f38c9
Change-Id: Ie8331109bfb153f3ef9c98b4a72a0ffaa8807abc
Joseph Pirozzo [Wed, 2 Aug 2017 19:51:39 +0000 (19:51 +0000)]
Merge "AVRCP Controller request metadata on playback." am:
39b6c45264
am:
9cc7daf831
Change-Id: Ie860ca5d4c8b2330f77279ec0eba84496da48f54
Sunny Kapdi [Wed, 2 Aug 2017 19:51:38 +0000 (19:51 +0000)]
Merge "AE: Set secondary adv max skip to zero" into oc-dr1-dev
am:
427ea2398a
Change-Id: I15c91b251467c86bf804efc0b175f3a47ddbb515
Joseph Pirozzo [Wed, 2 Aug 2017 19:47:11 +0000 (19:47 +0000)]
Merge "AVRCP Controller request metadata on playback."
am:
39b6c45264
Change-Id: Ia5000440315c0f8a1bc75142e4463606e9fc931c
Joseph Pirozzo [Wed, 2 Aug 2017 19:33:05 +0000 (19:33 +0000)]
Merge "AVRCP Controller request metadata on playback."
TreeHugger Robot [Wed, 2 Aug 2017 19:27:48 +0000 (19:27 +0000)]
Merge "AE: Set secondary adv max skip to zero" into oc-dr1-dev
Sunny Kapdi [Wed, 2 Aug 2017 18:02:01 +0000 (18:02 +0000)]
Merge "AE: Set secondary adv max skip to zero" am:
b92d9f3530 am:
149053fe3d am:
483293d6e7 am:
2c50ca0478
am:
96a1eb92d5
Change-Id: I86a1924b0b305c8298aad540f7287fc5fcd4c279
Sunny Kapdi [Wed, 2 Aug 2017 17:47:29 +0000 (17:47 +0000)]
Merge "AE: Set secondary adv max skip to zero" am:
b92d9f3530 am:
149053fe3d am:
483293d6e7
am:
2c50ca0478
Change-Id: I2d921e8fd2128e7fb638155919d4f4253fc63bcc
Sunny Kapdi [Wed, 2 Aug 2017 17:24:01 +0000 (17:24 +0000)]
Merge "AE: Set secondary adv max skip to zero" am:
b92d9f3530 am:
149053fe3d
am:
483293d6e7
Change-Id: Iff3604eb976a06f22f54e91d90783cf77274c013
Sunny Kapdi [Wed, 2 Aug 2017 17:19:19 +0000 (17:19 +0000)]
Merge "AE: Set secondary adv max skip to zero" am:
b92d9f3530
am:
149053fe3d
Change-Id: Ie7f516abf4a778b4e288ef5ab069b9a64fa0ca50
Sunny Kapdi [Wed, 2 Aug 2017 17:13:59 +0000 (17:13 +0000)]
Merge "AE: Set secondary adv max skip to zero"
am:
b92d9f3530
Change-Id: I54710829a6ba81d69bbee4571c00492d4a612e32
Treehugger Robot [Wed, 2 Aug 2017 17:08:20 +0000 (17:08 +0000)]
Merge "AE: Set secondary adv max skip to zero"
Sunny Kapdi [Tue, 13 Jun 2017 19:20:04 +0000 (12:20 -0700)]
AE: Set secondary adv max skip to zero
Setting secondary adv max skip to zero to guarantee
when the AUX Tx happens. This way the App can use the
primary advertising interval to dictate the AUX Tx
interval.
Bug:
62552121
Change-Id: Id66222e4f8a583c42acafb6532f81a817504e606
Joseph Pirozzo [Tue, 1 Aug 2017 21:58:03 +0000 (14:58 -0700)]
AVRCP Controller request metadata on playback.
Track metadata is only provided when requested, and the current
implementation only requested it when there was a track change
notification. Add a request for metadata whenever there is an
update to indicate that the play status is playing.
Bug:
63998350
Test: Start playing media, make a phone call, end a phonecall observe
metadata is correct.
Change-Id: Iea5cdacfe95c1a98cdaf73836ee6359a923f481b
jruthe [Wed, 2 Aug 2017 02:32:05 +0000 (02:32 +0000)]
test_vendor: Rename discoverable devices. am:
974b1f9a91 am:
6e928fcdd7 am:
05c66c947e am:
f8642c9b40
am:
a2b78b0029
Change-Id: I4bee5dbf909fee273d7585b6dddaa693e78aa0d7
jruthe [Wed, 2 Aug 2017 02:27:06 +0000 (02:27 +0000)]
test_vendor: Rename discoverable devices. am:
974b1f9a91 am:
6e928fcdd7 am:
05c66c947e
am:
f8642c9b40
Change-Id: Ie130a69f174d3ddce94560b1aee0fc3836b9b654
jruthe [Wed, 2 Aug 2017 02:23:07 +0000 (02:23 +0000)]
test_vendor: Rename discoverable devices. am:
974b1f9a91 am:
6e928fcdd7
am:
05c66c947e
Change-Id: I627213c146569a20ae9635e64c6debb40dc3c0c8
jruthe [Wed, 2 Aug 2017 02:18:36 +0000 (02:18 +0000)]
test_vendor: Rename discoverable devices. am:
974b1f9a91
am:
6e928fcdd7
Change-Id: I483622c7d27b5acb12d8040199f96496cdad998f
jruthe [Wed, 2 Aug 2017 02:14:34 +0000 (02:14 +0000)]
test_vendor: Rename discoverable devices.
am:
974b1f9a91
Change-Id: I2252dd34fa376c4aa3e6da49b0f5f75f59d05837
jruthe [Tue, 1 Aug 2017 23:44:15 +0000 (16:44 -0700)]
test_vendor: Rename discoverable devices.
Test: compiles
Change-Id: I1fc1f6845995e9e816556679622db6f6d447b7b3
Joseph Pirozzo [Tue, 1 Aug 2017 15:24:13 +0000 (15:24 +0000)]
Merge "HFP Client connect Audio" into oc-mr1-dev am:
01cc319bce
am:
fc0ec26144
Change-Id: Idfde35bfcf5456611a52211ece0ecabc9928f37b
Joseph Pirozzo [Tue, 1 Aug 2017 15:20:51 +0000 (15:20 +0000)]
Merge "HFP Client connect Audio" into oc-mr1-dev
am:
01cc319bce
Change-Id: Iccd35c6c19f29d60ae79373eca1ed995d2c2bb26
Joseph Pirozzo [Tue, 1 Aug 2017 14:36:59 +0000 (14:36 +0000)]
Merge "HFP Client connect Audio" into oc-mr1-dev
Sunny Kapdi [Tue, 13 Jun 2017 19:20:04 +0000 (12:20 -0700)]
AE: Set secondary adv max skip to zero
Setting secondary adv max skip to zero to guarantee
when the AUX Tx happens. This way the App can use the
primary advertising interval to dictate the AUX Tx
interval.
Bug:
62552121
Change-Id: Id66222e4f8a583c42acafb6532f81a817504e606
Satish Kodishala [Tue, 1 Aug 2017 08:31:13 +0000 (08:31 +0000)]
Merge "Use the correct AVDTP version-specific features" into oc-dr1-dev am:
3568ed17b5 am:
6173094348
am:
5421bfea22
Change-Id: Ib1e118be80dc12de07d2e3cb531feda53b7f258e
Satish Kodishala [Tue, 1 Aug 2017 08:20:53 +0000 (08:20 +0000)]
Merge "Use the correct AVDTP version-specific features" into oc-dr1-dev am:
3568ed17b5
am:
6173094348
Change-Id: Ifcbe91029b7f872a6d84de0843f576571f764c58
Satish Kodishala [Tue, 1 Aug 2017 08:11:51 +0000 (08:11 +0000)]
Merge "Use the correct AVDTP version-specific features" into oc-dr1-dev am:
3568ed17b5 am:
a7461502e2
am:
524261bd16
Change-Id: If2e2d233b42e174348aa542b17490ae782487e66
Satish Kodishala [Tue, 1 Aug 2017 08:08:50 +0000 (08:08 +0000)]
Merge "Use the correct AVDTP version-specific features" into oc-dr1-dev am:
3568ed17b5
am:
a7461502e2
Change-Id: Ia66f9411e3a5f7557eee909b406b514f2174b75e
Satish Kodishala [Tue, 1 Aug 2017 08:04:51 +0000 (08:04 +0000)]
Merge "Use the correct AVDTP version-specific features" into oc-dr1-dev
am:
3568ed17b5
Change-Id: I224d44cf863d63bf06790eacb640849000326106
Satish Kodishala [Tue, 1 Aug 2017 08:04:51 +0000 (08:04 +0000)]
Merge "Use the correct AVDTP version-specific features" into oc-dr1-dev
am:
3568ed17b5
Change-Id: Ic3ab9e63708b984377a6d2af3e1b72303cf5de88
TreeHugger Robot [Tue, 1 Aug 2017 07:59:36 +0000 (07:59 +0000)]
Merge "Use the correct AVDTP version-specific features" into oc-dr1-dev
Subramanian Srinivasan [Tue, 1 Aug 2017 06:38:02 +0000 (06:38 +0000)]
Merge "Fix processing of Inquiry results data" into oc-dr1-dev am:
60a5b95359 am:
6f3bf17acf
am:
6fdaf35419
Change-Id: Iccc016a951543c725c61b6344b77f517402302bb
Subramanian Srinivasan [Tue, 1 Aug 2017 06:37:46 +0000 (06:37 +0000)]
Merge "Fix processing of Inquiry results data" into oc-dr1-dev am:
60a5b95359 am:
09474016e4
am:
c40f83527b
Change-Id: Ic60d757da13f7d76e059ed5e526de52150698789
Subramanian Srinivasan [Tue, 1 Aug 2017 06:27:42 +0000 (06:27 +0000)]
Merge "Fix processing of Inquiry results data" into oc-dr1-dev am:
60a5b95359
am:
6f3bf17acf
Change-Id: I054ccb928afa607c851ece445059fa808384db0c
Subramanian Srinivasan [Tue, 1 Aug 2017 06:24:44 +0000 (06:24 +0000)]
Merge "Fix processing of Inquiry results data" into oc-dr1-dev am:
60a5b95359
am:
09474016e4
Change-Id: I802e34e3e0a9ca7622a5cb00045641cd79772be3
Subramanian Srinivasan [Tue, 1 Aug 2017 06:21:46 +0000 (06:21 +0000)]
Merge "Fix processing of Inquiry results data" am:
67da9a5e19 am:
6718f5d924 am:
39c7208fe8 am:
e0a1c62fd9
am:
b8770db4ec
Change-Id: I84da4f44a2a0876655e92eda9139d632266488db
Subramanian Srinivasan [Tue, 1 Aug 2017 06:17:17 +0000 (06:17 +0000)]
Merge "Fix processing of Inquiry results data" am:
67da9a5e19 am:
6718f5d924 am:
39c7208fe8
am:
e0a1c62fd9
Change-Id: I1667e2368a99eb88cb69ee7bcdcd0bdc1f975d5e
Subramanian Srinivasan [Tue, 1 Aug 2017 06:17:16 +0000 (06:17 +0000)]
Merge "Fix processing of Inquiry results data" into oc-dr1-dev
am:
60a5b95359
Change-Id: I09bea5fc3de0ed2e28c68d22cdf6c5d1d12a73a2
Subramanian Srinivasan [Tue, 1 Aug 2017 06:17:15 +0000 (06:17 +0000)]
Merge "Fix processing of Inquiry results data" into oc-dr1-dev
am:
60a5b95359
Change-Id: Ibf826cfcf8a63281fe4af999df09666f6963c09f
Subramanian Srinivasan [Tue, 1 Aug 2017 06:13:57 +0000 (06:13 +0000)]
Merge "Fix processing of Inquiry results data" am:
67da9a5e19 am:
6718f5d924
am:
39c7208fe8
Change-Id: I92c848148fd148406d8a1d8db937f7432b2bb1bd
Subramanian Srinivasan [Tue, 1 Aug 2017 06:10:14 +0000 (06:10 +0000)]
Merge "Fix processing of Inquiry results data" am:
67da9a5e19
am:
6718f5d924
Change-Id: I78efe07301f3f6747dcdae95c5e5bab6cc4801f2
TreeHugger Robot [Tue, 1 Aug 2017 06:07:23 +0000 (06:07 +0000)]
Merge "Fix processing of Inquiry results data" into oc-dr1-dev
Subramanian Srinivasan [Tue, 1 Aug 2017 06:06:15 +0000 (06:06 +0000)]
Merge "Fix processing of Inquiry results data"
am:
67da9a5e19
Change-Id: If6b7523e9096c114263baf7a065f023186818c82
Treehugger Robot [Tue, 1 Aug 2017 05:59:41 +0000 (05:59 +0000)]
Merge "Fix processing of Inquiry results data"
Satish Kodishala [Fri, 24 Feb 2017 09:39:01 +0000 (15:09 +0530)]
Use the correct AVDTP version-specific features
Failure:
A2DP is not reconnected after power cycling DUT BT.
Root cause:
AVDTP v1.3 feature request (AVDT_GetAllCapReq) sent by DUT
as remote supports the same, but this 1.3 feature is not
completely supported by DUT which leads to erroneous behavior.
Fix:
Use AVDT_GetAllCapReq request only when both host and remote
AVDTP version are 1.3 and above.
Test: 1.Pair to CarKit; 2.Connect to CarKit; 3.Do BT power cycle @ DUT
Bug:
35657623
Change-Id: I66c2d7d8fe8506b74282bcca93595e1cbf5c2565
(cherry picked from commit
9cd9ef4c3818d2c7949f52703b3c2ba0e0f43f2f)
Satish Kodishala [Tue, 1 Aug 2017 03:44:02 +0000 (03:44 +0000)]
Use the correct AVDTP version-specific features am:
9cd9ef4c38 am:
3a7e4f8a30 am:
eef3c66bac am:
73cf841ede
am:
f802936474
Change-Id: Id711f348aa64e3c8b8eb01185c3ad8c5fcc2ba2b
Satish Kodishala [Tue, 1 Aug 2017 03:37:04 +0000 (03:37 +0000)]
Use the correct AVDTP version-specific features am:
9cd9ef4c38 am:
3a7e4f8a30 am:
eef3c66bac
am:
73cf841ede
Change-Id: I38e478c2159510a54442aaae5bf4200c3d2e1e37
Satish Kodishala [Tue, 1 Aug 2017 03:33:04 +0000 (03:33 +0000)]
Use the correct AVDTP version-specific features am:
9cd9ef4c38 am:
3a7e4f8a30
am:
eef3c66bac
Change-Id: I46a1051b50bac3df3ad362bca384d1560562efe9
Satish Kodishala [Tue, 1 Aug 2017 03:29:03 +0000 (03:29 +0000)]
Use the correct AVDTP version-specific features am:
9cd9ef4c38
am:
3a7e4f8a30
Change-Id: If55547328805868f3cbb84af5b96f85f6dde791c
Satish Kodishala [Tue, 1 Aug 2017 03:25:34 +0000 (03:25 +0000)]
Use the correct AVDTP version-specific features
am:
9cd9ef4c38
Change-Id: I85e816084a49a0a3438c8cc88fe2ab0ef32097f2
Tyler Freeman [Tue, 1 Aug 2017 02:56:45 +0000 (02:56 +0000)]
Merge "DO NOT MERGE ANYWHERE Allow the Bluetooth MAC address to be updated asynchronously (3/3) am:
fead72d124 -s ours am:
672ca0faf5 -s ours am:
0e379aaef1 -s ours am:
2008a94da6 -s ours am:
84dfb52817 -s ours" into oc-mr1-dev-plus-aosp
am:
bef3fc91c1 -s ours
Change-Id: I993211c3aac05be894e073e04c98f295b364dab8
Tyler Freeman [Tue, 1 Aug 2017 02:33:33 +0000 (02:33 +0000)]
DO NOT MERGE ANYWHERE Allow the Bluetooth MAC address to be updated asynchronously (3/3) am:
fead72d124 -s ours am:
672ca0faf5 -s ours am:
0e379aaef1 -s ours am:
2008a94da6 -s ours am:
84dfb52817 -s ours
am:
e81c16bb29 -s ours
Change-Id: Ibfc9bce25592aef83dc5151ce303596dc26dc158
Tyler Freeman [Tue, 1 Aug 2017 02:25:19 +0000 (02:25 +0000)]
DO NOT MERGE ANYWHERE Allow the Bluetooth MAC address to be updated asynchronously (3/3) am:
fead72d124 -s ours am:
672ca0faf5 -s ours am:
0e379aaef1 -s ours am:
0b9aac4eb5 -s ours am:
34750ef0eb -s ours
am:
aa63289926 -s ours
Change-Id: I4dbe0bf9a347c7fc4aa24ee73033c2255c07970a
Tyler Freeman [Tue, 1 Aug 2017 02:17:57 +0000 (02:17 +0000)]
DO NOT MERGE ANYWHERE Allow the Bluetooth MAC address to be updated asynchronously (3/3) am:
fead72d124 -s ours am:
672ca0faf5 -s ours am:
0e379aaef1 -s ours am:
2008a94da6 -s ours am:
d946ce07a9 -s ours
am:
4cb40c68d1 -s ours
Change-Id: I58ab3a87fbff3e8b62ea083ea2a03ea3ca13241c
Android Build Merger (Role) [Tue, 1 Aug 2017 02:13:32 +0000 (02:13 +0000)]
Merge "DO NOT MERGE ANYWHERE Allow the Bluetooth MAC address to be updated asynchronously (3/3) am:
fead72d124 -s ours am:
672ca0faf5 -s ours am:
0e379aaef1 -s ours am:
2008a94da6 -s ours am:
84dfb52817 -s ours" into oc-mr1-dev-plus-aosp
Tyler Freeman [Tue, 1 Aug 2017 02:08:46 +0000 (02:08 +0000)]
DO NOT MERGE ANYWHERE Allow the Bluetooth MAC address to be updated asynchronously (3/3) am:
fead72d124 -s ours am:
672ca0faf5 -s ours am:
0e379aaef1 -s ours am:
2008a94da6 -s ours
am:
84dfb52817 -s ours
Change-Id: Iaa1f3241a09e427dd89575400f59ca86f4a2fdab
Tyler Freeman [Tue, 1 Aug 2017 02:08:40 +0000 (02:08 +0000)]
DO NOT MERGE ANYWHERE Allow the Bluetooth MAC address to be updated asynchronously (3/3) am:
fead72d124 -s ours am:
672ca0faf5 -s ours am:
0e379aaef1 -s ours am:
0b9aac4eb5 -s ours
am:
34750ef0eb -s ours
Change-Id: I7ecc1d10dfcbebed527b878189941ffef63bddb5
Tyler Freeman [Tue, 1 Aug 2017 01:59:54 +0000 (01:59 +0000)]
DO NOT MERGE ANYWHERE Allow the Bluetooth MAC address to be updated asynchronously (3/3) am:
fead72d124 -s ours am:
672ca0faf5 -s ours am:
0e379aaef1 -s ours am:
2008a94da6 -s ours
am:
d946ce07a9 -s ours
Change-Id: I2202ad3e249f94440fa072863d50444e644fbef8
Tyler Freeman [Tue, 1 Aug 2017 01:59:48 +0000 (01:59 +0000)]
DO NOT MERGE ANYWHERE Allow the Bluetooth MAC address to be updated asynchronously (3/3) am:
fead72d124 -s ours am:
672ca0faf5 -s ours am:
0e379aaef1 -s ours
am:
0b9aac4eb5 -s ours
Change-Id: I1d5adc561db542384cb298e4343ab0b8a6a570ba
Tyler Freeman [Tue, 1 Aug 2017 01:54:36 +0000 (01:54 +0000)]
DO NOT MERGE ANYWHERE Allow the Bluetooth MAC address to be updated asynchronously (3/3) am:
fead72d124 -s ours am:
672ca0faf5 -s ours am:
0e379aaef1 -s ours
am:
2008a94da6 -s ours
Change-Id: I2b87cd38e48df0f6c3e13057812f1407cfd3ce8a
Tyler Freeman [Tue, 1 Aug 2017 01:53:47 +0000 (01:53 +0000)]
DO NOT MERGE ANYWHERE Allow the Bluetooth MAC address to be updated asynchronously (3/3) am:
fead72d124 -s ours am:
672ca0faf5 -s ours am:
0e379aaef1 -s ours
am:
2008a94da6 -s ours
Change-Id: I9e6ac30fa7b713d80dee19a469adc1565c7f6880
Tyler Freeman [Tue, 1 Aug 2017 01:48:21 +0000 (01:48 +0000)]
DO NOT MERGE ANYWHERE Allow the Bluetooth MAC address to be updated asynchronously (3/3) am:
fead72d124 -s ours am:
672ca0faf5 -s ours
am:
0e379aaef1 -s ours
Change-Id: I1fdf1d2c32c4ef79d7e56d2a3b34f8ecc6687bfb
Tyler Freeman [Tue, 1 Aug 2017 01:40:07 +0000 (01:40 +0000)]
DO NOT MERGE ANYWHERE Allow the Bluetooth MAC address to be updated asynchronously (3/3) am:
fead72d124 -s ours am:
672ca0faf5 -s ours
am:
0e379aaef1 -s ours
Change-Id: I7cf536bdf1ab3c56ca5e1357749ef1b939dd703a
Tyler Freeman [Tue, 1 Aug 2017 01:33:50 +0000 (01:33 +0000)]
DO NOT MERGE ANYWHERE Allow the Bluetooth MAC address to be updated asynchronously (3/3) am:
fead72d124 -s ours
am:
672ca0faf5 -s ours
Change-Id: Icf9b2a90b0adb3d9645bd6839ed9c244ba8c8c26
Tyler Freeman [Tue, 1 Aug 2017 01:24:13 +0000 (01:24 +0000)]
DO NOT MERGE ANYWHERE Allow the Bluetooth MAC address to be updated asynchronously (3/3)
am:
fead72d124 -s ours
Change-Id: I96daa5c94b8ac75e2e7faf00911274ba72dff51b
Satish Kodishala [Fri, 24 Feb 2017 09:39:01 +0000 (15:09 +0530)]
Use the correct AVDTP version-specific features
Failure:
A2DP is not reconnected after power cycling DUT BT.
Root cause:
AVDTP v1.3 feature request (AVDT_GetAllCapReq) sent by DUT
as remote supports the same, but this 1.3 feature is not
completely supported by DUT which leads to erroneous behavior.
Fix:
Use AVDT_GetAllCapReq request only when both host and remote
AVDTP version are 1.3 and above.
Test: 1.Pair to CarKit; 2.Connect to CarKit; 3.Do BT power cycle @ DUT
Bug:
35657623
Change-Id: I66c2d7d8fe8506b74282bcca93595e1cbf5c2565
Tyler Freeman [Fri, 28 Jul 2017 01:21:18 +0000 (18:21 -0700)]
DO NOT MERGE ANYWHERE Allow the Bluetooth MAC address to be updated asynchronously (3/3)
There are intermittent issues where either the returned Bluetooth
MAC address to Java framework is uninitialized or this address update
arrives too late. This fix will do 2 things:
(1) Returns error when MAC address is unavailable in the native code.
(2) Updates the MAC address later by adding a new broadcast event.
Test: Check address for these cases: factory reset, system reboot, and
Bluetooth re-enable.
Bug:
36709382
(cherry picked from commit
7dc0525365025e17e289869288b1b7d5146306cc)
Merged-In: I7b1c526ee227897c003ac921078f317f96b92604
Change-Id: I9810484a136c69d487a4b415c9265913db6c5cce
Subramanian Srinivasan [Fri, 26 May 2017 00:05:11 +0000 (17:05 -0700)]
Fix processing of Inquiry results data
Process inquiry results data based on the data
length sent from the lower stack layers and not
by using HCI_EXT_INQ_RESPONSE_LEN.
Bug:
62589724
Change-Id: Iee4a2c8f0dfb459404b28ba21061f7ced9f8455c
(cherry picked from commit
9bd6250eba5e624c94c66f053f5603dca8e0e4f1)
Subramanian Srinivasan [Fri, 26 May 2017 00:05:11 +0000 (17:05 -0700)]
Fix processing of Inquiry results data
Process inquiry results data based on the data
length sent from the lower stack layers and not
by using HCI_EXT_INQ_RESPONSE_LEN.
Bug:
62589724
Change-Id: Iee4a2c8f0dfb459404b28ba21061f7ced9f8455c
Joseph Pirozzo [Thu, 29 Jun 2017 21:23:01 +0000 (14:23 -0700)]
HFP Client connect Audio
Listen for incomming SCO connections any time the Hands Free Profile is
connected to a phone. Additionally allow eSCO connections on devices
that only support the standard SBC audio codec.
Bug:
62086689
Test: pair and connect a phone via HFP then start a phonecall and
enable and disable audio routing through BT observe that the connection
is established everytime.
Change-Id: I11319a4a85f8c9d36114a6fc09da0f0b8da16672
(cherry picked from commit
50d4656483d3f70b532646f83a6ad317bfdf3af8)
Pavlin Radoslavov [Mon, 31 Jul 2017 18:29:31 +0000 (18:29 +0000)]
Fix the MAC address for INTEROP_2MBPS_LINK_ONLY entry am:
b60955f9c7 am:
7093baab90 am:
c824624aa6 am:
e9d905f9a4
am:
ceeeb3033d
Change-Id: Ibcbef96f4c759674cf2268da4073070126b2777f
Pavlin Radoslavov [Mon, 31 Jul 2017 18:29:01 +0000 (18:29 +0000)]
Fix the MAC address for INTEROP_2MBPS_LINK_ONLY entry am:
3507060c58 am:
ba2cfbbbad
am:
f051ec0351
Change-Id: I39d4ba7f2fa2cf88dfedb25765821f4c198861a2
Pavlin Radoslavov [Mon, 31 Jul 2017 18:28:27 +0000 (18:28 +0000)]
Fix the MAC address for INTEROP_2MBPS_LINK_ONLY entry am:
3507060c58 am:
3d2dd1921e
am:
4146246fb1
Change-Id: Ie59665ea9353a7c36363c33aaa12401f9c2406d8
Pavlin Radoslavov [Mon, 31 Jul 2017 18:18:13 +0000 (18:18 +0000)]
Fix the MAC address for INTEROP_2MBPS_LINK_ONLY entry am:
b60955f9c7 am:
7093baab90 am:
c824624aa6
am:
e9d905f9a4
Change-Id: I062589b591e1f5eb9d793cf68fada584d76d43e1
Pavlin Radoslavov [Mon, 31 Jul 2017 18:14:52 +0000 (18:14 +0000)]
Fix the MAC address for INTEROP_2MBPS_LINK_ONLY entry am:
b60955f9c7 am:
7093baab90
am:
c824624aa6
Change-Id: Ic2ec5a88b31e4f1ca5acb5e0b815d75ce1ee0aef