Skip to content
Snippets Groups Projects
  1. Oct 13, 2023
  2. Oct 12, 2023
    • Rajat Yadav's avatar
      libgui: reset buffer count to max slots instead of returning BAD_VALUE. · ddfbb31d
      Rajat Yadav authored and Simão Gomes Viana's avatar Simão Gomes Viana committed
      CRs-Fixed: 3013293
      
      Change-Id: Idfafcd6aa718054ff749bd5d1c7eb2630be0f109
      ddfbb31d
    • daniml3's avatar
      CompositionEngine: Request device composition for the Udfps touched layer · 7d361c7e
      daniml3 authored and Simão Gomes Viana's avatar Simão Gomes Viana committed
      
      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: default avatardaniml3 <danimoral1001@gmail.com>
      Signed-off-by: default avatarArian <arian.kulmer@web.de>
      Change-Id: I8aeb98d18557ad4e971eaba74700ceb3058273ab
      7d361c7e
    • Pierre-Hugues Husson's avatar
      surfaceflinger: Add support for Udfps extension lib · 575dfa75
      Pierre-Hugues Husson authored and Simão Gomes Viana's avatar Simão Gomes Viana committed
      
       * 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: default avatarTheScarastic <warabhishek@gmail.com>
      Change-Id: Id95aa73e06b4223a6b4f05c69fa2fc494f9a97b1
      575dfa75
    • Kevin F. Haggerty's avatar
      libui: Allow extension of valid gralloc 1.0 buffer usage bits · a8225df4
      Kevin F. Haggerty authored and Simão Gomes Viana's avatar Simão Gomes Viana committed
      * Change I7f4174581e24e361577640b9263514a168ed482d implemented
        validation of the buffer description info prior to creating
        the descriptor. Some of our legacy devices need to whitelist
        additional usage bits to support various functionality.
      
      libui: Extend adb95ae to Gralloc3
      libui: Extend adb95ae to Gralloc4
      
      This commit squashes:
        libui: Convert lineage product variables to soong config variables
        Change-Id: Ib687c966d4eafcc1128611b95ebed00fd0a8bfaf
      
      Change-Id: Ie369e78f78e9ac0b18ab3dfea520d4f123005d92
      a8225df4
    • Vinay Verma's avatar
      Add vendor version for libgui · b15f0b0c
      Vinay Verma authored and Simão Gomes Viana's avatar Simão Gomes Viana committed
      
      libstagefright_omx library need to be extended to vendor which
      is depenednet on libgui which is a vndk_private lib.
      Creating vendor version so that libstagefright_omx_ext can link
      to libgui_vendor.
      
       Conflicts:
      	libs/gui/Android.bp
      
      CRs-Fixed: 2258968
      Change-Id: I777eebffc405c8bb74aab270e9f272c806501458
      Signed-off-by: default avatarVolodymyr Zhdanov <wight554@gmail.com>
      Signed-off-by: default avatarSamarV-121 <samarvispute121@pm.me>
      b15f0b0c
  3. Aug 30, 2023
    • Android Build Coastguard Worker's avatar
      Merge cherrypicks of ['googleplex-android-review.googlesource.com/24592967'] into udc-release. · bfcf7507
      Android Build Coastguard Worker authored
      Change-Id: Ic42599276b00c054165117b022054313e01d8d28
      bfcf7507
    • Patrick Williams's avatar
      Improve updateInputFlinger performance · 56cd9b79
      Patrick Williams authored
      This change improves the performance of the WindowInfosListenerInvoker work done on SurfaceFlinger's background executor thread. The primary optimization made is not sending a WindowInfosReportedListener with every call to WindowInfosListener.onWindowInfosChanged. Instead, we send a new interface, WindowInfosPublisher, and a unique listener id to listeners when they're added.  Listeners call WindowInfosPublisher.ackWindowInfosReceived with their id after processing each update.
      
      From traces taken during development, the new code is a major improvement, taking about 15% of the time spent previously on SurfaceFlinger's background thread for sending window infos. Performance with this change seems roughly in line with the performance in T.
      
      Bug: 290377931
      Test: atest WindowInfosListenerTest
      Test: atest WindowInfosListenerInvokerTest
      Test: manually killing system server and checking valid state on restart
      (cherry picked from commit acd2258a)
      (cherry picked from commit e8a7ab25)
      (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:82f3463d449eb13e28c5dbffeee16e10721c71d2)
      Merged-In: Ib39ba935727df0bc1ab4030bcfe8301de7e64805
      Change-Id: Ib39ba935727df0bc1ab4030bcfe8301de7e64805
      56cd9b79
  4. Aug 22, 2023
  5. Aug 05, 2023
  6. Jul 28, 2023
  7. Jun 24, 2023
  8. Jun 22, 2023
  9. Jun 21, 2023
  10. Jun 19, 2023
    • Harry Cutts's avatar
      TouchInputMapper: don't check touchpad touches by screen bounds · 1db43995
      Harry Cutts authored
      Uncaptured touchpads (with DeviceMode::POINTER) still on the old stack
      (i.e. the Sony DualShock 4 touchpad) were having touches ignored if they
      started at coordinates that would be outside of the bounds of the
      touchscreen. Since touchpads use relative motions and don't directly
      relate raw touch locations to screen locations, this was incorrect, and
      caused touches to be ignored with certain screen/touchpad dimension and
      orientation combinations.
      
      Bug: 280396539
      Test: connect Sony DualShock 4 by USB, rotate screen to portrait, check
            touches starting in all areas of the pad are turned into pointer
            movements
      Test: atest inputflinger_tests
      Change-Id: I9a92ba79246ee8fc25418c2e248ae2c3839a0d58
      1db43995
  11. Jun 17, 2023
  12. Jun 16, 2023
  13. Jun 15, 2023
    • Android Build Coastguard Worker's avatar
      Snap for 10331563 from c83558cf to udc-release · acaf4e60
      Android Build Coastguard Worker authored
      Change-Id: Id6244fcf1baebf6521d712456709d6cdbf03e554
      acaf4e60
    • Nikita Ioffe's avatar
      Also mount /sys/fs/selinux · 9971bae9
      Nikita Ioffe authored
      This mount point is required for apexd, which uses libselinux to adjust
      label of the compressed APEXes that are decompressed as part of the
      postinstall hook.
      
      Bug: 284277137
      Test: m dist
      Test: system/update_engine/scripts/update_device.py out/dist/ota.zip
      Change-Id: Ia1a65a4e69b27351941a290210004a93470ae87f
      Merged-In: Ia1a65a4e69b27351941a290210004a93470ae87f
      (cherry picked from commit 56fd71b0)
      9971bae9
    • John Reck's avatar
    • Nikhil Kumar's avatar
      Use unsigned calling_uid in case of bug report triggered from adb · b70622a4
      Nikhil Kumar authored
      The utility method to extract user_id and app_id from calling_uid
      takes unsigned int_32. Changed the default value of calling_uid to
      0 from -1 for the case when bug report is triggered by adb and calling_uid is not relevant.
      
      Bug: 260989962
      Test: tested manually by initiating a bug report through adb and
      observing the BUGREPORT_STARTED broadcast in logcat.
      Ignore-AOSP-First: will do it later with other headless changes.
      
      Change-Id: I1c410853ef99c6292039382714394066a72318f7
      b70622a4
    • John Reck's avatar
      Adjust screenshot behavior of HDR content · 5b02fc47
      John Reck authored
      Cap the max amount of HDR headroom beyond which the
      layer is clipped. This avoids over-dimming the SDR content
      range in the resulting SDR screenshot
      
      Test: screenshot of silkfx
      Bug: 286942637
      Change-Id: I67df32d9c192da18df516972ed92e9bd64063186
      5b02fc47
  14. Jun 14, 2023
  15. Jun 12, 2023
  16. Jun 10, 2023
  17. Jun 09, 2023
    • Nick Deakin's avatar
      ultrahdr: update metadata requirements · 094946bd
      Nick Deakin authored
      This updates metadata requirements for Version, GainMapMax, and
      HDRCapacityMax to be required, and all others optional.
      
      Also update the yuv-icc test image, since it seems this file was missed
      on a previous CL, and the checked in version was 4:4:4 instad of 4:2:0,
      which doesn't work with our decoder setup.
      
      Bug: 286457050
      Test: Added new tests, all tests pass
      Change-Id: I1a6669f7bc6a8f254c4ce4ea4d359008e8e10f3e
      094946bd
  18. Jun 08, 2023
Loading