summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* hardware: move audio_policy.h to system/Dima Zavin2011-06-132-107/+1
| | | | | Change-Id: I392c5f91db88ca923dead7202064169edc1cc0c7 Signed-off-by: Dima Zavin <dima@android.com>
* libhardware: report stride on dequeue_bufferIliyan Malchev2011-06-101-1/+1
| | | | | Change-Id: Ic41f625f69e135fd2dc3929f99af83b9584f8c1d Signed-off-by: Iliyan Malchev <malchev@google.com>
* Merge "hardware: audio: add stream parameter strings needed by HALs"Dima Zavin2011-06-071-0/+15
|\
| * hardware: audio: add stream parameter strings needed by HALsDima Zavin2011-06-061-0/+15
| | | | | | | | | | Change-Id: Ib5fcb67426ad5d67fd021894db71ae7114ea3367 Signed-off-by: Dima Zavin <dima@android.com>
* | libhardware/camera.h: camera HAL memory management updatesIliyan Malchev2011-06-061-3/+8
|/ | | | | | | | | | | -- add a callback to camera_memory_t that can be used to free the requested memory -- memory requests are in the form of N buffers S bytes each -- data callbacks pass an index to a buffer in addition to the camera_memory pointer Change-Id: I368139809f25a662d8895f205e3b87fa5046a4b2 Signed-off-by: Iliyan Malchev <malchev@google.com>
* Modified audio effect API.Eric Laurent2011-05-271-0/+797
| | | | | | | | | | Moved and renamed media/EffectApi.h to hardware/audio_effect.h Modified the effect library API to expose a library info structure containing an interface functions table. Also removed enums for audio channels, audio format and devices from effect API and use values from system/audio.h instead. Change-Id: I32fd752e449337410115121c1c60c699d95247c2
* Merge 48e4ab6b7Jean-Baptiste Queru2011-05-181-0/+15
|\ | | | | | | Change-Id: Ie034418055ed9b10608e06fd6e35d64bddb73598
| * am 83eb0af0: Merge "support humidity sensor type"Jean-Baptiste Queru2011-05-181-0/+12
| |\ | | | | | | | | | | | | * commit '83eb0af000c80bc9d9b2a19eb15ab22bb0dddb1b': support humidity sensor type
| | * Merge "support humidity sensor type"Jean-Baptiste Queru2011-05-181-0/+12
| | |\
| | | * support humidity sensor typeUrs Fleisch2011-04-121-0/+12
| | | | | | | | | | | | | | | | Change-Id: I7600d64ea28d2eefc20104cbf81270ddad9d57c0
| * | | am ab8a3590: Merge "Revert "Extra audio headers for better build-time ↵Jean-Baptiste Queru2011-05-131-393/+0
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | compatibility"" * commit 'ab8a35906f6ed5055a0a6c52db4d5cb154cdf703': Revert "Extra audio headers for better build-time compatibility"
| | * | Revert "Extra audio headers for better build-time compatibility"Jean-Baptiste Queru2011-05-131-393/+0
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 54aa0e15204d42c316f98e208eb3ec8cacc4e9b6. Change-Id: Id13be86091d064db69b47a85d69c02332a2c5193
| * | | am 47050dc6: Merge "Extra audio headers for better build-time compatibility"Jean-Baptiste Queru2011-05-121-0/+393
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit '47050dc62e02fe9129217495281f8201de7fcb91': Extra audio headers for better build-time compatibility
| | * | Extra audio headers for better build-time compatibilityDerek Sollenberger2011-05-121-0/+393
| | | | | | | | | | | | | | | | Change-Id: I58724c04b73403391b157bcc14792ad080e5912f
* | | | Merge "split fb.h out of gralloc.h"Mathias Agopian2011-05-162-124/+169
|\ \ \ \
| * | | | split fb.h out of gralloc.hMathias Agopian2011-05-122-124/+169
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fb and gralloc are part of the same HAL for now, but for clarity we split them into these two headers. Change-Id: I8e9e3068e47f0d94dd7c145d72fdc2e9fff24af5
* | | | | audio: move audio.h to system/core/include/system/audio.hDima Zavin2011-05-123-395/+2
|/ / / / | | | | | | | | | | | | | | | | Change-Id: I523dfb361b1b3862cf8bc41c1691c607b2c815b0 Signed-off-by: Dima Zavin <dima@android.com>
* | | | libhardware: move buffer_handle_t to system/coreIliyan Malchev2011-05-031-4/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I2ed9ff7360086bc3458b2211437c102fee615481 Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | | libhardware: introduce camera HAL headerIliyan Malchev2011-05-031-0/+293
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | camera.h -- a HAL module for the camera, camera_module_t, which can be queried for the number and orientation of the available camera sensors. A camera sensor is also opened through this module, and is represented by: -- a HAL device for each camera sensor, camera_device_t, which encapsulates all the functionality of the base class CameraHardwareInterface; Change-Id: I79a9524ceeafc4275581c009d7b9c0fa05eed764 Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | | libhardware: break pixel formats out of hardware.hIliyan Malchev2011-05-031-82/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | These definitions now live under system/core/include/android/graphics.h Change-Id: I65ca8226cb42387748c3aaa1432423153d1dad33 Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | | libhardware: minor cleanup in gralloc.hIliyan Malchev2011-05-031-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I2180725805e47d313e29ed80b4c9c05e06b77831 Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | | Merge "Improve ROTATION_VECTOR sensor documentation"Mathias Agopian2011-05-031-0/+12
|\ \ \ \
| * | | | Improve ROTATION_VECTOR sensor documentationMathias Agopian2011-05-021-0/+12
| | | | | | | | | | | | | | | | | | | | Change-Id: Iebc978beadf365d63c60c04d54ce7331605348b3
* | | | | am 05a9b62f: am d1be1d02: Merge "<hardware/qemu_pipe.h>: Allow inclusion ↵David 'Digit' Turner2011-04-291-0/+6
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | from C++" * commit '05a9b62f315c933e9f92e2fb8ee64f6f8f261d3f': <hardware/qemu_pipe.h>: Allow inclusion from C++
| * | | | am d1be1d02: Merge "<hardware/qemu_pipe.h>: Allow inclusion from C++"David 'Digit' Turner2011-04-291-0/+6
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | * commit 'd1be1d02135917497866526ce12ef4c2548e63cb': <hardware/qemu_pipe.h>: Allow inclusion from C++
| | * | | <hardware/qemu_pipe.h>: Allow inclusion from C++David 'Digit' Turner2011-04-291-0/+6
| | | | | | | | | | | | | | | | | | | | Change-Id: Ic33b5daf7a01e8fe638ea1ccc54ed76561745abe
* | | | | am 61d6a702: am 67e71a87: am ee5636cf: Merge "Add <hardware/qemu_pipe.h> ↵David 'Digit' Turner2011-04-291-0/+43
|\ \ \ \ \ | |/ / / / | | | / / | |_|/ / |/| | | | | | | | | | | header." * commit '61d6a702dc318247273169e0eafb74f4bd7e7c59': Add <hardware/qemu_pipe.h> header.
| * | | am 67e71a87: am ee5636cf: Merge "Add <hardware/qemu_pipe.h> header."David 'Digit' Turner2011-04-291-0/+43
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit '67e71a870d882be851def98fb3e87c3a67a4b93e': Add <hardware/qemu_pipe.h> header.
| | * | Add <hardware/qemu_pipe.h> header.David 'Digit' Turner2011-04-281-0/+43
| | |/ | | | | | | | | | | | | | | | | | | | | | This header is used to implement qemu pipes, a very fast way to exchange messages between the guest and the emulator program. See implementation and tests under development/tools/emulator/system/libqemu/ Change-Id: I8272435cb9bf6e2a96ac62b9a56cbc5930052682
* | | remove deprecated/unused HAL headersMathias Agopian2011-04-284-540/+0
| | | | | | | | | | | | | | | | | | copybit, overlay, sensors_deprecated are no longer supported. Change-Id: Ie5da20bd4ff95f7565a162d628bf572a76327b7b
* | | get rid of GRALLOC_MODULE_PERFORM_CREATE_HANDLE_FROM_BUFFERMathias Agopian2011-04-281-8/+0
| | | | | | | | | | | | Change-Id: I916812dcfa2e1188e7e249303b80b7b221de71fd
* | | libhardware: add audio defines and HAL headersDima Zavin2011-04-274-0/+1181
| | | | | | | | | | | | | | | Change-Id: Iae523059834c252f0d39f7efc6e15832e6273101 Signed-off-by: Dima Zavin <dima@android.com>
* | | Merge "add a method to blank/unblank the screen"Mathias Agopian2011-04-211-1/+9
|\ \ \
| * | | add a method to blank/unblank the screenMathias Agopian2011-04-181-1/+9
| | | | | | | | | | | | | | | | Change-Id: I3874654248826c29e57bb62bb5217184bdfb4263
* | | | libhardware: add concept of module classesDima Zavin2011-04-181-1/+16
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | fix [4056232] Deprecate Sensor.TYPE_TEMPERATURE and add ↵Mathias Agopian2011-03-221-1/+10
|/ / | | | | | | | | | | | | Sensor.TYPE_AMBIENT_TEMPERATURE Bug: 4056232 Change-Id: I4555823abacc8aa127429bda78033ef6007aa04b
* | Protected surface APIGlenn Kasten2011-01-271-0/+8
| | | | | | | | Change-Id: I63a16e77228b4a440ad08b9f21d8fbbacef3698e
* | gralloc: add dump hooks to gralloc/hwcomposerErik Gilling2010-12-082-3/+21
| | | | | | | | Change-Id: I27bf46103b4d1d547c42a6de4f3270a6dfd7b7ec
* | gralloc: add padding to alloc_device_t and hwc_composer_device_tErik Gilling2010-12-082-0/+8
| | | | | | | | | | | | also adds version #defines Change-Id: I89f19fc7811ea9c9efb579a9f6abb4c3d9011bbf
* | const native_handle_t* -> buffer_handle_tLouis Huemiller2010-12-011-1/+2
| | | | | | | | Change-Id: If4ac1bcfba7192ac1339039cac75f76a5c09f4c6
* | am 778ab436: am 3cceacee: Merge "update rotation-vector documentation." into ↵Mathias Agopian2010-12-011-0/+15
|\ \ | |/ | | | | | | | | | | gingerbread * commit '778ab436dee2918ae2fa083f4afa4ba68dc39235': update rotation-vector documentation.
| * Merge "update rotation-vector documentation." into gingerbreadMathias Agopian2010-11-301-0/+15
| |\
| | * update rotation-vector documentation.Mathias Agopian2010-11-221-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | am 2d17786b: am 2ec21933: Update the docs for the private pixel formats.Jamie Gennis2010-11-241-4/+6
|\ \ \ | |/ / | | | | | | | | | * commit '2d17786be760f473b2a05f5ab48f82cc463c860b': Update the docs for the private pixel formats.
| * | Update the docs for the private pixel formats.Jamie Gennis2010-11-221-4/+6
| |/ | | | | | | Change-Id: I337d9e7ba7f3a625294398790844c6d15ee75237
* | Hardware Composer add const for handle pointerLouis Huemiller2010-11-221-1/+1
| | | | | | | | Change-Id: Icf53be12ed43bce19b152fa7f1dee104d713b8da
* | Add a gralloc usage flag for external displays.Jamie Gennis2010-11-171-0/+5
| | | | | | | | | | | | | | 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
* | am caf9528e: am 2d1e978e: improve hardware.h documentationMathias Agopian2010-10-261-4/+8
|\ \ | |/
| * improve hardware.h documentationMathias Agopian2010-10-251-4/+8
| | | | | | | | Change-Id: I637a1d8924af144a9c2cc4645659e9d23e9527d6
* | hwcomposer.h - Add comment that buffer handles in a list must be uniqueLouis Huemiller2010-10-251-0/+4
| | | | | | | | Change-Id: Iaa4984258572b46d6ded4c74b616b842003031c8