1. 25 Oct, 2016 2 commits
  2. 21 Oct, 2016 1 commit
  3. 19 Oct, 2016 1 commit
  4. 11 Oct, 2016 1 commit
    • Wei Wang's avatar
      Move atrace init into on fs trigger · f920891b
      Wei Wang authored
      sysfs should be ready on ealier stage than boot
      
      Bug: 32025203
      Test: take systrace
      Change-Id: Id73b6959f3075dc793d93551963193a211060da8
      f920891b
  5. 04 Oct, 2016 1 commit
  6. 30 Sep, 2016 1 commit
  7. 28 Sep, 2016 2 commits
  8. 26 Sep, 2016 1 commit
  9. 22 Sep, 2016 2 commits
    • Rob Carr's avatar
    • Jeff Sharkey's avatar
      Recursively restorecon when SELinux label changes. · 993de796
      Jeff Sharkey authored
      PackageManager has been pretty aggressive about asking installd to
      restorecon over app data when it thinks something might have
      changed.  However, in the vast majority of cases these are no-op
      requests, and we waste a bunch of time recursively walking all
      private data, easily costing 60+ seconds on dogfooder devices.
      
      This change updates the initial "create_app_data" command to kick off
      a recursive restorecon if it detects that the top-level SELinux label
      on the app private data directory changes.  The "create_app_data"
      command is designed to ensure that an app's storage is ready, so
      PackageManager always calls it at least once per boot before apps
      can run.  (This change means that PackageManager no longer needs to
      make separate "restorecon_app_data" calls.)
      
      Test: booted, verified that a label change triggered restorecon
      Bug: 30768146
      Change-Id: I0c8d4018cf8ff888d0ae07a82adc3d61a6002aad
      993de796
  10. 15 Sep, 2016 1 commit
    • Dan Stoza's avatar
      HWC2On1: Fall back to GLES for SolidColor · 5df47cb6
      Dan Stoza authored
      Even though SolidColor layers map cleanly to HWC_BACKGROUND composition
      in HWC1, SurfaceFlinger never used HWC_BACKGROUND, so we can't trust
      that HWC1 devices implemented it correctly. To preserve backwards
      compatibility, this changes the behavior to fall back to client
      composition to minimize incompatibilities with existing devices.
      
      Bug: 30479781
      Change-Id: I638339062e03f2c057b3e1624e7157587ddee7ec
      5df47cb6
  11. 14 Sep, 2016 1 commit
    • Robert Carr's avatar
      Surface: Add force disconnection method. · 97b9c863
      Robert Carr authored
      Add a new method forceScopedDisconnect to Surface. This will
      be used by the framework to force disconnection at times where
      the underlying GraphicBufferProducer may be about to be reused.
      This is scoped by PID to avoid conflicting with remote producers.
      
      Bug: 30236166
      Change-Id: I857216483c0b550f240b3baea41977cbc58a67ed
      97b9c863
  12. 13 Sep, 2016 4 commits
  13. 12 Sep, 2016 3 commits
  14. 10 Sep, 2016 1 commit
  15. 09 Sep, 2016 3 commits
    • Mathieu Chartier's avatar
      Unlink app image if copy fails for A/B OTA · a029c072
      Mathieu Chartier authored
      Usually this happens when the app was recompiled with interpret-only.
      In this case, move_ab_path will fail for the app image. If this
      occurs, delete the existing app image to not have a stale one wasting
      storage space.
      
      Test: Make fake AB ota, delete the a/b generated app image, take the
      OTA, ensure there is no stale app image after reboot. Also tested
      that other apps with valid app images still had an image.
      
      Bug: 31323617
      Change-Id: I699b5eb3dc8f82759c284a1d299865b2c3a890d0
      a029c072
    • Eino-Ville Talvala's avatar
      DO NOT MERGE ANYWHERE: BufferQueue consumers: Add discardFreeBuffer method · 82110471
      Eino-Ville Talvala authored
      This method releases all free buffers owned by the buffer queue,
      in order to save memory (at the cost of potential future
      reallocation of buffers).
      
      Bug: 28695173
      Change-Id: I458d10373e639e3144faf673af2ba01aca36e65a
      82110471
    • Dan Stoza's avatar
      Update default DispSync offsets · 28ffe198
      Dan Stoza authored
      Updates the default DispSync offsets to 1ms/1ms to avoid SurfaceFlinger
      racing against hardware vsync on untuned video-mode panels, which can
      result in a significant number of dropped frames. Also moves and
      updates the documentation of the offsets, which used to live in
      build/target/board/generic/BoardConfig.mk.
      
      Bug: 30801895
      Change-Id: I4cb09d840e2f16fb3d05df4d7abf58d9ba36f83b
      28ffe198
  16. 08 Sep, 2016 2 commits
  17. 07 Sep, 2016 2 commits
  18. 01 Sep, 2016 2 commits
  19. 30 Aug, 2016 2 commits
  20. 29 Aug, 2016 2 commits
  21. 25 Aug, 2016 2 commits
  22. 24 Aug, 2016 1 commit
    • Dan Stoza's avatar
      Add requestor name to GraphicBuffer alloc metadata · d4079aff
      Dan Stoza authored
      Adds a requestor name (usually the BufferQueue consumer's name) to the
      metadata that GraphicBufferAllocator stores on allocation so that
      `dumpsys SurfaceFlinger` can attempt to attribute buffer usage to the
      correct client.
      
      Bug: 30776557
      Change-Id: I6e0f346584c871bb3b9d5481f82b697b0475a916
      d4079aff
  23. 23 Aug, 2016 2 commits