Mathias Agopian
fa9c285fed
Merge "add a method to blank/unblank the screen"
2011-04-21 17:13:45 -07:00
Mathias Agopian
97c7c40b73
add a method to blank/unblank the screen
...
Change-Id: I3874654248826c29e57bb62bb5217184bdfb4263
2011-04-18 19:05:29 -07:00
Dima Zavin
54921de415
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>
2011-04-18 15:59:13 -07:00
Urs Fleisch
d2ed15a6b8
support humidity sensor type
...
Change-Id: I7600d64ea28d2eefc20104cbf81270ddad9d57c0
2011-04-12 17:25:57 -07:00
Jean-Baptiste Queru
c9881d8c56
am cb4ea7ac
: am 7b584867
: am cd347fdf
: Allow to force 16bpp when 32bpp has problems
...
* commit 'cb4ea7ac8af7ac0732f480dc4938e62566bd5550':
Allow to force 16bpp when 32bpp has problems
2011-04-05 11:27:14 -07:00
Jean-Baptiste Queru
cb4ea7ac8a
am 7b584867
: am cd347fdf
: Allow to force 16bpp when 32bpp has problems
...
* commit '7b584867cdfef3ba393e308471d5da76024e249c':
Allow to force 16bpp when 32bpp has problems
2011-04-05 11:22:04 -07:00
Jean-Baptiste Queru
7b584867cd
am cd347fdf
: Allow to force 16bpp when 32bpp has problems
...
* commit 'cd347fdf74d5f2e0af856455c514e655f40a6fdb':
Allow to force 16bpp when 32bpp has problems
2011-04-04 14:42:32 -07:00
Jean-Baptiste Queru
cd347fdf74
Allow to force 16bpp when 32bpp has problems
...
Bug: 4197654
Change-Id: Icf1e8793d6a4d2e070a8f232efd4136d79339496
2011-03-31 19:58:27 -07:00
Mathias Agopian
54f9dd032d
fix [4056232] Deprecate Sensor.TYPE_TEMPERATURE and add Sensor.TYPE_AMBIENT_TEMPERATURE
...
Bug: 4056232
Change-Id: I4555823abacc8aa127429bda78033ef6007aa04b
2011-03-22 18:44:02 -07:00
Iliyan Malchev
14e3641c32
hardware/libhardware: remove LOCAL_PRELINK_MODULE
...
Change-Id: I8a0ba7e4c99e334b9789d88b48383439eb7cc780
Signed-off-by: Iliyan Malchev <malchev@google.com>
2011-03-14 14:24:25 -07:00
The Android Open Source Project
8c45998962
am 30497e4f
: Reconcile gingerbread-plus-aosp and honeycomb
...
* commit '30497e4fa693b73e91bbd39c573e6ffa1d57f98f':
2011-01-30 12:53:57 -08:00
The Android Open Source Project
30497e4fa6
Reconcile gingerbread-plus-aosp and honeycomb
...
Change-Id: I0310c299ff4719e454488eafcebbd16045c7e9ea
2011-01-30 12:40:53 -08:00
The Android Open Source Project
a9ac4d04f5
Mass merge from gingerbread - do not merge
...
Change-Id: I99b09f1fd58b5c3119903304605ff613e1c4a665
2011-01-30 12:40:53 -08:00
Glenn Kasten
7cb277a5c2
Protected surface API
...
Change-Id: I63a16e77228b4a440ad08b9f21d8fbbacef3698e
2011-01-27 17:54:12 -08:00
David 'Digit' Turner
91f7fab20b
am 25b68b5c
: gralloc: Add support for 32-bit framebuffers.
...
* commit '25b68b5c24e443c326af73a33cea6dc45e845254':
gralloc: Add support for 32-bit framebuffers.
2011-01-27 09:18:13 -08:00
David 'Digit' Turner
a80988c774
am 80d3699c
: gralloc: Fix division-by-0 during system emulation.
...
* commit '80d3699c9e8e18d57684f3b20d58fd259379a9d2':
gralloc: Fix division-by-0 during system emulation.
2011-01-27 08:35:09 -08:00
David 'Digit' Turner
d8c4b8c050
am 36292755
: am 25b68b5c
: gralloc: Add support for 32-bit framebuffers.
...
* commit '3629275560f4a952cedd69c76b7b96b3b490f6f6':
gralloc: Add support for 32-bit framebuffers.
2011-01-17 14:59:26 -08:00
David 'Digit' Turner
3629275560
am 25b68b5c
: gralloc: Add support for 32-bit framebuffers.
...
* commit '25b68b5c24e443c326af73a33cea6dc45e845254':
gralloc: Add support for 32-bit framebuffers.
2011-01-17 14:57:46 -08:00
David 'Digit' Turner
25b68b5c24
gralloc: Add support for 32-bit framebuffers.
...
Note: The code under hardware/libhardware/modules/gralloc/ is only used
when running the system under the emulator.
Change-Id: I022978aeaacc5137c9917cd2ef6952dd3897ece4
2011-01-17 22:04:52 +01:00
David 'Digit' Turner
7939cdaa49
am 3d05f9cf
: Merge 80d3699c
: gralloc: Fix division-by-0 during system emulation.
...
* commit '3d05f9cfbd996f52c0bd6307a80beaabc4e58140':
Merge 80d3699c
: gralloc: Fix division-by-0 during system emulation.
2011-01-16 15:15:17 -08:00
David 'Digit' Turner
3d05f9cfbd
Merge 80d3699c
: gralloc: Fix division-by-0 during system emulation.
...
This patch avoids a division-by-0 when the system is running
under emulation (the kernel driver reports pixclock as 0, for
some reason). Which results in a SIGFPE during the boot sequence.
Change-Id: Ia9febdf143dcbce9837ca89c641e95dce3a888bb
2011-01-16 14:42:39 -08:00
David 'Digit' Turner
d72be75b45
am f540c44f
: am 80d3699c
: gralloc: Fix division-by-0 during system emulation.
...
* commit 'f540c44fc218bffcdfbc226187d3cdc08e213c32':
gralloc: Fix division-by-0 during system emulation.
2011-01-16 13:06:33 -08:00
David 'Digit' Turner
f540c44fc2
am 80d3699c
: gralloc: Fix division-by-0 during system emulation.
...
* commit '80d3699c9e8e18d57684f3b20d58fd259379a9d2':
gralloc: Fix division-by-0 during system emulation.
2011-01-16 13:04:42 -08:00
David 'Digit' Turner
80d3699c9e
gralloc: Fix division-by-0 during system emulation.
...
This patch avoids a division-by-0 when the system is running
under emulation (the kernel driver reports pixclock as 0, for
some reason). Which results in a SIGFPE during the boot sequence.
Change-Id: Idb6bcdd58999ea9231f2411481c25929d5d02f1d
2011-01-15 21:06:12 +01:00
Erik Gilling
158549c894
gralloc: add dump hooks to gralloc/hwcomposer
...
Change-Id: I27bf46103b4d1d547c42a6de4f3270a6dfd7b7ec
2010-12-08 15:31:40 -08:00
Erik Gilling
e99520400f
gralloc: add padding to alloc_device_t and hwc_composer_device_t
...
also adds version #defines
Change-Id: I89f19fc7811ea9c9efb579a9f6abb4c3d9011bbf
2010-12-08 15:16:52 -08:00
Louis Huemiller
45e2371cb9
const native_handle_t* -> buffer_handle_t
...
Change-Id: If4ac1bcfba7192ac1339039cac75f76a5c09f4c6
2010-12-01 12:25:00 -08:00
Mathias Agopian
1b514ad358
am 778ab436
: am 3cceacee
: Merge "update rotation-vector documentation." into gingerbread
...
* commit '778ab436dee2918ae2fa083f4afa4ba68dc39235':
update rotation-vector documentation.
2010-12-01 03:37:43 -08:00
Mathias Agopian
778ab436de
am 3cceacee
: Merge "update rotation-vector documentation." into gingerbread
...
* commit '3cceaceecac1e76244153940b8855ad1bbdd1037':
update rotation-vector documentation.
2010-11-30 14:08:43 -08:00
Mathias Agopian
3cceaceeca
Merge "update rotation-vector documentation." into gingerbread
2010-11-30 14:05:02 -08:00
Jamie Gennis
2c1001e10a
am 2d17786b
: am 2ec21933
: Update the docs for the private pixel formats.
...
* commit '2d17786be760f473b2a05f5ab48f82cc463c860b':
Update the docs for the private pixel formats.
2010-11-24 16:27:25 -08:00
Jamie Gennis
2d17786be7
am 2ec21933
: Update the docs for the private pixel formats.
...
* commit '2ec2193365ab26c6f77a2c5617887ced7a8d6711':
Update the docs for the private pixel formats.
2010-11-24 15:03:39 -08:00
Louis Huemiller
38476faf8f
Hardware Composer add const for handle pointer
...
Change-Id: Icf53be12ed43bce19b152fa7f1dee104d713b8da
2010-11-22 16:34:10 -08:00
Mathias Agopian
42b743c855
update rotation-vector documentation.
...
the rotation-vector sensor must transmit the W component of the
unit quaternion in data[4].
This change doesn't cause a compatibility issue because nothing in the
system relies on the W component being present.
Change-Id: If4f699ac8d41d8b957925b375e355a138a82dcf8
2010-11-22 15:55:32 -08:00
Jamie Gennis
2ec2193365
Update the docs for the private pixel formats.
...
Change-Id: I337d9e7ba7f3a625294398790844c6d15ee75237
2010-11-22 15:28:58 -08:00
Jamie Gennis
7edeaf91a8
Add a gralloc usage flag for external displays.
...
This change adds a gralloc usage flag to indicate that a buffer should
be displayed full-screen on an external display if one is present.
Change-Id: I3230a8dd2c49c89c81bf0ee9e646a448028bda2e
2010-11-17 18:51:17 -08:00
Mathias Agopian
2ec5715af2
am caf9528e
: am 2d1e978e
: improve hardware.h documentation
2010-10-26 12:21:50 -07:00
Mathias Agopian
caf9528e32
am 2d1e978e
: improve hardware.h documentation
2010-10-26 12:19:39 -07:00
Mathias Agopian
2d1e978e32
improve hardware.h documentation
...
Change-Id: I637a1d8924af144a9c2cc4645659e9d23e9527d6
2010-10-25 17:55:55 -07:00
Louis Huemiller
871815b5f1
hwcomposer.h - Add comment that buffer handles in a list must be unique
...
Change-Id: Iaa4984258572b46d6ded4c74b616b842003031c8
2010-10-25 17:00:52 -07:00
Mathias Agopian
abcf2c6a17
am ccacbce3
: am 937af9b7
: fix part of [Issue 3114236] [Crespo] The order of FLIP_H and ROT_90 is different from other devices
...
Merge commit 'ccacbce375af6422fa24f81bdc771a5460f60fed'
* commit 'ccacbce375af6422fa24f81bdc771a5460f60fed':
fix part of [Issue 3114236] [Crespo] The order of FLIP_H and ROT_90 is different from other devices
2010-10-21 13:49:17 -07:00
Mathias Agopian
ccacbce375
am 937af9b7
: fix part of [Issue 3114236] [Crespo] The order of FLIP_H and ROT_90 is different from other devices
...
Merge commit '937af9b7136a8b692812bc47eaeb9a3e255c46a5' into gingerbread-plus-aosp
* commit '937af9b7136a8b692812bc47eaeb9a3e255c46a5':
fix part of [Issue 3114236] [Crespo] The order of FLIP_H and ROT_90 is different from other devices
2010-10-21 00:26:22 -07:00
Mathias Agopian
937af9b713
fix part of [Issue 3114236] [Crespo] The order of FLIP_H and ROT_90 is different from other devices
...
there are a typo in hardware.h where FLIP_V and FLIP_H were inverted.
this change will probably break all the overlay HALs which
implement FLIP_V/H, which thanksfully are not many.
Change-Id: Ie824d9a924354d637e44eb6476cb4e5e945c3594
2010-10-21 00:07:32 -07:00
Jean-Baptiste Queru
f30ac95400
am 4829b184
: am 118b5d79
: Allow disabling page-flipping.
...
Merge commit '4829b184f15350de20096a97e583ed4c2b3d6427'
* commit '4829b184f15350de20096a97e583ed4c2b3d6427':
Allow disabling page-flipping.
2010-10-18 16:41:56 -07:00
Jean-Baptiste Queru
4829b184f1
am 118b5d79
: Allow disabling page-flipping.
...
Merge commit '118b5d7961a4abc29c8bd592956007f40ad4fc6d' into gingerbread-plus-aosp
* commit '118b5d7961a4abc29c8bd592956007f40ad4fc6d':
Allow disabling page-flipping.
2010-10-18 09:53:02 -07:00
Jean-Baptiste Queru
118b5d7961
Allow disabling page-flipping.
...
Some devices have low-level bugs in their page-flip.
Disabling it at this level gives us more flexibility
than trying to control it elsewhere.
Bug: 3097357
Change-Id: Icc6ae172264e453bec0680e74a497a2b24299c4a
2010-10-14 19:05:09 -07:00
Mike Lockwood
e202e28662
am 7b96b46c
: am 455e83b7
: GPS: Add update_network_state call to AGpsRilInterface
...
Merge commit '7b96b46c5bc0bb7149c5323c9537660558e65bad'
* commit '7b96b46c5bc0bb7149c5323c9537660558e65bad':
GPS: Add update_network_state call to AGpsRilInterface
2010-10-12 11:49:55 -07:00
Mike Lockwood
7b96b46c5b
am 455e83b7
: GPS: Add update_network_state call to AGpsRilInterface
...
Merge commit '455e83b705cf4ab830b79585f83176b90daed895' into gingerbread-plus-aosp
* commit '455e83b705cf4ab830b79585f83176b90daed895':
GPS: Add update_network_state call to AGpsRilInterface
2010-10-11 12:03:19 -07:00
Mike Lockwood
455e83b705
GPS: Add update_network_state call to AGpsRilInterface
...
Change-Id: I3ecc24965ef7fbd943738dee7d0e440bfdeae753
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-10-11 14:30:13 -04:00
Miguel Torroja
41f4cb352c
am b15cd546
: am 5f404f58
: gps: Adding AgpsRilInterface extension
...
Merge commit 'b15cd546e2043b7530c8eabf235820906e42eaa3'
* commit 'b15cd546e2043b7530c8eabf235820906e42eaa3':
gps: Adding AgpsRilInterface extension
2010-10-07 09:28:09 -07:00