OSDN Git Service

android-x86/packages-apps-Bluetooth.git
8 years agoMerge "Bluetooth: Fix to avoid PAN JNI crash due to ENABLE_TIMEOUT"
Andre Eisenbach [Fri, 4 Mar 2016 16:42:48 +0000 (16:42 +0000)]
Merge "Bluetooth: Fix to avoid PAN JNI crash due to ENABLE_TIMEOUT"

8 years agoBluetooth: Fix to avoid PAN JNI crash due to ENABLE_TIMEOUT
Nitin Shivpure [Tue, 13 Oct 2015 09:49:08 +0000 (15:19 +0530)]
Bluetooth: Fix to avoid PAN JNI crash due to ENABLE_TIMEOUT

A case, where BT ON/OFF is running in the loop(stress). In one
of the iteration, BT ON gets failed due to ENABLE_TIMEOUT.
But BTIF for PAN had already been initialized. SSR cleanup is
triggered due to BT on failure. So PAN JNI callback obj gets deleted,
PAN control_state_callback is triggered just after PAN JNI cleanup.
BT gets crashed. Checking for NULL to avoid crash in any unknown
scenario.

Change-Id: Ie95470348f11be6c9eccc1e4ac3869d6789f3f6c

8 years agoMerge "Remove unused callbacks"
Andre Eisenbach [Thu, 3 Mar 2016 23:49:25 +0000 (23:49 +0000)]
Merge "Remove unused callbacks"

8 years agoRemove unused callbacks
Jakub Pawlowski [Thu, 3 Mar 2016 23:00:46 +0000 (15:00 -0800)]
Remove unused callbacks

Bug: 27455533
Change-Id: I743b8ba7187a397f088ac720f239e368dd84a7a2

8 years agoMerge "Stop accessing statemachine after cleanup"
Ajay Panicker [Thu, 3 Mar 2016 23:44:31 +0000 (23:44 +0000)]
Merge "Stop accessing statemachine after cleanup"

8 years agoStop accessing statemachine after cleanup
AnubhavGupta [Tue, 15 Sep 2015 09:13:10 +0000 (14:43 +0530)]
Stop accessing statemachine after cleanup

Usecase:
-pair and connect DUT with Remote
-Start A2DP streaming
-Initiate disconnection from DUT

Failure:
Bluetoth crashed after initiating disconnect from DUT

Rootcause:
Accessing state machine context after cleanup.

Fix:
Bluetooth: Added null check to stop accessing state machine after cleanup

Change-Id: I85ca55aaa0b7604125e45a62e32ae02eca605e43

8 years agoMerge "Get whole GATT db, instead of one by one element."
Andre Eisenbach [Thu, 3 Mar 2016 22:52:44 +0000 (22:52 +0000)]
Merge "Get whole GATT db, instead of one by one element."

8 years agoGet whole GATT db, instead of one by one element.
Jakub Pawlowski [Fri, 26 Feb 2016 20:01:36 +0000 (12:01 -0800)]
Get whole GATT db, instead of one by one element.

This patch uses new get_gatt_db method instead of current set of
callback to obtain GATT db.t

Bug: 27455533
Change-Id: I52e12253dd850ce8de35297c941638189cbbed1e

8 years agoMerge "Proper handling of BTRH command in HFP client"
Ajay Panicker [Thu, 3 Mar 2016 18:28:38 +0000 (18:28 +0000)]
Merge "Proper handling of BTRH command in HFP client"

8 years agoProper handling of BTRH command in HFP client
Satish Kodishala [Thu, 11 Feb 2016 07:50:50 +0000 (13:20 +0530)]
Proper handling of BTRH command in HFP client

Usecase:
1. Enable hf client role and connect to AG.
2. Run PTS test case RHH/BV-04.

Failure:
PTS test case fails since the test expects the call to be active.

Rootcause:
Hf client is not sending AT+BTRH for accepting held call

Fix:
Remove unnecessary check against of action policy flag while
executing BTRH command

Change-Id: Iebd5e02f3bf70cc39288219340cd47ebad3d8349

8 years agoMerge "Add more statistics to scan logs"
Ajay Panicker [Wed, 2 Mar 2016 00:55:53 +0000 (00:55 +0000)]
Merge "Add more statistics to scan logs"

8 years agoAdd more statistics to scan logs
Ajay Panicker [Tue, 1 Mar 2016 21:46:00 +0000 (13:46 -0800)]
Add more statistics to scan logs

Added length of connection time to connections. Also added scan type
(opportunistic/background) to last X scans.

Example of new print:
GATT Client Map
  Entries: 2

  no.nordicsemi.android.mcp (Registered)
  LE scans (started/stopped)         : 2 / 2
  Scan time in ms (min/max/avg/total): 1604 / 7274 / 4439 / 8878
  Last 2 scans                       :
    1970/02/19 21:30:20 - 1604ms
    1970/02/19 23:59:00 - 7274ms
  Application ID                     : 6
  UUID                               : 0c452531-a57e-44df-9ac6-e2b780d2f715
  Connections: 1
    6: FF:08:11:53:44:A1 10008ms

  com.example.apanicke.bletest (Registered)
  LE scans (started/stopped)         : 2 / 2
  Scan time in ms (min/max/avg/total): 2946 / 9996 / 6471 / 12942
  Last 2 scans                       :
    1970/02/19 21:30:07 - 2946ms Opp
    1970/02/19 21:30:17 - 9996ms Opp
  Application ID                     : 5
  UUID                               : f25c1bdf-559f-43a6-8348-40ca92975b33
  Connections: 0

Bug: 27294154
Change-Id: I7460fb1568f20a1ce13b01d101517852cf9aec4a

8 years agoMerge "Fix warnings in packages/apps/Bluetooth"
Ajay Panicker [Wed, 2 Mar 2016 00:46:21 +0000 (00:46 +0000)]
Merge "Fix warnings in packages/apps/Bluetooth"

8 years agoFix warnings in packages/apps/Bluetooth
Ajay Panicker [Tue, 1 Mar 2016 22:14:56 +0000 (14:14 -0800)]
Fix warnings in packages/apps/Bluetooth

Bug: 27301103
Change-Id: I2f2698a2fb3f7ca7031a803e43a398f59bd32cdb

8 years agoMerge "Protect ScanStats from race conditions"
Ajay Panicker [Tue, 1 Mar 2016 17:59:55 +0000 (17:59 +0000)]
Merge "Protect ScanStats from race conditions"

8 years agoProtect ScanStats from race conditions
Ajay Panicker [Mon, 29 Feb 2016 18:37:33 +0000 (10:37 -0800)]
Protect ScanStats from race conditions

Bug: 27294154
Change-Id: Icc0b0a6cfb93fca4a9a2aee49b94c0be1d62527f

8 years agoMerge "Fix logic for repeated record scan calls"
Ajay Panicker [Sat, 27 Feb 2016 01:17:31 +0000 (01:17 +0000)]
Merge "Fix logic for repeated record scan calls"

8 years agoFix logic for repeated record scan calls
Ajay Panicker [Sat, 27 Feb 2016 00:03:10 +0000 (16:03 -0800)]
Fix logic for repeated record scan calls

If recordStartScan or recordStopScan is called multiple times,
there are issues where logged values are incorrect.

Bug: 27294154
Change-Id: Ie049e917ae26fec4c50874ed703e404146c15044

8 years agoMerge "Mark background and opportunistic scans in scan statistics"
Ajay Panicker [Fri, 26 Feb 2016 23:46:31 +0000 (23:46 +0000)]
Merge "Mark background and opportunistic scans in scan statistics"

8 years agoMark background and opportunistic scans in scan statistics
Ajay Panicker [Wed, 24 Feb 2016 23:43:53 +0000 (15:43 -0800)]
Mark background and opportunistic scans in scan statistics

Bug: 27294154
Change-Id: I71d8f388aa83da581958d2169ca9a5eb6088a367

8 years agoMerge "Fix the argument processing when dumping Bluetooth state"
Pavlin Radoslavov [Fri, 26 Feb 2016 04:18:37 +0000 (04:18 +0000)]
Merge "Fix the argument processing when dumping Bluetooth state"

8 years agoFix the argument processing when dumping Bluetooth state
Pavlin Radoslavov [Fri, 26 Feb 2016 04:03:09 +0000 (20:03 -0800)]
Fix the argument processing when dumping Bluetooth state

Apparently, when dump() is invoked via bugreport for
Bluetooth's AdapterServe, the optional arguments contain "-a".
The existing logic for checking the arguments for "--proto"
and return the result in Protobuf format failed to detect that,
and suppressed any output.

Now any unrecognized options are ignored, and the default
(text) output is returned.

Bug: 27293885
Change-Id: I0f0d94507ebf6fed7628d49cd1de2a1b2801e6ad

8 years agoMerge "Add a missing null pointer check for AdapterService"
Pavlin Radoslavov [Thu, 25 Feb 2016 00:02:17 +0000 (00:02 +0000)]
Merge "Add a missing null pointer check for AdapterService"

8 years agoAdd a missing null pointer check for AdapterService
Pavlin Radoslavov [Wed, 24 Feb 2016 22:53:22 +0000 (14:53 -0800)]
Add a missing null pointer check for AdapterService

Add a missing null pointer check for AdapterService
inside class AdapterServiceBinder when receiving
a Binder request to dump Bluetooth state.

Bug: 27343461
Change-Id: I62e67120f6eb6edb5a93b19a9cca5c09862d6506

8 years agoMerge "Add timestamp to last scans"
Ajay Panicker [Wed, 24 Feb 2016 19:32:38 +0000 (19:32 +0000)]
Merge "Add timestamp to last scans"

8 years agoAdd timestamp to last scans
Ajay Panicker [Wed, 24 Feb 2016 00:49:54 +0000 (16:49 -0800)]
Add timestamp to last scans

Ex:
  no.nordicsemi.android.mcp (Registered)
  LE scans (started/stopped)       : 5 / 4
  Scan time in ms (min/max/avg)    : 97 / 1476 / 897
  Last 4 scans (timestamp - duration):
    1970/02/13 21:10:19 - 1476ms
    1970/02/13 21:10:21 - 97ms
    1970/02/13 21:10:23 - 929ms
    1970/02/13 21:10:25 - 531ms
  Application ID                   : 5
  UUID                             : f77437a1-5e86-4e2d-8223-6193a095c7f5
  Current scan duration in ms      : 1452
  Connections: 0

Bug: 27294154
Change-Id: I66ba6b4bc2d45ced7d6414db007394a16a30956e

8 years agoMerge "Fix warnings in packages/apps/Bluetooth"
Aurimas Liutikas [Tue, 23 Feb 2016 21:51:03 +0000 (21:51 +0000)]
Merge "Fix warnings in packages/apps/Bluetooth"

8 years agoFix warnings in packages/apps/Bluetooth
Aurimas Liutikas [Tue, 23 Feb 2016 00:39:38 +0000 (16:39 -0800)]
Fix warnings in packages/apps/Bluetooth

Bug: 27301103
Change-Id: I5eec4610f64af4191f64e946122623b6fe222b92

8 years agoMerge "Clean up gatt dump output"
Ajay Panicker [Sat, 20 Feb 2016 00:52:42 +0000 (00:52 +0000)]
Merge "Clean up gatt dump output"

8 years agoClean up gatt dump output
Ajay Panicker [Fri, 19 Feb 2016 00:43:26 +0000 (16:43 -0800)]
Clean up gatt dump output

Change-Id: Ia411bb3446b657b06a1748daa14628da79d59ca0

8 years agoMerge "Output the Protobuf result in Base64 string"
Andre Eisenbach [Thu, 18 Feb 2016 06:34:41 +0000 (06:34 +0000)]
Merge "Output the Protobuf result in Base64 string"

8 years agoOutput the Protobuf result in Base64 string
Pavlin Radoslavov [Thu, 18 Feb 2016 03:01:42 +0000 (19:01 -0800)]
Output the Protobuf result in Base64 string

Outputing in binary format does not work, because
the reader assumes the output is a string.

Change-Id: If24797264e82c649c21f9b984f04ec70adbcec94

8 years agoMerge "Add Java Protobuf dump and ScanEvent Protobuf"
Pavlin Radoslavov [Thu, 18 Feb 2016 01:48:55 +0000 (01:48 +0000)]
Merge "Add Java Protobuf dump and ScanEvent Protobuf"

8 years agoAdd Java Protobuf dump and ScanEvent Protobuf
Ajay Panicker [Tue, 16 Feb 2016 18:38:53 +0000 (10:38 -0800)]
Add Java Protobuf dump and ScanEvent Protobuf

Add Protobuf dumping for the Java layer. Also add ScanEvent Protobuf
to already existing scan event logging.

Change-Id: Ib05973c8d98df3bead84b22b3773c42effb25c87

8 years agoMerge "Improve BT OPP throughput"
Andre Eisenbach [Thu, 18 Feb 2016 00:20:56 +0000 (00:20 +0000)]
Merge "Improve BT OPP throughput"

8 years agoImprove BT OPP throughput
Deepak A Metri [Fri, 9 Oct 2015 10:42:21 +0000 (12:42 +0200)]
Improve BT OPP throughput

Progress Bar updation during OPP takes around 40ms for each update.
This causes a significant delay in OPP file transfer, which eventually
will decrease the throughput.
To improve the throughput, invoke the progressBar updation only if there
is a change in the percentage.

Change-Id: I64a0b47093698959026d2b97f296c709a7d92703
Signed-off-by: Deepak A Metri <deepak.a.metri@intel.com>
Signed-off-by: Cedric Bondier <cedric.bondier@intel.com>
Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>
8 years agoMerge "HFP: Do not return NULL when the HDP interface is unavailable"
Andre Eisenbach [Tue, 16 Feb 2016 19:05:39 +0000 (19:05 +0000)]
Merge "HFP: Do not return NULL when the HDP interface is unavailable"

8 years agoHFP: Do not return NULL when the HDP interface is unavailable
Arnav Gupta [Wed, 10 Feb 2016 00:27:49 +0000 (05:57 +0530)]
HFP: Do not return NULL when the HDP interface is unavailable

We're not supposed to return a NULL from a a function returning an int
value. And indeed the calling Java code does not have a NPE check either.

If an HDP interface is not avaialable, send -1 which the Java code
correctly assumes as a failure to register the health app.

Change-Id: I5ac7dc6f9acc9fefae8d1d2233453448c3ba79bc
Signed-off-by: Arnav Gupta <championswimmer@gmail.com>
8 years agoMerge "Fix NPE crash while removeBatch"
Andre Eisenbach [Thu, 11 Feb 2016 20:15:39 +0000 (20:15 +0000)]
Merge "Fix NPE crash while removeBatch"

8 years agoFix NPE crash while removeBatch
jun.x.wang [Thu, 14 Aug 2014 05:36:59 +0000 (13:36 +0800)]
Fix NPE crash while removeBatch

When unpairing two devices, the BluetoothOppShareInfo
in BluetoothOppBatch may be null during transfer.

Change-Id: I7b4fbd0f291250deebdeaea4bf2d2f540fe233dc

8 years agoMerge "Alternate dumpsys output for arguments"
Marie Janssen [Wed, 10 Feb 2016 23:32:31 +0000 (23:32 +0000)]
Merge "Alternate dumpsys output for arguments"

8 years agoAlternate dumpsys output for arguments
Marie Janssen [Mon, 1 Feb 2016 19:04:08 +0000 (11:04 -0800)]
Alternate dumpsys output for arguments

The metrics collection uses the dumpsys function with extra arguments to
provide different formatted output.

When arguments are provided, skip the normal output and use
alternatives.

Change-Id: Ie43b9134c4b21bb2761228934b954e68f2360c2f

8 years agoMerge "dumpNative has garbage in args"
Ajay Panicker [Wed, 10 Feb 2016 20:32:14 +0000 (20:32 +0000)]
Merge "dumpNative has garbage in args"

8 years agodumpNative has garbage in args
Ajay Panicker [Mon, 8 Feb 2016 23:12:49 +0000 (15:12 -0800)]
dumpNative has garbage in args

|args| sometimes has garbage in it which can cause segfaults later on.

Change-Id: Ie754d8066dc591b4d64e922b1ffe93fe131bc68d

8 years agoMerge "Fix typo in Bluetooth MAP access string"
Andre Eisenbach [Tue, 9 Feb 2016 20:12:56 +0000 (20:12 +0000)]
Merge "Fix typo in Bluetooth MAP access string"

8 years agoFix typo in Bluetooth MAP access string
Andre Eisenbach [Tue, 9 Feb 2016 17:17:49 +0000 (09:17 -0800)]
Fix typo in Bluetooth MAP access string

Bug: 26970075
Change-Id: I5d3ffbe3391389abafcfafbe924f390116954d18

8 years agoMerge "Null terminate MAP instance information"
Ajay Panicker [Tue, 9 Feb 2016 18:11:38 +0000 (18:11 +0000)]
Merge "Null terminate MAP instance information"

8 years agoNull terminate MAP instance information
Ajay Panicker [Fri, 8 Jan 2016 00:05:11 +0000 (16:05 -0800)]
Null terminate MAP instance information

Bug: 26437927
Change-Id: I673de7f7c68b9a02b234bb99c6f89c7fc36f90c9

8 years agoMerge "Enhance AVRCP Absolute Volume control implementation"
Andre Eisenbach [Fri, 5 Feb 2016 19:56:58 +0000 (19:56 +0000)]
Merge "Enhance AVRCP Absolute Volume control implementation"

8 years agoEnhance AVRCP Absolute Volume control implementation
Liejun Tao [Fri, 18 Dec 2015 20:59:01 +0000 (14:59 -0600)]
Enhance AVRCP Absolute Volume control implementation

1. Remember the current local volume level, current remote volume level.
When user adjusts the volume, compare the returned remote volume
level with desired volume level, if they don't match, do retry.

2.Learn and remember the volume mapping between phone volume level and
remote volume level as the user adjusts volume. When user adjusts to one
remembered volume level, use the mapping directly. Otherwise calculate
the remote volume level and try with method described in step one.

3. Blacklist device if remote device does not tell its initial volume.

4. Define optional threshold for initial volume level to avoid headset
being too loud upon re-connection.

Signed-off-by: Liejun Tao <baibai@motorola.com>
Change-Id: I78112f5f401666f5a680561473a5c7f914071fbe

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