Commit graph

4797 commits

Author SHA1 Message Date
Jerry Zhang
3d2535d0f5 Merge "Allow libhardware to be used in recovery" am: dc62b58d3d am: ced9903818 am: 93221cf4cd
am: acd90e7cfa

Change-Id: I250a74ffda8d23cf3586a40c70de763f08086fa1
2018-08-10 18:37:26 -07:00
Jerry Zhang
acd90e7cfa Merge "Allow libhardware to be used in recovery" am: dc62b58d3d am: ced9903818
am: 93221cf4cd

Change-Id: I717bca2bb50f94abef03f628c91b535b7cb7c267
2018-08-10 17:56:19 -07:00
Jerry Zhang
93221cf4cd Merge "Allow libhardware to be used in recovery" am: dc62b58d3d
am: ced9903818

Change-Id: If5c034ff6a575a0249c301a4421b2ed256414374
2018-08-10 17:26:54 -07:00
Jerry Zhang
ced9903818 Merge "Allow libhardware to be used in recovery"
am: dc62b58d3d

Change-Id: Ieaed397c7d2ebf9d175f4731a1272235246f9089
2018-08-10 17:08:33 -07:00
Treehugger Robot
dc62b58d3d Merge "Allow libhardware to be used in recovery" 2018-08-10 22:48:19 +00:00
Jerry Zhang
551e1f7bd9 Allow libhardware to be used in recovery
The default boot ctrl implementation depends
on libhardware.

Bug: 78793464
Test: Compiles, can load bootctrl in recovery
Change-Id: I9c8aa8b00b9b81f11736de13c85973e113056e69
2018-08-10 11:42:44 -07:00
Xin Li
b51f3249c8 Merge "Merge Android Pie into master" am: 65d52dd3c9 am: 4937ac2dda am: b95fa02a51
am: 1276c10803

Change-Id: I45351740c790f65dcdb35a288a294885f43f230b
2018-08-08 02:57:08 -07:00
Xin Li
1276c10803 Merge "Merge Android Pie into master" am: 65d52dd3c9 am: 4937ac2dda
am: b95fa02a51

Change-Id: I2b4fd75836256e20eaf64b9005672dd6abb0aef5
2018-08-07 22:04:51 -07:00
Xin Li
b95fa02a51 Merge "Merge Android Pie into master" am: 65d52dd3c9
am: 4937ac2dda

Change-Id: I53baa9079616d7336f4f8022aefe122b3a3f9f60
2018-08-07 17:55:53 -07:00
Xin Li
4937ac2dda Merge "Merge Android Pie into master"
am: 65d52dd3c9

Change-Id: If9c8448a3432d23833fcf2abbfad46b62d04c738
2018-08-07 14:21:02 -07:00
Xin Li
65d52dd3c9 Merge "Merge Android Pie into master" 2018-08-07 16:51:26 +00:00
Xin Li
06939479d6 Merge Android Pie into master
Bug: 112104996
Change-Id: If5c595a523f58a9ee90037ff03c0b8143104f6de
2018-08-06 16:51:06 -07:00
TreeHugger Robot
2411decf88 Merge "For high sample rates, lock input & output sample rate if possible." 2018-07-31 21:31:43 +00:00
Paul McLean
cfdbd6bbcb For high sample rates, lock input & output sample rate if possible.
Bug: 80363107
Test: connect Mi Noise-cancelling headset and confirm input and output
Connect varius music-oriented interfaces and verify simultaneous play/record with no stutters.

Change-Id: I81ae019b85662f0a71efdd143ac6abe6d6a1a742
2018-07-31 12:02:07 -06:00
Ernie Hua
ed7ca10dcd Merge "Wrong variable being printed in ALOGV statement." am: f8248731ab am: 1c48df531f
am: 1a7b396a0a

Change-Id: I8f7068f6345255b8d138f30306e65402fd885011
2018-07-11 10:09:30 -07:00
Ernie Hua
1a7b396a0a Merge "Wrong variable being printed in ALOGV statement." am: f8248731ab
am: 1c48df531f

Change-Id: I89fc058862892c8a374634a4456bff8d41537ec4
2018-07-11 10:06:30 -07:00
Ernie Hua
1c48df531f Merge "Wrong variable being printed in ALOGV statement."
am: f8248731ab

Change-Id: I4f7554a3277f37f662111916f0acf69c73c6a46c
2018-07-11 10:02:28 -07:00
Treehugger Robot
f8248731ab Merge "Wrong variable being printed in ALOGV statement." 2018-07-11 16:52:06 +00:00
Ernie Hua
5c7a3bd4f9 Wrong variable being printed in ALOGV statement.
Bug: b/111308664
Test: Force on the log message to ensure it is printed.
Change-Id: Id7df120ee024b1bf5530cd06ee4c386da6b75d29
2018-07-10 15:21:24 -07:00
Steven Moreland
e448a05fec sanity: loaded paths in expected locations
HAL implementations should be directly inside hw
folders.

Fixes: 80431864
Test: Boot Pixel 2 devices (which has hal implementations
    that use this as an implementation detail)

Change-Id: I430c2531ed40ce85c86e8efac4fbd2bc244aa5fd
2018-06-26 11:29:33 -07:00
Xin Li
6229de0faf Merge pi-dev-plus-aosp-without-vendor into stage-aosp-master am: e1e9f555d0
am: e6e1500581

Change-Id: Ib4f18e8cc6a6b05fdcf5c50d5b67bf37128bc82b
2018-06-09 06:13:13 -07:00
Xin Li
e6e1500581 Merge pi-dev-plus-aosp-without-vendor into stage-aosp-master
am: e1e9f555d0

Change-Id: I60b186392344b464016c0b5415e4a9d4a57f72de
2018-06-09 02:41:18 -07:00
Xin Li
e1e9f555d0 Merge pi-dev-plus-aosp-without-vendor into stage-aosp-master
Bug: 79597307
Change-Id: I63d5ae1b953d740a11179f97f0555e4dbd38d7f9
2018-06-08 11:07:52 -07:00
Andy Hung
fa6b4a6617 usb: add in_get_capture_position
Test: adb shell dumpsys media.audio_flinger latency
Bug: 80503176
Change-Id: Ia6a208f011a6d767754bdfc0928d4904c0a3b8d7
2018-06-04 19:14:22 -07:00
Dan Stoza
39e55a8758 hwc2: Fix readback docs am: af153e0a5d
am: 5ee2def1cc

Change-Id: Ia50cc8d183f3653250bbaba822555020d2e57f75
2018-05-16 16:23:00 -07:00
Dan Stoza
5ee2def1cc hwc2: Fix readback docs
am: af153e0a5d

Change-Id: Ida605bc803cc7e3d79e5f298c8b4a405435e18f2
2018-05-16 15:52:55 -07:00
Dan Stoza
af153e0a5d hwc2: Fix readback docs
Fixes a couple of problems with the return codes in the readback
documentation and adds a paragraph of clarification about when
getReadbackBufferAttributes will be called.

Bug: 67048889
Test: N/A, doc fix only
Change-Id: I3ea1a6993323f7ce12c36a377bf69e2866b18082
2018-05-15 13:09:51 -07:00
Marissa Wall
b892682a90 gralloc1: security hardening am: 5838dff356
am: c5347d9440

Change-Id: I2944ca26b3ddcdd479c9e9686bb497f0616b320e
2018-05-03 16:32:19 -07:00
Marissa Wall
c5347d9440 gralloc1: security hardening
am: 5838dff356

Change-Id: Iae3d0e3dd6c31cd4548056fc8dd1341496e635d8
2018-05-03 15:58:13 -07:00
Marissa Wall
5838dff356 gralloc1: security hardening
Add support for getTransportSize, validateBufferSize and importBuffer
to gralloc1.

Bug: 66876469
Test: Manual

Change-Id: Ie3435297cff2d3272df658af262905c13f403e4b
2018-05-02 12:14:52 -07:00
Dominik Laskowski
55cf6f01e5 HWC2: Add getDisplayIdentificationData
The getDisplayIdentificationData API enables display identification for
generalized multi-display support.

Bug: 74619554
Test: None
Change-Id: I8e87312c628e30d7cae691c70dacd0f352a85133
2018-04-24 10:31:15 -07:00
Chia-I Wu
cbc2d0bf9d Merge "hwcomposer2: add render intent support" into pi-dev am: 8aeeb241f1
am: d40704c21a

Change-Id: I3a2a05640b00ffc4f7df6d00ee888658cf459fff
2018-04-02 18:31:03 -07:00
Chia-I Wu
d40704c21a Merge "hwcomposer2: add render intent support" into pi-dev
am: 8aeeb241f1

Change-Id: I3b6ec05b1bc238b84879214afa10762759dca46b
2018-04-02 23:47:41 +00:00
Chia-I Wu
8aeeb241f1 Merge "hwcomposer2: add render intent support" into pi-dev 2018-04-02 22:22:28 +00:00
Kevin Rocard
d0aa25a2a1 Audio V4: Add metadata update to legacy API am: 0360e255f1
am: c77f799ff1

Change-Id: I8325ddfc00dcaac47f740cc76045f568b4425760
2018-03-31 01:54:34 +00:00
Kevin Rocard
c77f799ff1 Audio V4: Add metadata update to legacy API
am: 0360e255f1

Change-Id: I175e5ad8c7f913d8b810f064dc223c3a478ea949
2018-03-31 00:03:32 +00:00
rago
6012c8f87c Merge "Support query microphones information." into pi-dev am: 721f4e8984
am: d6c41dd831

Change-Id: Ibd1854649eb745ea99750e819ef95ffc690cb75e
2018-03-30 20:50:49 +00:00
rago
d6c41dd831 Merge "Support query microphones information." into pi-dev
am: 721f4e8984

Change-Id: I15046f99a5fd4e29a6ccb48f11d54d0fb1f14d67
2018-03-30 18:49:04 +00:00
Chia-I Wu
28310aa868 hwcomposer2: add render intent support
Add

 HWC2_FUNCTION_GET_RENDER_INTENTS
 HWC2_FUNCTION_SET_COLOR_MODE_WITH_RENDER_INTENT
 HWC2_FUNCTION_GET_DATASPACE_SATURATION_MATRIX

and fix HWC2_FUNCTION_SET_PER_FRAME_METADATA to be per-layer.

Bug: 73824924
Test: manual
Change-Id: I25e34c4bf3dc5d496ea23c2d13419dd28f3e6cca
2018-03-30 11:47:09 -07:00
Brian Young
747485d0be [automerger skipped] Add "Unlocked device required" key API am: 8cf2862f94
am: 2d744d867c  -s ours

Change-Id: I8bc2e398b454e47610b6f64123a538afef20fc6f
2018-03-30 18:42:16 +00:00
Kevin Rocard
0360e255f1 Audio V4: Add metadata update to legacy API
The metadata API was not present in the legacy HAL API
which lots of developer still use.

Test: Check the method is correctly called on each track change
Bug: 38184704
Bug: 69623109
Change-Id: I46a9db5a67baef52844ed85296a529402e00f4cb
Signed-off-by: Kevin Rocard <krocard@google.com>
2018-03-30 11:29:11 -07:00
Brian Young
2d744d867c Add "Unlocked device required" key API
am: 8cf2862f94

Change-Id: Ibe0d9d993337fa05d8b69fe2d580d0f4ab67d083
2018-03-30 17:06:05 +00:00
TreeHugger Robot
721f4e8984 Merge "Support query microphones information." into pi-dev 2018-03-30 16:59:41 +00:00
Brian Young
8cf2862f94 Add "Unlocked device required" key API
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: CTS tests in I8a5affd1eaed176756175158e3057e44934fffed

Bug: 67752510

Merged-In: I94d8bc5543d00d28064c6e555b38823b70dbfbe6
Change-Id: I94d8bc5543d00d28064c6e555b38823b70dbfbe6
(cherry picked from commit a47bb10496)
2018-03-28 08:38:57 -07:00
rago
909a8f988b Support query microphones information.
Get list of all/currently active microphones from input stream.
Part of the device enumeration feature.

Bug: 64038649
Test: Manual Testing and Cts integration test
Change-Id: Ibe231c430186c18ce43497c351b7d3e3b2425811
2018-03-21 14:16:52 -07:00
Brian Young
a47bb10496 Add "Unlocked device required" key API
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: CTS tests in I8a5affd1eaed176756175158e3057e44934fffed

Bug: 67752510

Change-Id: I94d8bc5543d00d28064c6e555b38823b70dbfbe6
2018-03-15 14:25:22 -07:00
Kevin Rocard
f9c259ae1f Merge "Audio V4: Add missing parameter keys" into pi-dev am: 762407ccc3
am: 75ae7e343b  -s ours

Change-Id: I1a18a293b02e82bff64e2d71153b41108fe3bac0
2018-03-07 04:12:22 +00:00
Kevin Rocard
75ae7e343b Merge "Audio V4: Add missing parameter keys" into pi-dev
am: 762407ccc3

Change-Id: I2f2e43fb2501308127b0bbb3c048323bf7a39d90
2018-03-07 03:59:25 +00:00
TreeHugger Robot
762407ccc3 Merge "Audio V4: Add missing parameter keys" into pi-dev 2018-03-07 03:23:51 +00:00
Ashutosh Joshi
aee95f4b20 Merge "Update OWNERS" into pi-dev am: b07ab6fd1d
am: 7db0ba983a

Change-Id: Iccc312900e6ccab3bc7cbc1b71122d6c298d865a
2018-03-07 01:55:48 +00:00