History log of /hardware/libhardware/hardware.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b0c303229fcbc89a0afa8f170de64f2a7fee9d6c 30-Sep-2013 Colin Cross <ccross@android.com> hardware: look in /vendor for default.so

Some vendors have their own HAL modules, which may need their
default implementation stored in /vendor.

Change-Id: I5337a61875023404a85029bbc59b984056b3e441
/hardware/libhardware/hardware.c
60d056bf2926357260592409dee31374fa8e301b 08-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: I0cbe865d464a37365fa3be84948b07e5a0d181d0
/hardware/libhardware/hardware.c
7567eba2afa94abee27965d68c29b31d79b19e60 20-Oct-2011 Steve Block <steveblock@google.com> Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/143865

Bug: 5449033
Change-Id: I8772e564a55981aad2a9cf7cb9245367fcf57fe8
/hardware/libhardware/hardware.c
188c223c7d0b53ed49c00d0828ef79890ec3052e 28-May-2011 Eric Laurent <elaurent@google.com> Fix hw module lookup order.

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
/hardware/libhardware/hardware.c
54921de415cd91af21801115baa40e78fc4ea4be 18-Apr-2011 Dima Zavin <dima@android.com> libhardware: add concept of module classes

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: Dima Zavin <dima@android.com>
/hardware/libhardware/hardware.c
e755bd4038cab69f98f7cf17e41f493296ec62ab 19-Sep-2010 Brian Swetland <swetland@google.com> add /vendor support

Search /vendor/lib/hw/... as well as /system/lib/hw/... for hal modules.

Change-Id: I1aecafcc884e11b2f17edf28e8c8ca2926184807
/hardware/libhardware/hardware.c
2b811adcbc821573de53a15f3d4e85a3d5a4ef9b 25-Sep-2009 David 'Digit' Turner <digit@google.com> Fix a bug that prevents default hw modules to be loaded properly.

The problem was a simple typo, which prevented modules like
/system/lib/hw/lib<module>.default.so from being loaded even if they
were found on the system.

This is required to fix the generic build when run in the emulator.
/hardware/libhardware/hardware.c
cab816fb6d98c23a8958a5df0006d227b14d1146 25-Sep-2009 Mathias Agopian <mathias@google.com> fix a bug I introduced recently where the "default" HAL module would not be loaded.
/hardware/libhardware/hardware.c
3f03e98dbf1b402334c804a3558b6d4f6042048c 22-Sep-2009 Mathias Agopian <mathias@google.com> don't loas inapropriate HAL for a device.

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.
/hardware/libhardware/hardware.c
6d125da5d28369df62dc5c186b43fcd40a3d33e8 16-Jul-2009 Mathias Agopian <mathias@google.com> generic gralloc HAL doesn't need to support partial updates using msm7k specific ioctl.
/hardware/libhardware/hardware.c
8c4ab1fa14cc13c324bde91c0271f9ab5f4663d3 12-Jun-2009 Mathias Agopian <mathias@google.com> pmem allocator in gralloc. enabled for all surfaces. currently it uses a lot more address space than needed.
/hardware/libhardware/hardware.c
a8a75166a2d3c7639a7432a67075c98796165206 10-Apr-2009 Mathias Agopian <mathias@google.com> Integrate from //sandbox/mathias/donut/...@145728

SurfaceFlinger rework for new EGL driver model support.
/hardware/libhardware/hardware.c
8232b50d981ce9c584fc1a4af82dae5e70e6ce52 13-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@138607
/hardware/libhardware/hardware.c
f53ebec38718ff5d6b2aff2fa62b92a75d007ca5 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/hardware/libhardware/hardware.c
d51f49a11dad52e172e4d7f6fcdf571f24efbcd5 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/hardware/libhardware/hardware.c
b5d75924d7a17452b157dc12de31d254f8af1831 20-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132569
/hardware/libhardware/hardware.c
0100d517b1118ec181cf20e8648f3416b0830088 16-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@126645
/hardware/libhardware/hardware.c
51704bed795b5b0e5e3c7b792dcdc2bf2d96a9e9 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/hardware/libhardware/hardware.c