Commit graph

1907 commits

Author SHA1 Message Date
Jorim Jaggi
3fb6ccbd35 Merge "Revert "Add "Unlocked device required" parameter to keys"" 2018-01-30 15:36:28 +00:00
Brian Young
680068e9f2 Revert "Add "Unlocked device required" parameter to keys"
This reverts commit dc9505de44.

Reason for revert: Build breakages on elfin, gce_x86_phone.

Bug: 72679761
Bug: 67752510
Change-Id: I53d396632b7a23141b755e028342accf6625ca0b
2018-01-30 15:31:29 +00:00
TreeHugger Robot
9ef9cf40e2 Merge "Add "Unlocked device required" parameter to keys" 2018-01-29 23:16:02 +00:00
Hongwei Wang
82e4dc70f4 Removes vehicle.default target
Bug: 72179784
Test: None

Change-Id: Ia96ef01c98565deb8920d1df2eee31149a2a9338
2018-01-25 15:58:11 -08:00
Brian C. Young
dc9505de44 Add "Unlocked device required" parameter to keys
Add a keymaster parameter for keys that should be inaccessible when
the device screen is locked. "Locked" here is a state where the device
can be used or accessed without any further trust factor such as a
PIN, password, fingerprint, or trusted face or voice.

This parameter is added to the Java keystore interface for key
creation and import, as well as enums specified by and for the native
keystore process.

Test: go/asym-write-test-plan

Bug: 67752510

Change-Id: Ic1ec3bde05f8a28e20b9443b7f0078749921f297
2018-01-25 08:43:13 -08:00
Shuzhen Wang
bc04a28238 Merge "camera3: Add physical camera id field in capture result" 2018-01-25 15:52:45 +00:00
Courtney Goeltzenleuchter
437ce43787 Add support for HDR metadata (SMPTE2086)
Add HWC interface to pass in SMPTE2086 & CTA 861.3 metadata.
Test: TBD CTS test
Bug: 29940137

Change-Id: Ib99787752441b8a883864cc8adc8431478a15ba7
2018-01-24 19:24:13 -08:00
Shuzhen Wang
1d4c09e83e camera3: Add physical camera id field in capture result
- Add an array of physical camera ids and metadata when physical
cameras are requested within a logical multi-camera.
- Physical camera ids and metadata are only necessary for the final
capture_results, not the partial result.
- Physical camera ids and metadata must not be populated if no physical
camera is requested.

Test: Compile
Bug: 64691172
Change-Id: I78b20fe3d0c6462abf95b8fe7e3b4c66b3acefdf
2018-01-24 18:14:13 -08:00
TreeHugger Robot
a6e13b1c1d Merge "[HWC] Add setLayerFloatColor API." 2018-01-24 18:19:19 +00:00
Peiyong Lin
fd05d13edc [HWC] Add setLayerFloatColor API.
This patch adds the struct of float color, and setLayerFloatColor API so that
SurfaceFlinger can set the layer color with more bits on each channel.
Currently the display calibration tool require 10-bits support.

BUG: 69970838
Test: make locally and applied on device
Change-Id: I8bab335cc4fbc41a3eb18306a8831d1e9a9a219a
2018-01-24 18:12:41 +00:00
Kevin Rocard
52a0dad79c Merge "Revert "Audio V4: Split system and vendor Audio.h"" 2018-01-24 06:26:16 +00:00
Kevin Rocard
c6ec9486d8 Revert "Audio V4: Split system and vendor Audio.h"
This reverts commit fc9e212f01.

Reason for revert: Breaks multiple devices

Change-Id: I816671fd92246f85c97d00819858a74e36e2929d
2018-01-24 06:04:27 +00:00
TreeHugger Robot
a03b72961d Merge "Camera3: Add new MOTION_TRACKING template enums" 2018-01-24 04:36:33 +00:00
Kevin Rocard
904511aaa2 Merge "Audio V4: Split system and vendor Audio.h" 2018-01-24 04:04:47 +00:00
Eino-Ville Talvala
cc1aa87b19 Camera3: Add new MOTION_TRACKING template enums
Bug: 70565622
Bug: 63629224
Test: Builds, CTS passes
Change-Id: I927776d042b74013cf24c342b107a5aee1ad26a2
2018-01-23 00:23:32 -08:00
Kevin Rocard
fc9e212f01 Audio V4: Split system and vendor Audio.h
audio.h and its dependencies (audio-effect.h, sound_trigger.h...)
used to be shared between system and vendor code.

This led to multiple problems:

1) Such sharing contradicts the Treble policy of
strict independence of framework and vendor code.

2) When audio.h was changed, every vendor needed to update
its code in the next release. This meant that audio*.h
headers were mostly changed in backward compatible manner.
Nevertheless, for P the HIDL interface and thus the audio.h
interface are changed in backward incompatible way.
(Some enum are becoming 64 bit long).

3) As the headers were common, some API used only by the framework
needed to be visible to the vendors (mostly enum values).

4) Treble policy is to support at least one previous HAL version

As a result the audio*.h headers are now duplicated,
one set for the framework, and one for the vendor.

Each set will evolve independently. After this split,
the framework-only APIs will be removed from the vendor headers
and vice versa.

The split is implements as such:

 + for system code

    - NOT moving the libaudio_system_headers
      Eg: system/audio.h and system/audio_effects/effect_equalizer.h
          are still in system/media/audio

    - the legacy audio HAL API that were in libhardware headers
          are now in libaudiohal_legacy_headers
      Eg: hardware/audio.h and hardware/audio_effect.h
          are now in frameworks/av/media/libaudiohal/legacy/

 + for vendor code

    - moving libaudio_system_headers and the legacy audio HAL API
          that were in libhardware_headers in
          android.hardware.audio.common.legacy@2.0
      Note that those headers are now versioned, so migrating to a @4.0
          HIDL HAL will mean changing the legacy dependency too.
      Eg: system/audio.h, system/audio-effect.h, hardware/audio.h
          are now in hardware/interfaces/audio/common/2.0/legacy

    - the legacy audio effect HAL API that was in libaudioeffects
          is now moved in android.hardware.audio.effect.legacy@2.0
      Eg: audio_effects/effect*.h are now in
          hardware/interfaces/audio/effect/2.0/legacy

    - the legacy sound trigger HAL API that were in libhardware_headers
          is now moved in android.hardware.soundtrigger.legacy@2.0
      Eg: hardware/sound_trigger.h is now in
          hardware/interfaces/audio/effect/2.0/legacy

libaudioutil being used by both system and vendor, had
to be renamed for system to libaudioutil_system.

Vendor libs that now depend on the audio.h of a specific
version and are not extensively referenced in non google code,
append @2.0 to their name.

Note that headers that are not expected to change in the 4.0 HAL are
left in all-versions folder to avoid duplication.
This is an implementation detail as the versioned libraries export
the all-versions headers.

Note that strict vendor-system separation is enforced by the
build-system. The system headers are not available for vendor
libs and vice-versa.

Note that this patch is split between numerous git repository (>10),
all the commits having the same Change-id for searchability.

Note that audio_policy.h is no longer exposed to vendors
as the legacy audio policy HAL API was never officially supported.
As a result the audiopolicy stub implementation has been removed.

Test: compile taimen-userdebug walleye-userdebug
              sailfish-userdebug marlin-userdebug
              gce_x86_phone-userdebug gce_x86_phone
              full-eng aosp_arm aosp_x86-eng
Test: check that the emulator booted and played audio
Test: full QA on sailfish-userdebug and taimen-userdebug
Bug: 38184704
Change-Id: I950f4e0a55613d72e32eba31bd563cb5bafe2d1a
Signed-off-by: Kevin Rocard <krocard@google.com>
2018-01-20 21:39:40 -08:00
Emilian Peev
92261ffa2e camera3: Extend camera capture request for multiple cameras
The legacy camera 3.5 API should allow clients to set individual
settings for specific physical cameras that are part of
a logical multi-camera. 'camera3_capture_request_t' must
include additional arrays containing the required settings
and corresponding camera ids.

Test: Manual using camera application,
camera_client_test
Bug: 64691172

Change-Id: I634f1d5b87a6d97c5a35b8ea633c7a6c22793eaf
2018-01-19 17:28:28 +00:00
Shuzhen Wang
bf39eb54de camera3: Add logical camera support in HAL 3.5
- Add ability to specify the camera id to which a particular camera3_stream belongs.
- Update documentation about the camera characteristics of logical camera.

Test: Camera2.apk and GoogleCamera.apk
Bug: 64691172
Change-Id: Ie2e235e8bc8124596785db8dad25549bec4232aa
2018-01-18 16:53:49 -08:00
Hongwei Wang
1a9044eded Removes deprecated audio property in vehicle hal
Bug: 72054677
Test: lunch gcar_emu-x86 && m -j
Change-Id: Ia70bf17e0343704c5ca3468ad86145e7078696f7
2018-01-18 21:01:13 +00:00
TreeHugger Robot
b11abc155b Merge "Add KM_ALGORITHM_TRIPLE_DES to keymaster_defs.h" 2018-01-17 23:14:11 +00:00
Frank Salim
343f309e0a Add KM_PURPOSE_WRAP to keymaster_defs for wrapped key import
AndroidKeymaster depends on keymaster_defs and needs the new
purpose for secure key import.

Test: system/keymaster/tests/android_keymaster_tests

Change-Id: I8ab6d9756689342bc5865861c89c5ccc87179454
2018-01-16 13:43:29 -07:00
Shawn Willden
2b55708fbb Add KM_ALGORITHM_TRIPLE_DES to keymaster_defs.h
Test: system/keymaster unit tests
Change-Id: I1ed56e543b657155c9194bc30616747d51aef7df
2018-01-16 09:08:51 -07:00
Emilian Peev
eec2ee9633 camera: Bump device version to 3.5
This version update adds support for session keys and
session parameters.

Bug: 64450664
Test: Camera CTS

Change-Id: Id14dbde5083c974b86b942dfd6e904dbe85e0ee5
2017-12-11 15:06:34 +00:00
Jakub Pawlowski
4d64b603db Move Bluetooth headers to system/bt (2/3)
Bug: 67853426
Test: run Bluetooth
Change-Id: If99fc83e08294cfc26608dcef88a5c3836d88863
2017-10-17 16:02:13 -07:00
Jakub Pawlowski
5d5996a069 Remove hw_module_t dependency in Bluetooth (2/3)
Bug: 67853426
Test: run Bluetooth
Change-Id: I0b144544b99a4e7fea74800d3bd44b45f446d02f
2017-10-17 20:02:54 +00:00
Jakub Pawlowski
eab6b6eda9 Use one type for UUID (2/5)
Currently, we have few different representations for UUID in stack:
tBT_UUID, tSDP_UUID, bt_uuid_t, bluetooth:UUID, or uint8_t*.

Additionally, tBT_UUID and bt_uuid_t are used to hold UUID as 128bit
as Little Endian or Big Endian, depending on which part of stack (GATT
or SDP) is using it.

This patch is creating one type, bluetooth::Uuid, that will replace all
other types.

Bug: 66912853
Test: all sl4a tests for GATT and RFCOMM
Change-Id: Ic9048a6c1f32a16034485b6185f5349e6bac0ff6
2017-09-25 21:24:08 +00:00
Jakub Pawlowski
24b6f65d5a Merge "Remove unused BT_STACK_TEST_MODULE_ID" am: 5dd2b50699 am: 27bf3239fa
am: 14cab0e6c0

Change-Id: I3b727ffc25633034cc714b0a28a23da602d364ff
2017-09-20 23:27:42 +00:00
Jakub Pawlowski
27bf3239fa Merge "Remove unused BT_STACK_TEST_MODULE_ID"
am: 5dd2b50699

Change-Id: I81a6108ba36a0b81762e91912ecba065685eca4b
2017-09-20 23:23:19 +00:00
Jakub Pawlowski
7a859c0314 Remove unused BT_STACK_TEST_MODULE_ID
Test: compilation
Change-Id: I0aa9edd7e7d15df53bdd729cd4d0f0e424b13eab
2017-09-18 15:18:01 -07:00
Jiyong Park
888b1351c8 Merge "Don't rely on transitively included headers" am: 1363159d74 am: 6d76606405
am: 873a4a5494

Change-Id: I11b097faac8eb82c3672b18fe2ad581964cd3023
2017-09-06 16:03:56 +00:00
Jiyong Park
6d76606405 Merge "Don't rely on transitively included headers"
am: 1363159d74

Change-Id: I0325773d80680928d47750937e2f4bc6a69b1bf9
2017-09-06 15:56:28 +00:00
Jiyong Park
439eb0f241 Don't rely on transitively included headers
One must explicitly include what it need.
time.h for clock_gettime
float.h for FLT_MAX
string.h for memset

Bug: 37629934
Test: build

Merged-In: I1030a9c9ff3c2de4c5febabc3064d6976e9535cf
Change-Id: I5a8fd84a10aeeab2258f78a0ac992de0afa33d00
2017-09-06 15:28:18 +09:00
Jiyong Park
32dde03332 Don't rely on transitively included headers
One must explicitly include what it need.
time.h for clock_gettime
float.h for FLT_MAX
string.h for memset

Bug: 37629934
Test: build

Change-Id: I1030a9c9ff3c2de4c5febabc3064d6976e9535cf
2017-09-06 12:17:06 +09:00
Peng Xu
a7219a3697 Merge "Sensor: HAL guideline clarification upon activation request" am: 0b2872c784 am: 3a35beab7d
am: 94ff6fab1a

Change-Id: Ic4c97a521fb8e294c45f1fe15bcfee0a61b53c64
2017-08-29 21:08:16 +00:00
Peng Xu
3a35beab7d Merge "Sensor: HAL guideline clarification upon activation request"
am: 0b2872c784

Change-Id: I4efbd97fd1782ef18cd62c70c994a33e65ddfce3
2017-08-29 20:57:13 +00:00
Aniroop Mathur
443a4acbf7 Sensor: HAL guideline clarification upon activation request
Sensor events can be generated even after completion of sensor deactivation
request so the correct time to abandon the stale events is before making new
activation request instead after sensor deactivation request.

For example: In data injection mode which make sensor deactivation request,
sensor events are generated in sensor deactivation state. These events may
not have been picked up by poll before completion of switching to normal mode.
So it is necessary to abandon stale events at the time of activation request
so that in normal mode, application will not get injected events generated
during data injection mode.

Test: Inject sensor events at fastest possible sensor rate in data injection
mode and check whether there is any injected event received by application
after switching to normal mode.

Change-Id: I3a2c8a76946569a12e9416ac20ad2389f914d6e2
Signed-off-by: Aniroop Mathur <a.mathur@samsung.com>
2017-08-25 16:42:29 +00:00
Brian Duddie
7069aa8fa8 context_hub: Define target version bytes
Define that the first two previously-reserved bytes in the nanoapp
header are used to indicate the target CHRE API version.

Bug: 64852297
Test: run CHQTS on Nanohub, rebuild test app targeting 1.2 and confirm
      it's interpreted correctly
Change-Id: I0582f718bb641cc9c4e1f013578dc2dd50e6d3ec
2017-08-23 19:57:02 -07:00
Jack He
c00d8ae936 Merge "GATT: Expose opportunistic client API to Java" am: 3fca77cec8 am: e046029d08
am: 037bf66399

Change-Id: I2ffbb7d2e89400675c7278c855f84e1ee1f24c35
2017-07-11 20:46:05 +00:00
Jack He
e046029d08 Merge "GATT: Expose opportunistic client API to Java"
am: 3fca77cec8

Change-Id: I2f41880853b910857a96af9b6db1be97ef8b64af
2017-07-11 20:23:58 +00:00
Jack He
56f19a1f11 GATT: Expose opportunistic client API to Java
* Opportunistic GATT connection allows system service to subscribe to
  characteristic notifications without holding the BLE connection
* Exposing this flag to Java allows Android applications to use it

Bug: 35874078
Test: make, test on Android App
Change-Id: If4683b2281d743dacdece6b08db49ec539af3b18
2017-07-07 19:07:54 -07:00
Jakub Pawlowski
e822a28a53 Merge "Make RawAddress into a class (2/3)" am: 31e94c57e9 am: d188655a38
am: 2ccda30985

Change-Id: I4940ae77f7e334c4784c2ce35ef8588317b6e9a0
2017-07-07 01:40:35 +00:00
Jakub Pawlowski
d188655a38 Merge "Make RawAddress into a class (2/3)"
am: 31e94c57e9

Change-Id: I7991262e2c1b8b1c48e6eda5373ac608f0ed845b
2017-07-07 01:34:50 +00:00
Jakub Pawlowski
bec70c64ce Make RawAddress into a class (2/3)
* Add libbluetooth-types - library containing types implementation, that
is common between stystem/bt and packages/apps/Bluetooth. It must be
included in every project using btif interface.
* Put Raw Address implementation into libbluetooth-types
* Unify all "to/from string" helper methods into ToString and FromString
* bd_addr_empty -> RawAddress::kEmpty
* bd_addr_any -> RawAddress::kAny

Also fix leaks in jni str2addr by adding ReleaseStringUTFChars

Test: types_unittest
Change-Id: I2a0eb8d50ff777f494eed26bd58b5c502d2a0716
Merged-In: I2a0eb8d50ff777f494eed26bd58b5c502d2a0716
2017-07-06 22:39:27 +00:00
Jakub Pawlowski
cd3f371169 Merge "Rename bt_bdaddr_t into RawAddress (1/3)" am: f12e85e1d3 am: 04551f4036
am: 98d9ea8ede

Change-Id: I3ad0d173dc37ac2cccdfa5fedbd36abc13a894d4
2017-06-29 07:17:14 +00:00
Jakub Pawlowski
04551f4036 Merge "Rename bt_bdaddr_t into RawAddress (1/3)"
am: f12e85e1d3

Change-Id: I9a9254552a6904b1fbcbd91dedcc065220c975c7
2017-06-29 07:09:16 +00:00
Jakub Pawlowski
5a852006a6 Rename bt_bdaddr_t into RawAddress (1/3)
Test: compilation test
Change-Id: I80288013ce1c75538c45949815660cbb66ffed2e
2017-06-28 22:32:03 +00:00
Jakub Pawlowski
39b3307673 Merge "Use references in GATT client/server API (1/3)" am: 3e175f653f am: 681c247fd2
am: 33972ecee0

Change-Id: Ic770418eb343ca264f1de21a0d05bb3714311974
2017-06-22 00:05:17 +00:00
Jakub Pawlowski
33972ecee0 Merge "Use references in GATT client/server API (1/3)" am: 3e175f653f
am: 681c247fd2

Change-Id: Ic519bf97121259a6c9bf81eb4e35e8a5e7ea1e07
2017-06-21 23:58:19 +00:00
Jakub Pawlowski
37cb8d7610 Use references in GATT client/server API (1/3)
This allows to get rid of some unnecessary null checks, and guarantee
proper values are passed.

Test: compilation test
Change-Id: Id5508477809a5c0b038eed71403a8bf93bd03203
2017-06-21 09:55:56 -07:00
Fabien Sanglard
ceb1d546c6 Add Skip Validate capability to hwc2 interface am: 4ab926a39e
am: 347ebe20ed

Change-Id: I239a3664e6dc1ee0e75926bb5ed79c122eee0aaa
2017-06-20 01:46:07 +00:00
Fabien Sanglard
c62a6f60b9 Add Skip Validate capability to hwc2 interface
am: 4ab926a39e

Change-Id: Ibbbfa07349a16fd26949e86d0040c81a8238a2d8
2017-06-20 01:43:07 +00:00
Fabien Sanglard
347ebe20ed Add Skip Validate capability to hwc2 interface
am: 4ab926a39e

Change-Id: Ie5d0595acb62989085e1a38e2e82f35999bd190d
2017-06-20 01:43:07 +00:00
Fabien Sanglard
4ab926a39e Add Skip Validate capability to hwc2 interface
Change-Id: I716100780f820574440abc5a247ea7071b630113
2017-06-19 23:22:23 +00:00
Avish Shah
81b53af391 Merge "Bluetooth 5: Update LE2M implementation through DM (2/3)" am: 1cde649b04 am: 4f60242707
am: 379a7de04a

Change-Id: I74104b96ab7a1269e01d395da72255c9eb3ed8c5
2017-06-15 18:00:54 +00:00
Avish Shah
379a7de04a Merge "Bluetooth 5: Update LE2M implementation through DM (2/3)" am: 1cde649b04
am: 4f60242707

Change-Id: Ia893070f8f48cea328fd83c6a6ea39e19d5e512b
2017-06-15 17:58:00 +00:00
Avish Shah
21227dfc6e Bluetooth 5: Update LE2M implementation through DM (2/3)
This patch moves LE2M implementation to the DM instead of tied to GATT.

Below are the reasons to make this change:
1) Per link setting usually be done under DM, such as link policy etc.
2) In the future, if LECOC is coming to use in more profile/apps,
   we can not rely on GATT API for these. Separate API should be required.
3) we could have multiple logical GATT user on top of the same link.
4) Also this will avoid duplicating all the APIs on GATTC and GATTS.

Bug: 37586939
Test: manual
Change-Id: I71579d6160fb16fb891e75cca64fe3cf9745116a
2017-06-14 12:26:01 +05:30
Zach Johnson
e7ddea95a8 Merge "Provide HFP API to set AG SCO policy" am: 2d2b5fb5bc am: 686ddad419
am: 3bb112c340

Change-Id: I34dfd733d7464ac16b32831968d21a4495cf2fe3
2017-06-08 18:42:53 +00:00
Zach Johnson
3bb112c340 Merge "Provide HFP API to set AG SCO policy" am: 2d2b5fb5bc
am: 686ddad419

Change-Id: Iec89be852a10c8176e14204bb89e649a93e1cf3f
2017-06-08 18:39:07 +00:00
Zach Johnson
9a773fe3e5 Provide HFP API to set AG SCO policy
Bug: 32958838
Test: manual
Change-Id: I744c964e85dc78347a5d9bd69c1acc970774ecb6
2017-06-07 17:37:48 -07:00
Jack He
5aa83c0c09 MCAP: Add test interface ID (1/2)
* Some PTS tests requires protocols and profiles to be accessed at stack
  API level
* This CL creates an ID for the MCAP protocol
* An application must be able to reference stack headers in order to use
  such an interface

Bug: 37867299
Test: make, no user visible effect
Change-Id: Ice654321cdeb11f93b1c8fc4a0753fe86bd82a56
(cherry picked from commit 9213f5b043)
2017-05-24 14:50:03 -07:00
Jack He
ac90000da3 Merge "MCAP: Add test interface ID (1/2)" am: 9dbf14a312 am: d7d66b117d am: 1495e0996e
am: e2e64dff91

Change-Id: Iabbc56ba033d7262aa7d694de479b8baebb760cc
2017-05-24 20:56:25 +00:00
Jack He
e2e64dff91 Merge "MCAP: Add test interface ID (1/2)" am: 9dbf14a312 am: d7d66b117d
am: 1495e0996e

Change-Id: I5dd6875e8ead5733bebea25daa2c7fb97f5b81e6
2017-05-24 20:48:18 +00:00
Jack He
9213f5b043 MCAP: Add test interface ID (1/2)
* Some PTS tests requires protocols and profiles to be accessed at stack
  API level
* This CL creates an ID for the MCAP protocol
* An application must be able to reference stack headers in order to use
  such an interface

Bug: 37867299
Test: make, no user visible effect
Change-Id: Ice654321cdeb11f93b1c8fc4a0753fe86bd82a56
2017-05-23 15:56:35 -07:00
Jakub Pawlowski
58b5453e5f Merge "Discover primary service by UUID for PTS tests (2/4)" am: cd35fa4509 am: 2a183763c7 am: ddd71ffa6e
am: a4e387d39d

Change-Id: If20f6b08ac973d621f6f9deff1895b4537666ae1
2017-05-16 21:16:24 +00:00
Jakub Pawlowski
a4e387d39d Merge "Discover primary service by UUID for PTS tests (2/4)" am: cd35fa4509 am: 2a183763c7
am: ddd71ffa6e

Change-Id: I8643a5b47a3a89bf64984aa600ca51db4d66843d
2017-05-16 20:55:44 +00:00
Jakub Pawlowski
a7c9c69ad4 Discover primary service by UUID for PTS tests (2/4)
Bug: 38123054
Test: manual
Change-Id: Idaeac24005ff4521096b4849f976c69e530d800d
(cherry picked from commit 560f2d97cd)
2017-05-16 13:52:58 -07:00
Jakub Pawlowski
560f2d97cd Discover primary service by UUID for PTS tests (2/4)
Bug: 38123054
Test: manual
Change-Id: Idaeac24005ff4521096b4849f976c69e530d800d
2017-05-16 10:53:36 -07:00
Andre Eisenbach
6d7e952b56 Merge "Bluetooth: HID: Add support for Set Idle and Get Idle commands (1/4)" am: 4ea8183f5f am: ae85bca70a am: fda14c6da2
am: 73610a7850

Change-Id: I508588948fb870fd8d529068be3500c538c4d59a
2017-05-11 01:46:53 +00:00
Andre Eisenbach
73610a7850 Merge "Bluetooth: HID: Add support for Set Idle and Get Idle commands (1/4)" am: 4ea8183f5f am: ae85bca70a
am: fda14c6da2

Change-Id: I3a311ba2b1bc27a94d6513904bc7104791bb99b9
2017-05-11 01:19:42 +00:00
Mathias Agopian
c4068c8a32 fix circular dependency libnativewindow <-> libui
Bug: 37647680
Bug: 37648355
Test: compile, manual
Change-Id: Iadbccdcfe68792e3b5543963a5e81f985f87de09
2017-05-09 22:46:27 -07:00
Mathias Agopian
d8108ab504 fix circular dependency libnativewindow <-> libui
Bug: 37647680, 37648355
Test: compile, manual
Change-Id: I5aaf07dd76d0d8f5294fb4133c7a0b5e6df3bebc
2017-05-05 14:08:40 -07:00
Hemant Gupta
9ec149f022 Bluetooth: HID: Add support for Set Idle and Get Idle commands (1/4)
Provides an interface for application to send Set Idle
and Get Idle commands to remote HID Device. Support for these
two commands was missing from existing code, so existing code
design is reused to add support for these two commands.

Without this support following mandatory PTS test cases for HID 1.0
cannot be passed, TC_HOS_HID_BV_05/06

Test: Executed PTS tests TC_HOS_HID_BV_05/06 and confirmed if they can
pass

Bug: 34344715
Change-Id: I4c528a510edd847bc6121ce0b875ae313f090b9c
2017-05-05 13:19:23 +00:00
Ajay Panicker
ed5b29d32f Merge "Limit btsnoop file size (1/9)" into oc-dev 2017-05-04 22:56:21 +00:00
Ajay Panicker
15b70a56fb Limit btsnoop file size (1/9)
Limit btsnoop file size by rotating between snoop files. The rotation occurrs
when a fixed number of packets have been logged and will start overwriting
the older file.

Bug: 35998031
Test: Enable snoop logs from developer options and let logs get large
Merged-In: Ic43600b10435d34a0528e28bd523187a6c311f61
Change-Id: Ic43600b10435d34a0528e28bd523187a6c311f61
2017-04-27 13:45:08 -07:00
Jakub Pawlowski
43346aad01 Expose LE advertiser address for easier PTS tests (3/6)
This patchset adds a hidden method getOwnAddress, that lets app with
BLUETOOTH_PRIVILEGED permission to lear their own addreess. This is done
exclusively for PTS tests.

Bug: 35147497
Test: manual
Change-Id: I39a6395d589d0ea801fd771bf3313ed6212a6349
(cherry picked from commit 788847a61a)
2017-04-27 12:55:46 -07:00
Jakub Pawlowski
1fb9687349 Read by UUID for PTS tests (3/5)
Add a hidden api for reading characteristic by UUID for PTS.

Bug: 35150313
Test: sl4a GattReadTest.byUuid
Change-Id: Ia429895abf38b504975af5d53ec4c5adf5a01a9d
(cherry picked from commit f6833f45c3)
2017-04-27 12:55:34 -07:00
Ajay Panicker
7c4b9b1e48 Merge "Limit btsnoop file size (1/8)" am: d81f127986 am: 5e7d617059
am: 4cb3b7232b

Change-Id: I854251294e8a0d470fdcd6fc0e269e5473f4be8f
2017-04-27 18:20:56 +00:00
Ajay Panicker
6992397ce6 Limit btsnoop file size (1/8)
Limit btsnoop file size by rotating between snoop files. The rotation occurrs
when a fixed number of packets have been logged and will start overwriting
the older file.

Bug: 35998031
Test: Enable snoop logs from developer options and let logs get large
Merged-In: Ic43600b10435d34a0528e28bd523187a6c311f61
Change-Id: Ic43600b10435d34a0528e28bd523187a6c311f61
2017-04-27 00:04:25 +00:00
Ajay Panicker
2bfc5d5d53 Limit btsnoop file size (1/8)
Limit btsnoop file size by rotating between snoop files. The rotation occurrs
when a fixed number of packets have been logged and will start overwriting
the older file.

Bug: 35998031
Test: Enable snoop logs from developer options and let logs get large
Change-Id: Ic43600b10435d34a0528e28bd523187a6c311f61
2017-04-24 10:43:21 -07:00
Ashutosh Joshi
5fd1b38299 Merge "Ensure that LLOB sensor is names similr to other android sensors." into oc-dev
am: c87b15a224

Change-Id: Ib3656593fffaf04653e73b919c3178cc9b73ab44
2017-04-20 03:17:58 +00:00
Jakub Pawlowski
d9b477653b Merge "Expose LE advertiser address for easier PTS tests (3/6)" am: 004ea22c72 am: 8591015632
am: 7fc1975f94

Change-Id: Iece8ab1e125636a39d3e80d0d544aeb5b4db7c75
2017-04-19 21:50:46 +00:00
Jakub Pawlowski
096a2c55c5 Merge "Read by UUID for PTS tests (3/5)" am: 421643aab5 am: 5c2213d7cf
am: 09adc1c554

Change-Id: Ice4c287e682cc4d10e4fe25ab5a5f32666d0fce3
2017-04-19 16:20:46 +00:00
Jakub Pawlowski
788847a61a Expose LE advertiser address for easier PTS tests (3/6)
This patchset adds a hidden method getOwnAddress, that lets app with
BLUETOOTH_PRIVILEGED permission to lear their own addreess. This is done
exclusively for PTS tests.

Bug: 35147497
Test: manual
Change-Id: I39a6395d589d0ea801fd771bf3313ed6212a6349
2017-04-19 07:03:51 -07:00
Jakub Pawlowski
f6833f45c3 Read by UUID for PTS tests (3/5)
Add a hidden api for reading characteristic by UUID for PTS.

Bug: 35150313
Test: sl4a GattReadTest.byUuid
Change-Id: Ia429895abf38b504975af5d53ec4c5adf5a01a9d
2017-04-18 20:46:03 +00:00
Ashutosh Joshi
d14335b8a6 Ensure that LLOB sensor is names similr to other android sensors.
Ensuring that the LLOB sensos naming style is consistent with other
sensor naming styles.

Bug: 36554362
Test: Verify that the sensor shows up with the appropriate name
      string.

Change-Id: Ic91d13e7c1c6652179d3259509682f3c19cd89dc
2017-04-15 01:08:08 +00:00
Jack He
b2baa5d54a Merge "Modify native stack calls for in-band ringing" into oc-dev 2017-04-13 19:43:54 +00:00
Peng Xu
cd6957ec3e Merge "Clarify that reserved function pointers has to be set to null" into oc-dev
am: 6b6f3f7aa6

Change-Id: Ic7ebe4af8e500089b2737c60d7406d7475e24dc1
2017-04-13 02:27:29 +00:00
TreeHugger Robot
6b6f3f7aa6 Merge "Clarify that reserved function pointers has to be set to null" into oc-dev 2017-04-13 02:23:39 +00:00
Jack He
95a608c119 Modify native stack calls for in-band ringing
* Update init to accept inband_ringing_supported flag

Bug: 19171297
Test: mm -j 40, regression on HFP, testplans/82144
Change-Id: I3bbf8e370ffb4d893c4bb6ad0d3c09ef3f00d6bd
(cherry picked from commit 5c1ac6882c)
2017-04-12 22:23:57 +00:00
Brian C. Anderson
efbe569057 Merge "Add PRESENT_FENCE_IS_NOT_RELIABLE" into oc-dev
am: 13cb2045ee

Change-Id: Id26f95946677cd2f4a8cd865bc982ad2155813f4
2017-04-12 21:40:10 +00:00
Brian C. Anderson
13cb2045ee Merge "Add PRESENT_FENCE_IS_NOT_RELIABLE" into oc-dev 2017-04-12 21:26:23 +00:00
Mark Salyzyn
1ae7379baa resolve merge conflicts of 7c451a93 to oc-dev-plus-aosp
Test: I solemnly swear I tested this conflict resolution.
Bug: 34250038
Change-Id: I4196a6d5a1365106643ac6c1548fd86faffead6f
2017-04-12 09:11:38 -07:00
Brian Anderson
49018a55ae Add PRESENT_FENCE_IS_NOT_RELIABLE
Test: adb shell /data/nativetest/libgui_test/libgui_test
  --gtest_filter=*GetFrameTimestamps*
Bug: 36730849, 36887025

Change-Id: I09a543e7143542a4ed2952e7af1add17d864e3f2
2017-04-11 14:29:54 -07:00
Mark Salyzyn
d88dfe8607 libhardware: deprecate cutils/log.h
Replace cutils/log.h with log/log.h. Sort headers. Minimize conflicts.
Add missing required headers.

Test: compile
Bug: 34250038
Change-Id: I5c0f231cbfed90b73e0538c9d32ad3226c7cc5e4
2017-04-11 10:50:06 -07:00
Chia-I Wu
c1947c9e60 gralloc1: add a capability to fix release semantics
am: 5cbf8f8297

Change-Id: Icd12b8929ca653dfe41fd281ec863959cc7c7528
2017-04-11 01:14:25 +00:00
Jack He
0d75292ec8 Merge "Modify native stack calls for in-band ringing" am: f08d9dff19 am: 3de5bc5fe8
am: 0dd6f81579

Change-Id: Ic2f741080aef4bd0dd7e41b4812f112ba6f564f5
2017-04-10 23:20:12 +00:00
Jack He
5c1ac6882c Modify native stack calls for in-band ringing
* Update init to accept inband_ringing_supported flag

Bug: 19171297
Test: mm -j 40, regression on HFP, testplans/82144
Change-Id: I3bbf8e370ffb4d893c4bb6ad0d3c09ef3f00d6bd
2017-04-10 19:50:07 +00:00
Chia-I Wu
5cbf8f8297 gralloc1: add a capability to fix release semantics
Bug: 36355756
Test: manual
Change-Id: Ideaada0cb0b642501667c8854403f412ee8ef107
2017-04-07 11:14:28 -07:00
Peng Xu
bed42d4c2b Clarify that reserved function pointers has to be set to null
Test: no, comment change
Change-Id: I2b295c721cf199bcec779c8606ee1deb9fdf0a5c
2017-04-06 17:52:29 -07:00
Scott Randolph
477913b9aa Remove deprecated vehicle_camera.h
This interface has been removed in favor of the EVS HAL in
hardware/interfaces/automotive/evs

Test:  build tree
Bug:  36900851
Topic:  RetireVehicleCamera
Change-Id: I1594839ce86d860c4aad6f4d0d922505311ab3c1
(cherry picked from commit d49b3655e3)
2017-04-04 23:01:42 +00:00
Jakub Pawlowski
784d6f1a88 Bluetooth 5 advertising duration refactoring (2/4)
Expose both duration and maximum extended advertising events to limit
advertising time.

Test: manual
Bug: 30622771
Change-Id: Id5a7246b1d3e937d5c462315c157b320d659a52d
(cherry picked from commit dd3e64f258)
2017-03-31 22:34:24 -07:00
Jakub Pawlowski
097032a21b Bluetooth 5 periodic scan (3/3)
This patch wires calls/callbacks through stack to prepare for actual
implementation.

Test: manual
Bug: 30622771
Change-Id: I30ed67e9975d5207bbe037328e4d7cbdcaf69e5c
(cherry picked from commit 5a074af6b8)
2017-03-31 22:33:48 -07:00
Jakub Pawlowski
d1169df562 Merge "Bluetooth 5 advertising duration refactoring (2/4)"
am: 1b14e03289

Change-Id: I075474969edaaefc03bb4174332ce125ebf26a53
2017-04-01 04:39:29 +00:00
Andy Hung
7e1b97e4ff Fix endian define
Test: compilation
Bug: 36815380
Change-Id: I6a1a89dfcf8339faa07509b1e058250ad2e86f1d
2017-03-31 14:12:17 -07:00
Jakub Pawlowski
dd3e64f258 Bluetooth 5 advertising duration refactoring (2/4)
Expose both duration and maximum extended advertising events to limit
advertising time.

Test: manual
Bug: 30622771
Change-Id: Id5a7246b1d3e937d5c462315c157b320d659a52d
2017-03-30 20:53:45 -07:00
Jakub Pawlowski
e5a2eafaff Merge "Bluetooth 5 periodic scan (3/3)"
am: e077d6fa76

Change-Id: Iad2757ef4b803c0aab7abc640579f1dba7650832
2017-03-30 03:30:03 +00:00
Jakub Pawlowski
5a074af6b8 Bluetooth 5 periodic scan (3/3)
This patch wires calls/callbacks through stack to prepare for actual
implementation.

Test: manual
Bug: 30622771
Change-Id: I30ed67e9975d5207bbe037328e4d7cbdcaf69e5c
2017-03-29 16:41:05 -07:00
Jakub Pawlowski
254c20585d Merge "Add option to specify initial LE connection PHY (1/3)" am: f11f4db5ad am: 5e4ebcab38
am: b5fe4bdc72

Change-Id: I24dcf2eae37abe50425c909e286f791f7838326f
2017-03-27 20:54:11 +00:00
Jakub Pawlowski
5e4ebcab38 Merge "Add option to specify initial LE connection PHY (1/3)"
am: f11f4db5ad

Change-Id: I4e051af08c8efa8c1e2e2ef8fb4f53ee8eca6280
2017-03-27 20:48:11 +00:00
Jakub Pawlowski
cc99bc54ec Add option to specify initial LE connection PHY (1/3)
For whitelist connections we always use all possible PHYs, for direct
connection use PHY specified by client.

Test: manual
Bug: 30622771
Change-Id: I13242608385230371e8a9170fc21e3f1b0a74c78
2017-03-27 11:40:18 -07:00
Jakub Pawlowski
b75531444d Merge "Expose connection update callback (2/3)" am: b1def383da am: 6cf186eb6b
am: 85ccdb8629

Change-Id: I24b390caa55284ab96601fbe7cd8418943036bb1
2017-03-24 20:47:03 +00:00
Jakub Pawlowski
6cf186eb6b Merge "Expose connection update callback (2/3)"
am: b1def383da

Change-Id: I05a6427ed162e767e126e20572279801688c2ad2
2017-03-24 20:35:27 +00:00
Jakub Pawlowski
6f0c6f1874 Expose connection update callback (2/3)
Test: manual
Bug: 30622771
Change-Id: I5ed4fe503ba3212af808b759b67d71b895395bd3
2017-03-23 19:08:11 -07:00
Jakub Pawlowski
fd0bae5d4f Merge "Set preferred PHY and read PHY implementation (2/3)" am: 4929629d91 am: d71003fef1
am: 03aca19360

Change-Id: I3ed5db0d6ec9cca251bc2462a7bd7a5c37031da6
2017-03-24 01:16:51 +00:00
Jakub Pawlowski
d71003fef1 Merge "Set preferred PHY and read PHY implementation (2/3)"
am: 4929629d91

Change-Id: I5e4087a0661b18b6eb0910d7de9b50ed467e0524
2017-03-24 01:12:50 +00:00
Jakub Pawlowski
f3eb55825c Set preferred PHY and read PHY implementation (2/3)
Test: manual
Bug: 30622771
Change-Id: I26d64e8f0a2d881ddd648b3c7786ada25c72b455
2017-03-23 13:27:30 -07:00
TreeHugger Robot
bfea8ae78c Merge "implemented enumerate method in fingerprintservice fixes bug 35358801 Test: ran enumeration in template with 1) more fingerprints in fingerprintd 2) more fingerprints in framework 3) no fingerprints in fingerprintd, but fingerprints in framework 4) no fingerprints in framework, but fingerprints in fingerprintd" 2017-03-23 18:07:05 +00:00
TreeHugger Robot
e51a6dd308 Merge "camera3: Add doc for combined stream use flags" 2017-03-23 02:21:29 +00:00
TreeHugger Robot
e90bc93d73 Merge "Add manufacturer and model to device ID attestation" 2017-03-23 00:01:39 +00:00
Jakub Pawlowski
38d71533ee Merge "Bluetooth 5 AdvertisingSet implementation (3/4)" am: ecb7fc5332 am: 00a91f290b
am: 9673fcf99c

Change-Id: I89b90208e2df3ab971e02736b43a63f8c34e9943
2017-03-20 22:41:10 +00:00
Jakub Pawlowski
00a91f290b Merge "Bluetooth 5 AdvertisingSet implementation (3/4)"
am: ecb7fc5332

Change-Id: I13dfd19877828eac02532a44fe8f6ba35418929b
2017-03-20 22:26:46 +00:00
Jakub Pawlowski
a4bd8a61cb Bluetooth 5 AdvertisingSet implementation (3/4)
Test: manual
Bug: 30622771
Change-Id: I8dc3b0ee85a6a449838a61bab86be5a2ea40b0ab
2017-03-20 12:26:33 -07:00
Shuzhen Wang
07a5cd5650 camera3: Add doc for combined stream use flags
Specify the HAL behavior when stream usage flag is combination for
multiple consumers.

Test: Compile
Bug: 33777818
Change-Id: If11de5d249b1a8366dad7ec14e5e35f9cfc06ce4
2017-03-20 09:26:42 -07:00
Bartosz Fabianowski
81b7b5f68c Add manufacturer and model to device ID attestation
Discussions have shown that in addition to brand, device and product,
we should also allow devices to attest their manufacturer and model.

Bug: 36433192
Test: GTS com.google.android.gts.security.DeviceIdAttestationHostTest

Change-Id: I126003420a93241e04bf18ee7ff8e6aefa5599a8
2017-03-20 14:01:40 +01:00
Jakub Pawlowski
2ea3c31f31 Merge "LE Maximum Advertising Data Length (3/4)" am: d7c37e7235 am: c25f4d202e
am: 4d437176ee

Change-Id: I6c37e5fb9c0d4c5aad5439ca56bd7a0aa7a3d145
2017-03-17 05:29:52 +00:00
Jakub Pawlowski
c25f4d202e Merge "LE Maximum Advertising Data Length (3/4)"
am: d7c37e7235

Change-Id: I99c507e4a65c51dcdfadd146593ed194a83826e8
2017-03-17 05:20:02 +00:00
Jakub Pawlowski
696f69966c LE Maximum Advertising Data Length (3/4)
Add ability to check maximum advertising data length.

Bug: 30622771
Test: manual
Change-Id: I14a66a906a3f6133eea87c538de854bbfab056f5
2017-03-16 18:28:59 -07:00
Jakub Pawlowski
db18196a52 Merge "Bluetooth 5 AdvertisingSet implementation (4/4)" am: 1317fe40e0 am: b2475c5afa
am: ff005ba330

Change-Id: I423311e19bead2f0fd8c9d54600be0917049f372
2017-03-17 01:21:43 +00:00
Jakub Pawlowski
b2475c5afa Merge "Bluetooth 5 AdvertisingSet implementation (4/4)"
am: 1317fe40e0

Change-Id: I6642bb6214f9d23e9a2a9b6c6bb3a690e9d69112
2017-03-17 01:08:05 +00:00
TreeHugger Robot
3876eecb59 Merge "Camera: Update camera3.h doc for high speed video batching" 2017-03-17 00:32:50 +00:00
Jakub Pawlowski
0d0b7d1757 Bluetooth 5 AdvertisingSet implementation (4/4)
This patch wires up fist methods of AdvertisingSet, making it possible
to start advertising and stop advertising. It also replaces legacy
implemementation with calls to new implementation.

Bug: 30622771
Test: sl4a ConcurrentBleAdvertisingTest

Change-Id: I4a2739528fe114547f747d9719a4d47de7ce5589
2017-03-16 16:18:46 -07:00
Shuzhen Wang
13a19e11e6 Camera: Update camera3.h doc for high speed video batching
Now cameraservice only sends one shutter notify and capture result to
the application per batch.  Update the HAL interface doc to reflect this.

Test: Compiles
Bug: 35775704
Change-Id: I290ef93f842f4a02e5bdaeb0e50298f79fcef602
2017-03-14 14:06:59 -07:00
Jakub Pawlowski
fa41f8684f Merge "Bluetooth 5 feature check implementation (2/3)" am: 69606698b2 am: 3aa949fad0
am: c2d188fd62

Change-Id: I00034a0a2c1eb0d527634725affb9cf2b95ff8a7
2017-03-11 02:20:14 +00:00
Jakub Pawlowski
3aa949fad0 Merge "Bluetooth 5 feature check implementation (2/3)"
am: 69606698b2

Change-Id: Iab12da0e5f36e9e1878028e50e0218200e654b9f
2017-03-11 02:13:14 +00:00
Jakub Pawlowski
0a660af26a Bluetooth 5 feature check implementation (2/3)
Wire the new feature check API to actual values received from the
controller.

Test: manual
Bug: 30622771
Change-Id: I76d373b94fd3d4d637ddae637a8424d463286837
2017-03-09 18:19:24 -08:00
Steven Moreland
70818770a3 Merge "Update nfc-base.h" am: 879e1607d7 am: 4eae4eea23
am: 93e8efb14b

Change-Id: Id00fd572d0184c4490c38315ea00d03594a526de
2017-03-08 06:44:52 +00:00
Steven Moreland
4eae4eea23 Merge "Update nfc-base.h"
am: 879e1607d7

Change-Id: I1c388070b7ffc0f664c10bc0756eaf287013029c
2017-03-08 06:39:22 +00:00
TreeHugger Robot
2e643b42ad Merge "Revert (nfc part of) "Ran hardware/interfaces/update-base-files.sh."" 2017-03-08 01:30:56 +00:00
Steven Moreland
50e8f45ca8 Revert (nfc part of) "Ran hardware/interfaces/update-base-files.sh."
(commit: 54925f4636)

Reason for revert: nfc changes should go in AOSP:
https://android-review.googlesource.com/c/343935/

Change-Id: I3cc8c520c15c3b88ba5fceeb2e59ae44b8f887c4
2017-03-07 18:14:19 +00:00
TreeHugger Robot
88202b943f Merge "Update gnss-base.h" 2017-02-27 20:43:54 +00:00
Steven Moreland
364ed97bc0 Update gnss-base.h
Test: pass
Bug: 33541458
Change-Id: Ib22daeddbd1de79210ff6f356ea4465b920bfe74
2017-02-24 16:27:50 -08:00
Steven Moreland
c293b01f04 Update sensors-base.h
Test: pass
Bug: 33541458
Change-Id: I9e29be69a3903ee5ec213ebc8e2e40e24f6ec755
2017-02-24 13:14:19 -08:00
Steven Moreland
2b335affb8 Update nfc-base.h
Test: pass
Bug: 33541458
Change-Id: Iacbbd553871028ea174fa97c87a36ee2bae50805
2017-02-24 13:11:01 -08:00
Jakub Pawlowski
c222f7f6f2 Merge "Use base::Callbacks in BleScannerInterface (1/3)" am: d3b3ea65c5 am: 45f56948fe
am: be8b526c78

Change-Id: I05dcd291b16575d0602d538bae0e858ab455e0a2
2017-02-21 18:19:17 +00:00
Jakub Pawlowski
45f56948fe Merge "Use base::Callbacks in BleScannerInterface (1/3)"
am: d3b3ea65c5

Change-Id: If8f63018e33ad39621c47bac9b0ff8f670b2a875
2017-02-21 18:06:47 +00:00
Jakub Pawlowski
62ddb5d520 Use base::Callbacks in BleScannerInterface (1/3)
The remaining four native callbacks need more internal refactoring
before they can be turned into a callbacks.

Bug: 30622771
Test: sl4a FilteringTest
Change-Id: I5aea0485c88605d34ccf8e0a27202469bb5c0ff4
2017-02-17 17:26:46 -08:00
Frank Salim
38925770ef Revert "Add new purpose to the HAL layer."
This reverts commit ee2f29de40.

Reason for revert: Remove partial support for wrapped key import

Change-Id: Iefb57c910a3d05fa9e2c9660c2ac236c2ecc9cc0
2017-02-16 19:18:19 +00:00
Kevin Chyn
ba8e932d1f implemented enumerate method in fingerprintservice
fixes bug 35358801
Test: ran enumeration in template with
1) more fingerprints in fingerprintd
2) more fingerprints in framework
3) no fingerprints in fingerprintd, but fingerprints in framework
4) no fingerprints in framework, but fingerprints in fingerprintd

Change-Id: Id150f0225d597939cf1af6bac218fe0fdeeca93d
2017-02-14 14:45:04 -08:00
Jakub Pawlowski
239cdb26c0 Merge "Propagate BT5 specific scan result properties up the stack (1/3)" am: a0ce42c710 am: 57a17f0269 am: d8c958cefa
am: 00aeb15b9d

Change-Id: I0abda9e46bad50a5483d5516e74bd39bb8b73aea
2017-02-07 14:08:02 +00:00
Pavlin Radoslavov
d39b7b4050 Merge "Add a mechanism to configure the default A2DP codec priorities" am: a82ee04b92 am: adf704ce29 am: e44d2b2804
am: 77ee9182aa

Change-Id: I9c3f98572c7aecea5196793d055c61aaad4b994d
2017-02-07 14:05:48 +00:00