1. 06 Feb, 2017 1 commit
  2. 11 Feb, 2015 1 commit
  3. 06 Feb, 2015 1 commit
  4. 30 Jan, 2015 1 commit
  5. 29 Jan, 2015 1 commit
  6. 24 Dec, 2014 1 commit
  7. 20 Nov, 2014 1 commit
  8. 14 Nov, 2014 3 commits
  9. 12 Nov, 2014 2 commits
  10. 08 Nov, 2014 1 commit
  11. 07 Nov, 2014 1 commit
    • Dan Stoza's avatar
      Add a BufferItem parameter to onFrameAvailable · 8dc55396
      Dan Stoza authored
      Passes the BufferItem for the queued buffer to the onFrameAvailable
      callback so the consumer can track the BufferQueue's contents. Also
      adds an onFrameReplaced callback, which is necessary if the consumer
      wants to do anything more than simple queue length tracking.
      
      Bug: 18111837
      Change-Id: If9d07229c9b586c668e5f99074e9b63b0468feb0
      8dc55396
  12. 31 Oct, 2014 2 commits
  13. 28 Oct, 2014 1 commit
  14. 14 Oct, 2014 1 commit
  15. 03 Oct, 2014 2 commits
    • Eric Penner's avatar
      BufferQueueProducer: Throttle EGL frame production. · 99a0afba
      Eric Penner authored
      Throttling was previously controlled by a combination of the
      driver and the number of buffers in the queue. This patch makes
      a more consistent trade-off, which allows two GPU frames pending
      but not three. More buffering could improve throughput in the
      case of varying frame times, but this also increases latency.
      
      Bug: 17502897
      Change-Id: I4ee68019ca94c635294c5959931a555a6c4ef2df
      99a0afba
    • Aravind Akella's avatar
      Fix sockfd leakage in SensorService. · 8a96955c
      Aravind Akella authored
      i) Call removeFd() only if the fd in the BitTube has been
      previously added to the Looper. Use a flag to determine whether the fd
      has been previously added or not.
      ii) Increment mPendingFlushEventsToSend after holding a connectionLock.
      iii) Store the number of acks that are pending in SensorEventQueue
       and send them all at once.
      
      Bug: 17472228
      Change-Id: I1ec834fea1112a9cfbd9cddd2198438793698502
      8a96955c
  16. 02 Oct, 2014 1 commit
  17. 01 Oct, 2014 1 commit
  18. 19 Sep, 2014 1 commit
  19. 11 Sep, 2014 1 commit
    • Aravind Akella's avatar
      SensorService fixes · 8493b79e
      Aravind Akella authored
        i) Significant Motion multiple clients fix. Make a copy of
        mActiveConnections vector before cleaning up SensorEventConnections
        when one-shot sensors trigger.
        ii) Maintain a mapping between flush_complete_events and
        SensorEventConnections to accurately map flush() API calls and
        corresponding flush_complete_events
        iii) Remove all references to 1_1 and 1_2 HALs.
        iv) Dynamically allocate sensor_event buffers in SensorService main
        threadLoop.
      
      Bug: 17412359
      Change-Id: If3c3986197660cafef2d2e0b4dc7582e229cf1c4
      8493b79e
  20. 09 Sep, 2014 2 commits
  21. 06 Sep, 2014 1 commit
  22. 04 Sep, 2014 2 commits
    • Stephen Hines's avatar
      Fix undefined behavior (not returning a value from a function with return). · 457296ad
      Stephen Hines authored
      Bug: 17379740
      
      This function was missing a return statement, even though it declares a return
      type. This is undefined behavior, which clang miscompiled into just falling
      through to a later function in some cases. Adding the return statement
      fixes the undefined behavior (and probably fixes a bug too).
      
      Change-Id: I05c03b6473b831769dc4fa8b5ba43fb4249f7626
      457296ad
    • Aravind Akella's avatar
      SensorService flush fixes. · 9e3adfce
      Aravind Akella authored
       i) Fix a possible race condition when adding a pending flush connection
       to mActiveSensors data structure.
       ii) Invalidate flush_complete_events as soon as they are consumed by a
       connection so that they are not used by other connections which are
       registered for the same sensor.
      
      Change-Id: I1491bea8c2081c4aab1feacc60add13b7aa26bb7
      9e3adfce
  23. 02 Sep, 2014 2 commits
    • Hans Boehm's avatar
      Revert "Revert "Revert "Revert "Remove incorrect android_atomic_...64 use."""" · 08ff8021
      Hans Boehm authored
      After fixing b/16874785.
      
      This reverts commit f010a05c.
      
      Original comment, which actually describes the effect of this:
      
      Change the mExtras field in Binder.h to be a stdatomic.h atomic
      value, and replace references to it with proper stdatomic.h calls.
      This removes one of a small number of remaining 64 bit
      android_atomic references.  It also replaces the erroneously
      non-atomic read accesses to mExtras.
      
      It would be better if this used the C++11 <atomic> facility,
      but we don't quite have that yet.
      
      Fixes
      
      Bug:16513433
      
      Change-Id: I1645ca5d6f60595bf5d388913665ce4b8780b26d
      (cherry picked from commit 3effabab)
      08ff8021
    • ASAZU, Hideki's avatar
      New keycode definitions for TV remotes. · 5b3dc861
      ASAZU, Hideki authored
      Keys which are necessary for supporting world-wide broadcast
      standard or used commonly for TV/STB remotes.
      
      Change-Id: I2721ceb7d956c87f1d4106b99f9d21947ae13d47
      5b3dc861
  24. 29 Aug, 2014 1 commit
  25. 27 Aug, 2014 1 commit
    • Eric Penner's avatar
      GLConsumer: Fix eglTerminate/eglInit edge case. · 2d14a0ed
      Eric Penner authored
      If a display is terminated and then initialized, we can't detect
      this using the display itself (it has the same value), but all
      EglImages still become invalid for the display. This patch detects
      this during image binding and forces creation of a new EglImage.
      
      Bug: 10430249
      Change-Id: I75101c50962f21263dca3ec6e241a2e5a3c23dad
      2d14a0ed
  26. 23 Aug, 2014 1 commit
  27. 22 Aug, 2014 1 commit
  28. 19 Aug, 2014 1 commit
    • Aravind Akella's avatar
      SensorService fixes. · 6c2664ae
      Aravind Akella authored
         1) Flush should only be received by the app calling flush(). Maintain
            a queue of all flush() calls and send flush_complete events in that
            order.
         2) Log warnings for older HALs. Remove batch() calls with DRY_RUN flag.
         3) Reallocate event cache when more sensors register and the desired
            maxCacheSize increases. Clear NEEDS_ACK flag in the buffer whenever
            there is a write() failure.
         4) More dump information. Add wake-up flag, maxDelay and timestamps for
            sensor events.
      
      Bug: 16874778
      Change-Id: I195646191059fd31f75f2f07886c0f98bf9b509a
      6c2664ae
  29. 18 Aug, 2014 1 commit
  30. 06 Aug, 2014 1 commit
    • Aravind Akella's avatar
      Sensor related changes for NDK. · b37ba399
      Aravind Akella authored
         i) ASensorManager_getDefaultSensor returns a wake-up/non wake-up sensor
            depending on the type.
         ii) Add ASensor_isWakeUpSensor and ASensorManager_getDefaultSensorEx
             methods.
      Bug : 16399898
      Change-Id: I1a86fb8d9de23039fdf41679d1487e1cd761a9d0
      b37ba399
  31. 05 Aug, 2014 1 commit
    • Jean-Michel Trivi's avatar
      AAC codec profile updates · e91cd213
      Jean-Michel Trivi authored
      Add new fields to OMX_AUDIO_PARAM_AACPROFILETYPE for
      - SBR configuration
      - decoder max number of channels
      - decoder DRC parameters
      
      Bug 16740915
      
      Change-Id: Ib01822bc402fe9064c6c1c68b72c570cf72b7ecb
      e91cd213
  32. 04 Aug, 2014 1 commit
    • Rachad's avatar
      Tunneled Video Playback support · 7cb0d390
      Rachad authored
       Added native_window_set_sideband_stream() method to Surface.[h|cpp]
       Added ConfigureVideoTunnelModeParams OMX configuration structure to
       HardwareAPI.h
      
      Bug: 16132368
      Change-Id: I28fa1b9dbe858d93e353e0991098cad45c626bd9
      7cb0d390