OSDN Git Service

android-x86/system-bt.git
6 years agoMerge "Fix processing of Inquiry results data" am: 67da9a5e19 am: 6718f5d924 am:...
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

6 years agoMerge "Fix processing of Inquiry results data" am: 67da9a5e19 am: 6718f5d924
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

6 years agoMerge "Fix processing of Inquiry results data" am: 67da9a5e19
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

6 years agoMerge "Fix processing of Inquiry results data"
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

6 years agoMerge "Fix processing of Inquiry results data"
Treehugger Robot [Tue, 1 Aug 2017 05:59:41 +0000 (05:59 +0000)]
Merge "Fix processing of Inquiry results data"

6 years agoUse the correct AVDTP version-specific features am: 9cd9ef4c38 am: 3a7e4f8a30 am...
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

6 years agoUse the correct AVDTP version-specific features am: 9cd9ef4c38 am: 3a7e4f8a30
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

6 years agoUse the correct AVDTP version-specific features am: 9cd9ef4c38
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

6 years agoUse the correct AVDTP version-specific features
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

6 years agoMerge "DO NOT MERGE ANYWHERE Allow the Bluetooth MAC address to be updated asynchrono...
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

6 years agoDO NOT MERGE ANYWHERE Allow the Bluetooth MAC address to be updated asynchronously...
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

6 years agoDO NOT MERGE ANYWHERE Allow the Bluetooth MAC address to be updated asynchronously...
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

6 years agoDO NOT MERGE ANYWHERE Allow the Bluetooth MAC address to be updated asynchronously...
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

6 years agoDO NOT MERGE ANYWHERE Allow the Bluetooth MAC address to be updated asynchronously...
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

6 years agoDO NOT MERGE ANYWHERE Allow the Bluetooth MAC address to be updated asynchronously...
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

6 years agoDO NOT MERGE ANYWHERE Allow the Bluetooth MAC address to be updated asynchronously...
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

6 years agoDO NOT MERGE ANYWHERE Allow the Bluetooth MAC address to be updated asynchronously...
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

6 years agoDO NOT MERGE ANYWHERE Allow the Bluetooth MAC address to be updated asynchronously...
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

6 years agoDO NOT MERGE ANYWHERE Allow the Bluetooth MAC address to be updated asynchronously...
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

6 years agoDO NOT MERGE ANYWHERE Allow the Bluetooth MAC address to be updated asynchronously...
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

6 years agoUse the correct AVDTP version-specific features
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

6 years agoDO NOT MERGE ANYWHERE Allow the Bluetooth MAC address to be updated asynchronously...
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

6 years agoFix processing of Inquiry results data
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

6 years agoFix the MAC address for INTEROP_2MBPS_LINK_ONLY entry am: b60955f9c7 am: 7093baab90...
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

6 years agoFix the MAC address for INTEROP_2MBPS_LINK_ONLY entry am: b60955f9c7 am: 7093baab90
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

6 years agoFix the MAC address for INTEROP_2MBPS_LINK_ONLY entry am: 3507060c58
Pavlin Radoslavov [Mon, 31 Jul 2017 18:14:50 +0000 (18:14 +0000)]
Fix the MAC address for INTEROP_2MBPS_LINK_ONLY entry am: 3507060c58
am: ba2cfbbbad

Change-Id: Ied0ab9622b3c556b513f643da70a2302d25971ad

6 years agoFix the MAC address for INTEROP_2MBPS_LINK_ONLY entry am: 3507060c58
Pavlin Radoslavov [Mon, 31 Jul 2017 18:11:50 +0000 (18:11 +0000)]
Fix the MAC address for INTEROP_2MBPS_LINK_ONLY entry am: 3507060c58
am: 3d2dd1921e

Change-Id: I9827de59aac368f96a7874cce704d955efd9f00e

6 years agoFix the MAC address for INTEROP_2MBPS_LINK_ONLY entry am: b60955f9c7
Pavlin Radoslavov [Mon, 31 Jul 2017 18:11:22 +0000 (18:11 +0000)]
Fix the MAC address for INTEROP_2MBPS_LINK_ONLY entry am: b60955f9c7
am: 7093baab90

Change-Id: I0e90bc82991f31c520be480c3f14a61901fa2827

6 years agoFix the MAC address for INTEROP_2MBPS_LINK_ONLY entry
Pavlin Radoslavov [Mon, 31 Jul 2017 18:08:21 +0000 (18:08 +0000)]
Fix the MAC address for INTEROP_2MBPS_LINK_ONLY entry
am: b60955f9c7

Change-Id: I06a99e795b0ddfd6978fca2ccca09f20de3d299f

6 years agoFix the MAC address for INTEROP_2MBPS_LINK_ONLY entry
Pavlin Radoslavov [Mon, 31 Jul 2017 18:08:20 +0000 (18:08 +0000)]
Fix the MAC address for INTEROP_2MBPS_LINK_ONLY entry
am: 3507060c58

Change-Id: I36bb63bd24c595b68976d89da8164b9ac7c1a96c

6 years agoFix the MAC address for INTEROP_2MBPS_LINK_ONLY entry
Pavlin Radoslavov [Mon, 31 Jul 2017 18:04:49 +0000 (18:04 +0000)]
Fix the MAC address for INTEROP_2MBPS_LINK_ONLY entry
am: 3507060c58

Change-Id: I13dcb9e1d99fea5a5a9df6c29725f6b3dcd785b4

6 years agoFix the MAC address for INTEROP_2MBPS_LINK_ONLY entry
Pavlin Radoslavov [Mon, 31 Jul 2017 03:18:57 +0000 (20:18 -0700)]
Fix the MAC address for INTEROP_2MBPS_LINK_ONLY entry

Bug: 62394764
Test: Code compilation
Change-Id: I3e6d8bb8258d6cc56ce05d7f17dda445859f011a
(cherry picked from commit b60955f9c72d8481a1a2d92d46d59e2fd31139c9)

6 years agoFix the MAC address for INTEROP_2MBPS_LINK_ONLY entry
Pavlin Radoslavov [Mon, 31 Jul 2017 03:18:57 +0000 (20:18 -0700)]
Fix the MAC address for INTEROP_2MBPS_LINK_ONLY entry

Bug: 62394764
Test: Code compilation
Change-Id: I3e6d8bb8258d6cc56ce05d7f17dda445859f011a

6 years agoAdd interoperability mechanism to restrict the AVDTP MTU for AAC codec am: 7cff5f55bf
Pavlin Radoslavov [Fri, 28 Jul 2017 22:41:27 +0000 (22:41 +0000)]
Add interoperability mechanism to restrict the AVDTP MTU for AAC codec am: 7cff5f55bf
am: e48b4e16c6

Change-Id: I8eac0e5756b14fada3bbd37dee10e77ff3ed1608

6 years agoAdd interoperability mechanism to restrict the AVDTP MTU for AAC codec am: 7cff5f55bf
Pavlin Radoslavov [Fri, 28 Jul 2017 22:40:37 +0000 (22:40 +0000)]
Add interoperability mechanism to restrict the AVDTP MTU for AAC codec am: 7cff5f55bf
am: c3e3e14ba7

Change-Id: I9748ee122d1e4af295a2499ccc4661e822c22740

6 years agoAdd interoperability mechanism to restrict the AVDTP MTU for AAC codec
Pavlin Radoslavov [Fri, 28 Jul 2017 22:09:20 +0000 (22:09 +0000)]
Add interoperability mechanism to restrict the AVDTP MTU for AAC codec
am: 7cff5f55bf

Change-Id: I0ff942bd1e2c5f27810fe379db900a257c70c05c

6 years agoAdd interoperability mechanism to restrict the AVDTP MTU for AAC codec
Pavlin Radoslavov [Fri, 28 Jul 2017 21:53:48 +0000 (21:53 +0000)]
Add interoperability mechanism to restrict the AVDTP MTU for AAC codec
am: 7cff5f55bf

Change-Id: Ifea61a89133cc420d255a675d4f80e39df05185d

6 years agoAdd interoperability mechanism to restrict the AVDTP MTU for AAC codec am: b866da0bc1...
Pavlin Radoslavov [Fri, 28 Jul 2017 19:43:11 +0000 (19:43 +0000)]
Add interoperability mechanism to restrict the AVDTP MTU for AAC codec am: b866da0bc1 am: ec7b336583 am: a84c2057b6
am: f1e6947ef0

Change-Id: Id45c7a0688d28983a04d4134ec4459c21873a3e2

6 years agoAdd interoperability mechanism to restrict the AVDTP MTU for AAC codec am: b866da0bc1...
Pavlin Radoslavov [Fri, 28 Jul 2017 19:38:40 +0000 (19:38 +0000)]
Add interoperability mechanism to restrict the AVDTP MTU for AAC codec am: b866da0bc1 am: ec7b336583
am: a84c2057b6

Change-Id: I03015c3754f317f14fac387393f47974f0b189ce

6 years agoAdd interoperability mechanism to restrict the AVDTP MTU for AAC codec am: b866da0bc1
Pavlin Radoslavov [Fri, 28 Jul 2017 19:34:08 +0000 (19:34 +0000)]
Add interoperability mechanism to restrict the AVDTP MTU for AAC codec am: b866da0bc1
am: ec7b336583

Change-Id: Id94f4643bec9e052d51e54950bab9ef8b062a13a

6 years agoAdd interoperability mechanism to restrict the AVDTP MTU for AAC codec
Pavlin Radoslavov [Fri, 28 Jul 2017 19:29:43 +0000 (19:29 +0000)]
Add interoperability mechanism to restrict the AVDTP MTU for AAC codec
am: b866da0bc1

Change-Id: I79d73807f18ca5f21050f72b16c0e6f6f972f0fb

6 years agoAdd interoperability mechanism to restrict the AVDTP MTU for AAC codec
Pavlin Radoslavov [Fri, 28 Jul 2017 02:19:32 +0000 (19:19 -0700)]
Add interoperability mechanism to restrict the AVDTP MTU for AAC codec

Also, add an interoperability entry for devices that are known
to have AAC-related issues.

Test: A2DP streaming to Headsets
Bug: 63725151
Change-Id: Ic9b6640da44ebc28bfa63a19a87f0543d69bc576
(cherry picked from commit b866da0bc1254103146912077bcb49128963dee7)

7 years agoAdd interoperability mechanism to restrict the AVDTP MTU for AAC codec
Pavlin Radoslavov [Fri, 28 Jul 2017 02:19:32 +0000 (19:19 -0700)]
Add interoperability mechanism to restrict the AVDTP MTU for AAC codec

Also, add an interoperability entry for devices that are known
to have AAC-related issues.

Test: A2DP streaming to Headsets
Bug: 63725151
Change-Id: Ic9b6640da44ebc28bfa63a19a87f0543d69bc576

7 years agoMerge "Retry authentication in key-missing or pairing collision use case" into oc...
Matadeen Mishra [Thu, 27 Jul 2017 02:49:22 +0000 (02:49 +0000)]
Merge "Retry authentication in key-missing or pairing collision use case" into oc-dr1-dev am: 0b95c58b0d
am: 13a81c3a0f

Change-Id: I1b09ea79a9db0d8c03e0293296268936a4b0ddcd

7 years agoMerge "Retry authentication in key-missing or pairing collision use case" into oc...
Matadeen Mishra [Thu, 27 Jul 2017 02:43:56 +0000 (02:43 +0000)]
Merge "Retry authentication in key-missing or pairing collision use case" into oc-dr1-dev am: 0b95c58b0d
am: cf97a70b6c

Change-Id: I162cf97fb4f1363200eaa6c1340f6cda355eb20a

7 years agoMerge "Remove unwanted space characters from dialing number" into oc-dr1-dev am:...
Stanley Tng [Thu, 27 Jul 2017 02:43:43 +0000 (02:43 +0000)]
Merge "Remove unwanted space characters from dialing number" into oc-dr1-dev am: 332808df52
am: 564b1b874b

Change-Id: Ic90f83aad560700590ac3e34993d2b39aa0ce446

7 years agoMerge "Retry authentication in key-missing or pairing collision use case" into oc...
Matadeen Mishra [Thu, 27 Jul 2017 02:38:36 +0000 (02:38 +0000)]
Merge "Retry authentication in key-missing or pairing collision use case" into oc-dr1-dev
am: 0b95c58b0d

Change-Id: I9eb1d34f2393189d0b15545e3defa96f1f128124

7 years agoMerge "Retry authentication in key-missing or pairing collision use case" into oc...
Matadeen Mishra [Thu, 27 Jul 2017 02:38:36 +0000 (02:38 +0000)]
Merge "Retry authentication in key-missing or pairing collision use case" into oc-dr1-dev
am: 0b95c58b0d

Change-Id: I5639a930b06858f5f780c8842649eabc6163b820

7 years agoRetry authentication in key-missing or pairing collision use case am: a95a6a3608...
Matadeen Mishra [Thu, 27 Jul 2017 02:37:01 +0000 (02:37 +0000)]
Retry authentication in key-missing or pairing collision use case am: a95a6a3608 am: 27457a8b85 am: 06a13195af
am: 745bb79848

Change-Id: I25513d502a9fefa73c8b3511f3e82f0fbaf38914

7 years agoMerge "Remove unwanted space characters from dialing number" into oc-dr1-dev am:...
Stanley Tng [Thu, 27 Jul 2017 02:36:35 +0000 (02:36 +0000)]
Merge "Remove unwanted space characters from dialing number" into oc-dr1-dev am: 332808df52
am: cacee14743

Change-Id: I6f11614c3d4066da8f3c1f6831e2928793eba00d

7 years agoRetry authentication in key-missing or pairing collision use case am: a95a6a3608...
Matadeen Mishra [Thu, 27 Jul 2017 02:36:05 +0000 (02:36 +0000)]
Retry authentication in key-missing or pairing collision use case am: a95a6a3608 am: 27457a8b85
am: 06a13195af

Change-Id: Ie5dbfb47dc879508c1799619735972ffb457cf74

7 years agoRetry authentication in key-missing or pairing collision use case am: a95a6a3608
Matadeen Mishra [Thu, 27 Jul 2017 02:34:06 +0000 (02:34 +0000)]
Retry authentication in key-missing or pairing collision use case am: a95a6a3608
am: 27457a8b85

Change-Id: I343dbedf4a3aefe61c4e37fe8d0e2f0f26b02a49

7 years agoMerge "Retry authentication in key-missing or pairing collision use case" into oc...
TreeHugger Robot [Thu, 27 Jul 2017 02:30:27 +0000 (02:30 +0000)]
Merge "Retry authentication in key-missing or pairing collision use case" into oc-dr1-dev

7 years agoRetry authentication in key-missing or pairing collision use case
Matadeen Mishra [Thu, 27 Jul 2017 02:29:36 +0000 (02:29 +0000)]
Retry authentication in key-missing or pairing collision use case
am: a95a6a3608

Change-Id: Iad1f7b2b5cc32fe6bb7e7237a4652ba7b2ed4e78

7 years agoMerge "Remove unwanted space characters from dialing number" into oc-dr1-dev
Stanley Tng [Thu, 27 Jul 2017 02:14:34 +0000 (02:14 +0000)]
Merge "Remove unwanted space characters from dialing number" into oc-dr1-dev
am: 332808df52

Change-Id: Ifa5ac616315960b79de5c58fb656db86c7fee8fc

7 years agoMerge "Remove unwanted space characters from dialing number" into oc-dr1-dev
Stanley Tng [Thu, 27 Jul 2017 02:14:34 +0000 (02:14 +0000)]
Merge "Remove unwanted space characters from dialing number" into oc-dr1-dev
am: 332808df52

Change-Id: I2cea8eab02198b9b141e54a585032dc547320818

7 years agoMerge "Remove unwanted space characters from dialing number" into oc-dr1-dev
TreeHugger Robot [Thu, 27 Jul 2017 02:07:35 +0000 (02:07 +0000)]
Merge "Remove unwanted space characters from dialing number" into oc-dr1-dev

7 years agoRetry authentication in key-missing or pairing collision use case
Matadeen Mishra [Fri, 17 Feb 2017 07:10:53 +0000 (12:40 +0530)]
Retry authentication in key-missing or pairing collision use case

Problem:
A2DP connection failing with connection timeout

Steps:
1. Pair and connect car kit from DUT
2. Disconnect the car kit from DUT
3  Unpair DUT from car kit menu and initiate pairing from car kit.
   Pairing and A2DP connection should be successful.

Failure:
Paring and A2DP connections fail

Root Cause:
As the stack posting authentication failure to upper layers
when SOC gives key missing error code remote removed from
DUT paired list, but same time lower layers keep retrying
for missing key and leading to connection failure.

Fix:
Don't post authentication complete to upper layers when stack
re trying for security in key missing or transaction collision cases

Test: manual
Bug: 35448920
Change-Id: I970c8679bf27801fe46f8dd757d6435ed500f77f
(cherry picked from commit 35752e32fb5d859c012f6d06f2c22fa6b1f84174)

7 years agoRetry authentication in key-missing or pairing collision use case
Matadeen Mishra [Fri, 17 Feb 2017 07:10:53 +0000 (12:40 +0530)]
Retry authentication in key-missing or pairing collision use case

Problem:
A2DP connection failing with connection timeout

Steps:
1. Pair and connect car kit from DUT
2. Disconnect the car kit from DUT
3  Unpair DUT from car kit menu and initiate pairing from car kit.
   Pairing and A2DP connection should be successful.

Failure:
Paring and A2DP connections fail

Root Cause:
As the stack posting authentication failure to upper layers
when SOC gives key missing error code remote removed from
DUT paired list, but same time lower layers keep retrying
for missing key and leading to connection failure.

Fix:
Don't post authentication complete to upper layers when stack
re trying for security in key missing or transaction collision cases

Test: manual
Bug: 35448920
Change-Id: I970c8679bf27801fe46f8dd757d6435ed500f77f
(cherry picked from commit 35752e32fb5d859c012f6d06f2c22fa6b1f84174)

7 years agoMerge "Use a mutex to protect the consistency of the tBTA_PM_TIMER state am: dbe64516...
Android Build Merger (Role) [Wed, 26 Jul 2017 21:41:06 +0000 (21:41 +0000)]
Merge "Use a mutex to protect the consistency of the tBTA_PM_TIMER state am: dbe6451648 am: c265afc0fd" into oc-mr1-dev-plus-aosp

7 years agoUse a mutex to protect the consistency of the tBTA_PM_TIMER state am: dbe6451648
Pavlin Radoslavov [Wed, 26 Jul 2017 21:40:56 +0000 (21:40 +0000)]
Use a mutex to protect the consistency of the tBTA_PM_TIMER state am: dbe6451648
am: c265afc0fd

Change-Id: I94da33a95dbab6f9a25f99c03c9c47a46360ebb6

7 years agoUse a mutex to protect the consistency of the tBTA_PM_TIMER state am: dbe6451648
Pavlin Radoslavov [Wed, 26 Jul 2017 21:40:45 +0000 (21:40 +0000)]
Use a mutex to protect the consistency of the tBTA_PM_TIMER state am: dbe6451648
am: f722f90010

Change-Id: I068ffaf5f2c682fd9db012dfbaa60aff610d3634

7 years agoUse a mutex to protect the consistency of the tBTA_PM_TIMER state
Pavlin Radoslavov [Wed, 26 Jul 2017 21:37:26 +0000 (21:37 +0000)]
Use a mutex to protect the consistency of the tBTA_PM_TIMER state
am: dbe6451648

Change-Id: If64141be51bf876038283daca40ceadb274d4780

7 years agoUse a mutex to protect the consistency of the tBTA_PM_TIMER state
Pavlin Radoslavov [Wed, 26 Jul 2017 21:36:59 +0000 (21:36 +0000)]
Use a mutex to protect the consistency of the tBTA_PM_TIMER state
am: dbe6451648

Change-Id: Ifec93d0c6e9eccf65741877ec91cabacee83e857

7 years agoMerge "Revert "bt: Update libchrome APIS to r456626."" am: 6241dd5522 am: afc7f05f72...
Eric Laurent [Wed, 26 Jul 2017 20:37:29 +0000 (20:37 +0000)]
Merge "Revert "bt: Update libchrome APIS to r456626."" am: 6241dd5522 am: afc7f05f72 am: 1e541be8c5
am: ee78be4752

Change-Id: I16660c4d34fcff82bdd86e25092b3886a0a40b52

7 years agoMerge "Revert "bt: Update libchrome APIS to r456626."" am: 6241dd5522 am: afc7f05f72
Eric Laurent [Wed, 26 Jul 2017 20:33:53 +0000 (20:33 +0000)]
Merge "Revert "bt: Update libchrome APIS to r456626."" am: 6241dd5522 am: afc7f05f72
am: 1e541be8c5

Change-Id: Id2c114e6685eafd196fc84d9cbb7e1d43cb51efa

7 years agoMerge "Revert "bt: Update libchrome APIS to r456626."" am: 6241dd5522
Eric Laurent [Wed, 26 Jul 2017 20:29:11 +0000 (20:29 +0000)]
Merge "Revert "bt: Update libchrome APIS to r456626."" am: 6241dd5522
am: afc7f05f72

Change-Id: I2f8ceb0afa199d5faee032b4b6f03206589d5421

7 years agoMerge "Revert "bt: Update libchrome APIS to r456626.""
Eric Laurent [Wed, 26 Jul 2017 20:19:29 +0000 (20:19 +0000)]
Merge "Revert "bt: Update libchrome APIS to r456626.""
am: 6241dd5522

Change-Id: I2ab440ec5601a01717428b0ad8faf135437af971

7 years agoMerge "Use a mutex to protect the consistency of the tBTA_PM_TIMER state" am: 02ce3f8...
Pavlin Radoslavov [Wed, 26 Jul 2017 20:08:50 +0000 (20:08 +0000)]
Merge "Use a mutex to protect the consistency of the tBTA_PM_TIMER state" am: 02ce3f8f52 am: 6baf3931ae am: 6843fcc1b8
am: a81dce0353

Change-Id: Ifb1c862249bee137b197d5ca3162c4eb6aeb6331

7 years agoMerge "Use a mutex to protect the consistency of the tBTA_PM_TIMER state" am: 02ce3f8...
Pavlin Radoslavov [Wed, 26 Jul 2017 20:04:49 +0000 (20:04 +0000)]
Merge "Use a mutex to protect the consistency of the tBTA_PM_TIMER state" am: 02ce3f8f52 am: 6baf3931ae
am: 6843fcc1b8

Change-Id: I9421702bbf69be463345377fc54a8bc85e3a0562

7 years agoMerge "Use a mutex to protect the consistency of the tBTA_PM_TIMER state" am: 02ce3f8f52
Pavlin Radoslavov [Wed, 26 Jul 2017 20:02:19 +0000 (20:02 +0000)]
Merge "Use a mutex to protect the consistency of the tBTA_PM_TIMER state" am: 02ce3f8f52
am: 6baf3931ae

Change-Id: I2d2f4cb5b997af3dcf18eb6d1792163ff0aa90d5

7 years agoMerge "Revert "bt: Update libchrome APIS to r456626.""
Eric Laurent [Wed, 26 Jul 2017 20:02:18 +0000 (20:02 +0000)]
Merge "Revert "bt: Update libchrome APIS to r456626.""

7 years agoMerge "Use a mutex to protect the consistency of the tBTA_PM_TIMER state"
Pavlin Radoslavov [Wed, 26 Jul 2017 19:56:48 +0000 (19:56 +0000)]
Merge "Use a mutex to protect the consistency of the tBTA_PM_TIMER state"
am: 02ce3f8f52

Change-Id: I61dbfa463046af52f30385bb2593709b0f8e7730

7 years agoMerge "Use a mutex to protect the consistency of the tBTA_PM_TIMER state"
Treehugger Robot [Wed, 26 Jul 2017 19:48:05 +0000 (19:48 +0000)]
Merge "Use a mutex to protect the consistency of the tBTA_PM_TIMER state"

7 years agoMerge "HFP Client connect Audio" am: d568679105 am: d9401dfa06 am: 54dfa9bdc0
Joseph Pirozzo [Wed, 26 Jul 2017 18:51:43 +0000 (18:51 +0000)]
Merge "HFP Client connect Audio" am: d568679105 am: d9401dfa06 am: 54dfa9bdc0
am: 55d2c7ab49

Change-Id: I2126bb49ddbec7d123bcb6cf45706fd2055d73bc

7 years agoMerge "HFP Client connect Audio" am: d568679105 am: d9401dfa06
Joseph Pirozzo [Wed, 26 Jul 2017 18:43:50 +0000 (18:43 +0000)]
Merge "HFP Client connect Audio" am: d568679105 am: d9401dfa06
am: 54dfa9bdc0

Change-Id: Iaad34e25ebfb7dacc163c19c2749bcaa24874475

7 years agoMerge "HFP Client connect Audio" am: d568679105
Joseph Pirozzo [Wed, 26 Jul 2017 18:39:19 +0000 (18:39 +0000)]
Merge "HFP Client connect Audio" am: d568679105
am: d9401dfa06

Change-Id: I985b2d6e8d09e35bde57eb75f54024f8e51d438c

7 years agoMerge "HFP Client connect Audio"
Joseph Pirozzo [Wed, 26 Jul 2017 18:35:19 +0000 (18:35 +0000)]
Merge "HFP Client connect Audio"
am: d568679105

Change-Id: Ie8b2a8b3b0d54d10fb99017d6f34649004033a5c

7 years agoMerge "HFP Client connect Audio"
Treehugger Robot [Wed, 26 Jul 2017 18:30:08 +0000 (18:30 +0000)]
Merge "HFP Client connect Audio"

7 years agoMerge "Remove unwanted space characters from dialing number" am: ac3faef9da am: 86470...
Stanley Tng [Wed, 26 Jul 2017 18:29:28 +0000 (18:29 +0000)]
Merge "Remove unwanted space characters from dialing number" am: ac3faef9da am: 86470eebc8 am: 56f2268904
am: 493ddc895d

Change-Id: I062b8d45cf0d6f8a1d3052cdff592402a99d471c

7 years agoMerge "Remove unwanted space characters from dialing number" am: ac3faef9da am: 86470...
Stanley Tng [Wed, 26 Jul 2017 18:20:57 +0000 (18:20 +0000)]
Merge "Remove unwanted space characters from dialing number" am: ac3faef9da am: 86470eebc8
am: 56f2268904

Change-Id: I469fb5bafc2e74afa4d125efc79c95e4f1c6c99b

7 years agoUse a mutex to protect the consistency of the tBTA_PM_TIMER state
Pavlin Radoslavov [Wed, 26 Jul 2017 06:55:04 +0000 (23:55 -0700)]
Use a mutex to protect the consistency of the tBTA_PM_TIMER state

Bug: 63689331
Test: Code compilation
Change-Id: Id8ab78473e1f766d5a76b967024b7ff4af499667
(cherry picked from commit f470def4e91301b7b161b88b0428476ecce4f324)

7 years agoMerge "Remove unwanted space characters from dialing number" am: ac3faef9da
Stanley Tng [Wed, 26 Jul 2017 18:11:58 +0000 (18:11 +0000)]
Merge "Remove unwanted space characters from dialing number" am: ac3faef9da
am: 86470eebc8

Change-Id: I46b2bc514c28a59e59e2ff2542c99a18bd8e71b5

7 years agoMerge "Remove unwanted space characters from dialing number"
Stanley Tng [Wed, 26 Jul 2017 18:04:58 +0000 (18:04 +0000)]
Merge "Remove unwanted space characters from dialing number"
am: ac3faef9da

Change-Id: I1209591467468e7b5b5cc77b04c759b02b3b7b67

7 years agoRemove unwanted space characters from dialing number
Stanley Tng [Tue, 25 Jul 2017 17:07:05 +0000 (10:07 -0700)]
Remove unwanted space characters from dialing number

Certain car kits might send an AT command with space characters in
the dialing number. This commit adds a workaround to trim these unwanted
space characters.

Bug: 6340999
Test: Manual test with a car kit but purposely added numbers with spaces.
Change-Id: I9c238bc625fff8503c45cbbfaeb8bdd15b8a7d9a
(cherry picked from commit 54a1461a29a8c71dd010d418ec1b23012bf32805)

7 years agoMerge "Remove unwanted space characters from dialing number"
Treehugger Robot [Wed, 26 Jul 2017 17:50:46 +0000 (17:50 +0000)]
Merge "Remove unwanted space characters from dialing number"

7 years agoRevert "bt: Update libchrome APIS to r456626."
Luis Hector Chavez [Wed, 26 Jul 2017 17:36:20 +0000 (17:36 +0000)]
Revert "bt: Update libchrome APIS to r456626."

This reverts commit 014890b74878022db7d23be47db179ba06e01856.

Reason for revert: Broke the mac_sdk
Exempt-From-Owner-Approval: Fixing mac_sdk

Change-Id: I11652839faf8430a7ee6ad64af0a7bd6985478e8

7 years agoUse a mutex to protect the consistency of the tBTA_PM_TIMER state
Pavlin Radoslavov [Wed, 26 Jul 2017 06:55:04 +0000 (23:55 -0700)]
Use a mutex to protect the consistency of the tBTA_PM_TIMER state

Bug: 63689331
Test: Code compilation
Change-Id: Id8ab78473e1f766d5a76b967024b7ff4af499667

7 years agobt: Update libchrome APIS to r456626. am: 014890b748 am: c05cd556df am: 2096bedc0c
Jay Civelli [Wed, 26 Jul 2017 02:05:58 +0000 (02:05 +0000)]
bt: Update libchrome APIS to r456626. am: 014890b748 am: c05cd556df am: 2096bedc0c
am: 8ad89b559f

Change-Id: Idb1e59dd4d223e6b6bf4d33e1af3cbc21c426261

7 years agobt: Update libchrome APIS to r456626. am: 014890b748 am: c05cd556df
Jay Civelli [Wed, 26 Jul 2017 02:01:23 +0000 (02:01 +0000)]
bt: Update libchrome APIS to r456626. am: 014890b748 am: c05cd556df
am: 2096bedc0c

Change-Id: I9868b517e218c0a3aa68fc4df6e6b8580b4a5e7a

7 years agobt: Update libchrome APIS to r456626. am: 014890b748
Jay Civelli [Wed, 26 Jul 2017 01:57:26 +0000 (01:57 +0000)]
bt: Update libchrome APIS to r456626. am: 014890b748
am: c05cd556df

Change-Id: I92cda49c91c18bf0ca080d3ea9b27cff4fbb7240

7 years agobt: Update libchrome APIS to r456626.
Jay Civelli [Wed, 26 Jul 2017 01:53:56 +0000 (01:53 +0000)]
bt: Update libchrome APIS to r456626.
am: 014890b748

Change-Id: Iaba9b51fa55e72df01bcdb46c10dcf46d11a6856

7 years agoHFP Client connect Audio
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

7 years agoRemove unwanted space characters from dialing number
Stanley Tng [Tue, 25 Jul 2017 17:07:05 +0000 (10:07 -0700)]
Remove unwanted space characters from dialing number

Certain car kits might send an AT command with space characters in
the dialing number. This commit adds a workaround to trim these unwanted
space characters.

Bug: 6340999
Test: Manual test with a car kit but purposely added numbers with spaces.
Change-Id: I9c238bc625fff8503c45cbbfaeb8bdd15b8a7d9a

7 years agobt: Update libchrome APIS to r456626.
Jay Civelli [Mon, 27 Mar 2017 16:53:18 +0000 (09:53 -0700)]
bt: Update libchrome APIS to r456626.

The new libchrome has been ported from Chromium and some APIs
have changed. Make necessary changes at call sites.

Change-Id: If5ea3659905f485fd0513c75e9d4f7c99b390c16

7 years agoMerge "Revert "Always restrict the AVDTP MTU for SBC codec to MAX_2MBPS_AVDTP_MTU...
Pavlin Radoslavov [Mon, 24 Jul 2017 23:24:25 +0000 (23:24 +0000)]
Merge "Revert "Always restrict the AVDTP MTU for SBC codec to MAX_2MBPS_AVDTP_MTU(663)"" into oc-dr1-dev am: b53fcadb1b
am: 9a3cca8c77

Change-Id: I7be302b81e33f6994e17fe26e0c532f74c66436e

7 years agoMerge "DO NOT MERGE ANYWHERE: Revert "Revert "Fix the interoperability mechanism...
Pavlin Radoslavov [Mon, 24 Jul 2017 23:24:14 +0000 (23:24 +0000)]
Merge "DO NOT MERGE ANYWHERE: Revert "Revert "Fix the interoperability mechanism for 2Mbps-only links for audio""" into oc-dr1-dev am: 5074c2f9bf  -s ours
am: 833f335dc1  -s ours

Change-Id: I1c4c8393582626e53ef768c7551d4fe944d06185

7 years agoReduce error conditions which cause link key deletion on auth complete am: f4835d65ed...
Andre Eisenbach [Mon, 24 Jul 2017 23:23:52 +0000 (23:23 +0000)]
Reduce error conditions which cause link key deletion on auth complete am: f4835d65ed  -s ours
am: 311aa5f677

Change-Id: I31d5f251496ed3ed91f03c9ff38ff7e9459adbd1

7 years agoMerge "Revert "Always restrict the AVDTP MTU for SBC codec to MAX_2MBPS_AVDTP_MTU...
Pavlin Radoslavov [Mon, 24 Jul 2017 23:22:00 +0000 (23:22 +0000)]
Merge "Revert "Always restrict the AVDTP MTU for SBC codec to MAX_2MBPS_AVDTP_MTU(663)"" into oc-dr1-dev
am: b53fcadb1b

Change-Id: If695567b6e9d619c108bf89d52647b500332fe4a

7 years agoMerge "DO NOT MERGE ANYWHERE: Revert "Revert "Fix the interoperability mechanism...
Pavlin Radoslavov [Mon, 24 Jul 2017 23:21:46 +0000 (23:21 +0000)]
Merge "DO NOT MERGE ANYWHERE: Revert "Revert "Fix the interoperability mechanism for 2Mbps-only links for audio""" into oc-dr1-dev
am: 5074c2f9bf  -s ours

Change-Id: I399e3a6c04c0ba6ac1ccba7055208526be173598