OSDN Git Service

android-x86/packages-apps-Bluetooth.git
8 years agoMerge "Implement createBondOutOfBand"
Andre Eisenbach [Thu, 4 Feb 2016 00:25:35 +0000 (00:25 +0000)]
Merge "Implement createBondOutOfBand"

8 years agoImplement createBondOutOfBand
Jakub Pawlowski [Tue, 29 Dec 2015 21:21:30 +0000 (13:21 -0800)]
Implement createBondOutOfBand

This patch implements out of band pairing that uses optional data.
Currently it works only for LE transport, using Temporary Key value.
In future fields might be added to OOBData to support other options for
optional data.

Change-Id: I1b4942e656be7b5d1ae5a4bf9d867ffd74753798

8 years agoMerge "Add android.permission.DUMP for Bluetooth.apk"
Andre Eisenbach [Fri, 29 Jan 2016 21:05:31 +0000 (21:05 +0000)]
Merge "Add android.permission.DUMP for Bluetooth.apk"

8 years agoAdd android.permission.DUMP for Bluetooth.apk
Andre Eisenbach [Thu, 28 Jan 2016 21:18:06 +0000 (13:18 -0800)]
Add android.permission.DUMP for Bluetooth.apk

Bug: 26827915
Change-Id: Ia62c0b777225b64279998f234b2df53836b956a4

8 years agoMerge "Remove IBluetooth.dump(), dumpsys arguments"
Marie Janssen [Wed, 27 Jan 2016 20:42:07 +0000 (20:42 +0000)]
Merge "Remove IBluetooth.dump(), dumpsys arguments"

8 years agoRemove IBluetooth.dump(), dumpsys arguments
Marie Janssen [Tue, 12 Jan 2016 19:03:00 +0000 (11:03 -0800)]
Remove IBluetooth.dump(), dumpsys arguments

Move the majority of dumpsys into the AdapterService so we don't need
IBluetooth.dump(), and update the JNI interface for dumpsys arguments.

Change-Id: I481f147d913e0f4e1b85b8e4b027dbc349372ce5

8 years agoMerge "Add traffic accounting to Bluetooth App."
Adam Lesinski [Thu, 21 Jan 2016 02:23:50 +0000 (02:23 +0000)]
Merge "Add traffic accounting to Bluetooth App."

8 years agoAdd traffic accounting to Bluetooth App.
Adam Lesinski [Fri, 4 Dec 2015 00:17:17 +0000 (16:17 -0800)]
Add traffic accounting to Bluetooth App.

Update the Bluetooth app to build against the new Bluetooth HAL,
which expects to be given a calling UID when opening sockets and
expects a callback for energy info that accepts uid_traffic_t data.

Bug:26039657
Change-Id: I23ffbe39041f11706376acfc6aba33ba661a6ef1

8 years agoMerge "Add extra logging for BLE scans"
Ajay Panicker [Thu, 21 Jan 2016 00:31:25 +0000 (00:31 +0000)]
Merge "Add extra logging for BLE scans"

8 years agoAdd extra logging for BLE scans
Ajay Panicker [Fri, 15 Jan 2016 01:59:10 +0000 (17:59 -0800)]
Add extra logging for BLE scans

Added logging for application name, number of scans, and scan times
for each application that uses gatt scanning.

Example output:
GATT Client Map
  Entries: 1

  Application Name: com.broadcom.app.leexplorer (Registered)
  LE scans (started/stopped)       : 4 / 4
  Scan time in ms (min/max/avg)    : 6 / 7321 / 2744
  Time since last scan ended in ms : 3522
  Last 4 scans in ms (oldest first): 763 6 7321 2887
  Application ID                   : 5
  UUID                             : f69badb3-212b-40b5-b5b3-3bf9214310f9
  Connections: 1
    5: 6B:1F:6C:45:3D:DC

Bug: 26463429
Change-Id: I52376541a5b5874d0e40978990149a1283fd9c6a

8 years agoMerge "A2DP Sink:Audio Rendering patch and AutoConnect Functionality"
Sanket Agarwal [Wed, 20 Jan 2016 00:23:38 +0000 (00:23 +0000)]
Merge "A2DP Sink:Audio Rendering patch and AutoConnect Functionality"

8 years agoA2DP Sink:Audio Rendering patch and AutoConnect Functionality
Sanket Agarwal [Tue, 22 Dec 2015 21:45:00 +0000 (13:45 -0800)]
A2DP Sink:Audio Rendering patch and AutoConnect Functionality

 -  Add autoconnect functionality for A2DP Sink
 -  Use AudioPatch mechanism for sink playback
 -  AudioFocus approach to manage concurrencies

A2DP Sink: Support for AudioTrack

- add support for audiotrack to render audio data
- add support for AVRCP State to trigger audio
  rendering

AVRCP_CTRL: add support for AVRCP 1.3 Controller

- fill placeholder function for AVRCP 1.3
- add supporting classes to handle AVRCP Commands

AVRCP Controller: Support for retaining volume level and blocking streaming from remote.

- retain volume level on new connection request
- block streaming from remote.

Change-Id: I8c31fd1779b196ced0fb0870855b93263ea331ec

8 years agoMerge "Enforce BLUETOOTH_PRIVILEGED permission for FIDO U2F over GATT"
Andre Eisenbach [Wed, 6 Jan 2016 17:50:32 +0000 (17:50 +0000)]
Merge "Enforce BLUETOOTH_PRIVILEGED permission for FIDO U2F over GATT"

8 years agoEnforce BLUETOOTH_PRIVILEGED permission for FIDO U2F over GATT
Alexei Czeskis [Tue, 22 Dec 2015 22:16:27 +0000 (14:16 -0800)]
Enforce BLUETOOTH_PRIVILEGED permission for FIDO U2F over GATT

All access to external Bluetooth U2F devices must go through system
APIs so that calling apps cannot spoof their idenity.  This change
blocks the whole FIDO U2F service from being accessed.

Change-Id: I122849452c09fb8bc3bff9ead2db1edf64ddfabc

8 years agoMerge "Fix race condition when doing GATT discovery"
Andre Eisenbach [Mon, 14 Dec 2015 22:47:11 +0000 (22:47 +0000)]
Merge "Fix race condition when doing GATT discovery"

8 years agoFix race condition when doing GATT discovery
Jakub Pawlowski [Sat, 12 Dec 2015 06:35:01 +0000 (22:35 -0800)]
Fix race condition when doing GATT discovery

Right now if discovery to multiple GATT clients is happening
simultaneously, onSearchComplete will be run only for device that
finishes discovery last, while it should be run for each device.

mSearchQueue is one for all discovery sessions. Instead of checking if
it's empty, we must check if there are no elements for given connId.

Bug: 26038939
Change-Id: I9417cd7be8cab4b808ce7f045861e1adc2055629

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 5 Nov 2015 00:53:25 +0000 (16:53 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 25433205
Change-Id: I1df36416f00aad1d846e69fb1312f4b973fa61f9

8 years agoImplement setting/getting whether audio can be routed to the HFP HF device. am: 22bb3...
Bryce Lee [Thu, 29 Oct 2015 07:19:03 +0000 (07:19 +0000)]
Implement setting/getting whether audio can be routed to the HFP HF device. am: 22bb394443
am: c3da0f7bb3

* commit 'c3da0f7bb39fc5d234a360bc6a1dd6c1d8382ee2':
  Implement setting/getting whether audio can be routed to the HFP HF device.

8 years agoImplement setting/getting whether audio can be routed to the HFP HF device.
Bryce Lee [Thu, 29 Oct 2015 07:15:39 +0000 (07:15 +0000)]
Implement setting/getting whether audio can be routed to the HFP HF device.
am: 22bb394443

* commit '22bb39444356637fbcabd4acf04f2fdb9e3da177':
  Implement setting/getting whether audio can be routed to the HFP HF device.

8 years agoImplement setting/getting whether audio can be routed to the HFP HF device.
Bryce Lee [Thu, 29 Oct 2015 06:00:29 +0000 (23:00 -0700)]
Implement setting/getting whether audio can be routed to the HFP HF device.

Bug: 25332357
Change-Id: I2d37d082673255a165dad955aa1ca4b9f00d599e

8 years agoRevert "Allow HFP HF implementations to specify a client controller." am: 84d1aab871
Bryce Lee [Thu, 29 Oct 2015 05:10:04 +0000 (05:10 +0000)]
Revert "Allow HFP HF implementations to specify a client controller." am: 84d1aab871
am: 4af80a65ff

* commit '4af80a65ffe6570bdd9d86dd5b3a6e7e66211ff1':
  Revert "Allow HFP HF implementations to specify a client controller."

8 years agoRevert "Allow HFP HF implementations to specify a client controller."
Bryce Lee [Thu, 29 Oct 2015 05:06:17 +0000 (05:06 +0000)]
Revert "Allow HFP HF implementations to specify a client controller."
am: 84d1aab871

* commit '84d1aab871b03d94dddce4ad2d17f3c2acb892b5':
  Revert "Allow HFP HF implementations to specify a client controller."

8 years agoRevert "Allow HFP HF implementations to specify a client controller."
Bryce Lee [Thu, 29 Oct 2015 04:58:02 +0000 (04:58 +0000)]
Revert "Allow HFP HF implementations to specify a client controller."

This reverts commit 8843d8a82571b0a2f1b003cad999bed595814257.

Change-Id: I5371e263fd92c6790558d38f19945492731e17f6

8 years agoAllow HFP HF implementations to specify a client controller. am: 8843d8a825
Bryce Lee [Thu, 29 Oct 2015 04:48:56 +0000 (04:48 +0000)]
Allow HFP HF implementations to specify a client controller. am: 8843d8a825
am: 13a0edb5e7

* commit '13a0edb5e7661b2553b5ffe0a330c1eebad268d4':
  Allow HFP HF implementations to specify a client controller.

8 years agoAllow HFP HF implementations to specify a client controller.
Bryce Lee [Thu, 29 Oct 2015 04:44:37 +0000 (04:44 +0000)]
Allow HFP HF implementations to specify a client controller.
am: 8843d8a825

* commit '8843d8a82571b0a2f1b003cad999bed595814257':
  Allow HFP HF implementations to specify a client controller.

8 years agoAllow HFP HF implementations to specify a client controller.
Bryce Lee [Thu, 29 Oct 2015 04:08:54 +0000 (21:08 -0700)]
Allow HFP HF implementations to specify a client controller.

The client controller service is used by the HeadsetClientService to
determine conditions such as whether audio routing to device is permitted.

Bug: 25332357
Change-Id: I8971960f959084ed3969db7c8cdef11673a58994

8 years agoRemove receiver status foreground flag am: 65842bfe88
Zach Johnson [Mon, 26 Oct 2015 17:05:52 +0000 (17:05 +0000)]
Remove receiver status foreground flag am: 65842bfe88
am: 4a894feccc

* commit '4a894feccc7066b1f4b3c7b0eec61dc69d474d6f':
  Remove receiver status foreground flag

8 years agoRemove receiver status foreground flag
Zach Johnson [Mon, 26 Oct 2015 17:01:35 +0000 (17:01 +0000)]
Remove receiver status foreground flag
am: 65842bfe88

* commit '65842bfe88b3d91060cd05446024f14061524dcd':
  Remove receiver status foreground flag

8 years agoRemove receiver status foreground flag
Zach Johnson [Mon, 26 Oct 2015 16:47:48 +0000 (09:47 -0700)]
Remove receiver status foreground flag

Turns out this actually causes more problems than
it attempts to solve.

b/25116554
b/25256719

Change-Id: Ia30ab5bf0f6e794376eae85b2616bcdb0049ef76

8 years agoAllow for supported profiles to be reloaded on enable. am: 371e2047c4
Bryce Lee [Fri, 23 Oct 2015 21:02:47 +0000 (21:02 +0000)]
Allow for supported profiles to be reloaded on enable. am: 371e2047c4
am: ec7a8e9141

* commit 'ec7a8e91415bc247c37e9d896e61aadd42bb1884':
  Allow for supported profiles to be reloaded on enable.

8 years agoAllow for supported profiles to be reloaded on enable.
Bryce Lee [Fri, 23 Oct 2015 20:57:44 +0000 (20:57 +0000)]
Allow for supported profiles to be reloaded on enable.
am: 371e2047c4

* commit '371e2047c485f8f75c2b63a38b36a65b72c2fa42':
  Allow for supported profiles to be reloaded on enable.

8 years agoAllow for supported profiles to be reloaded on enable.
Bryce Lee [Fri, 23 Oct 2015 19:30:29 +0000 (12:30 -0700)]
Allow for supported profiles to be reloaded on enable.

Bug: 24977590
Change-Id: I2e5371d3333482cdd1cf18d48fe3c2e0f2229e42

8 years agoMerge "Remove Vcard filter for call-logs" am: 1368195719
Ajay Panicker [Thu, 22 Oct 2015 23:46:46 +0000 (23:46 +0000)]
Merge "Remove Vcard filter for call-logs" am: 1368195719
am: 3ad53eb814

* commit '3ad53eb8147ab6a3e0ad7fcfe6a4cad893dff583':
  Remove Vcard filter for call-logs

8 years agoRemove Vcard filter for call-logs am: b211df6fcb am: d83da25118
Ajay Panicker [Thu, 22 Oct 2015 23:42:08 +0000 (23:42 +0000)]
Remove Vcard filter for call-logs am: b211df6fcb am: d83da25118
am: afe7ca2198

* commit 'afe7ca2198226e7813b445e9401961b7fa9f1f7f':
  Remove Vcard filter for call-logs

8 years agoMerge "Remove Vcard filter for call-logs"
Ajay Panicker [Thu, 22 Oct 2015 23:42:02 +0000 (23:42 +0000)]
Merge "Remove Vcard filter for call-logs"
am: 1368195719

* commit '1368195719433fe8725dbb7e1e594a55578844e8':
  Remove Vcard filter for call-logs

8 years agoMerge "Remove Vcard filter for call-logs"
Ajay Panicker [Thu, 22 Oct 2015 23:37:58 +0000 (23:37 +0000)]
Merge "Remove Vcard filter for call-logs"

8 years agoRemove Vcard filter for call-logs am: b211df6fcb
Ajay Panicker [Thu, 22 Oct 2015 23:37:40 +0000 (23:37 +0000)]
Remove Vcard filter for call-logs am: b211df6fcb
am: d83da25118

* commit 'd83da25118e3b487df56f9e17f3c52bb60b25926':
  Remove Vcard filter for call-logs

8 years agoRemove Vcard filter for call-logs
Ajay Panicker [Thu, 22 Oct 2015 23:11:53 +0000 (23:11 +0000)]
Remove Vcard filter for call-logs
am: b211df6fcb

* commit 'b211df6fcbd7dcd055354b75afc2e68ea49a36d9':
  Remove Vcard filter for call-logs

8 years agoRemove Vcard filter for call-logs
Ajay Panicker [Thu, 22 Oct 2015 19:00:25 +0000 (12:00 -0700)]
Remove Vcard filter for call-logs

Timestamps were being incorrectly filtered out of Vcards when sending
call-logs.

Bug: 25084927
Change-Id: Ied8912e7d2fdbcc6e6980c3773c4ec5a449842ec

8 years agoRemove Vcard filter for call-logs
Ajay Panicker [Thu, 22 Oct 2015 19:00:25 +0000 (12:00 -0700)]
Remove Vcard filter for call-logs

Timestamps were being incorrectly filtered out of Vcards when sending
call-logs.

Bug: 25084927
Change-Id: Ied8912e7d2fdbcc6e6980c3773c4ec5a449842ec

8 years agoMerge "Fix file permissions for bluetooth share" am: f3ad63a872
Ajay Panicker [Wed, 21 Oct 2015 17:40:03 +0000 (17:40 +0000)]
Merge "Fix file permissions for bluetooth share" am: f3ad63a872
am: ce98210a7d

* commit 'ce98210a7d25bc0f67b997e1a3db850eecd8318b':
  Fix file permissions for bluetooth share

8 years agoMerge "Fix file permissions for bluetooth share"
Ajay Panicker [Wed, 21 Oct 2015 17:27:03 +0000 (17:27 +0000)]
Merge "Fix file permissions for bluetooth share"
am: f3ad63a872

* commit 'f3ad63a8725bebc33d55d7089a7013b9f0026137':
  Fix file permissions for bluetooth share

8 years agoMerge "Fix file permissions for bluetooth share"
Ajay Panicker [Wed, 21 Oct 2015 17:18:38 +0000 (17:18 +0000)]
Merge "Fix file permissions for bluetooth share"

8 years agoFix file permissions for bluetooth share
Ajay Panicker [Tue, 13 Oct 2015 22:31:47 +0000 (15:31 -0700)]
Fix file permissions for bluetooth share

Used a file provider to serve up URIs to allow
applications to access files in the external
Bluetooth directory.

Bug: 23367919
Change-Id: Iadcdcafb235f3eeb50a0e147f3ef982fc9ee38b3

8 years agoFix file permissions for Bluetooth share am: 66d643091e am: 33e7f11a36
Ajay Panicker [Wed, 21 Oct 2015 01:08:23 +0000 (01:08 +0000)]
Fix file permissions for Bluetooth share am: 66d643091e am: 33e7f11a36
am: 3a7bd34e60

* commit '3a7bd34e6024f7553c3f2999a215e2be20c94b91':
  Fix file permissions for Bluetooth share

8 years agoFix file permissions for Bluetooth share am: 66d643091e
Ajay Panicker [Wed, 21 Oct 2015 00:57:39 +0000 (00:57 +0000)]
Fix file permissions for Bluetooth share am: 66d643091e
am: 33e7f11a36

* commit '33e7f11a36a8553285a1fd4c3cfff1e9458df842':
  Fix file permissions for Bluetooth share

8 years agoFix file permissions for Bluetooth share
Ajay Panicker [Wed, 21 Oct 2015 00:54:34 +0000 (00:54 +0000)]
Fix file permissions for Bluetooth share
am: 66d643091e

* commit '66d643091edba75b4524483ea640273344533378':
  Fix file permissions for Bluetooth share

8 years agoFix file permissions for Bluetooth share
Ajay Panicker [Tue, 13 Oct 2015 22:31:47 +0000 (15:31 -0700)]
Fix file permissions for Bluetooth share

Used a file provider to serve up URIs to allow
applications to access files in the external
Bluetooth directory.

Bug: 23367919
Change-Id: Iadcdcafb235f3eeb50a0e147f3ef982fc9ee38b3

8 years agoam 264d46d6: am 5040e76e: Only apply foreground flag for audio state connected
Zach Johnson [Sun, 18 Oct 2015 19:26:50 +0000 (19:26 +0000)]
am 264d46d6: am 5040e76e: Only apply foreground flag for audio state connected

* commit '264d46d6a57507ffc60d1cdd17cd63fa6da01161':
  Only apply foreground flag for audio state connected

8 years agoam 5040e76e: Only apply foreground flag for audio state connected
Zach Johnson [Sun, 18 Oct 2015 19:21:38 +0000 (19:21 +0000)]
am 5040e76e: Only apply foreground flag for audio state connected

* commit '5040e76e2b2742a210e5e1ef29ae1b1779f12ee3':
  Only apply foreground flag for audio state connected

8 years agoam 8fe21aec: am 5d0f2973: Add FLAG_RECEIVER_FOREGROUND to audio state broadcasts
Zach Johnson [Sun, 18 Oct 2015 12:51:54 +0000 (12:51 +0000)]
am 8fe21aec: am 5d0f2973: Add FLAG_RECEIVER_FOREGROUND to audio state broadcasts

* commit '8fe21aec738de743342e2c1ee5e2a2f7c3fc6af4':
  Add FLAG_RECEIVER_FOREGROUND to audio state broadcasts

8 years agoam 5d0f2973: Add FLAG_RECEIVER_FOREGROUND to audio state broadcasts
Zach Johnson [Sun, 18 Oct 2015 12:44:39 +0000 (12:44 +0000)]
am 5d0f2973: Add FLAG_RECEIVER_FOREGROUND to audio state broadcasts

* commit '5d0f29737bfa7d9e2891b1e99c87e86fce434599':
  Add FLAG_RECEIVER_FOREGROUND to audio state broadcasts

8 years agoOnly apply foreground flag for audio state connected
Zach Johnson [Sun, 18 Oct 2015 06:18:23 +0000 (23:18 -0700)]
Only apply foreground flag for audio state connected

The other states aren't really that important, and
this reduces the chance of ANR.

Change-Id: Ie019b81a9fbfb9238cf8b6cce1308d0d7358cbf8

8 years agoAdd FLAG_RECEIVER_FOREGROUND to audio state broadcasts
Zach Johnson [Sun, 18 Oct 2015 04:10:31 +0000 (21:10 -0700)]
Add FLAG_RECEIVER_FOREGROUND to audio state broadcasts

This is important so audio can be rejected in a timely manner
when necessary.

Change-Id: I4a7789d262ac74c5014b34eb959d502a68217362

8 years agoam 52879f79: am 80a654ab: am 4a9f9b02: Fix foreground scans for pre-M apps when locat...
Fyodor Kupolov [Thu, 15 Oct 2015 16:28:47 +0000 (16:28 +0000)]
am 52879f79: am 80a654ab: am 4a9f9b02: Fix foreground scans for pre-M apps when location is disabled

* commit '52879f79b15c0eb6d4c7a6f6c37bed75cf50a597':
  Fix foreground scans for pre-M apps when location is disabled

8 years agoam 80a654ab: am 4a9f9b02: Fix foreground scans for pre-M apps when location is disabled
Fyodor Kupolov [Thu, 15 Oct 2015 16:25:38 +0000 (16:25 +0000)]
am 80a654ab: am 4a9f9b02: Fix foreground scans for pre-M apps when location is disabled

* commit '80a654ab3be8109bc427e27055b569127941215d':
  Fix foreground scans for pre-M apps when location is disabled

8 years agoam 4a9f9b02: Fix foreground scans for pre-M apps when location is disabled
Fyodor Kupolov [Thu, 15 Oct 2015 16:19:12 +0000 (16:19 +0000)]
am 4a9f9b02: Fix foreground scans for pre-M apps when location is disabled

* commit '4a9f9b0253fde7341bf9e12c5bd0e6f29fced4fc':
  Fix foreground scans for pre-M apps when location is disabled

8 years agoFix foreground scans for pre-M apps when location is disabled
Fyodor Kupolov [Fri, 18 Sep 2015 22:55:21 +0000 (15:55 -0700)]
Fix foreground scans for pre-M apps when location is disabled

Foreground scans were still broken even for L-or-earlier apps when the
location was disabled.

Bug: 24203266
Change-Id: Iaad8d7828a4b383b6cc0a033e94c7d2cd8c9328b

8 years agoam 7c2df255: am 836f7d38: am faf199e4: SAP: Fix missing connect response when call...
Hemant Gupta [Sun, 11 Oct 2015 14:19:50 +0000 (14:19 +0000)]
am 7c2df255: am 836f7d38: am faf199e4: SAP: Fix missing connect response when call ongoing at connect

* commit '7c2df255b6f518ff0ba5054d3b2a69c63c877a8c':
  SAP: Fix missing connect response when call ongoing at connect

8 years agoam 836f7d38: am faf199e4: SAP: Fix missing connect response when call ongoing at...
Hemant Gupta [Sun, 11 Oct 2015 14:11:19 +0000 (14:11 +0000)]
am 836f7d38: am faf199e4: SAP: Fix missing connect response when call ongoing at connect

* commit '836f7d384eea45c1cc29ab671be798e6b26da519':
  SAP: Fix missing connect response when call ongoing at connect

8 years agoam faf199e4: SAP: Fix missing connect response when call ongoing at connect
Hemant Gupta [Sun, 11 Oct 2015 13:43:35 +0000 (13:43 +0000)]
am faf199e4: SAP: Fix missing connect response when call ongoing at connect

* commit 'faf199e456dbb987f343c829c603c035df10add7':
  SAP: Fix missing connect response when call ongoing at connect

8 years agoSAP: Fix missing connect response when call ongoing at connect
Hemant Gupta [Tue, 29 Sep 2015 18:35:40 +0000 (20:35 +0200)]
SAP: Fix missing connect response when call ongoing at connect

The CALL_ONGOING_STATE was set twice, causing the connect
response not to be sent to the peer device when there was an
ongoing call on DUT. This was violating the SAP Spec.

Bug: 24520367
Change-Id: I290d924870381a82a4abd8b6c42a6d0ebf55652f

8 years agoam 376031b9: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Tue, 29 Sep 2015 14:57:53 +0000 (14:57 +0000)]
am 376031b9: (-s ours) Import translations. DO NOT MERGE

* commit '376031b90062025f65513d50315e65a69de6a632':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 29 Sep 2015 09:35:21 +0000 (02:35 -0700)]
Import translations. DO NOT MERGE

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

8 years agoam 4310d139: am 7618faa5: Avoid NPE when dumping headset profile state.
Sharvil Nanavati [Sun, 27 Sep 2015 00:28:45 +0000 (00:28 +0000)]
am 4310d139: am 7618faa5: Avoid NPE when dumping headset profile state.

* commit '4310d1390353ed872cc7be1923fd55222864a4d4':
  Avoid NPE when dumping headset profile state.

8 years agoam 7618faa5: Avoid NPE when dumping headset profile state.
Sharvil Nanavati [Sun, 27 Sep 2015 00:23:26 +0000 (00:23 +0000)]
am 7618faa5: Avoid NPE when dumping headset profile state.

* commit '7618faa5df18324c581ade91f75454e2e3d8ad49':
  Avoid NPE when dumping headset profile state.

8 years agoAvoid NPE when dumping headset profile state.
Sharvil Nanavati [Sat, 26 Sep 2015 23:22:21 +0000 (16:22 -0700)]
Avoid NPE when dumping headset profile state.

Change-Id: I91767bcc09d4e16a9bd5c8dbe2e662a96f9880a5

8 years agoam 9172aff8: (-s ours) am 3b46d46c: (-s ours) am 704e3f3a: (-s ours) Import translati...
Baligh Uddin [Fri, 25 Sep 2015 18:08:39 +0000 (18:08 +0000)]
am 9172aff8: (-s ours) am 3b46d46c: (-s ours) am 704e3f3a: (-s ours) Import translations. DO NOT MERGE

* commit '9172aff89362b06e6d5ad7c28647b135212abbe2':
  Import translations. DO NOT MERGE

8 years agoam 3b46d46c: (-s ours) am 704e3f3a: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Fri, 25 Sep 2015 03:16:30 +0000 (03:16 +0000)]
am 3b46d46c: (-s ours) am 704e3f3a: (-s ours) Import translations. DO NOT MERGE

* commit '3b46d46c6244f6cefe2e0c3ec8460717c2560dd5':
  Import translations. DO NOT MERGE

8 years agoam 704e3f3a: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Fri, 25 Sep 2015 03:05:28 +0000 (03:05 +0000)]
am 704e3f3a: (-s ours) Import translations. DO NOT MERGE

* commit '704e3f3af7cf84f51e9fbed82559f40b390ef62c':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 25 Sep 2015 02:17:21 +0000 (19:17 -0700)]
Import translations. DO NOT MERGE

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

8 years agoam ee14de58: (-s ours) am b439f53e: (-s ours) am 184ad241: (-s ours) Import translati...
Baligh Uddin [Fri, 18 Sep 2015 17:34:47 +0000 (17:34 +0000)]
am ee14de58: (-s ours) am b439f53e: (-s ours) am 184ad241: (-s ours) Import translations. DO NOT MERGE

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

8 years agoam b439f53e: (-s ours) am 184ad241: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Fri, 18 Sep 2015 17:24:19 +0000 (17:24 +0000)]
am b439f53e: (-s ours) am 184ad241: (-s ours) Import translations. DO NOT MERGE

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

8 years agoam 184ad241: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Fri, 18 Sep 2015 17:16:28 +0000 (17:16 +0000)]
am 184ad241: (-s ours) Import translations. DO NOT MERGE

* commit '184ad2417e3855f868e4533d69f2b0b02b2705a0':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 18 Sep 2015 17:04:53 +0000 (10:04 -0700)]
Import translations. DO NOT MERGE

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

8 years agoam eddb5912: am 0e94b62d: Merge "Send the AUDIO_CONNECTED broadcast after switching...
Sharvil Nanavati [Mon, 14 Sep 2015 18:15:54 +0000 (18:15 +0000)]
am eddb5912: am 0e94b62d: Merge "Send the AUDIO_CONNECTED broadcast after switching to the AudioOn state." into cw-e-dev

* commit 'eddb5912a7b17a34160aa69a54b2339843d3de16':
  Send the AUDIO_CONNECTED broadcast after switching to the AudioOn state.

8 years agoam 0e94b62d: Merge "Send the AUDIO_CONNECTED broadcast after switching to the AudioOn...
Sharvil Nanavati [Mon, 14 Sep 2015 18:06:50 +0000 (18:06 +0000)]
am 0e94b62d: Merge "Send the AUDIO_CONNECTED broadcast after switching to the AudioOn state." into cw-e-dev

* commit '0e94b62d60f3a729b03841a1891af3a889c9748f':
  Send the AUDIO_CONNECTED broadcast after switching to the AudioOn state.

8 years agoMerge "Send the AUDIO_CONNECTED broadcast after switching to the AudioOn state."...
Sharvil Nanavati [Mon, 14 Sep 2015 18:00:25 +0000 (18:00 +0000)]
Merge "Send the AUDIO_CONNECTED broadcast after switching to the AudioOn state." into cw-e-dev

8 years agoam 98fbe6c1: am 93793893: Read connection intervals from config.xml so it can be...
Sharvil Nanavati [Mon, 14 Sep 2015 16:19:57 +0000 (16:19 +0000)]
am 98fbe6c1: am 93793893: Read connection intervals from config.xml so it can be overriden by device.

* commit '98fbe6c1a46018a4dfeada6d20907701c43e6931':
  Read connection intervals from config.xml so it can be overriden by device.

8 years agoam 93793893: Read connection intervals from config.xml so it can be overriden by...
Sharvil Nanavati [Mon, 14 Sep 2015 16:12:12 +0000 (16:12 +0000)]
am 93793893: Read connection intervals from config.xml so it can be overriden by device.

* commit '93793893b122e5eb3101899411fccaabc075dfaf':
  Read connection intervals from config.xml so it can be overriden by device.

8 years agoRead connection intervals from config.xml so it can be overriden by device.
Sharvil Nanavati [Mon, 14 Sep 2015 06:30:07 +0000 (23:30 -0700)]
Read connection intervals from config.xml so it can be overriden by device.

Wear needs the minimum possible connection interval for BLE connections
to support the Wear iOS companion app. This change simply moves the hard-
coded connection intervals to config.xml so they can be overriden for
Wear devices.

Bug: 23903184
Change-Id: I1f60772ef6a100ad5e4f02f629b5ca6e80fc207a

8 years agoSend the AUDIO_CONNECTED broadcast after switching to the AudioOn state.
Sharvil Nanavati [Sun, 13 Sep 2015 00:18:39 +0000 (17:18 -0700)]
Send the AUDIO_CONNECTED broadcast after switching to the AudioOn state.

The broadcast is currently sent while the HFP client state machine is
in the Connected state. As a result, a broadcast receiver who wishes
to disconnect the incoming audio connection won't be able to successfully
call disconnectAudio. By changing the internal state first and then
broadcasting, receivers can immediately perform audio operations.

Bug: 23568208
Change-Id: I60de9775f9a0126774275d08ef999f082ae41747

8 years agoam 8df0d5da: am fb540d85: am 1c28582b: Allow senderAddressing on default filter for...
Ajay Panicker [Fri, 11 Sep 2015 05:30:33 +0000 (05:30 +0000)]
am 8df0d5da: am fb540d85: am 1c28582b: Allow senderAddressing on default filter for message Listing

* commit '8df0d5da531c3bd27519141c4a6637dad74735e8':
  Allow senderAddressing on default filter for message Listing

8 years agoam fb540d85: am 1c28582b: Allow senderAddressing on default filter for message Listing
Ajay Panicker [Fri, 11 Sep 2015 05:20:34 +0000 (05:20 +0000)]
am fb540d85: am 1c28582b: Allow senderAddressing on default filter for message Listing

* commit 'fb540d85c3591020df3615101fbb9f788a27c139':
  Allow senderAddressing on default filter for message Listing

8 years agoam 1c28582b: Allow senderAddressing on default filter for message Listing
Ajay Panicker [Fri, 11 Sep 2015 05:13:28 +0000 (05:13 +0000)]
am 1c28582b: Allow senderAddressing on default filter for message Listing

* commit '1c28582b0e780eed2f8480e5c2dfbf0da745e4e8':
  Allow senderAddressing on default filter for message Listing

8 years agoAllow senderAddressing on default filter for message Listing
Ajay Panicker [Thu, 10 Sep 2015 23:31:04 +0000 (16:31 -0700)]
Allow senderAddressing on default filter for message Listing

Adjusted the PARAMETER_MASK_DEFAULT constant for when a
message listing request is recieved and a message filter isnt
provided. This new filter value causes the sender_address field
to be sent along with all the other default information.

Bug: 22163529
Change-Id: I49444cfb341d2e6cc72bdab55aa441d712b03f14

8 years agoam e462643f: am 4d5be8f0: am 0ebd4e58: Move SMS message to proper folder after sending
Ajay Panicker [Thu, 10 Sep 2015 01:16:45 +0000 (01:16 +0000)]
am e462643f: am 4d5be8f0: am 0ebd4e58: Move SMS message to proper folder after sending

* commit 'e462643f684f8278aea477ff9453e485cc051e72':
  Move SMS message to proper folder after sending

8 years agoam 4d5be8f0: am 0ebd4e58: Move SMS message to proper folder after sending
Ajay Panicker [Thu, 10 Sep 2015 01:07:48 +0000 (01:07 +0000)]
am 4d5be8f0: am 0ebd4e58: Move SMS message to proper folder after sending

* commit '4d5be8f02eedfcdb9b49962a2d881d7db7adb273':
  Move SMS message to proper folder after sending

8 years agoam 0ebd4e58: Move SMS message to proper folder after sending
Ajay Panicker [Thu, 10 Sep 2015 00:59:27 +0000 (00:59 +0000)]
am 0ebd4e58: Move SMS message to proper folder after sending

* commit '0ebd4e58920add6114b1f345b7d95e0709096fe3':
  Move SMS message to proper folder after sending

8 years agoMove SMS message to proper folder after sending
Ajay Panicker [Wed, 9 Sep 2015 19:11:51 +0000 (12:11 -0700)]
Move SMS message to proper folder after sending

Move a SMS message to the correct folder upon receiving an intent
detailing if the message was succesfully sent or not. If sent
successfully, move to the SENT folder, otherwise move it to
the FAILED folder.

Bug: 22992865
Change-Id: Ifdcfb7bb613844f507ef27460ead520c6573b89d

8 years agoam de79c722: am e48e8d0b: am 6385f5ec: Add NREC setting routine even after SCO connected
Sungmin Choi [Wed, 9 Sep 2015 18:10:12 +0000 (18:10 +0000)]
am de79c722: am e48e8d0b: am 6385f5ec: Add NREC setting routine even after SCO connected

* commit 'de79c7225dd313ec7b479483d1e96e3ba2929e0f':
  Add NREC setting routine even after SCO connected

8 years agoam e48e8d0b: am 6385f5ec: Add NREC setting routine even after SCO connected
Sungmin Choi [Wed, 9 Sep 2015 18:00:47 +0000 (18:00 +0000)]
am e48e8d0b: am 6385f5ec: Add NREC setting routine even after SCO connected

* commit 'e48e8d0b7c5b9ce8c2310d68c836cac4444f09f8':
  Add NREC setting routine even after SCO connected

8 years agoam 6385f5ec: Add NREC setting routine even after SCO connected
Sungmin Choi [Wed, 9 Sep 2015 17:54:05 +0000 (17:54 +0000)]
am 6385f5ec: Add NREC setting routine even after SCO connected

* commit '6385f5ec823dd1113708532d20729dba67d9beaa':
  Add NREC setting routine even after SCO connected

8 years agoAdd NREC setting routine even after SCO connected
Sungmin Choi [Fri, 4 Sep 2015 22:01:26 +0000 (15:01 -0700)]
Add NREC setting routine even after SCO connected

Bug: 23471393
Change-Id: I46264238e4810a7f280e656220bc68e76eb0cb37
Signed-off-by: koh.changseok <koh.changseok@lge.com>
Signed-off-by: Sungmin Choi <sungmin.choi@lge.com>
8 years agoam de4e03af: am 9ff028cc: am 471e023d: SAP: Fix missing attribute in disconnect_ind
Casper Bonde [Tue, 8 Sep 2015 16:29:47 +0000 (16:29 +0000)]
am de4e03af: am 9ff028cc: am 471e023d: SAP: Fix missing attribute in disconnect_ind

* commit 'de4e03afcec1dfb1517ecdb842eac2284e762f1c':
  SAP: Fix missing attribute in disconnect_ind

8 years agoam 9ff028cc: am 471e023d: SAP: Fix missing attribute in disconnect_ind
Casper Bonde [Tue, 8 Sep 2015 16:23:22 +0000 (16:23 +0000)]
am 9ff028cc: am 471e023d: SAP: Fix missing attribute in disconnect_ind

* commit '9ff028cca112cf2fb1ebc9a73f77f6a4033a644e':
  SAP: Fix missing attribute in disconnect_ind

8 years agoam 471e023d: SAP: Fix missing attribute in disconnect_ind
Casper Bonde [Tue, 8 Sep 2015 16:17:33 +0000 (16:17 +0000)]
am 471e023d: SAP: Fix missing attribute in disconnect_ind

* commit '471e023da5f39d21ebcb1d3fad43a591c15f6be3':
  SAP: Fix missing attribute in disconnect_ind

8 years agoSAP: Fix missing attribute in disconnect_ind
Casper Bonde [Fri, 28 Aug 2015 10:48:53 +0000 (12:48 +0200)]
SAP: Fix missing attribute in disconnect_ind

The internal TEST flag was removing too much code.
To make it easier to run test, and avoid future issues
with removing needed code, the TEST flag is no longer used
to remove code.

This bug was noticed when running the PTS testcases without the
PTS_TEST flag set. It is assumed that this fix will make
TC_SERVER_DCN_BV_02_I work without the PTS flag, but unless PTS
have updated their test case to accept both a gracefull disconnect
and a forced disconnect, TC_SERVER_DCN_BV_03_I will still fail in
a production build. The SAP spec suggest to use a gracefull disconnect
when initiating a disconnect from a server, hence it is not a good
idea to expose a force disconnect option to the used without first
having tried a gracefull disconnect. Hence the PTS test case
implementation is in conflict with the intented use specified in
the SAP specification.

Without this fix a build with PTS_TEST=false will not work as
intented.

PTS_TEST replaced with system property bt.sap.pts. Set it to true
to enable the force disconnect button.

Bug: 23614694
Signed-off-by: Casper Bonde <c.bonde@samsung.com>
Change-Id: I776a53d6e786c21000ef62094f9a9948ee5880b8

9 years agoam 50b1fd6a: am 2ecfab69: am e377aae9: SAP: Fix logic to skip padding bytes for reque...
Casper Bonde [Fri, 4 Sep 2015 02:22:06 +0000 (02:22 +0000)]
am 50b1fd6a: am 2ecfab69: am e377aae9: SAP: Fix logic to skip padding bytes for requests received

* commit '50b1fd6aa3fbfdf184faf3dc3976140ee72bea8f':
  SAP: Fix logic to skip padding bytes for requests received

9 years agoam 2ecfab69: am e377aae9: SAP: Fix logic to skip padding bytes for requests received
Casper Bonde [Fri, 4 Sep 2015 00:23:49 +0000 (00:23 +0000)]
am 2ecfab69: am e377aae9: SAP: Fix logic to skip padding bytes for requests received

* commit '2ecfab690d8a15de275f665008a3645dd71db95d':
  SAP: Fix logic to skip padding bytes for requests received