OSDN Git Service

android-x86/packages-apps-Bluetooth.git
8 years agoMerge "Remove IBluetooth.dump(), dumpsys arguments"
Marie Janssen [Wed, 27 Jan 2016 20:50:58 +0000 (20:50 +0000)]
Merge "Remove IBluetooth.dump(), dumpsys arguments"
am: 85fef74108

* commit '85fef74108ac3671ae2d4b230942b2ee6e7fd0f1':
  Remove IBluetooth.dump(), dumpsys arguments

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 03:00:34 +0000 (03:00 +0000)]
Merge "Add traffic accounting to Bluetooth App."
am: d23eaab475

* commit 'd23eaab4755da60af6b669b865fdbf0e07c8ab5a':
  Add traffic accounting to Bluetooth App.

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 agoMerge "Add extra logging for BLE scans"
Ajay Panicker [Thu, 21 Jan 2016 01:27:01 +0000 (01:27 +0000)]
Merge "Add extra logging for BLE scans"
am: e9b5054375

* commit 'e9b505437574d21b7648ee18789f1124939df536':
  Add extra logging for BLE scans

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 01:26:14 +0000 (01:26 +0000)]
Merge "A2DP Sink:Audio Rendering patch and AutoConnect Functionality"
am: a22d9acc77

* commit 'a22d9acc77d60cfad31ecfe67cef806657406725':
  A2DP Sink:Audio Rendering patch and AutoConnect Functionality

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 agoDO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue am: abb54d6d36...
Andre Eisenbach [Tue, 12 Jan 2016 20:44:38 +0000 (20:44 +0000)]
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue am: abb54d6d36 am: 6e9165b908  -s ours am: 44c3652b4c am: 5a1ae16f4e am: d59eb61a3e  -s ours am: d6e1fa7c20 am: 44853bf994 am: be149ebaf5
am: 695a68448c

* commit '695a68448ce5ce7239e5abd3d16fd993aa72cb0e':
  DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue

8 years agoDO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue am: abb54d6d36...
Andre Eisenbach [Tue, 12 Jan 2016 19:45:12 +0000 (19:45 +0000)]
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue am: abb54d6d36 am: 6e9165b908  -s ours am: 44c3652b4c am: 5a1ae16f4e am: d59eb61a3e  -s ours am: d6e1fa7c20 am: 44853bf994
am: be149ebaf5

* commit 'be149ebaf5bd027f75b7b983c6a1f3bd0f712faa':
  DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue

8 years agoDO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue am: abb54d6d36...
Andre Eisenbach [Tue, 12 Jan 2016 19:36:47 +0000 (19:36 +0000)]
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue am: abb54d6d36 am: 6e9165b908  -s ours am: 44c3652b4c am: 5a1ae16f4e am: d59eb61a3e  -s ours am: d6e1fa7c20
am: 44853bf994

* commit '44853bf9949725ba84c30cb40dc2f99f8b701a70':
  DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue

8 years agoDO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue am: abb54d6d36...
Andre Eisenbach [Tue, 12 Jan 2016 19:05:23 +0000 (19:05 +0000)]
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue am: abb54d6d36 am: 6e9165b908  -s ours am: 44c3652b4c am: 5a1ae16f4e am: d59eb61a3e  -s ours
am: d6e1fa7c20

* commit 'd6e1fa7c20fbddbf9ea5fa7b042bfdf276c1463a':
  DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue

8 years agoDO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue am: f81566bb85...
Ashwini Munigala [Tue, 12 Jan 2016 19:02:42 +0000 (19:02 +0000)]
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue am: f81566bb85 am: ff7beb91be am: e005c18fa8
am: f2b62a56da

* commit 'f2b62a56daf113d7ed533883dc9126ab410c498e':
  DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue

8 years agoDO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue am: abb54d6d36...
Andre Eisenbach [Tue, 12 Jan 2016 19:02:36 +0000 (19:02 +0000)]
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue am: abb54d6d36 am: 6e9165b908  -s ours am: 44c3652b4c am: 5a1ae16f4e
am: d59eb61a3e  -s ours

* commit 'd59eb61a3ef94ef69bbbcf8e039895d0fb2fd379':
  DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue

8 years agoDO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue am: abb54d6d36...
Andre Eisenbach [Tue, 12 Jan 2016 19:00:00 +0000 (19:00 +0000)]
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue am: abb54d6d36 am: 6e9165b908  -s ours am: 44c3652b4c
am: 5a1ae16f4e

* commit '5a1ae16f4ee61b1686e178389485ef65001ed167':
  DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue

8 years agoDO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue am: f81566bb85...
Ashwini Munigala [Tue, 12 Jan 2016 18:57:03 +0000 (18:57 +0000)]
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue am: f81566bb85 am: ff7beb91be
am: e005c18fa8

* commit 'e005c18fa8fd19ef68580c57760e91735e66a48b':
  DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue

8 years agoDO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue am: abb54d6d36...
Andre Eisenbach [Tue, 12 Jan 2016 18:56:46 +0000 (18:56 +0000)]
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue am: abb54d6d36 am: 6e9165b908  -s ours
am: 44c3652b4c

* commit '44c3652b4cb824089768112a5a5614cb4346cd0f':
  DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue

8 years agoDO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue am: f81566bb85
Ashwini Munigala [Tue, 12 Jan 2016 18:53:14 +0000 (18:53 +0000)]
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue am: f81566bb85
am: ff7beb91be

* commit 'ff7beb91bee0db50b4ce03aba1b39a3362f767c6':
  DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue

8 years agoDO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue am: abb54d6d36
Andre Eisenbach [Tue, 12 Jan 2016 18:52:47 +0000 (18:52 +0000)]
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue am: abb54d6d36
am: 6e9165b908  -s ours

* commit '6e9165b90881581d1c58eb974b304465340b08e7':
  DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue

8 years agoDO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue
Ashwini Munigala [Tue, 12 Jan 2016 18:48:04 +0000 (18:48 +0000)]
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue
am: f81566bb85

* commit 'f81566bb85a1d0388b738dc5553d096591fc9030':
  DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue

8 years agoDO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue
Andre Eisenbach [Tue, 12 Jan 2016 18:46:52 +0000 (18:46 +0000)]
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue
am: abb54d6d36

* commit 'abb54d6d3614cd86a6349303400b9cf2f83af4c7':
  DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue

8 years agoDO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue
Ashwini Munigala [Thu, 7 Jan 2016 19:28:17 +0000 (19:28 +0000)]
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue
am: 1983bccf61

* commit '1983bccf614d61dfcf20ba3cbf14f4ebf7f49943':
  DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue

8 years agoDO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue
Ashwini Munigala [Mon, 7 Sep 2015 16:08:09 +0000 (21:38 +0530)]
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue

Receive and handle ACTION_MESSAGE_SENT intent for SMS type
message to move it to SENT folder when pushMessage request
from MCE  is processed and SMS delivered successfully.

Bug: 22343270
CRs-Fixed: 903561
Change-Id: I337fb1fb870873bf9f1add58d6d898465fc003c8

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

* commit '28ca6b2d791358a1938c5ab1693f01522c4338f4':
  Enforce BLUETOOTH_PRIVILEGED permission for FIDO U2F over GATT

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 agoFix memory leak in Bluetooth AVRCP JNI
Casper Bonde [Mon, 4 Jan 2016 19:32:32 +0000 (19:32 +0000)]
Fix memory leak in Bluetooth AVRCP JNI
am: 3a4b8693ee

* commit '3a4b8693ee49932247a96099942fa1cecb4670bc':
  Fix memory leak in Bluetooth AVRCP JNI

8 years agoFix memory leak in Bluetooth AVRCP JNI
Casper Bonde [Mon, 4 Jan 2016 15:13:13 +0000 (16:13 +0100)]
Fix memory leak in Bluetooth AVRCP JNI

When rebasing change-id I3941793f9843abf4afa5ffbee40d1d01c118b29b
later change bbb4110b455b3aa29106d5b4f0a37e1be8e09475 in AOSP,
a memory leak fix was removed by accident. This patch re-enables
the memory leak fix.

Bug: 26383160
Change-Id: I70fd2ea00f6135803f92aad3adda9ce38f47cc32
Signed-off-by: Casper Bonde <c.bonde@samsung.com>
8 years agoDO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue
Andre Eisenbach [Tue, 29 Dec 2015 21:37:08 +0000 (13:37 -0800)]
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue

Receive and handle ACTION_MESSAGE_SENT intent for SMS type
message to move it to SENT folder when pushMessage request
from MCE  is processed and SMS delivered successfully.

Bug: 22343270
CRs-Fixed: 903561
Change-Id: I9dafffc737a34233ede2d10e22cd969f520a12cf

8 years agoDO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue
Ashwini Munigala [Mon, 7 Sep 2015 16:08:09 +0000 (21:38 +0530)]
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue

Receive and handle ACTION_MESSAGE_SENT intent for SMS type
message to move it to SENT folder when pushMessage request
from MCE  is processed and SMS delivered successfully.

Bug: 22343270
CRs-Fixed: 903561
Change-Id: I9dafffc737a34233ede2d10e22cd969f520a12cf

8 years agoMap Bluetooth profiles correctly in isProfileDisabled helper function. am: 0a9659da81
Bryce Lee [Fri, 18 Dec 2015 23:13:11 +0000 (23:13 +0000)]
Map Bluetooth profiles correctly in isProfileDisabled helper function. am: 0a9659da81
am: c88e96d906

* commit 'c88e96d90674d9b19e8bc904efc05bd64a268853':
  Map Bluetooth profiles correctly in isProfileDisabled helper function.

8 years agoMap Bluetooth profiles correctly in isProfileDisabled helper function.
Bryce Lee [Fri, 18 Dec 2015 23:07:05 +0000 (23:07 +0000)]
Map Bluetooth profiles correctly in isProfileDisabled helper function.
am: 0a9659da81

* commit '0a9659da81c1367bf40a8340ecdff4227f88203b':
  Map Bluetooth profiles correctly in isProfileDisabled helper function.

8 years agoMap Bluetooth profiles correctly in isProfileDisabled helper function.
Bryce Lee [Fri, 18 Dec 2015 19:33:47 +0000 (11:33 -0800)]
Map Bluetooth profiles correctly in isProfileDisabled helper function.

Change-Id: Ic38736a653e6413f1f3bb41c8dfe049abe8883f0

8 years agoMonitor disabled profile setting and enable/disable profiles on change. am: 3602a64c6b
Bryce Lee [Thu, 17 Dec 2015 19:50:40 +0000 (19:50 +0000)]
Monitor disabled profile setting and enable/disable profiles on change. am: 3602a64c6b
am: 14675b24f4

* commit '14675b24f4c1bf1800ecd243a71fcdd96c9818af':
  Monitor disabled profile setting and enable/disable profiles on change.

8 years agoMonitor disabled profile setting and enable/disable profiles on change.
Bryce Lee [Thu, 17 Dec 2015 19:44:37 +0000 (11:44 -0800)]
Monitor disabled profile setting and enable/disable profiles on change.
am: 3602a64c6b

* commit '3602a64c6bbe46775cba67f064af39c89d888c5c':
  Monitor disabled profile setting and enable/disable profiles on change.

8 years agoMonitor disabled profile setting and enable/disable profiles on change.
Bryce Lee [Thu, 17 Dec 2015 19:39:46 +0000 (11:39 -0800)]
Monitor disabled profile setting and enable/disable profiles on change.

Bug: 25900899
Change-Id: Id98ae58ada8eecd33a2c86970d9d20ae061680be

8 years agoMerge "Fix race condition when doing GATT discovery"
Andre Eisenbach [Mon, 14 Dec 2015 23:13:41 +0000 (23:13 +0000)]
Merge "Fix race condition when doing GATT discovery"
am: 82e316efe6

* commit '82e316efe6568d498a9bca1477745c429ac287d1':
  Fix race condition when doing GATT discovery

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 agoAllow for automatic routing on HF AG to be disabled. am: 9e1b34b2a5
Bryce Lee [Tue, 17 Nov 2015 16:17:24 +0000 (16:17 +0000)]
Allow for automatic routing on HF AG to be disabled. am: 9e1b34b2a5
am: e58438d821

* commit 'e58438d821210e57c2240befdaa99e4ab996c51c':
  Allow for automatic routing on HF AG to be disabled.

8 years agoAllow for automatic routing on HF AG to be disabled.
Bryce Lee [Tue, 17 Nov 2015 16:14:24 +0000 (16:14 +0000)]
Allow for automatic routing on HF AG to be disabled.
am: 9e1b34b2a5

* commit '9e1b34b2a5a80c9b16cfc9e71fd4ff015086ab16':
  Allow for automatic routing on HF AG to be disabled.

8 years agoAllow for automatic routing on HF AG to be disabled.
Bryce Lee [Mon, 16 Nov 2015 18:35:39 +0000 (10:35 -0800)]
Allow for automatic routing on HF AG to be disabled.

Bug: 25485578
Change-Id: Iefe06f9df811311040f154ddf8f578893b275ef4

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 5 Nov 2015 20:00:53 +0000 (20:00 +0000)]
Import translations. DO NOT MERGE
am: 12322a0f80  -s ours

* commit '12322a0f8069c920f08860ee3b53909a7a69934f':
  Import translations. DO NOT MERGE

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