summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'android-10.0.0_r27' into q10.0HEADq10.0doc HD2020-02-051-0/+3
|\ | | | | | | | | | | Android 10.0.0 Release 27 (QQ1B.200205.002) Change-Id: Idaf2878e5364c443c0857112b7d94adc62234bc5
| * Merge cherrypicks of [9944451, 9944452, 9944738, 9944504, 9944659, 9944200, ↵android-build-team Robot2019-12-181-0/+3
| |\ | | | | | | | | | | | | | | | 9944660, 9944661, 9944739, 9944740, 9944453, 9942826, 9943174, 9944741, 9943175, 9944356, 9944357, 9944818] into qt-qpr1-b-release Change-Id: I52278ad43740aa25a8bffd5f5a03127b73e81f9f
| | * Fix accidental implicit fallthroughsColin Cross2019-12-181-0/+3
| |/ | | | | | | | | | | | | | | | | | | | | -Wimplicit-fallthrough was printing warnings for these, they look like real errors. Fix them and re-enable the error. Bug: 144040966 Test: treehugger Merged-In: I818e18a995760f17b85b4c72ee577e531fa2a601 Change-Id: I818e18a995760f17b85b4c72ee577e531fa2a601 (cherry picked from commit bfcf9140fe61eb3d3830daa396ed1992fe613303)
* | libhardware: Add new display types.Dileep Marchya2020-01-071-3/+12
| | | | | | | | | | | | | | | | | | | | - Extend display types enums to support multiple displays. - Reserve display types 2 to 4 for additional external displays. - Reserve display types 5 to 7 for additional builtin displays. - Move virtual display type to 8. CRs-Fixed: 2274419 Change-Id: I9a0f5167a777a1d903eb98c5aa7ee0b229d08640
* | audio: Add audio amplifier HALEthan Chen2019-12-113-0/+330
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a squash of the following commits. commit dabc25c1d073a0f32b706e59b87ac89f67389107 Author: Ethan Chen <intervigil@gmail.com> Date: Fri, 03 Jul 2015 21:35:30 -0700 audio: Notify amplifier HAL of device enable/disable Change-Id: Ice808c9b55a9e3bc8bafe5ca3ff555377d38dd8f commit 5b2337c434acff34d85ae14b9cc2d3507fdffe52 Author: Scott Mertz <scott@cyngn.com> Date: Fri, 11 Sep 2015 12:09:06 -0700 amplifier: add set_parameters method - audio hal should pass the audio_device parameters to the amplifier to allow the amplifier to make decisions based on the additional parameters. For example, we may want to change settings for DTS TrueMedia use case. Change-Id: Iccf6ef7ced2abd2e12e857eea8e580cda15eec04 commit 6a6c815e74bc9c8da0cead508dfa722229ea878f Author: Scott Mertz <scott@cyngn.com> Date: Wed, 21 Oct 2015 10:11:49 -0700 audio_amplifier: fix compilation stdlib.h is needed explicitely with the new toolchain/toolchain options. Change-Id: I876041828310ec8f9fb1e0d636a38cce1977d9b9 commit dcc6b5fd693b129492a45ec75038ca582689bd5d Author: Ethan Chen <intervigil@gmail.com> Date: Fri, 15 Jan 2016 16:12:39 -0800 amplifier: Fix compilation warning * Forward declare str_parms Change-Id: Iafb0ad8e4b0696807cfe568d0f89ce5dad6bcade commit 978ac098d6cde55bc5090ea83a9bda2ee176577b Author: codeworkx <daniel.hillenbrand@codeworkx.de> Date: Sat Mar 24 21:30:34 2018 +0100 audio_amplifier: add hooks for stream parameter manipulation This allows to modify audio parameters before the first device selection happens which is necessary when setting ANC parameter since it must happen before audio hal hits voice_start_call() and selects devices. If setting ANC after stream has been started it will trigger a re-selection of devices and cause a short downtime. Change-Id: Icfddab5ce27235c1567a0557e63b3a7421778187 Change-Id: I0473143057d542c8fa0a3ec4a67ce277900badbe
* | hardware/libhw: Add display_defs.h to declare custom enums/flagsArun Kumar K.R2019-12-111-0/+79
|/ | | | | | | | | | | | | | | | | | | | | | | | | hardware/libhw: Add S3D format definitions S3D video has various format like left/right and top/bottom, and this definition will be shared by hardware composer and its client. Change-Id: I7b5a7d9786052081bede3436177db212122b9228 CRs-fixed: 999055 hwcomposer: Add HWC_BLIT compositiontype value - HWC_BLIT this layer will be handled in the HWC, using a blit engine - setting this will inform Surfaceflinger to flip FB_TARGET change-Id: I25d19ec41b57863d451c3e390109c912faf1381c libhardware: Disable rotation animation on External - Added two new flags to used to inform HWC about rotation and roation animation to HWC - This is used to disable rotation animation on external change-Id: I05a9796781dcda088ae6cd64481cd4e581d5cf9e Change-Id: Idbc7e43d4fa8ec2299b4c7ee8378a1afd710cdf1
* Snap for 5667727 from bc5b610f7b9c40858c8d6d40f58069f5ea130762 to ↵android-build-team Robot2019-06-181-2/+0
|\ | | | | | | | | | | qt-qpr1-release Change-Id: Ieca110c0d31fac3fa9da153a2896b128b158081b
| * Strip sensors HAL module.Vineeta Srivastava2019-06-121-2/+0
| | | | | | | | | | | | Bug: 134685292 Test: verified on a device that the library size reduces. Change-Id: Ic22948a050f59b6ec0ae38dd89184f531d8b5c01
* | Snap for 5637155 from a03204da665fec772e9626f0e6cbf18846d25649 to ↵android-build-team Robot2019-06-061-1/+0
|\| | | | | | | | | | | qt-qpr1-release Change-Id: I59938c09cd32fa31eaadccfaac4cd726bfaba363
| * Remove libBionicGtestMainChangyeon Jo2019-06-051-1/+0
| |\ | | | | | | | | | | | | | | | am: b6f4830d89 Change-Id: I7d6e4c1861a31940898e70186638c188ef1d1e29
| | * Remove libBionicGtestMainChangyeon Jo2019-06-041-1/+0
| |/ | | | | | | | | | | | | | | | | This change removes libBionicGtestMain from the dependency of camera.v4l2_test target. Bug: 134488555 Change-Id: Ia719f770b03fa1679bb9467f58806e64b05eb469 Signed-off-by: Changyeon Jo <changyeon@google.com>
* | Merge "Add validateBufferSize and getTransportSize to gralloc.h" into qt-devValerie Hau2019-05-062-2/+34
|\| | | | | | | | | | | am: f865a5680f Change-Id: If4530fcd75f2b1baf3ff27325d2c25bbb0c47898
| * Merge "Add validateBufferSize and getTransportSize to gralloc.h" into qt-devValerie Hau2019-05-062-2/+34
|/|
| * Add validateBufferSize and getTransportSize to gralloc.hValerie Hau2019-04-242-2/+34
| | | | | | | | | | | | | | | | This reverts commit ae6d8a3e339315b6317d01ff5452da9d89a16c1e. Bug: 130669566 Test: build, boot Change-Id: Icdb3b1e0534233995d5c0594feede6261033ec45
* | Merge "Make validateBufferSize and getTransportSize mandatory" into qt-devValerie Hau2019-04-241-2/+0
|\ \ | |/ |/|
| * Make validateBufferSize and getTransportSize mandatoryValerie Hau2019-04-231-2/+0
| | | | | | | | | | | | Bug: 131089111 Test: build, boot Change-Id: I6c83e4ea9692fbdb185ff0679ee76b1dc826495e
* | Revert "Add validateBufferSize and getTransportSize to gralloc.h"Valerie Hau2019-04-232-34/+2
|/ | | | | | | | This reverts commit 491378a3d400c45aa63290315d4a5ab8e773de33. Reason for revert: Break Elfin Bug: 130669566 Change-Id: I07c6883872ed9033ec5edbf27b0bd423ead39962
* Add validateBufferSize and getTransportSize to gralloc.hValerie Hau2019-04-232-2/+34
| | | | | | | Bug: 130669566 Test: build, boot Change-Id: Ic141e1c6f16d0e3c1e81c2bc6c5170e30bc60f3f
* Merge "Deprecate getDisplayBrightnessSupport." into qt-devPeiyong Lin2019-04-171-1/+5
|\
| * Deprecate getDisplayBrightnessSupport.Peiyong Lin2019-04-151-1/+5
| | | | | | | | | | | | | | | | Brightness is already a per display capability, we don't need this API. BUG: 130313275 Test: build Change-Id: If1ddf2a6224c9aa86f250178fc5cae3b01334b57
* | Fix remote submix MIX_RECORD stopFrançois Gaffie2019-04-151-0/+5
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | Since rework of presentationTimestamp in AudioFlinger, it is expecting to drain correctly before stopping an output. When a MIX RECORDER is set, 1/ Dynamic Policy Mix is registered 2/ Extraction Sink Port is made available 3/ Player is started on this sink 4/ Extraction source port is connected upon start Output 4/ Capture may be launched on the source to be rerouted 5/ All Capture are stopped, player is stopped 6/ Extraction source port shall be disconnected on stopOutput Step 6 does not happen as the track is never set as drained. Upon capture stop, rxSink MonoPipe is put in shutdown state. Any further write will discard the buffer. However, frames written shall be incremented of these frame discarded to be able to set the track as drained. This CL fixes this issue. Test: AudioPolicyEmulatorTests --gtest_filter=RecordInjectionSourceMatch/DynamicPolicyMixRecordInjectionTest.RecordingInjection/* Bug: 130356101 Change-Id: I861c4867991da8bcc1090be56d64e69646d58dc2 Signed-off-by: François Gaffie <francois.gaffie@renault.com>
* Merge master@5428150 into git_qt-dev-plus-aosp.Bill Rassieur2019-04-030-0/+0
|\ | | | | | | | | | | am: d1456834e7 Change-Id: I647e73350a6b6aaa7ccc77b3c24aa47d8f6c9eba
| * Merge master@5428150 into git_qt-dev-plus-aosp.Bill Rassieur2019-04-021-0/+8
| |\ | | | | | | | | | | | | Change-Id: Ibe38131f3e562bfe823e87acc1fe1700f29b7c9a BUG: 129345239
* | \ Merge "Add KM_TRUSTED_CONFIRMATION_REQUIRED" am: c559ff3937 am: c58c139801Matthew Maurer2019-04-031-1/+4
|\ \ \ | |_|/ |/| | | | | | | | | | | am: 9c5b803a88 Change-Id: I044188282872292fc745bf85b4e3ca8126ce8a43
| * | Merge "Add KM_TRUSTED_CONFIRMATION_REQUIRED" am: c559ff3937Matthew Maurer2019-04-031-1/+4
| |\ \ | | | | | | | | | | | | | | | | | | | | am: c58c139801 Change-Id: I9b23f7d28c99cf368a7d32c6513f3a8091652bb3
| | * \ Merge "Add KM_TRUSTED_CONFIRMATION_REQUIRED"Matthew Maurer2019-04-031-1/+4
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | am: c559ff3937 Change-Id: I5586f43c01e490727dcda5f01e92b3de638b07ac
| | | * \ Merge "Add KM_TRUSTED_CONFIRMATION_REQUIRED"Matthew Maurer2019-04-031-1/+4
| | | |\ \
| | | | * | Add KM_TRUSTED_CONFIRMATION_REQUIREDMatthew Maurer2019-03-261-1/+4
| | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was added in KM4, but didn't make it into this header. Additionally, KM_TAG_UNLOCKED_DEVICE_REQUIRED was squatting on KM_TRUSTED_CONFIRMATION_REQUIRED's number. See hardware/interfaces/keymaster/4.0/types.hal for correct numbering. Bug: 128851722 Test: Keymaster VTS 4.0 + Trusty Change-Id: I89117ffe91602884edb8dd19ffd22e659f40fb1c
* | | | / Camera: Update 'CAMERA3_MSG_ERROR_RESULT' commentsEmilian Peev2019-03-211-0/+8
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend "CAMERA3_MSG_ERROR_RESULT" comments and describe how Hal must notify about physical device result failures and logical device result failures. Bug: 128835627 Test: Successful build Change-Id: I935fba5a5676a0fe9440f43b281fc9eeb50578ea
* | | | Moved brightness from Lights to SF.Dan Gittik2019-03-051-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: manual. Check that brightness works. Fixes: 111435292 Change-Id: I1a741bd57c8e2ce0841c5e25ee6f5c8e866f192a
* | | | remote submix: force pipe shutdown on input closeEric Laurent2019-03-041-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Force mono pipe shutdown when all input stream clients are closed so that a pending write is not stuck waiting for available buffer. Bug: 119057550 Test: abort search on BLE remote Change-Id: I4391e73874e502da5000b1746436fb61bb2fe869
* | | | Fixes incorrect array initialization.Changyeon Jo2019-02-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change fixes an array initialization failure due to recent resizing of camera_module structure's reserved variable. Bug: 126418509 Change-Id: Ifda61b5427f317192976aee788d0e6849f7d189f Signed-off-by: Changyeon Jo <changyeon@google.com>
* | | | Merge stage-aosp-master into pi-dev-plus-aospXin Li2019-02-250-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | am: 19a36a9e8a Change-Id: I38e796edff04f511b4b68320f6c45bb5f1a053f9
| * | | Merge stage-aosp-master into pi-dev-plus-aospXin Li2019-02-250-0/+0
| |\| | | | | | | | | | | | | | | | | | Bug: 126125118 Change-Id: I7629bfa002b52a66482bebf3d4a5500819ef46f9
| | * | DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-masterXin Li2019-02-200-0/+0
| | |\ \ | | | | | | | | | | | | | | | | | | | | Bug: 120848293 Change-Id: I699dc4c979ce47e2b399f160a6c04dfe2da8a09b
* | | \ \ Merge "Camera: remove stream_configuration_counter"Yin-Chia Yeh2019-02-201-21/+1
|\ \ \ \ \
| * | | | | Camera: remove stream_configuration_counterYin-Chia Yeh2019-02-131-21/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The race condition is now handled by default HAL wrapper so we don't need to send this information to HAL implementation. Test: Pixel 3 + Camera CTS + GCA Bug: 120986771 Change-Id: I48e611ba45d45ebf34359e828bcb23cb6eec4af2
* | | | | | Merge "Camera: clarify unknown error logic in buffer request"TreeHugger Robot2019-02-141-1/+3
|\| | | | |
| * | | | | Camera: clarify unknown error logic in buffer requestYin-Chia Yeh2019-02-081-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: N/A. doc update Bug: 120986771 Change-Id: Ibf4ac8c4618f06f7075ff762f8e1461211cdea7b
* | | | | | camera3: Add support for session parameter queriesEmilian Peev2019-02-122-2/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable Hal to trigger or skip stream reconfiguration based on session parameter updates. Bug: 122609098 Test: Manual using application, VtsHalCameraProviderV2_4TargetTest --hal_service_instance=android.hardware.camera.provider@2.4::ICameraProvider/legacy/0 --gtest_filter=CameraHidlTest.configureStreamsWithSessionParameters Change-Id: Ie931e7cb7f46257276cc1796fccd301c85a90d85
* | | | | | Merge "Camera: Add device state notification to camera_module"Eino-Ville Talvala2019-02-112-6/+94
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Camera: Add device state notification to camera_moduleShuzhen Wang2019-01-252-6/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: Confirm logging of device state notifications occurs Test: Camera continues to function when switched to 2.5 Change-Id: Iac431770be7659c0f419ba8b002a679f38ecaae2
* | | | | | Camera: Add HEIC encoding supportShuzhen Wang2019-02-042-11/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add new BlobId to specify JPEG APP segments. - Add new gralloc usage flag for HEIC encoder. Test: testHeic CTS test Bug: 79465976 Change-Id: Ie70654504eecb280e3a51b60c104124035c5fbe5
* | | | | | Merge "Explicitly include log/log.h instead of cutils/log.h" am: 68222be667 ↵Sasha Smundak2019-01-311-1/+1
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 4b0a646750 am: 99e3058602 Change-Id: I9ccccabeeadaf742ebb4e00264c9dfbd8e769e3c
| * | | | | Merge "Explicitly include log/log.h instead of cutils/log.h" am: 68222be667Sasha Smundak2019-01-311-1/+1
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | am: 4b0a646750 Change-Id: I1ab5925952e6881fe9148394e65a46345df3c801
| | * | | | Merge "Explicitly include log/log.h instead of cutils/log.h"Sasha Smundak2019-01-311-1/+1
| | |\ \ \ \ | | | | |_|/ | | | |/| | | | | | | | | | | | | | | | | | | | am: 68222be667 Change-Id: I52c26b3bee5528e3a195404127cb839990e76be1
| | | * | | Merge "Explicitly include log/log.h instead of cutils/log.h"Treehugger Robot2019-02-011-1/+1
| | | |\ \ \
| | | | * | | Explicitly include log/log.h instead of cutils/log.hSasha Smundak2019-01-311-1/+1
| | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Eliminates the warning. Test: treehugger Change-Id: I567d8fea169e688165ede1fb35d1338c565e3645
* | | | | | Merge "Camera: add device 3.6 and buffer management APIs"TreeHugger Robot2019-01-303-5/+266
|\ \ \ \ \ \
| * | | | | | Camera: add device 3.6 and buffer management APIsYin-Chia Yeh2019-01-283-5/+266
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: compile Bug: 120986771 Change-Id: I1e73f70ba05a08e80dcb0c55bb4f54671f201746