summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-08-21Fix transaction sanitizationuminekoPatrick Williams
Bug: 336648041 Bug: 336648613 Test: CredentialsTest (cherry picked from commit 04e41761914c3c3aaca965103be3679b7a7af76f) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f1ad68a1a9fbdeb62999ccaee21643783101157c) Merged-In: I53894d014bfabc9c958a6f533d7e3b3a6dcd0a34 Change-Id: I53894d014bfabc9c958a6f533d7e3b3a6dcd0a34 (cherry picked from commit de9f8dd0a5037d7475464a723c5abde0df869804)
2024-08-14sf: change LatchUnsignaledConfig property precedenceGovind R Sekhar
CRs-Fixed: 3785154 Change-Id: Iece59cecfa59b9bc3eb154e7b7ea3127d4519d78 (cherry picked from commit c54ee09d8720ff2f4094d8fcf164943412e9eb3b)
2024-07-07Let missing DeviceProductInfo pass through AIDLSnild Dolkow
On the way between SurfaceFlinger and DisplayManager, there are two conversions done between the old and new StaticDisplayInfo types. Neither of these conversions were checking that the incoming optional DeviceProductInfo did indeed have a value before reading it. Dereferencing an empty optional is undefined behavior. In practice, the converters read zeroes, causing the output to have info fields with present-but-invalid content. On devices that do not provide DeviceProductInfo, DisplayManager got a model year of 0, making DisplayTest#testGetDeviceProductInfo fail. Fixes: 291101831 Fixes: 283031260 Fixes: 286718808 Test: cts DisplayTest#testGetDeviceProductInfo Change-Id: I118a1ce6459697ce471cdec75d156adad479c654 (cherry picked from commit 8d675649a60fa64b07fd3d41710d924c4405d933) CRs-Fixed: 3585155 (cherry picked from commit 51c69f58aa72acd8440e3ea83462e087fb9c4de7)
2024-07-07SF: Fix issue with async Virtual Display creationVinoth Jayaram
Do not return early and make sure to invoke qtiCreateVirtualDisplay to create async Virtual display if it's enabled. CRs-Fixed: 3781590 Change-Id: I89c12b11d376a56520640967149182cdc54aa97f (cherry picked from commit a4686a51923e5833c08faa6cf1813f45708febd2)
2024-03-20sf: Remove unknown dataspace warningsalk3pInjection
Change-Id: Id8991099cce17ab090bae011b2e25c6f6efc1f90
2024-03-20Merge tag 'LA.QSSI.14.0.r1-13400-qssi.0' into uminekoalk3pInjection
LA.QSSI.14.0.r1-13400-qssi.0 Change-Id: If2ee5455b7ee0b6312322503a0f7c99539b003cf
2024-03-09Merge f34b71dd37b90ebff027d1bbfdd95f90e8fc5729 on remote branchLinux Build Service Account
Change-Id: I87da8a20689087df4deb06d791ffccbfc9ef3e19
2024-03-01sf: Squashed revert of incompatible qti extensionsalk3pInjection
Revert "gui: set buffer dequeue duration in buffer private meta data" This reverts commit b97dd0d01d3ec8014487c2dddabd4e9b5de053f8. Revert "sf: consider smomo vote for content detection" This reverts commit 010d9ca747888bc9700619fb52ce783dc724f8eb. Revert "sfext: add support for idle content fps hint" This reverts commit 23cf28d74e6ddf4f3053d482ae8901981c37b7f0. Change-Id: I52ae3dc5dce2413c62c924754c20ba758f301999
2024-03-01Merge tag 'LA.QSSI.14.0.r1-13000-qssi.0' into uminekoalk3pInjection
LA.QSSI.14.0.r1-13000-qssi.0 Change-Id: Idcdd0de7bd963b89c0f88c8e383dc3ab47f2a748
2024-02-14Merge eaaaee8d1079eeb0326f8badb959916fac4586b0 on remote branchLinux Build Service Account
Change-Id: I09967f06daa17144b9b4cd663818b71cec77c82e
2024-02-08Snap for 11424196 from d8252942a783b5c1431603b118febd1120cab332 to ↵Android Build Coastguard Worker
u-keystone-qcom-release Change-Id: I882c5f9ee5b30b2bb90df978ef01a3518fdc63a6
2024-02-08Merge "sf: use mStateLock in dumpDrawingStateProto" into u-keystone-qcom-devTreehugger Robot
2024-02-08sf: use mStateLock in dumpDrawingStateProtoVikas batchu
-- Fix race condition while collecting dumpsys. CRs-Fixed: 3707059 Change-Id: Id5411cf8faa053fbcab3345d4ca5e6e1479262da
2024-01-31Merge c20a9a488f23bfece8b179f423f2448d43fe5866 on remote branchLinux Build Service Account
Change-Id: Iec61256b5f290e901a69ee8fb9aea54b2841edcf
2024-01-30Snap for 11376178 from f4fb63d41588f245a3ec60ccadc6af05653b56fc to ↵Android Build Coastguard Worker
u-keystone-qcom-release Change-Id: I3052dd54588b06f37417e06224f59b9e3a0b4f84
2024-01-29Merge u-mpr-2024-02Matt Lee
Change-Id: I363724c7443420c0f7bc3742f3df7eaa1ae537a7
2024-01-24Snap for 11352645 from 25bf63519620beaaa9e4cc1efc54e3f6fa2c88b1 to ↵Android Build Coastguard Worker
u-keystone-qcom-release Change-Id: Ibefd0c4eb353e98f539b7d753b38a708ef7f8284
2024-01-24Merge "sf: Add check to update flags in requestDisplayModes" into ↵Treehugger Robot
u-keystone-qcom-dev
2024-01-24Snap for 11350768 from 9b9f3565beb5d63eb46a82417d1beb34e25988c7 to ↵Android Build Coastguard Worker
u-keystone-qcom-release Change-Id: I9952328183e8ec49a61acd1ecd1f11149780276e
2024-01-24Merge "sf: Add check for unknown dataspace" into u-keystone-qcom-devTreehugger Robot
2024-01-23sf: Add check for unknown dataspaceBOREDDY MAHIDHAR
If dataspace returned from gralloc is Unknown, then drawingstate data space need to be set. Change-Id: Id7e1ccef770c465e3af5f7aa8c310e433a423228 CRs-Fixed: 3713320
2024-01-18sf: Add check to update flags in requestDisplayModesGovind R Sekhar
Change-Id: I427e0fe660daad3d21e2326836ce6ddc44e9440d CRs-Fixed: 3709057
2024-01-16Snap for 11316905 from f4fc89eba0b9d418b59c08c4b3bed50e5a9fd450 to ↵Android Build Coastguard Worker
u-keystone-qcom-release Change-Id: I20119d2328c10d5e0bd85e280de0c108d23ef590
2024-01-16Merge "sf: query virtual display count after DisplayConfig initialization" ↵Treehugger Robot
into u-keystone-qcom-dev
2024-01-11Snap for 11300526 from f830f7da50bbdbc38b2948bb5072df10100c30d8 to ↵Android Build Coastguard Worker
u-keystone-qcom-release Change-Id: Id41f3771c590206b6a5f4fd77c51b471e9c61910
2024-01-10Merge 63d8cdb659c68678d6980851780a80547d2ac1f6 on remote branchLinux Build Service Account
Change-Id: I0805ce8c4093e7eb2643ec8efc6430a9e2736810
2024-01-04sf: Add support for continuous dumpsys to fileBOREDDY MAHIDHAR
CRs-Fixed: 3690793 Change-Id: Ie0dfce18bb18bac972b1518a59e427631d0d5d08
2024-01-02Snap for 11263069 from 38f1929ece5a8b3128b39864a07e212c996a8d1a to ↵Android Build Coastguard Worker
u-keystone-qcom-release Change-Id: I6da507758aa0e35a42fb84cf05ccffe3d9e9641a
2023-12-29AidlComposerHal: Add handling for presentOrValidatedisplay stateSatyam Kumar Singh
Add handling for state 2, i.e. validate and present display succeeded with composition changes. Change-Id: I9f11917d4442f8a22e3a19a1a03ff16f055eb251 CRs-Fixed: 3679887
2023-12-27CompositionEngine: Request device composition for the Udfps touched layerdaniml3
The FOD layers should be always composed by the device to set the custom zpos bits to the kernel. By default all layers are set to device composition and the proprietary libsdmextension.so moves some to client composition. Unfortunately that also affects the Udfps touched layer. After this commit the layer below the Udfps touched layer is forced to be client composition. For unknown reasons libsdmextension will not change the Udfps touched layer to client composition anymore. tests: - Run 'adb shell dumpsys SurfaceFlinger' and ensure that the Udfps touched layer is composed by the device - Ensure that the Udfps touched layer correctly sets the zpos bits on the kernel while / after using WFD Signed-off-by: daniml3 <danimoral1001@gmail.com> Signed-off-by: Arian <arian.kulmer@web.de> Change-Id: I8aeb98d18557ad4e971eaba74700ceb3058273ab
2023-12-27surfaceflinger: Add support for Udfps extension libPierre-Hugues Husson
* Supports changed z Udfps order * Supports changed Udfps usage bits TheScarastic: Adapt to extension lib and support 12 BiometricPrompt ArianK16a: Adapt layer name to UdfpsControllerOverlay for Android 13 and only compare the prefix. Drop the BufferQueueLayer change because it seems unnecessary. Co-authored-by: TheScarastic <warabhishek@gmail.com> Change-Id: Id95aa73e06b4223a6b4f05c69fa2fc494f9a97b1
2023-12-22Merge 0a24da29f9574b2cc4391d1eb0037ac63f924b0d on remote branchLinux Build Service Account
Change-Id: Id8eea8206dbc8aac809097d869f095f7f3bf1ce8
2023-12-15Snap for 11224152 from 6e9d854d73a3820780e1bcffe9b33711bd840ec9 to ↵Android Build Coastguard Worker
u-keystone-qcom-release Change-Id: Ib8ca8158e0bd501c5ff8dcaee96da43d8d6e52d6
2023-12-14sf: set layer type only when layer extension is enabled.Vikas batchu
Change-Id: I1db925a81e83ca795542406419cbc60731ed3b58 CRs-Fixed: 3672444
2023-12-13Merge cherrypicks of ['googleplex-android-review.googlesource.com/24776196'] ↵Android Build Coastguard Worker
into udc-platform-release. Change-Id: Ifa2c0bfea2a92546bebf8cd22d83eaf8bba520e2
2023-12-13File size seal for memory mapped regionKeith Mok
When using memfd for cross process communication, we always need to seal the file size, otherwise remote process and shrink the size we memory mapped and thus crash the originate process causing a DoS Bug: 294609150 Test: Build Ignore-AOSP-First: security (cherry picked from commit 3d9f1e3b0a135b784b9ffa0e65d6a699c7ed1f8e) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:77b758c59f58a05d1c0d45350796951bc778745f) Merged-In: Ibc263c4f78df897e884378e3d984a188ca8772c7 Change-Id: Ibc263c4f78df897e884378e3d984a188ca8772c7
2023-12-12sf: Only invoke dolphin hooks for sync binderJun Wang
To avoid calling dolphin hooks in async binder can reduce unnecessary check and thread creation. As games use sync binder to queue buffer, dolphin functions will not be hurt. Change-Id: I605c0c289aa98a64d629fe7bce7f3e26c38b3a0e CRs-Fixed: 3673538
2023-12-07Merge df70b6101649e73df840a6ecd36dce071f72a50d on remote branchLinux Build Service Account
Change-Id: Ia7790aaa2443521213f2a30a5fbe28cd7fc8a083
2023-12-07sf: query virtual display count after DisplayConfig initializationDevanshi Bansal
-- When target doesn't support HWC vds for non-wfd usecase, SF hint(set from AllowIdleFallback DisplayConfig api) and vds_allow_hwc property is used to identify client WFD. -- DisplayConfig init has moved to SF postInit. CRs-Fixed: 3672663 Change-Id: I6579f33e4a9ac947541fb6f33585754421faa6cf
2023-12-05Snap for 11179907 from d4b7e71a0f4ac726740a2dac6c6ad8e440f1bf08 to ↵Android Build Coastguard Worker
u-keystone-qcom-release Change-Id: I6e1744fcf02a23f65c6ddaf4d98347bc094b7b1d
2023-12-05Merge "sf: set layer type only when layer extension is enabled." into ↵Treehugger Robot
u-keystone-qcom-dev
2023-12-04sf: set layer type only when layer extension is enabled.Vikas batchu
Change-Id: I1db925a81e83ca795542406419cbc60731ed3b58 CRs-Fixed: 3672444
2023-11-21Merge a329f0076f0d757dde617713d1582f5aa08e7f65 on remote branchLinux Build Service Account
Change-Id: I38b0c35b3e9dbe8dbc39c7188335384c39f12b8f
2023-11-15sf: Avoid fetching current active mode for virtual displaysAkhil Jaiswal
Change-Id: Iaa2d1712aa966b11cceb72bb20413ae72d6b3ae4 CRs-Fixed: 3659410
2023-11-10Snap for 11083928 from e2680742ab1962aef79c469192714e4b8c76dfcc to ↵Android Build Coastguard Worker
u-keystone-qcom-release Change-Id: I42dc1ff3d4ab750d088fee119de4a080b455a936
2023-11-10Merge "sf: Avoid fetching current active mode for virtual displays" into ↵Treehugger Robot
u-keystone-qcom-dev
2023-11-10sf: Avoid fetching current active mode for virtual displaysAkhil Jaiswal
Change-Id: Iaa2d1712aa966b11cceb72bb20413ae72d6b3ae4 CRs-Fixed: 3659410
2023-11-09Merge 08aa096b3b4f455803b0f3b098966494b8ef3a3f on remote branchLinux Build Service Account
Change-Id: Ia29c14824179c52df57a5018eb0776c3827e1edb
2023-11-09Snap for 11075041 from af160a4cec08f6da0d09c0a4700ecc7d07e169d3 to ↵Android Build Coastguard Worker
u-keystone-qcom-release Change-Id: I829ea10625e9b18627f2fe1ad5ba348604acda89
2023-11-09Merge "sf: upsert RenderEngine's caches" into u-keystone-qcom-devTreehugger Robot