1. 12 Nov, 2015 1 commit
  2. 30 Apr, 2014 1 commit
  3. 16 Feb, 2014 1 commit
  4. 14 Jan, 2014 1 commit
  5. 02 Jan, 2014 1 commit
    • Colin Cross's avatar
      hardware: add ro.hardware.<class> to HAL loading properites list · 85ab5d1f
      Colin Cross authored
      Try to load a HAL determined by ro.hardware.<class> first before
      falling back to hardware, board, platform, arch, and default.
      This is intended to be used to support multiple hardware variants
      from the same source.  For example, a single build that supports
      two gps chips, gps001 and gpsb, could use /factory/factory.prop
      to set ro.hardware.gps=gps001 or ro.hardware.gps=gpsb, which would
      load gps.gps001.so or gps.gpsb.so.  Two separate builds from the
      same source could use PRODUCT_PROPERTY_OVERRIDES to set the
      properties.
      
      Change-Id: I1ac46c21ceb27ceb5165e8c44e9373e9c5d4e34e
      85ab5d1f
  6. 30 Sep, 2013 1 commit
  7. 08 Jan, 2012 1 commit
  8. 25 Oct, 2011 1 commit
  9. 27 May, 2011 1 commit
    • Eric Laurent's avatar
      Fix hw module lookup order. · 188c223c
      Eric Laurent authored
      Make sure hw_get_module_by_class() first scans /vendor/lib/hw
      and then /system/lib/hw so that vendor specific modules override
      default ones.
      
      Change-Id: Iaec61c3b4bb6fde202acb4412aaec3b318cc1cbd
      188c223c
  10. 18 Apr, 2011 1 commit
    • Dima Zavin's avatar
      libhardware: add concept of module classes · 54921de4
      Dima Zavin authored
      
      Needed for things like audio and audio effects. Provides a
      new interface to loading modules named 'hw_get_module_by_class'.
      This takes two parameters: 'class_id' and 'instance' which are
      used to construct the filename for the module to be loaded. If
      instance is NULL, then this function acts identically to
      hw_get_module where 'class_id' == 'id' (and in fact the latter
      implemented exactly this way).
      
      For audio, this new mechanism allows us to load multiple audio
      interfaces by doing:
      
      hw_get_module_by_class("audio", "primary", &module);
      hw_get_module_by_class("audio", "a2dp", &module);
      hw_get_module_by_class("audio", "usb", &module);
      ...
      
      In the future we will likely want to add the ability to load a set of
      module instances based on a config file, which will have a standard
      syntax and the mechanism will be provided by libhardware.
      
      Change-Id: I9976cc6d59a85a414b18e7b398a36edfbce4abd8
      Signed-off-by: default avatarDima Zavin <dima@android.com>
      54921de4
  11. 19 Sep, 2010 1 commit
    • Brian Swetland's avatar
      add /vendor support · e755bd40
      Brian Swetland authored
      Search /vendor/lib/hw/... as well as /system/lib/hw/... for hal modules.
      
      Change-Id: I1aecafcc884e11b2f17edf28e8c8ca2926184807
      e755bd40
  12. 13 Nov, 2009 1 commit
  13. 25 Sep, 2009 1 commit
  14. 24 Sep, 2009 1 commit
  15. 22 Sep, 2009 1 commit
    • Mathias Agopian's avatar
      don't loas inapropriate HAL for a device. · 3f03e98d
      Mathias Agopian authored
      Once we have determined which HAL to load and checked that the library exists,
      we should not try to load another (more generic) HAL if a failure occurs, because
      this could result in different process using different HALs for the same component.
      Instead we just return an error.
      3f03e98d
  16. 15 Jul, 2009 1 commit
  17. 17 Jun, 2009 1 commit
  18. 10 Apr, 2009 1 commit
  19. 13 Mar, 2009 1 commit
  20. 04 Mar, 2009 2 commits
  21. 20 Feb, 2009 1 commit
  22. 16 Jan, 2009 1 commit
  23. 18 Dec, 2008 1 commit