OSDN Git Service

android-x86/packages-apps-Bluetooth.git
8 years agoImport translations. DO NOT MERGE am: 397d9de948 -s ours
Bill Yi [Sun, 5 Jun 2016 16:01:53 +0000 (16:01 +0000)]
Import translations. DO NOT MERGE am: 397d9de948  -s ours
am: c02fefd86a  -s ours

* commit 'c02fefd86a46bab2765947727bda2d066ecb17a0':

Change-Id: I17611340ac9c9248b5b4bddeb32815549a5cdc09

8 years agoImport translations. DO NOT MERGE am: 397d9de948 -s ours
Bill Yi [Sun, 5 Jun 2016 16:00:38 +0000 (16:00 +0000)]
Import translations. DO NOT MERGE am: 397d9de948  -s ours
am: 1128328664  -s ours

* commit '1128328664efa52b7967859a8f5405aae5502688':
  Import translations. DO NOT MERGE

Change-Id: I514943d1b67592bffa9cb360ee9e9cdef860051f

8 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 5 Jun 2016 15:56:55 +0000 (15:56 +0000)]
Import translations. DO NOT MERGE
am: 397d9de948  -s ours

* commit '397d9de948c3c5084468401ff1951f2db16260a2':
  Import translations. DO NOT MERGE

Change-Id: I2f8abe0d637ffd8a6f44c05f3728b26d2a7df392

8 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 5 Jun 2016 15:56:50 +0000 (15:56 +0000)]
Import translations. DO NOT MERGE
am: 5b076e9e05  -s ours

* commit '5b076e9e051be7ccb83408cc18a36239a50facf9':
  Import translations. DO NOT MERGE

Change-Id: I77f0769a0a4395b6332847184cb07887a5cd8aad

8 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 5 Jun 2016 15:56:48 +0000 (15:56 +0000)]
Import translations. DO NOT MERGE
am: 397d9de948  -s ours

* commit '397d9de948c3c5084468401ff1951f2db16260a2':
  Import translations. DO NOT MERGE

Change-Id: I221cce3b46e062e60f4439ead38a97aa561d6edc

8 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 3 Jun 2016 23:45:47 +0000 (16:45 -0700)]
Import translations. DO NOT MERGE

Change-Id: I98fcef7d96fe6957419e34bdb4357e254d8e6fc0
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 3 Jun 2016 23:42:34 +0000 (16:42 -0700)]
Import translations. DO NOT MERGE

Change-Id: If896174730ea6a12d1d591aadf2eff5047d2e60a
Auto-generated-cl: translation import

8 years agoMerge "Check exception to prevent crash on invalid URIs am: eacf805631 am: 8c6f71ddc0...
Android Build Merger (Role) [Thu, 2 Jun 2016 22:08:23 +0000 (22:08 +0000)]
Merge "Check exception to prevent crash on invalid URIs am: eacf805631 am: 8c6f71ddc0" into nyc-mr1-dev-plus-aosp

8 years agoCheck exception to prevent crash on invalid URIs am: eacf805631
Marie Janssen [Thu, 2 Jun 2016 22:08:11 +0000 (22:08 +0000)]
Check exception to prevent crash on invalid URIs am: eacf805631
am: 397d80ad96

* commit '397d80ad96fa265c5c506948665846f9b9fa3d65':
  Check exception to prevent crash on invalid URIs

Change-Id: I5b51c507f7c2835d8d00fa7ae7d828d372c42ac5

8 years agoCheck exception to prevent crash on invalid URIs am: eacf805631
Marie Janssen [Thu, 2 Jun 2016 22:08:11 +0000 (22:08 +0000)]
Check exception to prevent crash on invalid URIs am: eacf805631
am: 8c6f71ddc0

* commit '8c6f71ddc0b760a66f4aef6cc32d3a3538aaf496':
  Check exception to prevent crash on invalid URIs

Change-Id: I2605f2af354a36a8bb23be6e173195da03939d2c

8 years agoCheck exception to prevent crash on invalid URIs
Marie Janssen [Thu, 2 Jun 2016 22:05:45 +0000 (22:05 +0000)]
Check exception to prevent crash on invalid URIs
am: eacf805631

* commit 'eacf805631c3fb557ba7210dc6da3eb4dd1a04b2':
  Check exception to prevent crash on invalid URIs

Change-Id: I0b656810f5165dde186fc80a47eb5c4339ef8a66

8 years agoCheck exception to prevent crash on invalid URIs
Marie Janssen [Thu, 2 Jun 2016 22:05:45 +0000 (22:05 +0000)]
Check exception to prevent crash on invalid URIs
am: eacf805631

* commit 'eacf805631c3fb557ba7210dc6da3eb4dd1a04b2':
  Check exception to prevent crash on invalid URIs

Change-Id: I6c697a50c6078ba89f0f5bd0018ddcf99ef869d2

8 years agoHFP 1.7 profile update (4/4)
Mudumba Ananth [Thu, 2 Jun 2016 10:36:28 +0000 (10:36 +0000)]
HFP 1.7 profile update (4/4)
am: 2ab50a41da

* commit '2ab50a41dac634a78cef60a419c3bcc848c1aa78':
  HFP 1.7 profile update (4/4)

Change-Id: I8e544dd7e3e68dd6c7c246db675474488aa77be2

8 years agoHFP 1.7 profile update (4/4)
Mudumba Ananth [Mon, 29 Feb 2016 10:14:18 +0000 (02:14 -0800)]
HFP 1.7 profile update (4/4)

-> Added HF Indicator support.
-> Sent a Broadcast intent upon receiving AT + BIND and
   AT + BIEV Events with the required parameters
-> Support for sending +BIND response on indicator
   status change

Bug: 19983867
Change-Id: I2580fc771080f1bc92fc4ddd5ca7c7cb57773183

8 years agoCheck exception to prevent crash on invalid URIs
Marie Janssen [Wed, 25 May 2016 21:27:00 +0000 (14:27 -0700)]
Check exception to prevent crash on invalid URIs

Previously if an invalid URI for a notification is received,
Bluetooth crashed.

Bug: 28940687
Change-Id: I54e17b7180e770bb8a5cf48c3d4b2a35657cb67f

8 years agoOnly allow access to MAP if SMS is not supported am: 4d2c98fcf1
rongbo.x.chi [Wed, 25 May 2016 00:35:16 +0000 (00:35 +0000)]
Only allow access to MAP if SMS is not supported am: 4d2c98fcf1
am: b1a7dbf860

* commit 'b1a7dbf860fc3a66113fce83c64fe23aacdd311c':

Change-Id: I0ee7978591bbab201e4bef4be33896c8f4605217

8 years agoOnly allow access to MAP if SMS is not supported am: 4d2c98fcf1
rongbo.x.chi [Wed, 25 May 2016 00:31:03 +0000 (00:31 +0000)]
Only allow access to MAP if SMS is not supported am: 4d2c98fcf1
am: cd42dafa7b

* commit 'cd42dafa7b46ed7add0705862632fdf70e9e19a9':
  Only allow access to MAP if SMS is not supported

Change-Id: I56704c020b97401e63876ca303c7879dcd9e5b58

8 years agoMerge "Removed unnecessary "synchronized" statements" am: 5d573d5b69 am: 58ae9847b3
Pavlin Radoslavov [Wed, 25 May 2016 00:30:59 +0000 (00:30 +0000)]
Merge "Removed unnecessary "synchronized" statements" am: 5d573d5b69 am: 58ae9847b3
am: 1e68050081

* commit '1e68050081902a40faf443c33c9f442a7e41ec90':
  Removed unnecessary "synchronized" statements

Change-Id: Idc4e380970f18c693b177d85b0c6f33c898673f1

8 years agoOnly allow access to MAP if SMS is not supported
rongbo.x.chi [Wed, 25 May 2016 00:27:29 +0000 (00:27 +0000)]
Only allow access to MAP if SMS is not supported
am: 4d2c98fcf1

* commit '4d2c98fcf1abc4b07dc2d4601952f30f5d008470':
  Only allow access to MAP if SMS is not supported

Change-Id: I33a25eb06427b65297cb72fac7c7325dec0e2067

8 years agoOnly allow access to MAP if SMS is not supported
rongbo.x.chi [Wed, 25 May 2016 00:27:28 +0000 (00:27 +0000)]
Only allow access to MAP if SMS is not supported
am: 4d2c98fcf1

* commit '4d2c98fcf1abc4b07dc2d4601952f30f5d008470':
  Only allow access to MAP if SMS is not supported

Change-Id: If15223d47b3c56297aa7289d71dc23b18816275a

8 years agoMerge "Removed unnecessary "synchronized" statements" am: 5d573d5b69
Pavlin Radoslavov [Wed, 25 May 2016 00:26:49 +0000 (00:26 +0000)]
Merge "Removed unnecessary "synchronized" statements" am: 5d573d5b69
am: 58ae9847b3

* commit '58ae9847b35b4a5d20f82b02ba396eb3d7790a99':
  Removed unnecessary "synchronized" statements

Change-Id: I97f18ab10590fe10f1cfa2deeae915f447e6de23

8 years agoMerge "Removed unnecessary "synchronized" statements"
Pavlin Radoslavov [Tue, 24 May 2016 23:27:50 +0000 (23:27 +0000)]
Merge "Removed unnecessary "synchronized" statements"
am: 5d573d5b69

* commit '5d573d5b69dd6b339a2f26627065e4398266d072':
  Removed unnecessary "synchronized" statements

Change-Id: I9c5750be40991984dfc9a8415618f24d519a1048

8 years agoMerge "Removed unnecessary "synchronized" statements"
Treehugger Robot [Tue, 24 May 2016 23:17:36 +0000 (23:17 +0000)]
Merge "Removed unnecessary "synchronized" statements"

8 years agoOnly allow access to MAP if SMS is not supported
rongbo.x.chi [Mon, 7 Dec 2015 08:42:18 +0000 (16:42 +0800)]
Only allow access to MAP if SMS is not supported

Bluetooth MAP shows SMS/MMS instance and when SMS is not supported.
Don't create SMS/MMS instance if device does not support SMS.

Fixes: 28803983
Change-Id: I807fe7e10bf51316729fe56ff6181a9161a410ef

8 years agoAdd guest mode functionality (3/3) am: e1ca5cccd6 am: 480b762641 am: b01d679002 am...
Ajay Panicker [Tue, 24 May 2016 22:30:17 +0000 (22:30 +0000)]
Add guest mode functionality (3/3) am: e1ca5cccd6 am: 480b762641 am: b01d679002 am: 0b2a403b82  -s ours am: 6d74162bea am: 46790a61d3 am: 5b68598a5f am: 4b1a2258f7 am: 996e934491
am: 144643c798

* commit '144643c7989bdfdddf1b21ec1f646d0499e5d023':

Change-Id: I5ecc87f0f71e012be6b143626f4c77a0f5d7d363

8 years agoAdd guest mode functionality (3/3) am: e1ca5cccd6 am: 480b762641 am: b01d679002 am...
Ajay Panicker [Tue, 24 May 2016 22:30:02 +0000 (22:30 +0000)]
Add guest mode functionality (3/3) am: e1ca5cccd6 am: 480b762641 am: b01d679002 am: 0b2a403b82  -s ours am: 6d74162bea am: 46790a61d3 am: 5b68598a5f am: 4b1a2258f7 am: 996e934491
am: 0dd27d8862

* commit '0dd27d8862a9a7a2e2f58ea3f812c7e301c4194f':
  Add guest mode functionality (3/3)

Change-Id: I55dd9e09102c4729a547074845e4bc56ad16603e

8 years agoMerge "Add guest mode functionality (3/3) am: af5b1764da am: 69689c0098 -s ours...
Android Build Merger (Role) [Tue, 24 May 2016 22:29:52 +0000 (22:29 +0000)]
Merge "Add guest mode functionality (3/3) am: af5b1764da am: 69689c0098  -s ours am: 1d6901fdcf am: 749752db0d am: 24bbc49362 am: bc8291e9bf" into nyc-mr1-dev-plus-aosp

8 years agoAdd guest mode functionality (3/3) am: af5b1764da am: 69689c0098 -s ours am: 1d6901f...
Ajay Panicker [Tue, 24 May 2016 22:29:36 +0000 (22:29 +0000)]
Add guest mode functionality (3/3) am: af5b1764da am: 69689c0098  -s ours am: 1d6901fdcf am: 749752db0d am: 24bbc49362
am: bc8291e9bf

* commit 'bc8291e9bf1d881f76338c2a13c1c1673fff9286':
  Add guest mode functionality (3/3)

Change-Id: I756a248ba3394ecc997efcfd8457b77f6d70b866

8 years agoAdd guest mode functionality (3/3) am: af5b1764da am: 69689c0098 -s ours am: 1d6901f...
Ajay Panicker [Tue, 24 May 2016 22:29:34 +0000 (22:29 +0000)]
Add guest mode functionality (3/3) am: af5b1764da am: 69689c0098  -s ours am: 1d6901fdcf am: 749752db0d am: 24bbc49362
am: 76c07448f3

* commit '76c07448f3aea52e093cd9687c37fc0642f10cb4':
  Add guest mode functionality (3/3)

Change-Id: If3459d86e0d65a21e13e06f1170c7f357dfc260d

8 years agoAdd guest mode functionality (3/3) am: e1ca5cccd6 am: 480b762641 am: b01d679002 am...
Ajay Panicker [Tue, 24 May 2016 22:27:40 +0000 (22:27 +0000)]
Add guest mode functionality (3/3) am: e1ca5cccd6 am: 480b762641 am: b01d679002 am: 0b2a403b82  -s ours am: 6d74162bea am: 46790a61d3 am: 5b68598a5f am: 4b1a2258f7
am: 996e934491

* commit '996e934491359a490a95f510da6f9eca6e684918':
  Add guest mode functionality (3/3)

Change-Id: Icb7cf37c3be37ad276a678a26c5008126937c7fa

8 years agoAdd guest mode functionality (3/3) am: e1ca5cccd6 am: 480b762641 am: b01d679002 am...
Ajay Panicker [Tue, 24 May 2016 22:27:38 +0000 (22:27 +0000)]
Add guest mode functionality (3/3) am: e1ca5cccd6 am: 480b762641 am: b01d679002 am: 0b2a403b82  -s ours am: 6d74162bea am: 46790a61d3 am: 5b68598a5f am: 4b1a2258f7
am: 996e934491

* commit '996e934491359a490a95f510da6f9eca6e684918':
  Add guest mode functionality (3/3)

Change-Id: I1fc9922c46d768c0cc69b875c1a83bd44248aa43

8 years agoAdd guest mode functionality (3/3) am: af5b1764da am: 69689c0098 -s ours am: 1d6901f...
Ajay Panicker [Tue, 24 May 2016 22:26:53 +0000 (22:26 +0000)]
Add guest mode functionality (3/3) am: af5b1764da am: 69689c0098  -s ours am: 1d6901fdcf am: 749752db0d
am: 24bbc49362

* commit '24bbc4936234ba42ef38c14d0f7c2174b98b1792':
  Add guest mode functionality (3/3)

Change-Id: I1f07c3966954139f49a49d2f39cee93130b91343

8 years agoAdd guest mode functionality (3/3) am: af5b1764da am: 69689c0098 -s ours am: 1d6901f...
Ajay Panicker [Tue, 24 May 2016 22:26:50 +0000 (22:26 +0000)]
Add guest mode functionality (3/3) am: af5b1764da am: 69689c0098  -s ours am: 1d6901fdcf am: 749752db0d
am: 24bbc49362

* commit '24bbc4936234ba42ef38c14d0f7c2174b98b1792':
  Add guest mode functionality (3/3)

Change-Id: I47282efc33a5d9f7a7cd05dd57efb2af2aa8ca46

8 years agoAdd guest mode functionality (3/3) am: e1ca5cccd6 am: 480b762641 am: b01d679002 am...
Ajay Panicker [Tue, 24 May 2016 22:26:00 +0000 (22:26 +0000)]
Add guest mode functionality (3/3) am: e1ca5cccd6 am: 480b762641 am: b01d679002 am: 0b2a403b82  -s ours am: 6d74162bea am: 46790a61d3 am: 5b68598a5f
am: 4b1a2258f7

* commit '4b1a2258f7b811312ddefb1af62a87544f574ab1':
  Add guest mode functionality (3/3)

Change-Id: I0a69c7db93c9f510985107e31609c9b45dc3698f

8 years agoAdd guest mode functionality (3/3) am: af5b1764da am: 69689c0098 -s ours am: 1d6901fdcf
Ajay Panicker [Tue, 24 May 2016 22:25:26 +0000 (22:25 +0000)]
Add guest mode functionality (3/3) am: af5b1764da am: 69689c0098  -s ours am: 1d6901fdcf
am: 749752db0d

* commit '749752db0d737e47f59347f01e9c304608f63e27':
  Add guest mode functionality (3/3)

Change-Id: I8e8327d41c0ee3d6b6ed1c68b7517aca44dfab66

8 years agoAdd guest mode functionality (3/3) am: e1ca5cccd6 am: 480b762641 am: b01d679002 am...
Ajay Panicker [Tue, 24 May 2016 22:21:47 +0000 (22:21 +0000)]
Add guest mode functionality (3/3) am: e1ca5cccd6 am: 480b762641 am: b01d679002 am: 0b2a403b82  -s ours am: 6d74162bea am: 46790a61d3
am: 5b68598a5f

* commit '5b68598a5f4e0bef1ee87671617be8476dbf30a6':
  Add guest mode functionality (3/3)

Change-Id: Ib4ea170b03af67655426ab030032aeb36342f6ba

8 years agoAdd guest mode functionality (3/3) am: af5b1764da am: 69689c0098 -s ours
Ajay Panicker [Tue, 24 May 2016 22:21:27 +0000 (22:21 +0000)]
Add guest mode functionality (3/3) am: af5b1764da am: 69689c0098  -s ours
am: 1d6901fdcf

* commit '1d6901fdcf7e546b3bdbeb1bc1b9c1cae3688745':
  Add guest mode functionality (3/3)

Change-Id: If3aaa4e34c015da99d38e984d8b0dd1bedd2e1f3

8 years agoAdd guest mode functionality (3/3) am: e1ca5cccd6 am: 480b762641 am: b01d679002 am...
Ajay Panicker [Tue, 24 May 2016 22:16:17 +0000 (22:16 +0000)]
Add guest mode functionality (3/3) am: e1ca5cccd6 am: 480b762641 am: b01d679002 am: 0b2a403b82  -s ours am: 6d74162bea
am: 46790a61d3

* commit '46790a61d3722128f68bbfd2e12656923def72d0':
  Add guest mode functionality (3/3)

Change-Id: I956eb988a5f80ff11af426a406251a852eb1a09a

8 years agoAdd guest mode functionality (3/3) am: e1ca5cccd6 am: 480b762641 am: b01d679002 am...
Ajay Panicker [Tue, 24 May 2016 22:16:04 +0000 (22:16 +0000)]
Add guest mode functionality (3/3) am: e1ca5cccd6 am: 480b762641 am: b01d679002 am: 0b2a403b82  -s ours
am: 6d74162bea

* commit '6d74162bea2771991a434e0c463b58c080ee1b26':
  Add guest mode functionality (3/3)

Change-Id: I90e7d0a5372f25eeb2a92f8773aa81caa3d1de1f

8 years agoAdd guest mode functionality (3/3) am: af5b1764da
Ajay Panicker [Tue, 24 May 2016 22:15:53 +0000 (22:15 +0000)]
Add guest mode functionality (3/3) am: af5b1764da
am: 69689c0098  -s ours

* commit '69689c0098a7582f8bba393f72b2575ed5508e71':
  Add guest mode functionality (3/3)

Change-Id: I0715575a2e7de20356c1b8c0b170eb85eb5e77e3

8 years agoAdd guest mode functionality (3/3) am: e1ca5cccd6 am: 480b762641 am: b01d679002
Ajay Panicker [Tue, 24 May 2016 22:13:11 +0000 (22:13 +0000)]
Add guest mode functionality (3/3) am: e1ca5cccd6 am: 480b762641 am: b01d679002
am: 0b2a403b82  -s ours

* commit '0b2a403b821149b8d0c6ec3ab28db46beff3d75e':
  Add guest mode functionality (3/3)

Change-Id: Ic32d37360b9a73b10b27bed3a73d9fdf865db346

8 years agoAdd guest mode functionality (3/3) am: e1ca5cccd6 am: 480b762641
Ajay Panicker [Tue, 24 May 2016 22:07:27 +0000 (22:07 +0000)]
Add guest mode functionality (3/3) am: e1ca5cccd6 am: 480b762641
am: b01d679002

* commit 'b01d6790028caf2ba951d5c6eeacf7d4f8ecbbd3':
  Add guest mode functionality (3/3)

Change-Id: I98de45cdc87a200c4ff32ccfac88d42edac767a5

8 years agoAdd guest mode functionality (3/3) am: e1ca5cccd6
Ajay Panicker [Tue, 24 May 2016 22:05:26 +0000 (22:05 +0000)]
Add guest mode functionality (3/3) am: e1ca5cccd6
am: 480b762641

* commit '480b76264134b6a44aef6948f32b4bd6a62fcd0f':
  Add guest mode functionality (3/3)

Change-Id: I512cef0d0c23d4702cf9de61be4bf8f47c164bac

8 years agoAdd guest mode functionality (3/3)
Ajay Panicker [Tue, 24 May 2016 22:02:02 +0000 (22:02 +0000)]
Add guest mode functionality (3/3)
am: af5b1764da

* commit 'af5b1764daa3b212d471f000d7091ac07c040453':
  Add guest mode functionality (3/3)

Change-Id: I2591d37bb52e2bda796200100f7f21bf00f55d7a

8 years agoAdd guest mode functionality (3/3)
Ajay Panicker [Tue, 24 May 2016 22:02:02 +0000 (22:02 +0000)]
Add guest mode functionality (3/3)
am: e1ca5cccd6

* commit 'e1ca5cccd6c2b37f783aa0ee2d9371108ad5c855':
  Add guest mode functionality (3/3)

Change-Id: I9f3c034215aadf5e5ebd77e4a3265c7fbcf21fe3

8 years agoMerge "GATT: Move connection parameters to config.xml" into nyc-mr1-dev
Alain Vongsouvanh [Tue, 24 May 2016 16:28:16 +0000 (16:28 +0000)]
Merge "GATT: Move connection parameters to config.xml" into nyc-mr1-dev
am: 30a5b9153f

* commit '30a5b9153f8154c72d877a56e57b257dbfa27c50':
  GATT: Move connection parameters to config.xml

Change-Id: Ifc767f506ce7d1be8e07584ad91dcad26ae12a39

8 years agoMerge "GATT: Move connection parameters to config.xml" into nyc-mr1-dev
Alain Vongsouvanh [Tue, 24 May 2016 16:09:52 +0000 (16:09 +0000)]
Merge "GATT: Move connection parameters to config.xml" into nyc-mr1-dev

8 years agoRemoved unnecessary "synchronized" statements
Pavlin Radoslavov [Mon, 23 May 2016 05:24:08 +0000 (22:24 -0700)]
Removed unnecessary "synchronized" statements

Bug: 28734075
Bug: 28799467
Change-Id: I6ba8867c179dc416bb0dd06c69ce426c10ea7585
(cherry picked from commit e741f05c93343241123095acab011dc8a0700bc6)

8 years agoMerge "Removed unnecessary "synchronized" statements am: e741f05c93 am: 628d48f520...
Android Build Merger (Role) [Tue, 24 May 2016 02:39:30 +0000 (02:39 +0000)]
Merge "Removed unnecessary "synchronized" statements am: e741f05c93 am: 628d48f520" into nyc-mr1-dev-plus-aosp

8 years agoRemoved unnecessary "synchronized" statements am: e741f05c93
Pavlin Radoslavov [Tue, 24 May 2016 02:38:35 +0000 (02:38 +0000)]
Removed unnecessary "synchronized" statements am: e741f05c93
am: 1566daef82

* commit '1566daef8262b3df354dc8d856d878ecf0182088':
  Removed unnecessary "synchronized" statements

Change-Id: I739b069bde2d56cc9a9f988274affcb3d0d35ad8

8 years agoRemoved unnecessary "synchronized" statements am: e741f05c93
Pavlin Radoslavov [Tue, 24 May 2016 02:38:35 +0000 (02:38 +0000)]
Removed unnecessary "synchronized" statements am: e741f05c93
am: 628d48f520

* commit '628d48f52097c2c9656e66849e126d0c6ed0613f':
  Removed unnecessary "synchronized" statements

Change-Id: Ia03e7359e95aac157f9b209f59ef177f53680e8c

8 years agoRemoved unnecessary "synchronized" statements
Pavlin Radoslavov [Tue, 24 May 2016 02:34:35 +0000 (02:34 +0000)]
Removed unnecessary "synchronized" statements
am: e741f05c93

* commit 'e741f05c93343241123095acab011dc8a0700bc6':
  Removed unnecessary "synchronized" statements

Change-Id: Id0e12a4367d43f056a04ed8d877adbb2b1735424

8 years agoRemoved unnecessary "synchronized" statements
Pavlin Radoslavov [Tue, 24 May 2016 02:34:30 +0000 (02:34 +0000)]
Removed unnecessary "synchronized" statements
am: e741f05c93

* commit 'e741f05c93343241123095acab011dc8a0700bc6':
  Removed unnecessary "synchronized" statements

Change-Id: Id0db840569d83817dbb4a65619f9e63618370354

8 years agoRemoved unnecessary "synchronized" statements
Pavlin Radoslavov [Mon, 23 May 2016 05:24:08 +0000 (22:24 -0700)]
Removed unnecessary "synchronized" statements

Bug: 28734075
Bug: 28799467
Change-Id: I6ba8867c179dc416bb0dd06c69ce426c10ea7585

8 years agoGATT: Move connection parameters to config.xml
Alain Vongsouvanh [Fri, 13 May 2016 20:27:59 +0000 (13:27 -0700)]
GATT: Move connection parameters to config.xml

This makes it easier for OEMs to customize the high prioriy, balanced
and low power mode connection parameters through overlays.

Bug: 18013697
Change-Id: I8b486b772fdb871f2800238cb5e45c4ff0663952
(cherry-picked from d65009d591017319a429be1a920fdf763e71cebd)

8 years agoMerge "Broadcast UUIDS on BT state transition to ON am: 6fb4b2407f am: ce3e0b67ab...
Android Build Merger (Role) [Mon, 23 May 2016 21:50:18 +0000 (21:50 +0000)]
Merge "Broadcast UUIDS on BT state transition to ON am: 6fb4b2407f am: ce3e0b67ab" into nyc-mr1-dev-plus-aosp

8 years agoBroadcast UUIDS on BT state transition to ON am: 6fb4b2407f
venkata Jagadeesh [Mon, 23 May 2016 21:50:13 +0000 (21:50 +0000)]
Broadcast UUIDS on BT state transition to ON am: 6fb4b2407f
am: ce3e0b67ab

* commit 'ce3e0b67ab38a01219e1b42bd666dbf1a3ead8bc':
  Broadcast UUIDS on BT state transition to ON

Change-Id: Iea07aa30b2fe7d77220d9e828dc4a65face37ffd

8 years agoBroadcast UUIDS on BT state transition to ON am: 6fb4b2407f
venkata Jagadeesh [Mon, 23 May 2016 21:50:09 +0000 (21:50 +0000)]
Broadcast UUIDS on BT state transition to ON am: 6fb4b2407f
am: f20b2c49dc

* commit 'f20b2c49dca6706b6819849c330b8269be2cb737':
  Broadcast UUIDS on BT state transition to ON

Change-Id: I3c26efa4a70a49f2e1f2ed66e0c31469da45ecd8

8 years agoMerge "Fix LocalRef leakage in get_gatt_db" am: 1e881716b5 am: e6a0f4bcdb
Jakub Pawlowski [Mon, 23 May 2016 21:46:22 +0000 (21:46 +0000)]
Merge "Fix LocalRef leakage in get_gatt_db" am: 1e881716b5 am: e6a0f4bcdb
am: 54a3bfe2e3

* commit '54a3bfe2e3f59af1de76e88e24f74f41e3a6a3ea':
  Fix LocalRef leakage in get_gatt_db

Change-Id: I03b18308037f970aa4ba96fc74b69dd7265abb11

8 years agoBroadcast UUIDS on BT state transition to ON
venkata Jagadeesh [Mon, 23 May 2016 21:46:17 +0000 (21:46 +0000)]
Broadcast UUIDS on BT state transition to ON
am: 6fb4b2407f

* commit '6fb4b2407f2ae6d87b1f026870f66d717a915973':
  Broadcast UUIDS on BT state transition to ON

Change-Id: I9794b2e85406f0b031dc28aa9a7002b5d334b1a7

8 years agoBroadcast UUIDS on BT state transition to ON
venkata Jagadeesh [Mon, 23 May 2016 21:46:16 +0000 (21:46 +0000)]
Broadcast UUIDS on BT state transition to ON
am: 6fb4b2407f

* commit '6fb4b2407f2ae6d87b1f026870f66d717a915973':
  Broadcast UUIDS on BT state transition to ON

Change-Id: Ie3f311eb23193c3da4a5d54e0a956caeaf9a0084

8 years agoMerge "Fix LocalRef leakage in get_gatt_db" am: 1e881716b5
Andre Eisenbach [Mon, 23 May 2016 21:43:01 +0000 (21:43 +0000)]
Merge "Fix LocalRef leakage in get_gatt_db" am: 1e881716b5
am: e6a0f4bcdb

* commit 'e6a0f4bcdbf480ffc7172a4c1691e526ad20016d':
  Fix LocalRef leakage in get_gatt_db

Change-Id: I8c5fdeb549d91169c463025f6b66adff98536cfa

8 years agoBroadcast UUIDS on BT state transition to ON
venkata Jagadeesh [Tue, 12 Jan 2016 09:24:47 +0000 (14:54 +0530)]
Broadcast UUIDS on BT state transition to ON

Use case: Phone and media connection is not happening
after BT reset during swapping between the HeadSet.

Precondition:
1. WIFI should be on and connected with AP.

Steps:
1. Pair and connect from DUT to PLT legend device.
2. Make an Mobile originated (MO) call.
3. Pair and connect from DUT to sony carkit.
4. Swap connection between PLT legend and sony carkit.
5. During swapping turn OFF BT from DUT.
6. Turn ON DUT and wait for auto connection from DUT.
7. Repeat step from 4-6 10 times.

Failure: Failed to connect with HS.

Root cause:
Broadcarst UUIDS on receiving the on event
from lower layers even though the state is not
transitioned to ON.

Fix:
Broadcast UUIDS on BT state is transitioned to ON
to avoid timing issues related UUIDS.

Bug: 27665220
Change-Id: Ibdbaecd60cf36c599700b1ca353481b8149efa90

8 years agoMerge "Fix LocalRef leakage in get_gatt_db"
Jakub Pawlowski [Mon, 23 May 2016 21:38:44 +0000 (21:38 +0000)]
Merge "Fix LocalRef leakage in get_gatt_db"
am: 1e881716b5

* commit '1e881716b58792a5f40f9a89c30e2282de8e4c71':
  Fix LocalRef leakage in get_gatt_db

Change-Id: Ie58a139002cc747d9403588a39e3bb5fca80903c

8 years agoMerge "Fix LocalRef leakage in get_gatt_db"
Andre Eisenbach [Mon, 23 May 2016 21:30:30 +0000 (21:30 +0000)]
Merge "Fix LocalRef leakage in get_gatt_db"

8 years agoFix LocalRef leakage in get_gatt_db
Jakub Pawlowski [Mon, 23 May 2016 18:05:32 +0000 (11:05 -0700)]
Fix LocalRef leakage in get_gatt_db

Bug: 28878699
Change-Id: I81929d9f802d4f50eb7eb60d54ceca6ff19bb651

8 years agoMerge "Fix LocalRef leakage in get_gatt_db am: c949f68641 am: 84ace99d10" into nyc...
Android Build Merger (Role) [Mon, 23 May 2016 20:51:37 +0000 (20:51 +0000)]
Merge "Fix LocalRef leakage in get_gatt_db am: c949f68641 am: 84ace99d10" into nyc-mr1-dev-plus-aosp

8 years agoFix LocalRef leakage in get_gatt_db am: c949f68641
Jakub Pawlowski [Mon, 23 May 2016 20:51:27 +0000 (20:51 +0000)]
Fix LocalRef leakage in get_gatt_db am: c949f68641
am: 2b7341422b

* commit '2b7341422bb293317cfa2204489ac499b442bfb9':
  Fix LocalRef leakage in get_gatt_db

Change-Id: Ib28e2e7a0e3211ed74552bd50aa8d8e007a1f949

8 years agoFix LocalRef leakage in get_gatt_db am: c949f68641
Jakub Pawlowski [Mon, 23 May 2016 20:51:27 +0000 (20:51 +0000)]
Fix LocalRef leakage in get_gatt_db am: c949f68641
am: 84ace99d10

* commit '84ace99d10c9c9de682f4d70d7a7b92887e57482':
  Fix LocalRef leakage in get_gatt_db

Change-Id: Ia3d21cb688f75d5efebb47be9e49723ff43c028b

8 years agoFix LocalRef leakage in get_gatt_db
Jakub Pawlowski [Mon, 23 May 2016 20:48:16 +0000 (20:48 +0000)]
Fix LocalRef leakage in get_gatt_db
am: c949f68641

* commit 'c949f686413deb9b711696d53d8064669a1475d0':
  Fix LocalRef leakage in get_gatt_db

Change-Id: I2fecf9ff7527236c3b31248db035ae891cb68d28

8 years agoFix LocalRef leakage in get_gatt_db
Jakub Pawlowski [Mon, 23 May 2016 20:48:14 +0000 (20:48 +0000)]
Fix LocalRef leakage in get_gatt_db
am: c949f68641

* commit 'c949f686413deb9b711696d53d8064669a1475d0':
  Fix LocalRef leakage in get_gatt_db

Change-Id: I12661dd596ba08898c747097cf5fb0687f11a714

8 years agoMerge "Initialize variable protocolMode before it is used" am: c5d9328731 am: 60491bc07b
Pavlin Radoslavov [Mon, 23 May 2016 20:12:42 +0000 (20:12 +0000)]
Merge "Initialize variable protocolMode before it is used" am: c5d9328731 am: 60491bc07b
am: 4ef74bd751

* commit '4ef74bd751fa737c938592ebad0e52fc7b02f5f5':
  Initialize variable protocolMode before it is used

Change-Id: I9051deed122c7c77ea63a120fe4e4e2e07085d75

8 years agoMerge "Initialize variable protocolMode before it is used" am: c5d9328731
Pavlin Radoslavov [Mon, 23 May 2016 20:09:29 +0000 (20:09 +0000)]
Merge "Initialize variable protocolMode before it is used" am: c5d9328731
am: 60491bc07b

* commit '60491bc07b6042df817c1c70b2eb7b6884c68fc4':
  Initialize variable protocolMode before it is used

Change-Id: I488faa4484474980b2754b2c95221d282c0c78de

8 years agoMerge "Initialize variable protocolMode before it is used"
Pavlin Radoslavov [Mon, 23 May 2016 20:05:30 +0000 (20:05 +0000)]
Merge "Initialize variable protocolMode before it is used"
am: c5d9328731

* commit 'c5d9328731a7ef2b7c9ad37b89541c714325cb06':
  Initialize variable protocolMode before it is used

Change-Id: Iffb4cc051808316ee16a1796858812006449bc3f

8 years agoMerge "Initialize variable protocolMode before it is used"
Treehugger Robot [Mon, 23 May 2016 19:58:30 +0000 (19:58 +0000)]
Merge "Initialize variable protocolMode before it is used"

8 years agoFix LocalRef leakage in get_gatt_db
Jakub Pawlowski [Mon, 23 May 2016 18:05:32 +0000 (11:05 -0700)]
Fix LocalRef leakage in get_gatt_db

Bug: 28878699
Change-Id: I81929d9f802d4f50eb7eb60d54ceca6ff19bb651

8 years agoAdd guest mode functionality (3/3)
Ajay Panicker [Fri, 18 Mar 2016 00:12:08 +0000 (17:12 -0700)]
Add guest mode functionality (3/3)

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

Bug: 27410683
Change-Id: If4a8855faf362d7f6de509d7ddc7197d1ac75cee

8 years agoInitialize variable protocolMode before it is used
Pavlin Radoslavov [Mon, 23 May 2016 18:33:59 +0000 (11:33 -0700)]
Initialize variable protocolMode before it is used

This fixes a compilation warning.
Note that the variable protocolMode is unused by the backend.

Bug: 28908173
Change-Id: I6925a974ec825db8cfda694f7f5a30aa9919552d

8 years agoImport translations. DO NOT MERGE am: b3ddda59b6 -s ours
Baligh Uddin [Sun, 22 May 2016 23:18:52 +0000 (23:18 +0000)]
Import translations. DO NOT MERGE am: b3ddda59b6  -s ours
am: 835ac65033  -s ours

* commit '835ac6503350fe3ee4b5e00e3549ee9fb6efce80':

Change-Id: I94a520f0b5a9bbd67b19f060127dc8a214b51dcc

8 years agoImport translations. DO NOT MERGE am: b3ddda59b6 -s ours
Baligh Uddin [Sun, 22 May 2016 23:16:01 +0000 (23:16 +0000)]
Import translations. DO NOT MERGE am: b3ddda59b6  -s ours
am: 24d626b368  -s ours

* commit '24d626b368177ca11a6d88ae107ef1bf9f950393':
  Import translations. DO NOT MERGE

Change-Id: Id518caac60a6f0d8a5cc0f571096191dafbe4958

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sun, 22 May 2016 23:13:09 +0000 (23:13 +0000)]
Import translations. DO NOT MERGE
am: b3ddda59b6  -s ours

* commit 'b3ddda59b674623296238121a6e81c3c1e434756':
  Import translations. DO NOT MERGE

Change-Id: I7e9ab8623adba8a29b600f6ca11447533c925f1f

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sun, 22 May 2016 23:13:09 +0000 (23:13 +0000)]
Import translations. DO NOT MERGE
am: b3ddda59b6  -s ours

* commit 'b3ddda59b674623296238121a6e81c3c1e434756':
  Import translations. DO NOT MERGE

Change-Id: I72013e16cc8e49e6a26f12ec3eaf193014722f29

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sat, 21 May 2016 19:12:24 +0000 (12:12 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 28857042
Change-Id: I7d9aa50ddc3826c10cf29aa91e3fae9ee79a1004

8 years agoMerge "Change scan downgrade timeout from 5 min to 30 min am: 63d9d9ffbe am: d492e91f...
Android Build Merger (Role) [Sat, 21 May 2016 02:43:18 +0000 (02:43 +0000)]
Merge "Change scan downgrade timeout from 5 min to 30 min am: 63d9d9ffbe am: d492e91fac" into nyc-mr1-dev-plus-aosp

8 years agoChange scan downgrade timeout from 5 min to 30 min am: 63d9d9ffbe
Ajay Panicker [Sat, 21 May 2016 02:43:05 +0000 (02:43 +0000)]
Change scan downgrade timeout from 5 min to 30 min am: 63d9d9ffbe
am: b5417e99ed

* commit 'b5417e99edb96db7e4a87776d4c696fa5c221a9a':
  Change scan downgrade timeout from 5 min to 30 min

Change-Id: Ife99db8b22a0d1179a05c606a4f3a45871a18205

8 years agoChange scan downgrade timeout from 5 min to 30 min am: 63d9d9ffbe
Ajay Panicker [Sat, 21 May 2016 02:43:05 +0000 (02:43 +0000)]
Change scan downgrade timeout from 5 min to 30 min am: 63d9d9ffbe
am: d492e91fac

* commit 'd492e91facbc0ed85fe873dc031479ede13076ca':
  Change scan downgrade timeout from 5 min to 30 min

Change-Id: I7cd1ef0338f1b604e827d070a146d6a6a50d8f33

8 years agoChange scan downgrade timeout from 5 min to 30 min
Ajay Panicker [Sat, 21 May 2016 02:40:29 +0000 (02:40 +0000)]
Change scan downgrade timeout from 5 min to 30 min
am: 63d9d9ffbe

* commit '63d9d9ffbec2facf7b90aa552e37168e66c497eb':
  Change scan downgrade timeout from 5 min to 30 min

Change-Id: I1d6e11fd61b70f5c2cb69a90671319f1b885e1e0

8 years agoChange scan downgrade timeout from 5 min to 30 min
Ajay Panicker [Sat, 21 May 2016 02:40:28 +0000 (02:40 +0000)]
Change scan downgrade timeout from 5 min to 30 min
am: 63d9d9ffbe

* commit '63d9d9ffbec2facf7b90aa552e37168e66c497eb':
  Change scan downgrade timeout from 5 min to 30 min

Change-Id: I786d70bde87b53c91c42aa80db103e9651e68404

8 years agoMerge "Change scan downgrade timeout from 5 min to 30 min" am: 31c02c5a77 am: b292cb0ad3
Ajay Panicker [Sat, 21 May 2016 02:01:37 +0000 (02:01 +0000)]
Merge "Change scan downgrade timeout from 5 min to 30 min" am: 31c02c5a77 am: b292cb0ad3
am: 35c85dcf75

* commit '35c85dcf7570b7893f548798459d7e2b14719dea':
  Change scan downgrade timeout from 5 min to 30 min

Change-Id: I3c356188b29e64c26258b383263b05f715d9a997

8 years agoMerge "Change scan downgrade timeout from 5 min to 30 min" am: 31c02c5a77
Ajay Panicker [Sat, 21 May 2016 01:58:57 +0000 (01:58 +0000)]
Merge "Change scan downgrade timeout from 5 min to 30 min" am: 31c02c5a77
am: b292cb0ad3

* commit 'b292cb0ad3070f7ba869d9acc5fe2623d43d9e60':
  Change scan downgrade timeout from 5 min to 30 min

Change-Id: I6882ad07b4a67f245d1e8aa76ab9e731a8d70a95

8 years agoMerge "Change scan downgrade timeout from 5 min to 30 min"
Ajay Panicker [Sat, 21 May 2016 01:56:25 +0000 (01:56 +0000)]
Merge "Change scan downgrade timeout from 5 min to 30 min"
am: 31c02c5a77

* commit '31c02c5a770c0c12becb0856b2c7132470a49939':
  Change scan downgrade timeout from 5 min to 30 min

Change-Id: I7659aec283d8046b7fdb2fc669f20661a42fa014

8 years agoMerge "Change scan downgrade timeout from 5 min to 30 min"
Treehugger Robot [Sat, 21 May 2016 01:50:48 +0000 (01:50 +0000)]
Merge "Change scan downgrade timeout from 5 min to 30 min"

8 years agoChange scan downgrade timeout from 5 min to 30 min
Ajay Panicker [Sat, 21 May 2016 00:35:12 +0000 (17:35 -0700)]
Change scan downgrade timeout from 5 min to 30 min

Bug: 28824606
Change-Id: Ic4d1f7832aaa33ce0177905f6a64fea8eb048eae

8 years agoChange scan downgrade timeout from 5 min to 30 min
Ajay Panicker [Sat, 21 May 2016 00:35:12 +0000 (17:35 -0700)]
Change scan downgrade timeout from 5 min to 30 min

Bug: 28824606
Change-Id: Ic4d1f7832aaa33ce0177905f6a64fea8eb048eae

8 years agoMerge "Fix 2 instances of a field being assigned itself in a constructor." into nyc...
Ian Rogers [Fri, 20 May 2016 00:33:52 +0000 (00:33 +0000)]
Merge "Fix 2 instances of a field being assigned itself in a constructor." into nyc-mr1-dev
am: 8dda49cf64

* commit '8dda49cf64cc641089e6315ce01d57fc4fa54eb5':
  Fix 2 instances of a field being assigned itself in a constructor.

Change-Id: Id22198b5d564a4cf1f67c667adc74f5f6aab6695

8 years agoMerge "Fix 2 instances of a field being assigned itself in a constructor." into nyc...
TreeHugger Robot [Fri, 20 May 2016 00:22:31 +0000 (00:22 +0000)]
Merge "Fix 2 instances of a field being assigned itself in a constructor." into nyc-mr1-dev

8 years agoFix a test related to GATT client that could never succeed
Ian Rogers [Fri, 20 May 2016 00:15:44 +0000 (00:15 +0000)]
Fix a test related to GATT client that could never succeed
am: 50a3e9c706

* commit '50a3e9c70694358d12afa90cf67b4c371351a8e3':
  Fix a test related to GATT client that could never succeed

Change-Id: I5bcf8290ef91b27137528b20da9fbc561f6ec491

8 years agoFix a test related to GATT client that could never succeed
Ian Rogers [Thu, 19 May 2016 02:40:49 +0000 (19:40 -0700)]
Fix a test related to GATT client that could never succeed

Caught by Error Prone:
warning: [CollectionIncompatibleType] Argument 'clientIf' should not be
passed to this method; its type int is not compatible with its
collection's type argument AdvertiseClient.

Bug: 27723540
Change-Id: I395b17a46c3734afd0f49866b7aa0bd0f1c6cef4
(cherry picked from commit c6064ccebc5f55b49628296ce578288b3ad704e1)

8 years agoFix 2 instances of a field being assigned itself in a constructor.
Ian Rogers [Wed, 16 Mar 2016 21:08:39 +0000 (14:08 -0700)]
Fix 2 instances of a field being assigned itself in a constructor.

The code had no effect so its safe to remove.
The issue was identified using error prone.

Bug: 27723540

Change-Id: I3803573c545c00e8066ba185c271b38a75bf28c6
(cherry picked from commit 3fc930b1883466cc0e3b35a57519e435426554ee)

8 years agoMerge "Fix 2 instances of a field being assigned itself in a constructor." am: f28ab8...
Ian Rogers [Thu, 19 May 2016 21:14:28 +0000 (21:14 +0000)]
Merge "Fix 2 instances of a field being assigned itself in a constructor." am: f28ab8051e am: b3ad81b75a
am: 7f0b5f759e

* commit '7f0b5f759e12c945cc1fbb4f217254c46242ebbe':
  Fix 2 instances of a field being assigned itself in a constructor.

Change-Id: I141ae59400cb044d4a9f21ed28148b3499b49da8