Skip to content
Snippets Groups Projects
  1. Nov 19, 2021
    • Alex Buynytskyy's avatar
      Minor cleanups. · 79dcab51
      Alex Buynytskyy authored
      typo
      clang-format on presubmit
      
      Bug: 201090222
      Test: presubmit
      Change-Id: I438f2eab1bdd469971d06b8da4d28111430abe10
      79dcab51
  2. Nov 16, 2021
  3. Nov 12, 2021
    • Steven Moreland's avatar
      PREUPLOAD bpfmt · 3f29d489
      Steven Moreland authored
      Motivation is those pesky tabs!
      
      Bug: N/A
      Test: N/A
      Change-Id: I21a460d2930035833e71fb2db55d79b059ee60ee
      3f29d489
  4. Aug 21, 2021
    • Dmitri Plotnikov's avatar
      Add MultiStateCounter · 5effd856
      Dmitri Plotnikov authored
      This native object is used to track values per-state. For example,
      if the state changes from 0 to 1 between two updateValue calls,
      the delta between the values is distributed to the states 0 and 1
      in accordance with the time spent in those states.
      
      Bug: 197162116
      Test: atest libbattery_test
      
      Change-Id: Ie304db5c93f4aa9676d12d0a8ab53b6867b24fff
      5effd856
  5. Apr 02, 2021
  6. Mar 22, 2021
    • Steven Moreland's avatar
      libbinder: use clang-format · 5059a5e0
      Steven Moreland authored
      For incremental adoption of clang-format. libbinder has an old way of
      formatting things, a way which I haven't found specific documentation
      for. This should incrementally fix it up as well as help us format new
      things without needing to think/worry about it too much.
      
      Note - due to internal merge conflicts, an extra line for
      /binder/fuzzer is left here.
      
      Bug: N/A
      Test: N/A
      Change-Id: Iedd4b1c7cb13d619fc9a8c9b868e78c10698b605
      5059a5e0
  7. Nov 18, 2020
    • Ady Abraham's avatar
      SurfaceFlinger: Add DISPLAY_EVENT_FRAME_RATE_OVERRIDE · 62f216c6
      Ady Abraham authored
      Add a new event to DisplayEventReceiver that conveys a list
      of apps whose frame rates have been overriden.
      This event is processed by the DisplayManager to advertise the
      new frame rate to the overridden app.
      
      Change-Id: I89fce8b5b4d9db65ec5db7dd2393c384c0fcfd82
      Bug: 169271059
      Bug: 169271062
      Bug: 170503758
      Test: manual test using SF backdoor
      62f216c6
  8. Oct 06, 2020
  9. Jun 12, 2020
    • Lais Andrade's avatar
      Some fixes to power manager lib code · b59a9b54
      Lais Andrade authored
      - Run clang-format on all recently added files;
      - Move all new classes to android::power namespace and remove Power
      prefix from all classes and enums;
      - Add virtual function specifier to overrides of virtual members;
      - Add missing virtual destructors;
      - Remove namespaces and aliases from public api of header files;
      - Delete constructor and destructor of PowerHalLoader;
      - Add helper functions to convert hal results in wrapper
      implementations;
      - Merge test targets to single libpowermanager_test target;
      
      Bug: 150878220
      Test: atest libpowermanager_test
      Change-Id: Ie2b5ad69f3b05d5f6b576671bc98e0f83b274152
      b59a9b54
  10. May 18, 2020
    • Lais Andrade's avatar
      Create wrappers for Vibrator HALs · 9e9fcc90
      Lais Andrade authored
      Create VibratorHalWrapper to expose a single api to access IVibrator
      HALs, and create one implementation for each supported service (AIDL and
      HIDL versions 1.0 to 1.3).
      
      The logic was extracted from VibratorService.cpp.
      
      Bug: 153418251
      Test: atest vibratorservice_test
      Change-Id: I06c100dc94b6bf66f9cad8fa14c905ab099bb247
      9e9fcc90
  11. Feb 05, 2020
    • Steven Moreland's avatar
      Remove need for libbinderthreadstate. · 39d887d3
      Steven Moreland authored
      Instead of having this library, libbinder/libhwbinder can keep track of
      stack pointers so that when they recurse, we know which one was visited
      most recently.
      
      As with the original implementation of libbinderthreadstate, this is
      somewhat of a hack. An explanation of why this is and what to do instead
      is added in CallerUtils.h.
      
      Bug: 148692216
      Test: libbinderthreadstateutils_test
      Change-Id: Ief28663728fb8786b06bf9e72238052b9af81d87
      Merged-In: Ief28663728fb8786b06bf9e72238052b9af81d87
      39d887d3
    • Steven Moreland's avatar
      Remove need for libbinderthreadstate. · 2b3f3cd2
      Steven Moreland authored
      Instead of having this library, libbinder/libhwbinder can keep track of
      stack pointers so that when they recurse, we know which one was visited
      most recently.
      
      As with the original implementation of libbinderthreadstate, this is
      somewhat of a hack. An explanation of why this is and what to do instead
      is added in CallerUtils.h.
      
      Bug: 148692216
      Test: libbinderthreadstateutils_test
      Change-Id: Ief28663728fb8786b06bf9e72238052b9af81d87
      2b3f3cd2
  12. Jan 08, 2020
  13. Nov 27, 2019
  14. Oct 03, 2019
  15. Sep 19, 2019
    • Siarhei Vishniakou's avatar
      Enable clang-format for input-related code · c9ccf393
      Siarhei Vishniakou authored
      Enable clang format for:
      - include/input
      - libs/input
      - services/inputflinger
      
      Bug: none
      Test: repo upload a CL
      Change-Id: I1466c211493738767210f9a5b189caf72df7dd21
      Merged-In: I1466c211493738767210f9a5b189caf72df7dd21
      c9ccf393
  16. Apr 05, 2019
  17. Dec 11, 2018
  18. Oct 30, 2018
  19. Oct 27, 2018
    • Peiyong Lin's avatar
      [RenderEngine] Move RenderEngine to libs/renderengine · 46080ef7
      Peiyong Lin authored
      To do side-by-side comparison between readback buffer from hardware composer
      and client target of RenderEngine, we need RenderEngine to be accessible in
      VTS, which means RenderEngine should be part of VNDK. This patch moves
      RenderEngine out of SurfaceFlinger to libs/renderengine.
      
      BUG: 112585051
      Test: build, flash, boot and do some display validation
      Change-Id: Ib6b302eaad04c7cc6c5bae39b1d25b38be188d01
      46080ef7
  20. Oct 24, 2018
  21. Oct 01, 2018
    • Jiwen 'Steve' Cai's avatar
      Enable clang-format on presubmit · c2ace9eb
      Jiwen 'Steve' Cai authored
      This only applies to new CLs involving libs/{gui,ui,vr} and
      services/{surfaceflinger,vr}
      
      Test: repo upload .
      Change-Id: Ia65fb0c23ea1a258ee69dcd5e94d31623aee3101
      c2ace9eb
  22. Sep 26, 2018
  23. Sep 11, 2018
Loading