Skip to content
Snippets Groups Projects
  1. Nov 03, 2015
    • Casey Dahlin's avatar
      Add support for reading/writing a vector of binders · eb8e15f9
      Casey Dahlin authored
      
      Change-Id: Iaa8da704b2ae3c1ca5456177441a335991b40e8a
      Test: unit tests pass
      Bug: 24470786
      Signed-off-by: default avatarCasey Dahlin <sadmac@google.com>
      eb8e15f9
    • Pablo Ceballos's avatar
      SF: Force refresh when in single buffer mode · 06312184
      Pablo Ceballos authored
      - Add a boolean to BufferItem to track whether single buffer mode is
        enabled. When it is, force SurfaceFlinger to acquire a new buffer
        and refresh on every vsync.
      
      Bug 24940410
      
      Change-Id: Iea67330c416b6fb14500865f98c67f1c12f23197
      06312184
    • Pablo Ceballos's avatar
      BQ: Add support for single buffer mode · ccdfd60d
      Pablo Ceballos authored
      - Adds a single buffer mode to BufferQueue. In this mode designate the
        first dequeued buffer as the shared buffer. All calls to dequeue()
        and acquire() will then return the shared buffer, allowing the
        producer and consumer to share it.
      - Modify the buffer slot state tracking. Add a new SHARED state for
        the shared buffer in single buffer mode. Also track how many times
        a buffer has been dequeued/queued/acquired as it's possible for a
        shared buffer to be both dequeued and acquired at the same time, or
        dequeued/acquired multiple times. This tracking is needed to know
        when to drop the buffer out of the SHARED state after single buffer
        mode has been disabled.
      - Add plumbing for enabling/disabling single buffer mode from Surface.
      
      Bug 24940410
      
      Change-Id: I3fc550c74bacb5523c049a227111356257386853
      ccdfd60d
  2. Oct 30, 2015
  3. Oct 29, 2015
    • Badhri Jagan Sridharan's avatar
      batteryservice: Add max charging voltage · 06f511b4
      Badhri Jagan Sridharan authored
      Bug: 25229483
      Change-Id: I4b6dd13870c41907c708f32412261efdca826023
      06f511b4
    • Dan Stoza's avatar
      Support SurfaceView synchronization. · 7dde599b
      Dan Stoza authored
      Add API for fetching the next frame number to be produced by
      a given buffer producer. Add an API to SurfaceComposer to 
      defer execution of the current transaction until a given frame number. 
      Together these may be used to synchronize app drawing and surface 
      control updates.
      
      Change-Id: I8e0f4993332ac0199c768c88581a453fefbaff1d
      7dde599b
  4. Oct 28, 2015
  5. Oct 23, 2015
  6. Oct 22, 2015
    • Ian Pedowitz's avatar
      Revert "Track ashmem memory usage in Parcel" · 6880307e
      Ian Pedowitz authored
      This reverts commit e2f499fb.
      
      Bug: 25169267
      Bug: 25191602
      Bug: 25004154
      Change-Id: I24bb0da4e8739ee5a0c251e4adac9904827144e0
      6880307e
    • Nick Kralevich's avatar
      DO NOT MERGE: fix build try #2 · 778b6f49
      Nick Kralevich authored
      On klp-dev, UINT16_MAX isn't available unless __STDINT_LIMITS
      is defined, which it's not for this code. This isn't relevant
      for later branches due to bionic commit
      e2a292d278b94fec3d078b1f1b27c1f89942c276
      
      Don't use UINT16_MAX when we can just hardcode 65535.
      
      Bug: 23905002
      Change-Id: Ia1fd0f749cb7a4d19866075abc28ed6960424e54
      778b6f49
    • Michael Wright's avatar
      Limit the number of keys read by KeyCharacterMaps. · 4c971c00
      Michael Wright authored
      Apps can send us a KCM containing a ridiculous key count, which will
      cause us to crash when an allocation fails. Limit the key count so this
      doesn't happen.
      
      Bug: 24876135
      Change-Id: I2bb4a5acabfc9184a867a406eef756c28c28f0ad
      4c971c00
    • Nick Kralevich's avatar
      DO NOT MERGE: fix build breakage · 834ac204
      Nick Kralevich authored
      fix klp-dev only build breakage.
      
        frameworks/native/libs/input/Input.cpp: In member function 'android::status_t android::MotionEvent::readFromParcel(android::Parcel*)':
        frameworks/native/libs/input/Input.cpp:494:47: error: 'UINT16_MAX' was not declared in this scope
      
      Bug: 23905002
      Change-Id: I4b6b864ca64d39a8873d045a61e0ddaea2ab9109
      834ac204
  7. Oct 21, 2015
  8. Oct 20, 2015
  9. Oct 16, 2015
  10. Oct 14, 2015
  11. Oct 12, 2015
  12. Oct 06, 2015
    • Pablo Ceballos's avatar
      BQ: fix Volantis test failures · b687a281
      Pablo Ceballos authored
      The Volantis driver will dequeue a buffer in eglCreateWindowSurface.
      
      - Remove the requirement that no buffers be dequeued when calling
        setAsyncMode() on a BufferQueueProducer, since this gets called
        from eglSwapInterval.
      - Modify the tests to call setMaxDequeuedBufferCount before calling
        eglCreateWindowSurface.
      
      Change-Id: Icc64e9933f151771bbd57035549cd5928c0b7216
      b687a281
  13. Sep 30, 2015
  14. Sep 29, 2015
    • Dmitry Torokhov's avatar
      Allow defining replacement key events in keymap · 115f93ee
      Dmitry Torokhov authored
      Currently keyboard maps allow to assign character sequences to key
      events and allow specifying a so-called "fallback" key events that are
      re-injected into input stream if target application indicates that it
      was not able to handle the original key event. Unfortunately there is no
      way to perform substitution before handing the event to applicationis.
      
      This change adds a new keymap keyword "replace" that allows users query
      "replacement" actions for key (if any), with the intent that such
      replacement happens early in the event handling process.
      
      Bug: 24504154
      
      Change-Id: I3e6a2476c856524171df00ad22ff56f2018c1278
      115f93ee
  15. Sep 24, 2015
    • Pablo Ceballos's avatar
      BQ: get rid of async in producer interface · 567dbbb6
      Pablo Ceballos authored
      - Get rid of the async flag in dequeueBuffer, allocateBuffers,
        waitForFreeSlotThenRelock, and QueueBufferInput.
      - Instead use the persistent flags mDequeueBufferCannotBlock and
        mAsyncMode to determine whether to use the async behavior.
      
      Bug 13174928
      
      Change-Id: Ie6f7b9e46ee3844ee77b102003c84dddf1bcafdd
      567dbbb6
  16. Sep 22, 2015
  17. Sep 21, 2015
    • Pablo Ceballos's avatar
      Remove usage of SharedBuffer · f53f3c80
      Pablo Ceballos authored
      - Remove getSharedBuffer() from Region
      - Don't use SharedBuffer for memory management in HWCLayerVersion1,
        instead keep shallow copies of the Regions.
      
      Bug 23962051
      
      (cherry picked from commit d814cf2a)
      
      Change-Id: I8fa17beed57936648c7b4defc9219dff1d5b337f
      f53f3c80
  18. Sep 18, 2015
  19. Sep 15, 2015
    • Daniel Erat's avatar
      Update libpowermanager to expose enum and export headers. · b603e2c8
      Daniel Erat authored
      Move libpowermanager's transaction ID enum (needed when
      implementing BnPowerManager::onTransact()) into
      IPowerManager.h and update the library's Android.mk file to
      export its headers.
      
      Bug: 22122485
      Change-Id: Ie97198c3d2ebe8e880125e19a001ef7162009858
      b603e2c8
  20. Sep 14, 2015
    • Daniel Erat's avatar
      Remove BnServiceManager. · 1835c85f
      Daniel Erat authored
      As far as I can tell (e.g. https://goo.gl/nxpFBZ from 2009),
      BnServiceManager is unused. It's only relevant for
      libbinder-based C++ daemons implementing the
      IServiceManager.aidl interface. service_manager.c rolls its
      own binder code instead.
      
      Change-Id: I837a897d8a201b04bf3ff65c87b0d35d10196199
      1835c85f
    • Pablo Ceballos's avatar
      Rename mBuf to mSlot in BufferItem · 9d508ed8
      Pablo Ceballos authored
      - All instances of mBuf have now been removed from the code base, so
        remove the union and get rid of it.
      
      Bug 19769719
      
      Change-Id: I49db71a664702dd355bdb9efe6b955fee2d54531
      9d508ed8
  21. Sep 11, 2015
    • Pablo Ceballos's avatar
      Remove usage of SharedBuffer · d814cf2a
      Pablo Ceballos authored
      - Remove getSharedBuffer() from Region
      - Don't use SharedBuffer for memory management in HWCLayerVersion1,
        instead keep shallow copies of the Regions.
      
      Bug 23962051
      
      Change-Id: I8fa17beed57936648c7b4defc9219dff1d5b337f
      d814cf2a
  22. Sep 03, 2015
    • Pablo Ceballos's avatar
      BQ: Modify consumer buffer count interfaces · 19e3e06e
      Pablo Ceballos authored
      - Rename setDefaultMaxBufferCount() to setMaxBufferCount(). Modify it
        to be hard maximum on the number of buffers that can't be overwritten
        by the producer.
      - Enforce the maximum buffer count in setMaxAcquiredBufferCount(),
        setMaxDequeuedBufferCount(), and setAsyncMode().
      - Remove mOverrideMaxBufferCount as it's no longer needed since
        overriding is no longer possible.
      - Expose setMaxAcquiredBufferCount() in GLConsumer.
      - Remove disableAsyncBuffer(), it was only being used for single buffer
        mode. Single buffer mode is now achievable with setMaxBufferCount().
      
      Bug 13174928
      
      Change-Id: Ia33799f42751272a711fbd8559f7602ce9f18e4f
      19e3e06e
  23. Sep 02, 2015
  24. Aug 31, 2015
    • Dan Stoza's avatar
      SF: Add colorTransform to DisplayInfo · f2699fc3
      Dan Stoza authored
      Adds the colorTransform field, which defines a vendor-specific color
      transform (e.g., wide gamut, sRGB, etc.) to the DisplayInfo class, and
      populates it from the HWC interface.
      
      Bug: 20853317
      Change-Id: I153edc36a361407656f3eb5082b96c2da2ecbec7
      f2699fc3
  25. Aug 28, 2015
Loading