Skip to content
Snippets Groups Projects
  1. Jan 21, 2016
  2. Jan 13, 2016
  3. Jan 12, 2016
  4. Jan 11, 2016
  5. Jan 08, 2016
  6. Jan 05, 2016
    • Dan Stoza's avatar
      libgui: Fix attaching buffers without allocation · 5ecfb68f
      Dan Stoza authored
      This changes the way that BufferQueue selects slots in
      waitForFreeSlotThenRelock. This method is called from both
      dequeueBuffer and attachBuffer, but those two methods actually have
      different preferences:
      
      dequeueBuffer wants a slot with a buffer if possible (to avoid
      unnecessary allocations), but will settle for a slot without a buffer
      if no free buffers are available.
      
      attachBuffer wants a slot without a buffer if possible (to avoid
      clobbering an existing buffer), but will settle with clobbering a free
      buffer if no empty slots are available.
      
      These preferences are now respected, which has the side-effect of
      fixing a bug where it was not possible to attach a buffer if allocation
      is disabled (since the previous implementation assumed finding a slot
      without a buffer meant that the caller intended to allocate a buffer,
      which would accordingly be blocked since allocation is disabled).
      
      Bug: 26387372
      Change-Id: Iefd550fd01925d8c51d6f062d5708d1f6d517edd
      5ecfb68f
    • Dan Stoza's avatar
      libgui: Add dequeue/attach timeout · 127fc63e
      Dan Stoza authored
      Adds the ability to specify the timeout when dequeueBuffer or
      attachBuffer block due to the lack of a free buffer/slot. By default,
      these will block indefinitely (which is signified by a timeout of -1).
      
      When a timeout (other than -1) is specified, non-blocking mode is
      disabled and the given timeout will be used instead.
      
      Bug: 25196773
      Change-Id: I17fdbeebccb7c8d878703d758ac1209608258e61
      127fc63e
  7. Dec 21, 2015
    • Robert Carr's avatar
      Expose setScalingMode from Surface. · c2e77887
      Robert Carr authored
      While we are here fix a validation error causing
      NATIVE_WINDOW_SCALING_MODE_NO_SCALE_CROP to never be applied.
      Furthermore, we remove GLConsumer logic causing the scaling mode to
      be reinitialized when buffers change.
      
      Bug: 26010823
      Change-Id: I1bf1e4fdc2eded67ff401783cf24f920e4684326
      c2e77887
  8. Dec 18, 2015
  9. Dec 16, 2015
  10. Dec 15, 2015
  11. Dec 14, 2015
  12. Dec 11, 2015
  13. Dec 09, 2015
  14. Dec 05, 2015
  15. Dec 03, 2015
    • Christopher Wiley's avatar
      libbinder: Handle transaction failures correctly · cff7f175
      Christopher Wiley authored
      Java code expects status_t != OK to be caught at the JNI level in
      android_util_Binder.cpp (see signalExceptionForError).  We were
      incorrectly mapping this kind of failure to a special exception type
      and writing that exception type to parcels.
      
      Instead, refuse to write EX_TRANSACTION_FAILED to a parcel and return
      the status value instead.
      
      While here, remove non-trivial constructors to push authors toward the
      more explicit factory methods.  Remove getException() and push authors
      toward using the simpler getter methods. Fix minor camelCase issues.
      
      Bug: 25615695
      Test: system/tools/aidl integration tests still pass
      
      Change-Id: I7cad3ac8ae8300b5ac0b466606f4934d01e503c5
      cff7f175
  16. Dec 02, 2015
  17. Dec 01, 2015
  18. Nov 23, 2015
  19. Nov 19, 2015
  20. Nov 18, 2015
  21. Nov 17, 2015
    • Christopher Wiley's avatar
      libbinder: Add binder::Status type · 09eb7497
      Christopher Wiley authored
      This object implements equivalent functionality to the Java logic which
      serializes and re-throws exceptions from services.
      
      Bug: 25615695
      Test: Integration test for generated AIDL code reveals this to work
            correctly.
      
      Change-Id: Ic80c9def0dd232582ea9c49717ec50894af6bfc2
      09eb7497
  22. Nov 16, 2015
Loading