summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-05-17Snap for 4787078 from af153e0a5d081c7ac8045a73a48498b619c97abf to pi-releaseandroid-wear-9.0.0_r9android-wear-9.0.0_r8android-wear-9.0.0_r7android-wear-9.0.0_r6android-wear-9.0.0_r5android-wear-9.0.0_r4android-wear-9.0.0_r34android-wear-9.0.0_r33android-wear-9.0.0_r32android-wear-9.0.0_r31android-wear-9.0.0_r30android-wear-9.0.0_r3android-wear-9.0.0_r29android-wear-9.0.0_r28android-wear-9.0.0_r27android-wear-9.0.0_r26android-wear-9.0.0_r25android-wear-9.0.0_r24android-wear-9.0.0_r23android-wear-9.0.0_r22android-wear-9.0.0_r21android-wear-9.0.0_r20android-wear-9.0.0_r2android-wear-9.0.0_r19android-wear-9.0.0_r18android-wear-9.0.0_r17android-wear-9.0.0_r16android-wear-9.0.0_r15android-wear-9.0.0_r14android-wear-9.0.0_r13android-wear-9.0.0_r12android-wear-9.0.0_r11android-wear-9.0.0_r10android-wear-9.0.0_r1android-vts-9.0_r9android-vts-9.0_r8android-vts-9.0_r7android-vts-9.0_r6android-vts-9.0_r5android-vts-9.0_r4android-vts-9.0_r19android-vts-9.0_r18android-vts-9.0_r17android-vts-9.0_r16android-vts-9.0_r15android-vts-9.0_r14android-vts-9.0_r13android-vts-9.0_r12android-vts-9.0_r11android-vts-9.0_r10android-cts-9.0_r9android-cts-9.0_r8android-cts-9.0_r7android-cts-9.0_r6android-cts-9.0_r5android-cts-9.0_r4android-cts-9.0_r3android-cts-9.0_r20android-cts-9.0_r2android-cts-9.0_r19android-cts-9.0_r18android-cts-9.0_r17android-cts-9.0_r16android-cts-9.0_r15android-cts-9.0_r14android-cts-9.0_r13android-cts-9.0_r12android-cts-9.0_r11android-cts-9.0_r10android-cts-9.0_r1android-9.0.0_r9android-9.0.0_r8android-9.0.0_r7android-9.0.0_r6android-9.0.0_r52android-9.0.0_r51android-9.0.0_r50android-9.0.0_r5android-9.0.0_r49android-9.0.0_r48android-9.0.0_r3android-9.0.0_r2android-9.0.0_r18android-9.0.0_r17android-9.0.0_r10android-9.0.0_r1pie-vts-releasepie-s2-releasepie-release-2pie-releasepie-r2-s2-releasepie-r2-s1-releasepie-r2-releasepie-platform-releasepie-gsipie-cuttlefish-testingpie-cts-releaseandroid-build-team Robot
Change-Id: I05c3502b9a76bf50f6c2be1356b9451878e222e3
2018-05-15hwc2: Fix readback docsandroid-9.0.0_r47android-9.0.0_r46android-9.0.0_r45android-9.0.0_r44android-9.0.0_r43android-9.0.0_r42android-9.0.0_r41android-9.0.0_r40android-9.0.0_r39android-9.0.0_r38android-9.0.0_r37android-9.0.0_r36android-9.0.0_r35android-9.0.0_r34android-9.0.0_r33android-9.0.0_r32android-9.0.0_r31android-9.0.0_r30android-9.0.0_r22android-9.0.0_r21android-9.0.0_r20android-9.0.0_r19android-9.0.0_r16android-9.0.0_r12android-9.0.0_r11pie-qpr3-s1-releasepie-qpr3-releasepie-qpr3-b-releasepie-qpr2-releasepie-qpr1-s3-releasepie-qpr1-s2-releasepie-qpr1-s1-releasepie-qpr1-releasepie-dr1-releasepie-dr1-devpie-devpie-b4s4-releasepie-b4s4-devDan Stoza
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-06Snap for 4765094 from 5838dff356b50586f6cb549c859e5d6e1611f0a6 to pi-releaseandroid-build-team Robot
Change-Id: I7f1a3317d0c203069cf82a278d55d632d865c65d
2018-05-02gralloc1: security hardeningMarissa Wall
Add support for getTransportSize, validateBufferSize and importBuffer to gralloc1. Bug: 66876469 Test: Manual Change-Id: Ie3435297cff2d3272df658af262905c13f403e4b
2018-04-03Snap for 4696032 from 8aeeb241f12e332e717ed5ce7c7e20f97b5ab0c1 to pi-releaseandroid-build-team Robot
Change-Id: I270a47fc769188e3c730a135f2b9ff4a0ed7d74e
2018-04-02Merge "hwcomposer2: add render intent support" into pi-devChia-I Wu
2018-04-01Snap for 4693621 from 0360e255f14ce24ff315af266818da7d411474c4 to pi-releaseandroid-build-team Robot
Change-Id: Id5feccb356de3972d8eae06d6ebd13c3e311da74
2018-03-30hwcomposer2: add render intent supportChia-I Wu
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-30Audio V4: Add metadata update to legacy APIKevin Rocard
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-30Merge "Support query microphones information." into pi-devTreeHugger Robot
2018-03-28Add "Unlocked device required" key APIBrian Young
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 a47bb104965af5dac21bb128adf67932ee05e8e4)
2018-03-21Support query microphones information.rago
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-07Snap for 4638586 from 762407ccc3628934ec722a4d426e81dd6f544674 to pi-releaseandroid-build-team Robot
Change-Id: Iee9834df79e42136fe7c42e06323de693af92f6e
2018-03-07Merge "Audio V4: Add missing parameter keys" into pi-devTreeHugger Robot
2018-03-06Merge "Update OWNERS" into pi-devAshutosh Joshi
2018-03-06Audio V4: Add missing parameter keysKevin Rocard
Those keys were used as literal strings instead of having a declaration. Bug: 38184704 Test: compile Change-Id: I45709a4a9120e98014d2a4f763fc17f9ef1267ac Merged-In: I45709a4a9120e98014d2a4f763fc17f9ef1267ac Cherry-picked from master Signed-off-by: Kevin Rocard <krocard@google.com>
2018-03-06Snap for 4635315 from 16ad46ef48d037635b9a8c890b6c5845fbfaf00c to pi-releaseandroid-build-team Robot
Change-Id: Id079b1a069bd798b2c62b1aad01140177a0976b8
2018-03-06Update OWNERSAshutosh Joshi
Update OWNERS to new stewards. Test: Build compiles. Change-Id: I98f9f58bce6b3686f3ff67f28f3e8d2f2ddf0a88
2018-03-05Merge cherrypicks of [3690002, 3691519, 3691668, 3690254, 3691428, 3690156] ↵android-build-team Robot
into pi-release Change-Id: I250c91b3e8eaf9abed407bd6dca5603938994a3d
2018-03-05Revert recent r_submix patchesMikhail Naganov
Revert "r_submix: Fix logspam on pipe corruption" This reverts commit ab5b51838c94afc60f9979cdde2117930ef90ea9. Revert "r_submix: Use intermediate pipe in non-blocking mode" This reverts commit 1df8a0039ffaa5161e1ecdfda3ae3f7e5c7068c2. Reason: breaks Android Auto projected mode Bug: 74142786 Test: with Android Auto head unit simulator Change-Id: I8e1bc146a131cb5b1ab88cf242b03a6b02a84339 (cherry picked from commit 16ad46ef48d037635b9a8c890b6c5845fbfaf00c)
2018-03-05Revert recent r_submix patchesMikhail Naganov
Revert "r_submix: Fix logspam on pipe corruption" This reverts commit ab5b51838c94afc60f9979cdde2117930ef90ea9. Revert "r_submix: Use intermediate pipe in non-blocking mode" This reverts commit 1df8a0039ffaa5161e1ecdfda3ae3f7e5c7068c2. Reason: breaks Android Auto projected mode Bug: 74142786 Test: with Android Auto head unit simulator Change-Id: I8e1bc146a131cb5b1ab88cf242b03a6b02a84339
2018-03-04Snap for 4632767 from ab5b51838c94afc60f9979cdde2117930ef90ea9 to pi-releaseandroid-build-team Robot
Change-Id: Id24c270347d877f68c6c1f468a98615580562a13
2018-03-01r_submix: Fix logspam on pipe corruptionMikhail Naganov
Prevent logging an error message on every attempt to write if the FIFO backing up the MonoPipe got corrupted. This condition can be detected by checking for -EIO error code. Bug: 74067530 Test: make audio_utils_fifo_base::mIsShutdown to be set by default, run r_submix_tests and observe logcat Change-Id: I5d67997e902e834f04c10f9ffb39b16cba9c5739
2018-03-01Snap for 4628106 from 1df8a0039ffaa5161e1ecdfda3ae3f7e5c7068c2 to pi-releaseandroid-build-team Robot
Change-Id: I5b436863f3778a5ab7b070a458f9773afa45d18a
2018-02-27r_submix: Use intermediate pipe in non-blocking modeMikhail Naganov
Switch the pipe into non-blocking mode to prevent stalling when attempting to close it. Simulate circular buffer behavior by flushing old data if there is no more space in the pipe. This removes the need for "exiting=1" parameter. Bug: 73175392 Test: r_submix_tests Change-Id: Iff89980af71112892ff262030e471ae736b1f62a
2018-02-27r_submix: Add more testsMikhail Naganov
From analyzing the coverage data, these tests seem to cover all the critical functionality of the remote submix module. Bug: 73175392 Test: r_submix_tests Change-Id: I7f6be95245c6ab59611fc5e269e3f9f2079b8ee4
2018-02-25Snap for 4620899 from 3fb93a370848869060d20d9d9a8bc4e76dc12a48 to pi-releaseandroid-build-team Robot
Change-Id: I55f114bd3a13380ab7e6d0d2f300e401a278e838
2018-02-23Merge cherrypicks of [3653390, 3653430, 3652255, 3652256, 3652257, 3653371, ↵android-build-team Robot
3652400, 3653391, 3653372, 3652972, 3653411, 3653412, 3653413] into pi-release Change-Id: Ibd5d1748b46b73a0e635f6a808186d78b3ed10f4
2018-02-23Revert "Restore "Add "Unlocked device required" parameter to keys""Brian Young
This reverts commit a684cb6c2cee0835065b123e4bb698487de26939. Reason for revert: Regression in creating auth-bound keys Bug: 73773914 Bug: 67752510 Change-Id: Ib215d63efe442916f90065015a57614b097cd74d (cherry picked from commit 968f997468f1fcb5c68157a850c8d5c79576c00c)
2018-02-23Merge "Revert "Restore "Add "Unlocked device required" parameter to keys"""TreeHugger Robot
2018-02-23Revert "Restore "Add "Unlocked device required" parameter to keys""Brian Young
This reverts commit a684cb6c2cee0835065b123e4bb698487de26939. Reason for revert: Regression in creating auth-bound keys Bug: 73773914 Bug: 67752510 Change-Id: Ib215d63efe442916f90065015a57614b097cd74d
2018-02-22Snap for 4615953 from eff2bf016b1dfe5f509416313ef6fd73384c18f1 to pi-releaseandroid-build-team Robot
Change-Id: I3767c1407c77d090eec52d9a0ec48184aca5afcb
2018-02-21Merge "r_submix: Add some tests"Mikhail Naganov
2018-02-18Snap for 4610834 from 0dcaf0aebe2d86dcacc9affa0490d29c3f13ebf2 to pi-releaseandroid-build-team Robot
Change-Id: Ic1abe962339d7ecb20847304c29236651397dc91
2018-02-16Merge "Restore "Add "Unlocked device required" parameter to keys""Brian Young
2018-02-15r_submix: Add some testsMikhail Naganov
Add simple tests to verify remote submix behavior regarding blocking writes. Currently one of the tests fails (does not finish), this needs to be fixed. Also fixed some minor issues in remote submix module code. Bug: 73175392 Test: r_submix_tests Change-Id: Ic88d0c385c0102e35b4f751f9c5cd8a6488949c8
2018-02-16Merge "Fix a memory leak"TreeHugger Robot
2018-02-15Restore "Add "Unlocked device required" parameter to keys"Brian C. Young
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. This reverts commit 680068e9f224b9f82ab85034ca16a14395799e0b. Test: CTS tests in I8a5affd1eaed176756175158e3057e44934fffed Bug: 67752510 Change-Id: I9f3ea694f676801dc3dd348301544a603574edc7
2018-02-13Snap for 4600820 from 8a6fed0d280014d84fe0f6a802f1cf29600e5bae to pi-releaseandroid-build-team Robot
Change-Id: Iefe442ef7f7bb04dbae08695fe46545493bafdde
2018-02-13Fix a memory leakGeorge Burgess IV
If status < 0, we'd silently leak dev. Bug: None Test: Ran the analyzer; memory leak warnings are gone. Change-Id: I76a78feea4c92aa167de908f5571481864d61d73
2018-02-05Camera: Revise MOTION_TRACKING capabilityEino-Ville Talvala
Simplify the API for the P release. Test: Revised Camera CTS passes Bug: 63629224 Change-Id: Ib8379f928dbdb6c66850d7648ac814fe710bb104
2018-01-31Snap for 4577102 from 001e6f4650449d576657cb4d1085cbfd743ea9b7 to pi-releaseandroid-build-team Robot
Change-Id: I08c828c5efb378ebde0290ca964d670db201ced0
2018-01-30Merge cherrypicks of [3535875, 3534641, 3534642, 3536651, 3536652, 3536653, ↵android-build-team Robot
3535904, 3535498, 3536654, 3535876, 3534643, 3535905] into pi-release Change-Id: I4ff0509dde4196c6d0331d7fc2108302cf0be3f1
2018-01-30Revert "Add "Unlocked device required" parameter to keys"Brian Young
This reverts commit dc9505de44c70e701cdf27c7f7d8d9de5217f4b6. Reason for revert: Build breakages on elfin, gce_x86_phone. Bug: 72679761 Bug: 67752510 Change-Id: I53d396632b7a23141b755e028342accf6625ca0b (cherry picked from commit 680068e9f224b9f82ab85034ca16a14395799e0b)
2018-01-30audio: Update default audio implementation.John Muir
Allow the default audio implementation to use the sample rate and format provided by the application, but default to 16-bit stereo for both input and output. Also, default to 10ms output buffer and 20ms input buffer. Bug: 70692394 Test: Audio device and output stream created successfully with the default frame_count. Audio device reports 20ms for input buffer size. Audio input stream created successfully with defaults. Setup device with audio_policy_configuration_stub.xml; no failures for GTS tests: GtsGmscoreHostTestCases -t 'com.google.android.gts.audio.AudioHostTest' Change-Id: If496fc89f72f26266a7ed9b59acf88d1ca76e704
2018-01-30Merge "Revert "Add "Unlocked device required" parameter to keys""Jorim Jaggi
2018-01-30Revert "Add "Unlocked device required" parameter to keys"Brian Young
This reverts commit dc9505de44c70e701cdf27c7f7d8d9de5217f4b6. Reason for revert: Build breakages on elfin, gce_x86_phone. Bug: 72679761 Bug: 67752510 Change-Id: I53d396632b7a23141b755e028342accf6625ca0b
2018-01-30Snap for 4574286 from 9ef9cf40e2803a576d4f8961434a82e98831211f to pi-releaseandroid-build-team Robot
Change-Id: If9debef5179acb7fdbb43a8c246b9b190f89e4ad
2018-01-29Merge "Add "Unlocked device required" parameter to keys"TreeHugger Robot
2018-01-29merge in pi-release history after reset to mastergitbuildkicker