History log of /hardware/libhardware/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
48697f6dc249d1238243677de77d3a0eb6a17b3f 21-Nov-2012 Mathias Agopian <mathias@google.com> Fix HWC documentation.

Specify more clearly the behavior of compositionType
and hints.

Change-Id: I9abdccedd904b2fba783381bf9e2f8975ede8d67
nclude/hardware/hwcomposer.h
bdcf82513c64690ee0de6a791fdf07b005ebd43d 06-Nov-2012 The Android Open Source Project <initial-contribution@android.com> Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge

Change-Id: Ibadcd642e060d8b828b13f7c748f0dfddf751906
c55d7ac337641c7ad9ff734169e65553fbb40787 01-Nov-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
90b0fbd13f97127e29ea565c09b64cc25ab6e9c9 31-Oct-2012 Jean-Michel Trivi <jmtrivi@google.com> Shutdown audio pipe when closing input stream

Writing to the audio pipe for the remote submix is blocking, unless
the audio output pipe is in shutdown mode. The playback thread
could stay blocked on the write if the input stream has already
been closed.
The change consists in shutting down the pipe also when the input
stream gets closed. When the pipe is in this state, simulate
timing in the write operation so we don't drain the output faster
than realtime.

Bug 7424646

Change-Id: I5feb3be642b0ee7eef10dee0141308684ee9c811
odules/audio_remote_submix/audio_hw.cpp
c2805849c53246c918b51f635434d9ab81014c41 11-Oct-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-factory-release history after reset to jb-mr1-dev
b97ae066d57a62781583cb53e9f346ccd2ab5e1f 11-Oct-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
20c7f50cd5d60ee7d76f2f502866187992e7675b 10-Oct-2012 Jean-Michel Trivi <jmtrivi@google.com> Support querying active record sources

Add support for querying whether there is currently a recording
underway from the specified audio source.

Bug 7314859

Change-Id: I270f27eff4dcf1cc179089859a4c690140825ad1
nclude/hardware/audio_policy.h
4ba4655ec32f17298d3c6e43640a44dca344b921 10-Oct-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-factory-release history after reset to jb-mr1-dev
41ef60e3654fbd86978b0219e52f4997d56689a2 10-Oct-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
97e4ca0df092e697b1a33b74e068f63e5571434b 10-Oct-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
a644b63403457bc4fe0fa24cbe5077b8ac3e0b68 10-Oct-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
c7545189c8b260bbaf09653407450418a3d1860b 09-Oct-2012 Jamie Gennis <jgennis@google.com> hwcomposer: Specify set() call error behavior.

Bug: 7308829
Change-Id: Ibab6f0d2929860f02c17d6ffadb326fc0c333c4d
nclude/hardware/hwcomposer.h
e037cfb1bc8e39c6980ad49241572ba476285a5d 02-Oct-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
3fb2be64fffda871ab2d7a2bf8fb98a3cc8835a5 01-Oct-2012 Martijn Coenen <maco@google.com> Merge "NFC HAL: Use a separate callback for data." into jb-mr1-dev
96e003e0daf1b9d7eb3a475104b53b5721f2b812 01-Oct-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
4d7640ae5143ce991ee76abe0622eaf272a149de 30-Sep-2012 Jean-Michel Trivi <jmtrivi@google.com> Merge "bug 7253033 Add "exiting" state to remote audio submix module" into jb-mr1-dev
d44130339c7317faaa5cbab767eccc37347ffd25 30-Sep-2012 Jean-Michel Trivi <jmtrivi@google.com> bug 7253033 Add "exiting" state to remote audio submix module

Support receiving a parameter that sets the remote audio submix
module in a state where the audio pipe will unblock any current
write operation and not block anymore.

Change-Id: Ia3119cd79972afff0de24187dae627855a468ebf
odules/audio_remote_submix/Android.mk
odules/audio_remote_submix/audio_hw.cpp
442752aecdc54c32e77227e792fca64dcf1c1fb8 30-Sep-2012 Martijn Coenen <maco@google.com> NFC HAL: Use a separate callback for data.

Bug: 7258325
Change-Id: I02d8ea1bdcb8ea6a9430e3dc286f5c2647277f72
nclude/hardware/nfc.h
odules/nfc-nci/nfc_nci_example.c
67dde9aca9f677c5e091f9adddc33090ca0f44a4 30-Sep-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
cecacd4e71c35fd50dbe1e9855cbab0faa17b550 28-Sep-2012 Alex Ray <aray@google.com> Camera2: Change JPEG transport header

The way buffers are passed to JPEG encoders makes it difficult to
account for a header offset. This explains moving the header to
the end, and clarifies the required header packing.

Bug: 7108816
Change-Id: I569cd0cde37bd6fd7110fbc95d7fced9a55cff9c
nclude/hardware/camera2.h
6d3ab6443218018656946e63c6d4ce8a18df42ca 22-Sep-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
3a90d5964bc17ace1097e06a62d0410241c6c99c 22-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Merge "Camera2: Add JPEG transport header" into jb-mr1-dev
4af49c64f73ec46a03279fef5284802312e480bf 21-Sep-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
919e1c45b77b99c0215a53ab93d8032abb6d8c26 20-Sep-2012 Jesse Hall <jessehall@google.com> Merge "Document reentrancy and error conditions" into jb-mr1-dev
d91697ab8fee9b4c55170230f355f5a25eceefaf 20-Sep-2012 Jesse Hall <jessehall@google.com> Document reentrancy and error conditions

The hotplug callback is non-reentrant. The display config functions
return an error if called for a disconnected display type.

Change-Id: I52d11a53f9b30a7c39e98b0a9b07eb97a3d2becd
nclude/hardware/hwcomposer.h
ada3a97820dd48d513350d1365a3040d570bab6e 19-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Add JPEG transport header

To simplify passing compressed JPEG data between the HAL and the
camera service, add a transport header for use with JPEG streams.

Bug: 7108816
Change-Id: I91060051f59032e66eaaab3ee9f651badd1f2ac0
nclude/hardware/camera2.h
9ffeb1522baefdb4499b9937ff600a7fbefac71d 19-Sep-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
05f49546a9c70805cbd77e71c7998652f91ec535 18-Sep-2012 Andre Eisenbach <andre@broadcom.com> Initial Bluetooth open source release

Change-Id: I27bb95db854806d7deedaf6c622b17cb09f62f16
nclude/hardware/bluetooth.h
nclude/hardware/bt_av.h
nclude/hardware/bt_hf.h
nclude/hardware/bt_hh.h
nclude/hardware/bt_hl.h
nclude/hardware/bt_pan.h
nclude/hardware/bt_sock.h
3612753a416f31d0baaa51a8405544309cec323a 18-Sep-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
97c262fc848c407f316fd7fe2b468a540f3bc38f 18-Sep-2012 Jean-Michel Trivi <jmtrivi@google.com> Remote submix: fix sink/source reference count handling

The reference count on the strong pointers to the audio sink and
source should be done on the object retrieved from the device
structure, not by accessing the corresponding fields, as they
can be cleared while reading or writing audio data.

Change-Id: I446a2c7bdcb0758b4013b0ad75450a15203fb9da
odules/audio_remote_submix/audio_hw.cpp
35a2c167b4ee090b5dd9779ecb40f82cdaf1c74d 17-Sep-2012 Jean-Michel Trivi <jmtrivi@google.com> Turn off logs in remote submix audio module

Change-Id: I61cd15534b1cd764b06f615569cdf02edbba909c
odules/audio_remote_submix/audio_hw.cpp
eec87706d21fc0ac4ad10ede86943770b2533564 17-Sep-2012 Jean-Michel Trivi <jmtrivi@google.com> Remote audio submix: blocking writes and sleeping reads.

Change how the remote audio submix is handling piping audio
through the pipe:
- use a MonoPipe as audio sink for blocking writes,
- use a MonoPipeReader as audio source for non blocking reads,
and keep track of when recording started to align the
time at which the in_read() call should return with the
projected time of the recording duration.

Change-Id: I8b0f8c56a0486806101e272dfbf9c6d2d1c11112
odules/audio_remote_submix/audio_hw.cpp
61edfe31beb9dafca2c28bfa8e610dec6fb232dc 16-Sep-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
4fbd199696b088ab9cf1d7696b6885987ba9a913 15-Sep-2012 Jean-Baptiste Queru <jbq@google.com> Delete headers that have been moved

Change-Id: I72e81a3ea789fe15d5a6cea281ebe43f82220669
7f9067f0fcc675cc6887290af4193f27e5a5c9d7 15-Sep-2012 Mathias Agopian <mathias@google.com> Merge "Layer flags won't change between prepare and set" into jb-mr1-dev
6b01e2eaf7fb7f167730c0bde1b55ae7ac928060 15-Sep-2012 Jesse Hall <jessehall@google.com> Layer flags won't change between prepare and set

Change-Id: I0f25766976e4f783066e5b6fd917d1769906e43e
nclude/hardware/hwcomposer.h
a5c667d34715220fb561d16a28612fb7caf673c4 14-Sep-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
1c970f1a493371aaa68f9227a8c3c395c5112fac 12-Sep-2012 Martijn Coenen <maco@google.com> Initial NFC HAL for NCI controllers.

Bug: 7123942
Change-Id: Ic64aa6477f2eb65b489b3be5d49ad21ccce63e2d
nclude/hardware/nfc.h
odules/Android.mk
odules/nfc-nci/Android.mk
odules/nfc-nci/nfc_nci_example.c
odules/nfc/Android.mk
odules/nfc/nfc_hw_example.c
odules/nfc/nfc_pn544_example.c
e6152a5304a191b144406d136f7ee1ae705fb122 14-Sep-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
9633d506b798cfd44172f467b59b2305b19b9b00 14-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Add CAMERA2_HAL_PIXEL_FORMAT_ZSL temporarily.

Until all HAL implementations move to the new gralloc format selection
scheme, define FORMAT_ZSL for indicating ZSL streams.

Bug: 6243944
Change-Id: I90249beaaca5da80c9464eedd6aa9d3648bb56cc
nclude/hardware/camera2.h
1df8c7a52b15a6f39116ec0a6ef7d42979cf1976 13-Sep-2012 Jean-Michel Trivi <jmtrivi@google.com> Merge "Remote submix audio module: sleep less, log errors" into jb-mr1-dev
6acd966320c7f124f103044f3a152d90d6e38749 12-Sep-2012 Jean-Michel Trivi <jmtrivi@google.com> Remote submix audio module: sleep less, log errors

Neither write nor read are blocking, but write simulates
timing by checking the clock between two writes and
computing how long the next sleep should last.

Change-Id: I495ae6d44b0cf75a24fe4b70662cfac679049c67
odules/audio_remote_submix/audio_hw.cpp
2a379b39e44c917670f19a4f824e8829b2641d38 13-Sep-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
7cb03d79b3040d9b43ffc81414e9853e8a57adb1 07-Sep-2012 Jesse Hall <jessehall@google.com> Add outbuf fields for HWC 1.2 virtual displays

Also rename HWC_DISPLAY_RESOLUTION_* to HWC_DISPLAY_WIDTH and
HWC_DISPLAY_HEIGHT for consistency.

Change-Id: Iabe6db0816f6f6eaaac24c3c9ae554177bcabf1d
nclude/hardware/hwcomposer.h
nclude/hardware/hwcomposer_defs.h
ff5f0fb5011b0365e119e810164edd85857350c6 11-Sep-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
5d85c537fcae931428ba8b7a47fdd393cc3cbd88 10-Sep-2012 Eric Laurent <elaurent@google.com> update audio remote submix API revision

Update remote submix audio HAL API revision to 2.0
(new audio device enums).

Change-Id: I61d5faf498144002929e570ee50375b059fb17c5
odules/audio_remote_submix/audio_hw.cpp
53657f44d2797a606b2e0303e398453118bd7400 09-Sep-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
43110fa5e5097a196b1f8902b7af508bc07b66f7 07-Sep-2012 Eric Laurent <elaurent@google.com> Merge "audio: new audio devices enums" into jb-mr1-dev
416d37b37b9f84c3e759d78af50d88be7e778247 07-Sep-2012 Jean-Michel Trivi <jmtrivi@google.com> Audio remote submix in hardware modules

Change-Id: I878c6f36685eff48a3cd51acceec812b61994945
odules/Android.mk
85e08e26258711f2fd672d9a920d88bf91410f6b 28-Aug-2012 Eric Laurent <elaurent@google.com> audio: new audio devices enums

Changed audio device API version to 2.0 because of
new enums for audio input and output devices.

Removed implementations of get_supported_devices() in
stub and usb audio modules.

Change-Id: I09345d38929d931e5015e36d18259f5a5f950298
nclude/hardware/audio.h
odules/audio/audio_hw.c
odules/usbaudio/audio_hw.c
88b79cb001d1c733275c7cad490c32b143f78860 16-Aug-2012 Jean-Michel Trivi <jmtrivi@google.com> Add audio module for remote submix

New definitions of audio devices for remote submix: one representing
a sink for writing the audio buffers that won't be played directly
locally, another representing the audio source that can be read from
to obtain the audio mix.

New audio hardware module encapsulating the submix loop functionality.
Create a Pipe to serve as non-blocking audio ring buffer between
the output device (the sink) and the input device (the source).

Change-Id: I527f4721a69ced0430a99ebba3b4db7d419f2bb2
nclude/hardware/audio.h
odules/audio_remote_submix/Android.mk
odules/audio_remote_submix/audio_hw.cpp
3f014b988ea901ccc249d05ab11bcfd6010878d7 07-Sep-2012 Eric Laurent <elaurent@google.com> Merge "audio effects: add audio source indication" into jb-mr1-dev
1b9684a48a6a92af193dd2d2edc120767ce14c4a 05-Sep-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
207466367ac9d8a0c9df8d40f9e5c449ec587eab 05-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Merge "Revert "Revert "Add reprocess method, redefine gralloc ZSL usage flag""" into jb-mr1-dev
7f8dd0ad2d3d40b57c8359971a351fd194668613 04-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Revert "Revert "Add reprocess method, redefine gralloc ZSL usage flag""

Missing project ready to go.

This reverts commit 536148699beffcc4e6a2ced7c41fbbc3bcfa9886

Change-Id: I101343b443be6febe160685de6d72ddbf7e6aea5
nclude/hardware/camera2.h
nclude/hardware/gralloc.h
47eb07f389af5f9064e15db492a1d80e5a455167 04-Sep-2012 Jesse Hall <jessehall@google.com> Merge "Make HWC_MODULE_API_VERSION fit in uint16_t again" into jb-mr1-dev
49b1d6baeb6142e31fe587618a8c3931330f1667 04-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Merge "Revert "Add reprocess method, redefine gralloc ZSL usage flag"" into jb-mr1-dev
3b98ffb168119f657befb1e3204183401ef4fd4f 04-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Revert "Add reprocess method, redefine gralloc ZSL usage flag"

More dependent projects than I realized

This reverts commit 7fa4a7e706cd8da0a4fd6722ff3b00b8088a01ae

Change-Id: I813ffde0f8d602fd6d75186bf82e93c7ffed9a9a
nclude/hardware/camera2.h
nclude/hardware/gralloc.h
fcc5ea2b3e1a3a490d2c7336f66d1c296bd345a9 04-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Merge "Add reprocess method, redefine gralloc ZSL usage flag" into jb-mr1-dev
903811cd0020f555d826870f018823b9063b37ab 04-Sep-2012 Jesse Hall <jessehall@google.com> Make HWC_MODULE_API_VERSION fit in uint16_t again

Change-Id: I4e32c3b7be9826cfac1e7226f7fd8894b6c97c1e
nclude/hardware/hwcomposer_defs.h
9f6e2024113ced7c8f10789624683f823899d14f 03-Sep-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
70d87bf07ecd686a2860980fb8e7d18fb2312dbd 31-Aug-2012 Eino-Ville Talvala <etalvala@google.com> Add reprocess method, redefine gralloc ZSL usage flag

- Camera2: Add allocate_reprocess_stream_from_stream for ZSL usecases
- Gralloc: Make GRALLOC_USAGE_HW_CAMERA_ZSL be simply
GRALLOC_USAGE_HW_CAMERA_READ | GRALLOC_USAGE_HW_CAMERA_WRITE
- Gralloc: Add GRALLOC_USAGE_HW_CAMERA_MASK

Change-Id: Icd8ac1f786e3adb6a422f27f03a5a4cb04a815cc
nclude/hardware/camera2.h
nclude/hardware/gralloc.h
a07ef69482e28199bb34ac94e1e621f7afaf842e 01-Sep-2012 Eric Laurent <elaurent@google.com> audio effects: add audio source indication

Added a command to audio effect API to indicate the
audio source to audio pre processings.

Change-Id: Ia9d68bc095b8bc5d3cf847a406ec0a719a1c14ac
nclude/hardware/audio_effect.h
b3f211aa0653cc61a9f2d1fe17becc3a5f83b078 31-Aug-2012 Jesse Hall <jessehall@google.com> Merge "Add new HWC 1.1 queries and hotplug callback" into jb-mr1-dev
2c13759c61dd111efc9509ddf37330f50f706f64 29-Aug-2012 Jesse Hall <jessehall@google.com> Add new HWC 1.1 queries and hotplug callback

Change-Id: I40164e60b33174e98a3843ec99f1680b1bb1c675
nclude/hardware/hwcomposer.h
nclude/hardware/hwcomposer_defs.h
673a810469947edb32fde9326c44eb326b5d2b1a 30-Aug-2012 Jesse Hall <jessehall@google.com> Merge "Encode header version in api versions" into jb-mr1-dev
3f5b522ac9a472de756c08b16f357acd6dc26e34 29-Aug-2012 Jesse Hall <jessehall@google.com> Encode header version in api versions

Change-Id: I0216bef3ba0cfaed2fe908f735e546d0734c0b13
nclude/hardware/hardware.h
nclude/hardware/hwcomposer_defs.h
2388a2dc91979364d96e49456b189f904f0267f3 28-Aug-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Use HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED

Align camera2's management of platform-opaque formats with rest of
framework. Instead of using CAMERA2_PIXEL_FORMAT_OPAQUE, use
HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED as the format for both the
camera HAL and for gralloc, and depend on the gralloc usage flags to
let the gralloc module select the appropriate real format for specific
stream endpoints.

Add a new gralloc usage for ZSL mode, where the camera service will
hold a streaming circular buffer of opaque full-resolution images
during camera preview. Since this is an opaque format that needs to be
optimized for 30fps operation, need gralloc to be aware of this use
case.

Bug: 6243944
Change-Id: If7f2516649381ce9bcffe4e319b63cbc068f643f
nclude/hardware/camera2.h
nclude/hardware/gralloc.h
ests/camera2/camera2.cpp
ests/camera2/camera2_utils.cpp
ests/camera2/camera2_utils.h
8cd56db864d9312eceb80cac54a0602648ccdbb8 28-Aug-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
b8b6439598ecc5faecfce8d43f3418b057714b4c 24-Aug-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Make static_camera_characteristics const.

Disallow modification to static characteristics structure, and clarify
ownership and lifetime of the structure.

Also update test code accordingly.

Bug: 6243944
Change-Id: I6921d6889937212867efb99aa3881ab3ffc4f6f9
nclude/hardware/camera_common.h
ests/camera2/camera2.cpp
63e803b6d259147a56e8218ca4d9e0ca6f0336cf 27-Aug-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
43a2bbb9de4f51754b7b131fc282aa2f9115c09e 26-Aug-2012 Eino-Ville Talvala <etalvala@google.com> Merge "Revert "Camera2: Make static_camera_characteristics const."" into jb-mr1-dev
dde2a9d4b5129fa836d211a75f0040bf552c94c9 26-Aug-2012 Eino-Ville Talvala <etalvala@google.com> Revert "Camera2: Make static_camera_characteristics const."

Needs a third change that's not yet done with review.

This reverts commit c9ec8a656b59912f496880d3a63c0decd490f09d

Change-Id: Ic3e465e1308cbf107a250ec17b73a59a35e52f9f
nclude/hardware/camera_common.h
ests/camera2/camera2.cpp
f186f98fb02182366b499ba1b9cbbed537bdedba 26-Aug-2012 Eino-Ville Talvala <etalvala@google.com> Merge "Camera2: Make static_camera_characteristics const." into jb-mr1-dev
d959ec5297c19b9b8f1760c9237030bf931b5803 24-Aug-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Make static_camera_characteristics const.

Disallow modification to static characteristics structure, and clarify
ownership and lifetime of the structure.

Also update test code accordingly.

Bug: 6243944
Change-Id: Ib8de5e9d6580187b21a5ae9a28a3d24f1d083f7b
nclude/hardware/camera_common.h
ests/camera2/camera2.cpp
3648c65ce034f43ae6bba78662fc19ec90e5637c 23-Aug-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
0a0a41653d82552e601980c8793fcb07e3863044 21-Aug-2012 Jesse Hall <jessehall@google.com> Simplify and clean up legacy decisions

During the HWC 0.x evolution, some fields were left optional or
organized strangely to avoid breaking backwards compatibility. Since
we're breaking it in the transition to HWC 1.0 anyway, we can clean
these up a little.

* The current callbacks are now registered immediately after the
device is opened and guaranteed to be present, so the implementation
can rely on them being present.

* The hwc_methods_t structure is gone, with its two methods folded
into the main hwc_composer_device_1_t.

* All methods and callbacks are now required except dump(). New
methods and callbacks we add in the future will still be optional
for backwards compatibility.

Change-Id: I5d58774a5144016993c12df3dd6ad2a5d746bee9
nclude/hardware/hwcomposer.h
43b51d9fdd7a447c9de7bf30960a1963c93ff5c3 22-Aug-2012 Jesse Hall <jessehall@google.com> Add NUM_DISPLAY_TYPES query and refine display list semantics

Change-Id: I740859bfa2b126edcdf06f7b2c8208770bc864f9
nclude/hardware/hwcomposer.h
nclude/hardware/hwcomposer_defs.h
296e9aa972e693c1c35235e63c73d5a548274928 22-Aug-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
f4e4624ef78fa72dd976b201c08ceb394564279c 22-Aug-2012 Jesse Hall <jessehall@google.com> Define HWC_DEVICE_API_VERSION_1_1

Change-Id: I925e010fb6367979de9b7657607ea5b444820a7e
nclude/hardware/hwcomposer_defs.h
e86f529eac544e6ebeb81811665d8d48d9bafd36 21-Aug-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
43923defb76b01a84e10f72de80e79a31ad68365 21-Aug-2012 Jesse Hall <jessehall@google.com> Merge "HWC 1.1: add FRAMEBUFFER_TARGET layer type" into jb-mr1-dev
e7c3e8b3c600371c9854d9b9e07a9d18a35c10ac 20-Aug-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
d18c83fc044a5f1d74ebe59bea7763b75c4d00d7 17-Aug-2012 Jesse Hall <jessehall@google.com> HWC 1.1: add FRAMEBUFFER_TARGET layer type

Change-Id: I61965c343dceb4137bc439b49ea90ec13183b719
nclude/hardware/hwcomposer.h
nclude/hardware/hwcomposer_defs.h
705d2912b70ae0dc8d035d475cf75f64c1a4c4b6 16-Aug-2012 Colin Cross <ccross@android.com> hwc: update blank documentation to specify that blank is synchronous

Change the documentation of the blank function in the hw composer to
specify that the screen state transition must be complete when the
function returns.

Change-Id: Ibd0a9cdef13991c36cabada5fc0e4f7bb8fa7af9
nclude/hardware/hwcomposer.h
c8ed5a88861df775e336df0db4169353bdaf2c14 14-Aug-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
1098f9d7e93c9ab30e4a4a6c7533003a3415cc0c 14-Aug-2012 Matthew Xie <mattx@google.com> Merge "Enhanced bluetooth HAL with DUT mode APIs" into jb-mr1-dev
23c9cfde22c869931c047de7bd1a67a6b0a5e87a 14-Aug-2012 Kenny Root <kroot@google.com> am 42a70b67: Merge "Enhance keymaster tests"

* commit '42a70b67abf0fce9c0f898c92a6e3c36e92773e9':
Enhance keymaster tests
42a70b67abf0fce9c0f898c92a6e3c36e92773e9 14-Aug-2012 Kenny Root <kroot@google.com> Merge "Enhance keymaster tests"
53c71df3bc6982393296ad2614095039c61e6a42 09-Aug-2012 Kenny Root <kroot@google.com> Enhance keymaster tests

Check the key values of successful attempts.

For imported keys, the key values should match the
input values when they're returned.

For generated keys, the modulus size should be correct and the public
exponent should be correct.

(cherry-pick of 280dbc7e691304cccb2a32683d1a5a13cc188e41)

Bug: 6736252
Bug: http://code.google.com/p/android/issues/detail?id=34212
Change-Id: Ieaf922ec83e0b81feb08f6ac3977e4aabd09ce14
ests/keymaster/Android.mk
ests/keymaster/keymaster_test.cpp
af5a7f797856e89fa32deb7aa88e79b4c0dd4349 14-Aug-2012 Kenny Root <kroot@google.com> Merge "Enhance keymaster tests" into jb-mr1-dev
e7ae6be42a9027d75303f38f3437649a4dd7cd3e 08-Aug-2012 Kausik Sinnaswamy <kausik@broadcom.com> Enhanced bluetooth HAL with DUT mode APIs

These APIs are needed to allow the bluetooth chip to be put into DUT
mode so that RF/BB BQB tests can be run

Change-Id: I0b01943256bb77ad7924bf67cabfc468662a2299
3ce2458a2c1694621251dd1d2880231b73d402a0 13-Aug-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
f7a60c464a03f251deb87489d48d2249e6d31ff2 03-Aug-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Add ZSL pixel format, AF CANCEL trigger, lots of docs

- Add CAMERA2_HAL_PIXEL_FORMAT_ZSL
- Add CAMERA2_TRIGGER_CANCEL_AUTOFOCUS
- Add documentation to describe how AUTOFOCUS and CANCEL_AUTOFOCUS
triggers interact with AF state, mode, and notifications.
- Other minor edits

Bug: 6243944
Change-Id: I679c40cfe08e62d3a5851839f748fe2292bbfae7
nclude/hardware/camera2.h
8467a6d2918274295212d07fc6e3894f6bc5d623 09-Aug-2012 Kenny Root <kroot@google.com> Enhance keymaster tests

Check the key values of successful attempts.

For imported keys, the key values should match the
input values when they're returned.

For generated keys, the modulus size should be correct and the public
exponent should be correct.

Bug: 6736252
Bug: http://code.google.com/p/android/issues/detail?id=34212
Change-Id: I37ed97d36ebfbe4301b43426129928bcb53c39f8
ests/keymaster/Android.mk
ests/keymaster/keymaster_test.cpp
60ab6410d803ba65b30cc683e4704b2b390ca6eb 08-Aug-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
8655693eff5d4d5e65e4dd0877d0a9d29be706bc 08-Aug-2012 Jamie Gennis <jgennis@google.com> Merge "Simplify prepare and set semantics (comments only)" into jb-mr1-dev
ac3f7e195cadcf1f826340976a228fd5bbcdb807 01-Aug-2012 Jesse Hall <jessehall@google.com> Simplify prepare and set semantics (comments only)

Documentation updated for semantic changes vs. HWC 0.x:

* Prepare won't be called with NULL pointers. This used to be used to
disable hardware composition, though that wasn't documented. Now
we'll call prepare with non-NULL pointers but the layer list will
have zero layers.

* Set won't be called with NULL pointers. This used to cause the
display to turn off; that is now done by calling the blank() method,
which is no longer optional.

Change-Id: I9c69dc34f64e499a5ba5f8729836e7c216f8c733
nclude/hardware/hwcomposer.h
47bf3d7ea5f6c98e615e0a1f93497d241c79cc05 17-Jul-2012 John Grossman <johngro@google.com> Extend the audio HAL interface to support get/set master mute

(cherry picked from commit d245968b7ef0be5c776c9aefff3eca9e293d1b35)

> Extend the audio HAL interface to support get/set master mute
>
> Hand merge from ics-aah
>
> > Extend the audio HAL interface to support get/set master mute: DO NOT MERGE
> >
> > Extend the audio HAL interface to allow HALs to optionally support HW
> > level master mute. This follows the same pattern as master volume and
> > is part of the fix for bug 6828363. Because of the divergences
> > between ICS and master, this change will need to be merged by hand.
> >
> > Signed-off-by: John Grossman <johngro@google.com>
> > Change-Id: Ica6f5e37e13d13dde60463966f41f271ffa104fd
>
> Change-Id: I5e7aea6d7da0012dcc077281f9077fc04cfb9889
> Signed-off-by: John Grossman <johngro@google.com>

Change-Id: I2011cc5bc41ca7081ce255a4bfba65f36f899bc4
Signed-off-by: John Grossman <johngro@google.com>
nclude/hardware/audio.h
odules/audio/audio_hw.c
f9d6cd7dee62789b220033c926c87deab8991bde 31-Jul-2012 Jesse Hall <jessehall@google.com> Add multi-display and flip fence to HWC

Change-Id: I3b0446050648e2b386ffb32976c9943b6fd9793d
nclude/hardware/hwcomposer.h
odules/hwcomposer/hwcomposer.cpp
8437369d87fa99d1981488bf56bfc6b3d3807926 06-Aug-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
5d64b230dc7c262575dd790299cfb667af66e014 30-Jul-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Test logging changes

Change-Id: Idcde83d46da438726c5186cbcf8109a22aef997f
ests/camera2/camera2.cpp
d8cb4d8a79805c72953b6e4333dc36d5e0a597b6 31-Jul-2012 Jesse Hall <jessehall@google.com> Revert "Add multi-display and flip fence to HWC"

This reverts commit 1d51b2b9fc713da6de18117bc19508ecdfde4f23

Change-Id: I1ae46d8cae1cb3064800cd24df56347b05eb6059
nclude/hardware/hwcomposer.h
odules/hwcomposer/hwcomposer.cpp
85ab59a147eb67cd17a9348949d5a365bf702a5f 31-Jul-2012 Jesse Hall <jessehall@google.com> Revert "Add multi-display and flip fence to HWC"

This reverts commit 1d51b2b9fc713da6de18117bc19508ecdfde4f23

Change-Id: I1ae46d8cae1cb3064800cd24df56347b05eb6059
nclude/hardware/hwcomposer.h
odules/hwcomposer/hwcomposer.cpp
65bed1f947ad9eb992c02a3563bd64ef05c4e268 26-Jul-2012 Jesse Hall <jessehall@google.com> Add multi-display and flip fence to HWC

Change-Id: I31b4fc293220bc51169971df93347dd35fdc30ef
nclude/hardware/hwcomposer.h
odules/hwcomposer/hwcomposer.cpp
d294b9ffa1569dfc95cdc28a5955caea60950a20 26-Jul-2012 Ed Heyl <ed@google.com> Merge remote-tracking branch 'goog/jb-dev-mako' into jb-mr1-dev
d72e51705664ed13b26c32f8026c4ac1424ca9a6 26-Jul-2012 Glenn Kasten <gkasten@google.com> Merge "Add comment"
e57a2d2ec601c54852a1cf55c11186bbf5c6c8f5 22-Jun-2012 Glenn Kasten <gkasten@google.com> Add comment

Change-Id: Idc2890ebc10c0e6a116bc7c8872cd379e1cf3e25
nclude/hardware/audio_policy.h
48915acb392773c1fcb86e2711eab468410a0baa 20-Feb-2012 Glenn Kasten <gkasten@google.com> struct effect_descriptor_s const correctness

Also struct audio_stream in audio_stream_frame_size

Change-Id: Ie0de708e38a1850c186a8b4eb5f491adc44b3275
nclude/hardware/audio.h
nclude/hardware/audio_policy.h
odules/audio/audio_policy.c
dbe4228e2dfed013dd42b62f10ebf94a32c3ef4f 19-Jul-2012 John Grossman <johngro@google.com> am afc55fd4: (-s ours) Extend the audio HAL interface to support get/set master mute: DO NOT MERGE

* commit 'afc55fd404d7d86f0affc9080ccb42aad8745d3a':
Extend the audio HAL interface to support get/set master mute: DO NOT MERGE
afc55fd404d7d86f0affc9080ccb42aad8745d3a 17-Jul-2012 John Grossman <johngro@google.com> Extend the audio HAL interface to support get/set master mute: DO NOT MERGE

Extend the audio HAL interface to allow HALs to optionally support HW
level master mute. This follows the same pattern as master volume and
is part of the fix for bug 6828363. Because of the divergences
between ICS and master, this change will need to be merged by hand.

Signed-off-by: John Grossman <johngro@google.com>
Change-Id: Ica6f5e37e13d13dde60463966f41f271ffa104fd
nclude/hardware/audio.h
odules/audio/audio_hw.c
d2e7c834c7158c569ae09565d4cafab4a0ce2445 17-Jul-2012 Eino-Ville Talvala <etalvala@google.com> Merge "Add camera gralloc usage flags."
2c58abbc7dbe14d4308d4b27f4069a608e3036de 17-Jul-2012 Matthew Xie <mattx@google.com> Merge changes I9622e8a0,I7b942e10,I3abd86e9,I27656f52,I662c7595,Ida4ef37e,Ic501281b,Ic2b1c5c1,I2caace57,Id6fc8f89,Id067423b,Iddd90ccc,I7fe01250,Iad7bf631,Ieaa5b37b,I68ef3117,I017ec2b0

* changes:
add 0xff to the end of an enum
Adding authentication failure reason specific status codes to bt_status_t structure
Add support for CMEE
Added ACL connected/disconnected events/callbacks to the Bluetooth HAL
Enabled audio state changed JNI callback in A2DP HAL
added pan profile
Added API to get remote services of device
Added comment for mutli accept listen
added new btif_hl (HDP profile) module
Changed the arguements for set report and send data api Signed-off-by: Priti Aghera <paghera@broadcom.com>
new bt socket interface
Added dedicated HAL callback notifying framework on audio datapath events
Added new state BT_BOND_STATE_BONDING.
Align the service status codes with spec. Add a new state for slc connection notification
PTS fixes: Re-define the call state values to match CLCC
Merged the Passkey request callback and the passkey reply APIs into the SSP API and callback respectively
1.) Dynamic enable/disable of profiles using the respective profile init/cleanup APIs
e95adfe92bd033b916f60da1264059fb1fa92b81 17-Jul-2012 Matthew Xie <mattx@google.com> Merge changes Ia96504db,I4c456390,Id04160d4

* changes:
Initial Bluedroid stack commit
Add typedefs and defines to obfuscate the word hardware.
Initial commit of Bluetooth Abstraction Layer Hdr.
7797d75b12a90cd03a47642c59dbb677aa4daa88 16-Jul-2012 Eino-Ville Talvala <etalvala@google.com> Add camera gralloc usage flags.

GRALLOC_USAGE_HW_CAMERA_WRITE is for camera outputs in the new camera HAL.

GRALLOC_USAGE_HW_CAMERA_READ is for sending previously captured camera
data back into the camera pipeline for further processing. For
example, for converting a raw sensor image into YUV or JPEG data.

Bug: 6243944
Change-Id: If9011ec320a1a804f3337704243ed7fc410fec91
nclude/hardware/gralloc.h
56f8e4a4ed88e73f12700e3ff54068940945b3e7 22-Jun-2012 Matthew Xie <mattx@google.com> add 0xff to the end of an enum

Change-Id: I9622e8a06ae075b67c4091874986625d52115261
1ec955ae78d4c60ae9596c3f18f3fd8aa0ddfc82 27-Apr-2012 Ganesh Ganapathi Batta <ganeshg@broadcom.com> Adding authentication failure reason specific status codes to bt_status_t structure

Change-Id: I7b942e101201ea54e623e91e1e19433b2d7fe1ba
011b370b0462bd7e20a7b5b4f047f80b23235a1e 27-Apr-2012 Sreenidhi T <nidhit@broadcom.com> Add support for CMEE

Change-Id: I3abd86e937da7607d7ccac5476f0f2e5779967b6
fdbfd394c3258258b0c1958c44bd232bc4d8e947 04-Apr-2012 Kausik Sinnaswamy <kausik@broadcom.com> Added ACL connected/disconnected events/callbacks to the Bluetooth HAL

Change-Id: I27656f52b5d7d742cac974805ca56d8a9a104ce8
b4b5ebff67ce687957f3a03e967be899de229bf3 19-Apr-2012 Kausik Sinnaswamy <kausik@broadcom.com> Enabled audio state changed JNI callback in A2DP HAL

Change-Id: I662c75953400353923eb20e5faa32407805a8224
9c7908f247904025351f3bfc4b8df32ea68a2c2d 15-Apr-2012 zzy <zhenye@broadcom.com> added pan profile
0dce19b7d5e9f3d15f2b4de352c28ad7c8017604 06-Apr-2012 fredc <fredc@broadcom.com> Added API to get remote services of device

Change-Id: Ic501281b911f53d5c22340a27f67ea8f7415ddf4
36ca63e3bba49b673325ed335a80e996d2d7cada 22-Feb-2012 Andre Eisenbach <andre@broadcom.com> Initial Bluedroid stack commit

Change-Id: Ia96504db5c993fa07bc70a8164d93c1696b25d12
0c2dcdf9a084d66a169e0488089da0f7a31ab1a6 04-Apr-2012 zzy <zhenye@broadcom.com> Added comment for mutli accept listen
43878c1d576a235417a4a4c5ba84d5fd75d3ff3b 03-Feb-2012 Jaikumar Ganesh <jaikumar@google..com> Add typedefs and defines to obfuscate the word hardware.

When the stack code is available, the word hardware
will be removed and these typedefs removed.

Hardware is a confusing word because the stack
is hardware indepedent. Its currently in the hardware
directory for convenience. Later on, we might move
the header files to a different location.

Change-Id: I4c456390d6003b7d02184bb6bcb2dd3b01c53485
f33cdd00fbbb6ca1b12a78554d74b7602b7c3dc1 22-Mar-2012 Sen-Der Huang <sdhuang@broadcom.com> added new btif_hl (HDP profile) module

Change-Id: I2caace570e5c8e9c211bf50b803180afb25703fd
865ba8eeb7c366f4339a341a1fe55789ed766131 17-Feb-2012 Jaikumar Ganesh <jaikumar@google.com> Initial commit of Bluetooth Abstraction Layer Hdr.

Change-Id: Id04160d47a93e6b6ff3beb8c4287302393b62963
4caf42394edeac350cf703ac9a5dd210d56b320e 22-Mar-2012 Priti Aghera <paghera@broadcom.com> Changed the arguements for set report and send data api
Signed-off-by: Priti Aghera <paghera@broadcom.com>

Change-Id: Id6fc8f89bca06b6e996531154d7a5a841aec6d43
f36a2d5ce832eebc59d67d68b1b8fc4a17904e71 27-Mar-2012 zzy <zhenye@broadcom.com> new bt socket interface
a8dff3d91ab81b162e5d14bcd7627c99575a7a5c 26-Mar-2012 Mattias Agren <magren@broadcom.com> Added dedicated HAL callback notifying framework on audio datapath
events

Change-Id: Iddd90ccc8e362660dc4468a1a69424d51b33d27c
4abf034dfc034bb72f5121703675b8051ba59324 09-Mar-2012 Ravi Nagarajan <nravi@broadcom.com> Added new state BT_BOND_STATE_BONDING.

Change-Id: I7fe012503e9f666bc045f1b622e0d0d391836613
4ba8bc7eb2cfe24dd93965b9ed4fccb17a3ffb1a 08-Mar-2012 Ravi Nagarajan <nravi@broadcom.com> Align the service status codes with spec. Add a new state for slc connection notification

Change-Id: Iad7bf6310f0f596df431d094ef39ff0391dcd08f
9f632b4d5abd31c4c0ea1581a146d0cdb74a620d 08-Mar-2012 Ravi Nagarajan <nravi@broadcom.com> PTS fixes: Re-define the call state values to match CLCC

Change-Id: Ieaa5b37ba82771c3072419996354e403cf12a99e
37e79dc3be9bf5135f11b0f7231d06df5e7a02fa 06-Mar-2012 Kausik Sinnaswamy <kausik@broadcom.com> Merged the Passkey request callback and the passkey reply APIs into the
SSP API and callback respectively

Change-Id: I68ef31176ad0ca6274a046f511b6c2d6a01e587f
aade9d98a9b0d86c8504d6ca537fcbedcd6a2251 06-Mar-2012 Kausik Sinnaswamy <kausik@broadcom.com> 1.) Dynamic enable/disable of profiles using the respective profile
init/cleanup APIs

Change-Id: I017ec2b060ec71ee6937e360e5f024b03a9685c8
38fccf483b19a0dd2431cb8515e7a2cc5546b373 13-Jul-2012 Colin Cross <ccross@android.com> hwcomposer: add a new blank operation

Add a new blank operation to be called by surfaceflinger when the screen
turns on or off. Also rev the API version to 1.1 for the new field.

Change-Id: I266fb33f66184538e34cfc319f63cf809dcb2f18
nclude/hardware/hwcomposer.h
88ef190fcf4a02839eb13ab7ca8d91d3dd145731 04-Jul-2012 Naseer Ahmed <naseer@codeaurora.org> hardware: Add field for number of framebuffers supported

Change-Id: Iec29018a956d2c048ce077c48fd3995a4ca6f72a
nclude/hardware/fb.h
a635449697a2df5de98e72cfc24e926b641d5544 19-Jun-2012 Glenn Kasten <gkasten@google.com> Use audio_channel_mask_t consistently

Change-Id: Ib832c0b707b1e0b82adf4ab3d4d18a2dc459d240
nclude/hardware/audio_effect.h
nclude/hardware/audio_policy.h
odules/audio/audio_hw.c
odules/audio/audio_policy.c
bd85f47ae7b6b2af30cf9d51d7039fbba5a271ed 14-Jun-2012 Jamie Gennis <jgennis@google.com> Update ANativeWindow clients for sync

This change updates uses of ANativeWindow to use the new ANW functions that
accept and return Sync HAL fence file descriptors.

Change-Id: I8ea699ba0a9b5c4b4316f9428cbd565976899991
ests/camera2/Android.mk
ests/camera2/camera2_utils.cpp
d479ad22a0254fa0b5358fe82fa404e3e96c631a 06-Jun-2012 Jesse Hall <jessehall@google.com> Introduce HWC_DEVICE_API_VERSION_1_0

The new version adds an acquire and release fence to each layer,
providing explicit producer->hwc and hwc->producer synchronization.

Change-Id: Ibd6e3c7b3515c012c767246e6d6514274fdef01d
nclude/hardware/hwcomposer.h
nclude/hardware/hwcomposer_defs.h
nclude/hardware/hwcomposer_v0.h
odules/hwcomposer/hwcomposer.cpp
74d793867efb9fd3d687cb12c4c7b18e9dc0fa1a 14-Jun-2012 Eino-Ville Talvala <etalvala@google.com> Merge "Camera2: Add JPEG capture test."
fa7a91d3d2a7f99612446f61beb29cc9e215d0ba 22-May-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Add JPEG capture test.

Bug: 6243944
Change-Id: Ifdf16f34b13df1e5bfe501eb7e6083862c71240a
nclude/hardware/camera2.h
ests/camera2/Android.mk
ests/camera2/camera2.cpp
186f8c526845a23a763f0eb827d1a3b8fccd6e60 13-Jun-2012 Jean-Baptiste Queru <jbq@google.com> am 8405fe5a: am 1fbbb08d: Merge "remove seemed useless gralloc_open() call in fb_device_open()"

* commit '8405fe5a5203af18f39fd47b35606f0b32cd956c':
remove seemed useless gralloc_open() call in fb_device_open()
8405fe5a5203af18f39fd47b35606f0b32cd956c 13-Jun-2012 Jean-Baptiste Queru <jbq@google.com> am 1fbbb08d: Merge "remove seemed useless gralloc_open() call in fb_device_open()"

* commit '1fbbb08ddda4321ccdb05345658044c1f0235997':
remove seemed useless gralloc_open() call in fb_device_open()
1fbbb08ddda4321ccdb05345658044c1f0235997 12-Jun-2012 Jean-Baptiste Queru <jbq@google.com> Merge "remove seemed useless gralloc_open() call in fb_device_open()"
7b946d786002cb7d171cbc7dfc9f4bda37bb8790 11-Jun-2012 The Android Open Source Project <initial-contribution@android.com> am 8350f364: Reconcile with jb-release

* commit '8350f364f7fad55286c2dcb0e1e985e139646355':
Add screen state parameter
8350f364f7fad55286c2dcb0e1e985e139646355 11-Jun-2012 The Android Open Source Project <initial-contribution@android.com> Reconcile with jb-release

Change-Id: I75e5174aabe8e3fd3c1963045c2db6f7db9fc08d
55553fcb88152430e1949158945ad492b56f99dd 08-Jun-2012 Glenn Kasten <gkasten@google.com> Add screen state parameter

Change-Id: Iead23e0d91dac34d40e9e55f525916b73c31bcb5
nclude/hardware/audio.h
90b429d56b5c9e56be86e6a9b2d69e33008ea3c5 08-Jun-2012 Glenn Kasten <gkasten@google.com> am 34afb68c: Add screen state parameter

* commit '34afb68c0cd1de315f0250f6a95b9dba234133ae':
Add screen state parameter
34afb68c0cd1de315f0250f6a95b9dba234133ae 08-Jun-2012 Glenn Kasten <gkasten@google.com> Add screen state parameter

Change-Id: Iead23e0d91dac34d40e9e55f525916b73c31bcb5
nclude/hardware/audio.h
762ce0423f5023f5f339b6e40049a25b06c2a7e9 05-Jun-2012 Eric Laurent <elaurent@google.com> am 41eeb4fe: audio HAL: add definitions for capabilities query

* commit '41eeb4fe9f0a043dc207111893dbea26827217a6':
audio HAL: add definitions for capabilities query
41eeb4fe9f0a043dc207111893dbea26827217a6 18-May-2012 Eric Laurent <elaurent@google.com> audio HAL: add definitions for capabilities query

Added definitions for querying supported channel masks, sampling rates and
format with out_get_parameters().

Change-Id: Icb28fcef504c7e0a0b2daeb1bc7e704d20d3b738
nclude/hardware/audio.h
895ed341ba7e956eed1d81a75366597fa89d3081 21-May-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Update test code for metadata changes

- New resolution handling
- Don't do long exposures in tests

Bug: 6243944
Change-Id: Ia8362a50c8c4a2230d892e571b31e513c67ab84d
ests/camera2/camera2.cpp
08a6e5e374c57361275173e18eea120587627adf 18-May-2012 Eino-Ville Talvala <etalvala@google.com> I am a HAL of constant structure.

Bug: 6243944
Change-Id: I126313f75f5f7165d3ca96f52054866c4fb6bee0
nclude/hardware/camera2.h
ests/camera2/camera2_utils.cpp
ests/camera2/camera2_utils.h
407a8eeeec8ac7edc947b003060e9f7a19bd7cd0 16-May-2012 Eino-Ville Talvala <etalvala@google.com> Merge "Camera2: Add test for construct_default_request."
97f062e1a9d94c62c3bc5b1bc4ce6e50d09c1230 16-May-2012 Eino-Ville Talvala <etalvala@google.com> Merge "Camera2: Match updated camera_metadata methods."
b21b3acf68f8787d5e8fd3cac0cf0fbc2d371b54 15-May-2012 Mathias Agopian <mathias@google.com> am e291f71e: split hwcomposer.h

* commit 'e291f71e0a25ac9bb39fb754c599b710ab8f59d5':
split hwcomposer.h
3cc81fc1807af492b96d05b55f5199d221749b67 15-May-2012 Eino-Ville Talvala <etalvala@google.com> Merge "Substantial cleanup of camera2 HAL, and some initial unit tests"
15d4e5d07327c20a61173f23b0db30179a9f90be 15-May-2012 Eino-Ville Talvala <etalvala@google.com> Merge "Add RAW_SENSOR to gralloc sample"
6adfd6b8ce32f042d001296f08e5b439af2635c1 15-May-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Add test for construct_default_request.

Bug: 6243944
Change-Id: I59b03d7ebece2a4b7672b265bd9f960b3faea621
nclude/hardware/camera2.h
ests/camera2/camera2.cpp
e6a3c3c1135d8c097be5e82103abdd832c02de7c 12-May-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Match updated camera_metadata methods.

Bug: 6243944

Change-Id: Ib691ef513b4811ca1290f0a9a4e3c1ce1e3f0945
ests/camera2/camera2.cpp
e291f71e0a25ac9bb39fb754c599b710ab8f59d5 14-May-2012 Mathias Agopian <mathias@google.com> split hwcomposer.h

hwcomposer_defs.h now contains enums, which are essentially names.
This won't change when we rev the h/w composer API (new ones will be added instead).

we do this to avoid having to abstract all these constants in higher
level APIs; instead hwcomposer_defs.h can be included without exposing
the hwcomposer's data structures (which are a lot more fragile wrt.
backward compatibility)

Change-Id: Ifb514f64de02a599fdd2d31c188327209ccb0ffc
nclude/hardware/hwcomposer.h
nclude/hardware/hwcomposer_defs.h
2f96c60cc42734555f0022585da7fd16166a8931 09-May-2012 Colin Cross <ccross@android.com> am a3e36414: remove triggering suspend from power hal

* commit 'a3e364144cc258bbe94e7eb0a216e317a9e7e38d':
remove triggering suspend from power hal
567b4a24fa9fedf0086af5e0bb8e45bd3294bc9d 23-Apr-2012 Eino-Ville Talvala <etalvala@google.com> Substantial cleanup of camera2 HAL, and some initial unit tests

- Clean up const/struct usage in HAL
- Add user pointer to notify callback
- Revamp allocate_stream, now it picks its own ID.
- Much simpler stream interface
- Merged request/reprocess input queues
- Frame queue interface no longer a mirror of request queue
- Added triggers/notifications
- Added default request creation
- Lots of comments

Unit tests added:

- Lots of utility code to speed up test writing
- Basic open/close
- Capturing 1 raw buffer (request input, frame output, buffer output)
- Capturing a burst of 10 raw buffers

Bug: 6243944
Change-Id: I490bd5df81079a44c43d87b02c9a7f7ca251f531
nclude/hardware/camera2.h
ests/camera2/Android.mk
ests/camera2/camera2.cpp
ests/camera2/camera2_utils.cpp
ests/camera2/camera2_utils.h
984272d92e40941f3d140f2cecb5f05986ac66b1 13-Apr-2012 Eino-Ville Talvala <etalvala@google.com> Add RAW_SENSOR to gralloc sample

Change-Id: I0621bd70896385c3d522d283a1be714f5f29df3b
odules/gralloc/gralloc.cpp
a3e364144cc258bbe94e7eb0a216e317a9e7e38d 04-May-2012 Colin Cross <ccross@android.com> remove triggering suspend from power hal

PowerManagerService will trigger suspend after calling into the
power hal, remove it from here.

Change-Id: I98cc096413bd5c9e39a28b2bfc376d3d30544193
odules/power/power.c
3f86dbb657e21ead15c86430932aa383882ec1e2 04-May-2012 Todd Poynor <toddpoynor@google.com> am bcdb4cd3: hardware: Power HAL: Add POWER_HINT_INTERACTION

* commit 'bcdb4cd34b9c2a4a3ccebf0048137892e5586fe8':
hardware: Power HAL: Add POWER_HINT_INTERACTION
bcdb4cd34b9c2a4a3ccebf0048137892e5586fe8 03-May-2012 Todd Poynor <toddpoynor@google.com> hardware: Power HAL: Add POWER_HINT_INTERACTION

Change-Id: I9b2c29eadc60e2bea2f01b3925ad6a8539ec2655
nclude/hardware/power.h
4467a5e51f155d95ece08035faba92376fcd4006 30-Apr-2012 Jamie Gennis <jgennis@google.com> am 6b7adef0: hwcomposer: clarify vsync timestamp meaning

* commit '6b7adef0ef38f568099eab38d6865f402c92235b':
hwcomposer: clarify vsync timestamp meaning
6b7adef0ef38f568099eab38d6865f402c92235b 30-Apr-2012 Jamie Gennis <jgennis@google.com> hwcomposer: clarify vsync timestamp meaning

This change clarifies the meaning of the HWC vsync timestamp to specify that
the timestamp must be relative to the system monotonic clock.

Change-Id: I4386ce90511fd5b8f8e988917da637d84d86f026
nclude/hardware/hwcomposer.h
aeba023e68cd1670a341e34cbd17a498fc33862c 27-Apr-2012 Mathias Agopian <mathias@google.com> am 5cb1de89: add version number to power HAL

* commit '5cb1de89a905dd13c858779d73721bbc36cd4be1':
add version number to power HAL
5cb1de89a905dd13c858779d73721bbc36cd4be1 27-Apr-2012 Mathias Agopian <mathias@google.com> add version number to power HAL

Change-Id: I6acf4523b5878565035ea6c85bddd58f9b20ef1b
nclude/hardware/power.h
odules/power/power.c
a0d4e32a0d969f37ed797725914cd27a49b370cd 26-Apr-2012 Todd Poynor <toddpoynor@google.com> am 2f143fba: (-s ours) hardware: libhardware: Power HAL add power hints -- DO NOT MERGE

* commit '2f143fba74f6be91fe8805ef8bbdffe5b8ece8b4':
hardware: libhardware: Power HAL add power hints -- DO NOT MERGE
2f143fba74f6be91fe8805ef8bbdffe5b8ece8b4 24-Apr-2012 Todd Poynor <toddpoynor@google.com> hardware: libhardware: Power HAL add power hints -- DO NOT MERGE

Change-Id: I8ab0376e4f5d8ef09d5b1062cbfbb30c30c5bb96
Signed-off-by: Todd Poynor <toddpoynor@google.com>
nclude/hardware/power.h
odules/power/power.c
1d1775bb4dfc6d266e3f111dacaa546dc775732f 24-Apr-2012 Todd Poynor <toddpoynor@google.com> hardware: libhardware: Power HAL add power hints

Change-Id: I8ab0376e4f5d8ef09d5b1062cbfbb30c30c5bb96
Signed-off-by: Todd Poynor <toddpoynor@google.com>
nclude/hardware/power.h
odules/power/power.c
f7781bc9ddc89221c5768200667cfd7e6663d5ae 25-Apr-2012 Mike Lockwood <lockwood@google.com> Merge "Update USB audio HAL to use API"
46a9809e9cd50af84f3e554c3d4ac214a8519831 25-Apr-2012 Mike Lockwood <lockwood@google.com> Update USB audio HAL to use API

Also don't clear card and device when out_set_parameters is called
to set other parameters.

Change-Id: I4feda9f6a2e76cb45bbc8a8f8256bb1760302707
Signed-off-by: Mike Lockwood <lockwood@google.com>
odules/usbaudio/audio_hw.c
eb67160b995a504dd70a8f29d228ec837341eb07 25-Apr-2012 Mathias Agopian <mathias@google.com> fix typo in documentation

Change-Id: I2c55034c25edd466180cd9c5718c2ad568aeedff
nclude/hardware/hwcomposer.h
da4b0b26d170971448fdb04817b308900b5a6dd8 18-Apr-2012 Eric Laurent <elaurent@google.com> rename audio policy output flags.

Change-Id: I965fa9bcba45f223f2f2cbc4adccfb5491414c8b
nclude/hardware/audio_policy.h
odules/audio/audio_policy.c
55786bcf3ced97dea8fa7ce79df2889d4d06e8a7 11-Apr-2012 Eric Laurent <elaurent@google.com> audio: updated audio HAL device API

Modified open output and input stream functions to add new
parameters needed by audio HAL. Also grouped parameters
in a config structure for clarity.

Change-Id: I60832d8e5b5e4a48f209a6d83f5ca9c044be61f1
nclude/hardware/audio.h
odules/audio/audio_hw.c
0c8e630ad66b30058009b9afa682b28b7f55b33a 17-Apr-2012 Eino-Ville Talvala <etalvala@google.com> Merge "Revise camera HAL 2, and add unit test skeleton."
19957a37a0f92257d8cccb5cbcb6e57a836d33ac 07-Apr-2012 Simon Wilson <simonwilson@google.com> usbaudio: add initial usbaudio default HAL

Change-Id: I6e93b2512883f3697683a74cadb9a29113966bc0
odules/Android.mk
odules/usbaudio/Android.mk
odules/usbaudio/audio_hw.c
fed0c0244b569e0bae4280af145a94ef3b1a1468 22-Mar-2012 Eino-Ville Talvala <etalvala@google.com> Revise camera HAL 2, and add unit test skeleton.

- Add missing method in stream_ops (set_buffers_geometry)

- Remove extra method in stream_ops (set_swap_interval)

- Document metadata queue protocol

- Change metadata queue methods to be set/get through function calls
only, instead of a struct member in the HAL device ops.

- Change vendor extension tag query methods to be retrieved by a get
call, instead of a struct member in the HAL device ops.

- Add basic gtest unit test skeleton, which currently just returns
static info from all camera devices.

Change-Id: I94117097b0243023ad60638070cc7f0cefec18e6
nclude/hardware/camera2.h
ests/camera2/Android.mk
ests/camera2/camera2.cpp
6d3fec70d86fe8e8fb71b233d2de727fee3f6f3f 11-Apr-2012 Mathias Agopian <mathias@google.com> improve hwc VSYNC documentation

Change-Id: I5820d8fa183701ebbc0a825cf27bd0004b47d62e
nclude/hardware/hwcomposer.h
c65a2fe3925f46b4d4301cef97b308dbc3e22da9 28-Mar-2012 Eric Laurent <elaurent@google.com> audio policy: load audio hw modules.

Added methods to audio_policy_service_ops to load an audio hw module.

Added methods to open an output or input stream on a particualr module.

Change-Id: Ia0618053bec9978c1b7d2a5f6c02b78209557256
nclude/hardware/audio_policy.h
d126b910abe12432811ac38edd4b2a1d8306d94e 04-Apr-2012 Mathias Agopian <mathias@google.com> Merge "add support for VSYNC events in h/w composer HAL"
b934784bbef12856eb7c825b3b8dc10418eca8c4 04-Apr-2012 Eric Laurent <elaurent@google.com> Merge "audio: added definitions for audio HAL modules"
431fc78c112646f43d6d6f51b06d45d248d2f317 03-Apr-2012 Eric Laurent <elaurent@google.com> audio: added definitions for audio HAL modules

Change-Id: I16f8b42ab5de503d38086413b83e934ac9aa1f24
nclude/hardware/audio.h
b08d45dff634673e6dc5901a65f4c04bfdabf76e 24-Mar-2012 Mathias Agopian <mathias@google.com> add support for VSYNC events in h/w composer HAL

Change-Id: Ic19a41ae522a236f45957e50c792934d987b116a
nclude/hardware/hwcomposer.h
0cacd8d44b3f6ff6ec947bb6b2db1e382ee73bdb 10-Feb-2012 Glenn Kasten <gkasten@google.com> Update comments

Change-Id: I123d9baeceda13608cc01eda6a19e13822258dc0
nclude/hardware/audio.h
nclude/hardware/audio_policy.h
e8da6bf1cc12a45a6a273d4de6f5b935081c63e5 30-Mar-2012 Dima Zavin <dima@android.com> Merge "hardware: add some guidance on providing version defines"
e911e4c160a2569efeb4a83bb3a73daa49bc927a 28-Mar-2012 Eino-Ville Talvala <etalvala@google.com> Merge "Add specific version number constants to Camera HAL."
ddc026e39344169f64f4696174a4d1269d069557 28-Mar-2012 Eino-Ville Talvala <etalvala@google.com> Add specific version number constants to Camera HAL.

These constants should be used by HAL implementations to indicate
which versions of the module and device APIs they support.

Change-Id: I4b6eae278481545694e6a1827833b5958c26720c
nclude/hardware/camera.h
nclude/hardware/camera2.h
nclude/hardware/camera_common.h
2fe3ae5ec955773d389ef11c116848188dcf253f 27-Mar-2012 Dima Zavin <dima@android.com> hardware: add some guidance on providing version defines

Change-Id: I456cb209bc5d5eb739b6fd2e2f3e869caa363ff0
Signed-off-by: Dima Zavin <dima@android.com>
nclude/hardware/hardware.h
89c8a6df0eb70d30b83576741d8fdf23ba652b1d 27-Mar-2012 James Dong <jdong@google.com> Merge "Fixed an incorrect path for the include header file in a comment"
6be478050febaf0aeff61a24cc9fb087d79eb655 27-Mar-2012 Kenny Root <kroot@google.com> Merge "keymaster: add flags for keymaster features"
d0ca70d834f4c69bf798b5ac6a47a20f0ba908d1 27-Mar-2012 James Dong <jdong@google.com> Fixed an incorrect path for the include header file in a comment

Change-Id: I9c6f76279b54c2de66a31f751afc9222c345eb47
nclude/hardware/camera_common.h
3c338f473122e85fd64379524a91219872f80720 26-Mar-2012 Kenny Root <kroot@google.com> keymaster: add flags for keymaster features

The first flag is something for the default implementation to use to
indicate that its keys are importable to hardware keymasters. This
allows easy migration from the default software implementation to
hardware implementations as they become available.

Change-Id: Ideb26a4b1ac91ca8c330a4fe4df323f028b2f855
nclude/hardware/keymaster.h
6c64e7377246153a3152b46f5291ff9dcee8dc05 26-Mar-2012 Kenny Root <kroot@google.com> Merge "Add delete_all to keymaster API"
8ae65e71996ce871cda97cc9114cb5211cb273bf 24-Mar-2012 Kenny Root <kroot@google.com> Add delete_all to keymaster API

In order to aid keymasters erase their memory efficiently, introduce new
delete_all API to tell keymasters to forget everything. This will be
triggered when keystore itself is told to reset.

Change-Id: I730375f1f32cd1ea0bf1fa38d5b1bec2f81ba492
nclude/hardware/keymaster.h
ests/keymaster/keymaster_test.cpp
81c323dd54d5f0ea1e75ab392187608049b2326c 25-Mar-2012 Mathias Agopian <mathias@google.com> improve HWC versioning

Change-Id: Ieb50629f23c0d2b7af12c5541a8278a0979d2ee4
nclude/hardware/hwcomposer.h
eb8fb508148d809166a30783a14e186fda0e31c9 04-Feb-2012 Mathias Agopian <mathias@google.com> add support for setting the background color

this is a revision of the h/w composer API. This change
is binary backward compatible.

Change-Id: Id4cf43447594db9049f7e2c44ea08157ca725129
nclude/hardware/hwcomposer.h
caf62bd7fb288be42d207d88d1fd282de79aa085 23-Mar-2012 Kenny Root <kroot@google.com> Use frameworks/native copy of UniquePtr.h

Change-Id: Idfe46c057699b5f019f84e588bb8a9697e48236c
ests/keymaster/Android.mk
ests/keymaster/keymaster_test.cpp
daacbf40167040991382009523cb29a60b02abf2 22-Mar-2012 Eino-Ville Talvala <etalvala@google.com> Fix camera2.h header.

Change-Id: Ibcc93279da2180743d7bbe2561f2bf10879ae08e
nclude/hardware/camera2.h
7ace9aaed8713284a9f1d60ce5497e9b613c1bcc 22-Mar-2012 Eino-Ville Talvala <etalvala@google.com> Merge "Reorganize camera HAL, and add versioning support."
19a228cf0af411c6204c3e1b795392df8fd9c703 22-Mar-2012 Mike Lockwood <lockwood@google.com> Merge remote-tracking branch 'goog/ics-aah-exp'

empty -s ours merge

Change-Id: Idccc5a540d4d50ad529fe8d08a49fe55556dd9a8
8bf364ef20331ebcc23b1f72121434a98bc5c567 22-Dec-2011 Eino-Ville Talvala <etalvala@google.com> Reorganize camera HAL, and add versioning support.

Includes a draft of camera device HAL 2.

Change-Id: I5f56a8c54a33d0ca039360185822a9c22436cab8
nclude/hardware/camera.h
nclude/hardware/camera2.h
nclude/hardware/camera_common.h
02a5801af9e08559757773f1d22a5ae14bf12928 21-Mar-2012 Dima Zavin <dima@android.com> hardware: add hardware_device_api_version() macro

Change-Id: I79c4d65f6bab227364d5f271df9bd7bc565857c2
Signed-off-by: Dima Zavin <dima@android.com>
nclude/hardware/hardware.h
b0bef12f790d447a0797ce6b3bf66d6958f69ea9 21-Mar-2012 Dima Zavin <dima@android.com> Merge "libhardware: add current HAL version and a module version macro"
65820e4d7a0b89108b194284b94f6f82d28a875c 21-Mar-2012 Dima Zavin <dima@android.com> libhardware: add current HAL version and a module version macro

Change-Id: I30c67a6c5231f8b270b57f78bd6322c201b90859
Signed-off-by: Dima Zavin <dima@android.com>
nclude/hardware/hardware.h
fb0e64e40b01fb970f3b0e25741ada9ddb01e33f 20-Mar-2012 Dima Zavin <dima@android.com> Merge changes Ie543d3a9,I3e33e5a9

* changes:
hardware: provide temp version defines for source compatibility
hardware: rename version_major/minor to module/hal api version
8dc4e710c0dfa66564c8cea0af53f7b4e8e0f80a 20-Mar-2012 Dima Zavin <dima@android.com> hardware: provide temp version defines for source compatibility

This allows all the existing modules to have source level
compatibility until they are fixed to use the new field names.

Since the binary compatibility has not been altered, we do not
need to force all the implementors to rev their version numbers.

This change should be reverted when all the clients have been updated.

Change-Id: Ie543d3a972d8abe03ca5123e3000966f048d1771
Signed-off-by: Dima Zavin <dima@android.com>
nclude/hardware/hardware.h
2b57780d88e32ce9fde32dc085aef2fa7fd478e1 20-Mar-2012 Dima Zavin <dima@android.com> hardware: rename version_major/minor to module/hal api version

The previous names and documentation were not clear as to how the
version fields should be used. As a result, they were often either
unused or used improperly.

It became clear that there were two version fields necessary. One
to version the implementing module and the other to version the
hw_module_t interface itself.

This change renames version_major and version_minor members of
hw_module_t to module_api_version and hal_api_version. It also
provides in-depth descriptions for all the fields and clarifies
the purpose of the version field in hw_device_t structure.

Change-Id: I3e33e5a922cdc17c5e3b1c30a00e211394f18e86
Signed-off-by: Dima Zavin <dima@android.com>
nclude/hardware/hardware.h
4fd0db7cd15dc01d27d928feb5c7122c908fc70c 16-Mar-2012 Kenny Root <kroot@google.com> Add tests for keymaster API

This adds unit tests for implementors of the keymaster API. It can be
compiled and run as a stand-alone executable.

Change-Id: Id5bb8f4533b744c254b52e07df66a8d158dfda0d
ests/keymaster/Android.mk
ests/keymaster/keymaster_test.cpp
539c9936aec9cdd75054e24e07e7decdd1d4de39 15-Mar-2012 suyi Yuan <yuan.suyi@gmail.com> remove seemed useless gralloc_open() call in fb_device_open()

Change-Id: I520e460bd558934c71042b5a4fdb03b3935ad720
Signed-off-by: suyi Yuan <yuan.suyi@gmail.com>
odules/gralloc/framebuffer.cpp
b2959a49be9674513793fbf39a6255a473482728 13-Mar-2012 Kenny Root <kroot@google.com> Merge "Update keymaster API to final signing spec"
9271d04d888c5676ccd9707378d18cad0f06d607 13-Mar-2012 Kenny Root <kroot@google.com> Update keymaster API to final signing spec

Switch from unspecified encoding for import of keys to PKCS#8 (Java
standard encoding).

Add function for obtaining the public key from a keypair.

Add fields for RSA key generation that indicate modulus size and desired
public exponent.

Add in placeholder fields for possible digest and padding types for
signatures. Currently the only thing supported is "none" and "none"
respectively.

Change-Id: I19ee02cf35321aee859e2460a963c7213791414b
nclude/hardware/keymaster.h
a776bb2e81e5c3a36394867fcb30c141d2a3ac0e 09-Mar-2012 Rakesh Goyal <rgoyal@nvidia.com> am 6d2bc4fc: am 4cbd62c2: add i2c_device_address member to nfc_pn544_device_t

* commit '6d2bc4fc11ca04326eaf982f97d13d6410a73af2':
add i2c_device_address member to nfc_pn544_device_t
6d2bc4fc11ca04326eaf982f97d13d6410a73af2 09-Mar-2012 Rakesh Goyal <rgoyal@nvidia.com> am 4cbd62c2: add i2c_device_address member to nfc_pn544_device_t

* commit '4cbd62c2ca1600dcd2001d1c5a736abc043a0333':
add i2c_device_address member to nfc_pn544_device_t
4cbd62c2ca1600dcd2001d1c5a736abc043a0333 27-Jan-2012 Rakesh Goyal <rgoyal@nvidia.com> add i2c_device_address member to nfc_pn544_device_t

Add I2C slave address. Multiple I2C addresses are possible
for PN544 module. Configure address according to board design.

Change-Id: I847e8f3db631f5039cf15143a9982f4b9b209f27
nclude/hardware/nfc.h
odules/nfc/nfc_hw_example.c
83c62ce4e319a11d14a27c6368811f9efc1e8c5a 08-Mar-2012 Eric Laurent <elaurent@google.com> audio policy: use audio_devices_t when appropriate

Change-Id: Iee57cf5c3bdfefd981e1ed5958df10171f8716e6
nclude/hardware/audio_policy.h
odules/audio/audio_policy.c
a70c5d0cafe1ef9e4531627d3d009e80b9a8eec4 08-Mar-2012 Eric Laurent <elaurent@google.com> audio HAL : added string for A2DP address

Added a definition for A2DP sink address parameter.
It was previously defined at several places.

Change-Id: I757208e99db395f3d88c17e0de5ae303c71a85ec
nclude/hardware/audio.h
a9a5f5d57fbcf0f953b940788625404dbcd2cc52 05-Mar-2012 Jean-Michel Trivi <jmtrivi@google.com> Update comments to reflect audio channel mask type name change

Replace references to "audio_channels_t" by "audio_channel_mask_t"

Change-Id: If779a4c24e40c0fcdab8376b479bd20040d686da
nclude/hardware/audio_effect.h
d543b8ae4a38267a749e9a3e333455fb1209ab13 21-Feb-2012 Mathias Agopian <mathias@google.com> Merge "HWComposer: update the hwc_layer::handle docs"
c5d381186470c5868499eb8f75626e12b3b6628c 18-Feb-2012 Todd Poynor <toddpoynor@google.com> Merge "Power HAL: Add initial header file and default/legacy implementation"
c82792c0a4135c1a5de4e4f0ca47318fa5dd7e14 10-Jan-2012 Todd Poynor <toddpoynor@google.com> Power HAL: Add initial header file and default/legacy implementation

Change-Id: I43a515a8ffe72a9c4e7d5f7470a5e73e76d5e1b1
Signed-off-by: Todd Poynor <toddpoynor@google.com>
nclude/hardware/power.h
odules/Android.mk
odules/power/Android.mk
odules/power/power.c
60d0e5f24b40e4d9f4a191cfe4444ca98234deca 15-Feb-2012 Kenny Root <kroot@google.com> Add hardware API for key handling

Add a hardware API for key handling from "keystore"

Change-Id: I5fd192cc212dbb057ee2a7003d602382ee2cd2c0
nclude/hardware/keymaster.h
5ad38a901dcca2961f3ed35ae0b206c13bc515cd 15-Aug-2011 Mike J. Chen <mjchen@google.com> Modifications to audio_hal for Android@Home.

This is a squashed merge of the following changes:

Commit f560da61a5e128ca9f82f7fe939afcf1f09188c7
Author: John Grossman <johngro@google.com>
Date: Thu Aug 11 15:34:55 2011 -0700

Fill out a missing entry in the audio HAL function table.

The entry for get_initial_master_volume was missing from the non-legacy audio
HAL and needs to be filled out. Also fix up the order of the comments
describing the get_initial_master_volume method.

Change-Id: I87d5415ef92611497a6dab4c657fc00367c4d80b

commit cea82facb63fd237a4ea6fb770605fcb500850ff
Author: Jason Simmons <jsimmons@google.com>
Date: Thu Jun 16 14:24:24 2011 -0700

Define a replacement for getSampleDelta that returns a DMA start time and count of samples queued

Change-Id: I2d13f57b5a8c5b97fb3aa0a90834ce91c56864ef

commit 60a9acd7eee470a8d870218e8be618bfa3be15a5
Author: Mike J. Chen <mjchen@google.com>
Date: Tue Jun 7 09:13:23 2011 -0700

Add Android@Home extensions to new Audio HAL interface.

Change-Id: I3ea4676d4b7d2afd78a5a7a7003ad5c437276d05
Signed-off-by: Mike J. Chen <mjchen@google.com>

Change-Id: I09f3756d12a1ce4f9af39610ed857890742a72df
Signed-off-by: Mike J. Chen <mjchen@google.com>
Signed-off-by: John Grossman <johngro@google.com>

Conflicts:

include/hardware/audio.h
modules/audio/audio_hw.c
nclude/hardware/audio.h
odules/audio/audio_hw.c
odules/local_time/local_time_hw.c
ad255ee424e36f1fbf5e92e320328ceae1aecd49 15-Aug-2011 Mike J. Chen <mjchen@google.com> Add a HAL representing a system-wide local time counter.

This is a squashed merge of the following changes:

commit 9def1ae65f6b4d6a8fdec147fdcd34f22f08174a
Author: John Grossman <johngro@google.com>
Date: Fri Aug 12 11:47:20 2011 -0700

Change the signature of set_local_slew.

Changed the definition of the slew function in the local time HAL to take an
int16 instead of an int32 and to use the full range of the int instead of
attempting to imply any particular PPM range.

Change-Id: Ia67f50e77f1fe674a63ec69460e830d1191ef5a0

commit afab51327453d1bfc7423f8ce7a28933d8fc49b2
Author: John Grossman <johngro@google.com>
Date: Mon Jun 27 17:29:07 2011 -0700

Remove "primary" from the local_time HAL.

Interface instances are a pattern which should only be used by audio. Remove
its use from the local_time HAL.

Change-Id: If4c458cf16a02d9dc63c04185111ae793fc57801

commit 1c26e59a66e75ccb31027f42183aaa32bde6e456
Author: John Grossman <johngro@google.com>
Date: Fri Jun 17 14:19:24 2011 -0700

Refactor the local/common clock services.

This change is one of a set of 5 changes made to different repositories. Look
for this comment in all of them.

Refactor the local/common clock services to match android best
practice. Notable changes include

+ The kernel no longer knows anything about common time. Common time has been
moved completely up into user land. This has an impact on the accuracy of the
timesync debugging code, and the netfilter assisted approach to network based
timesync is going to have to be modified.
+ The timesync driver used by A@H is now just local time driver.
+ The kernel no longer needs access to the linear transform math code, and it
has been removed.
+ A new HAL has been introduced to expose the concept of local time to the
system.
+ A non-slewable stub implementation of the local time HAL based on
CLOCK_MONOTONIC has been added.
+ The old library has been eliminated. Its functionality has been
distributed among the common time binder service, the local time hal and the
linear transform utility code.
+ All clients of the old library have been changed to be clients of
the binder service, the hal and the utility code.
+ The reset_tt utilities have been removed, they no longer have a purpose in the
system.

Change-Id: I39843b94f9b6d13f63b22145a2edcafe4ca87349

Change-Id: Ib264c992d564b99ef7c7847a788e4fa7f5e101b4
Signed-off-by: Mike J. Chen <mjchen@google.com>
Signed-off-by: John Grossman <johngro@google.com>

Conflicts:

modules/Android.mk
nclude/hardware/local_time_hal.h
odules/Android.mk
odules/local_time/Android.mk
odules/local_time/local_time_hw.c
bfb28ccfc681a78e8b4d2a167db79029e55955c1 08-Feb-2012 Glenn Kasten <gkasten@google.com> Merge "Effect UUID inputs passed by pointer are const"
2be4db4a95a8d586984624f20f55705f5f0f1ae3 03-Feb-2012 Glenn Kasten <gkasten@google.com> Merge "Use audio_in_acoustics_t consistently"
75a8b8f9492ab6746c7d4147a87d9e21c42b3a96 30-Jan-2012 Glenn Kasten <gkasten@google.com> Effect UUID inputs passed by pointer are const

Change-Id: I3ef6d83ae539aef32f2a251660b2e2f9646eace5
nclude/hardware/audio_effect.h
114c2fd2d3d953763edb4372324c993bd66cbe91 27-Jan-2012 Glenn Kasten <gkasten@google.com> Use audio_in_acoustics_t consistently

Change-Id: Id49ad9631092db8c9ace0f45db918f708b0b32e9
nclude/hardware/audio_policy.h
ae2e42b2447d011bd6cf9d5b4413dd3557de0035 27-Jan-2012 Glenn Kasten <gkasten@google.com> Use audio_source_t consistently

Change-Id: Ie25ddeb091646b7e24149b3b23a18ce0807e1891
nclude/hardware/audio_policy.h
odules/audio/audio_policy.c
ea84c55f2ce47e54fc0e73f69f3e283e2e9afe59 20-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "Use audio_format_t consistently"
7c50e9bad4173cddff6dfc49ee0d4e10053867b4 26-Jul-2011 Eino-Ville Talvala <etalvala@google.com> Add timestamp control to camera preview stream operations.

At higher levels, SurfaceTextures include timestamp information in
their buffers. For accurate timestamps, they need to be set by the
driver code. This change adds the needed method into
preview_stream_ops.

Timestamp behavior is documented in SurfaceTexture.java, and
system/core/include/window.h, as well as here.

Bug-Id: 5081132
Change-Id: Id285f8e26edecf605444bc4b9e6eea9b224f9d31
nclude/hardware/camera.h
080a80212b6ec954fe8a424d9fb286c5cf1d5021 19-Jan-2012 Glenn Kasten <gkasten@google.com> Audio policy HAL set_ringer_mode is deprecated

Change-Id: If0f82d5c1cb9a0faf70f5a8434f68cdc39784ee6
nclude/hardware/audio_policy.h
odules/audio/audio_policy.c
d4cf73b3628f8802400f0de18e02913276960cca 18-Jan-2012 Eric Laurent <elaurent@google.com> Merge "audio policy: manage stream volume per device"
5b2053669183c7d2bb4d52b12fef068e5927c312 17-Jan-2012 Eric Laurent <elaurent@google.com> Merge "audio effects: add auxiliary channel feature"
fad1f606a2a67ed15ea5ef0368cb3eb94756baae 17-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "set_mode and set_phone_state now take audio_mode_t"
ca20b17b419eec2b196877be38f9c4290449aeac 10-Dec-2011 Eric Laurent <elaurent@google.com> audio policy: manage stream volume per device

Improve volume management by keeping track of volume for each type
of device independently.

Added functions at the audio policy interface to set and get stream volume
for a particular device.

Change-Id: Ic8899e82e48193cb65b3673e9d20383efed943b5
nclude/hardware/audio_policy.h
odules/audio/audio_policy.c
c38e7baa4f7f0ee69ba494a4624d1f6dd3e21bec 17-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "Use size_t for frame size"
80eed7f0964eab6e622dbf2449be47e410a4fa0d 17-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "Use audio_stream_type_t consistently"
66861e374070e50b11ae262e84854c16b297153d 21-Dec-2011 Eric Laurent <elaurent@google.com> audio effects: add auxiliary channel feature

Added API to query and configure effects supporting auxiliary channels.
An auxiliary channel contains an additional audio signal helping in the
processing of the main channel. An example is a dual mic noise suppressor
were the main channel contains the signal from the main mic and the aux channel
containss the signal from the sub mic.

Change-Id: Ibb7a19d7f492720ebad0be45f78f996e0beba272
nclude/hardware/audio_effect.h
a26cbac8a0f71ba59a89e250caaa1155f0179751 13-Jan-2012 Glenn Kasten <gkasten@google.com> Use size_t for frame size

Change-Id: Ib96808544ee6fd76d0c8ff42e27b9c05518e8415
nclude/hardware/audio.h
9fc1eaed52e5ff4bf188aec5dba00c6e1c37bad5 13-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "Fix typo in gralloc.h"
5161a847dd2108bec49f1ce3fa1d1c3e3cd0c851 12-Jan-2012 Glenn Kasten <gkasten@google.com> Use audio_stream_type_t consistently

Change-Id: I1e92f018a07e4b1b73ef8d4de461ef1e08bc48e7
nclude/hardware/audio_policy.h
odules/audio/audio_policy.c
fe79eb3f06967f863a637e546eb4421d0da2283b 12-Jan-2012 Glenn Kasten <gkasten@google.com> Use audio_format_t consistently

Was sometimes int or uint32_t

Change-Id: Ib3d82f5aefeda371c0439e43e72737a54882f519
nclude/hardware/audio.h
nclude/hardware/audio_policy.h
odules/audio/audio_hw.c
odules/audio/audio_policy.c
6df641e269639dbb81bb1c19f47d3b9e5e3ff7d7 09-Jan-2012 Glenn Kasten <gkasten@google.com> set_mode and set_phone_state now take audio_mode_t

Change-Id: I12a3a5ad6c3cadc6b9de8281f78edfef53908e2d
nclude/hardware/audio.h
nclude/hardware/audio_policy.h
odules/audio/audio_hw.c
odules/audio/audio_policy.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
ardware.c
odules/gralloc/framebuffer.cpp
odules/gralloc/gralloc.cpp
odules/gralloc/gralloc_priv.h
odules/gralloc/mapper.cpp
f678d4745081038659a72b7c581e00612647f25d 06-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "Add comment about actual type of set_mode"
af320d75002466b3c26eb5e3fa98102cf395ee49 20-Dec-2011 Glenn Kasten <gkasten@google.com> Add comment about actual type of set_mode

Change-Id: Ie50a66894831763b6e9eb6aa490441d7759cbeef
nclude/hardware/audio.h
22d351317af55274b7020c58b83660f4bfcef66b 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/157065

Bug: 5449033
Change-Id: I135fadaf10e95af1eb918889a22980c194c650ca
odules/gralloc/framebuffer.cpp
b224b78c143241ab5d120af27fc110d1dc3f32a2 04-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/156801

Bug: 5449033
Change-Id: Ia8b6f74b27098b3dba27f177a76264eb23f849ee
odules/gralloc/framebuffer.cpp
cee8501c1623765d5287fcd440fbf8001b9de183 20-Dec-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/156016

Bug: 5449033
Change-Id: I98e83cc9d22f0ea8fbf397ccccd9ce7773119551
odules/gralloc/mapper.cpp
odules/hwcomposer/hwcomposer.cpp
9c5466b6167a773eb4a313a59fddbcd986973120 20-Dec-2011 Jamie Gennis <jgennis@google.com> HWComposer: update the hwc_layer::handle docs

Change-Id: I3c1211146b2e5f84546724c86f344bd2e63bd55c
nclude/hardware/hwcomposer.h
922f9e6e5f11faba43bc06b018cd66a0935bf9fb 19-Dec-2011 Eric Laurent <elaurent@google.com> audio effects: rename configure command

Renamed audio effect library interface command for audio format
configuration from EFFECT_CMD_CONFIGURE to EFFECT_CMD_SET_CONFIG.
This makes the naming more consistent with other exixsting commands
and allow adding new a command to get the configuration (EFFECT_CMD_GET_CONFIG).
Same change for reverse channel configuration renamed from
EFFECT_CMD_CONFIGURE_REVERSE to EFFECT_CMD_SET_CONFIG_REVERSE.

Change-Id: I1cc462aa50e58ceec900b3da9bd3873d2d098098
nclude/hardware/audio_effect.h
bb56a1007d80ef8165493395ac8c9b0bf05a435f 30-Nov-2011 Glenn Kasten <gkasten@google.com> Fix typo in gralloc.h

Change-Id: I8d989b21e10e19ae4124188f02ef84eeabdb4654
nclude/hardware/gralloc.h
72ba865479be8c7393923b6ea195196838ffa57b 29-Nov-2011 Mathias Agopian <mathias@google.com> am f1d76bb7: am a9b677fc: Merge "improve h/w composer documentation" into ics-mr1

* commit 'f1d76bb7446961be2221fa8a597d60643b7803be':
improve h/w composer documentation
f1d76bb7446961be2221fa8a597d60643b7803be 29-Nov-2011 Mathias Agopian <mathias@google.com> am a9b677fc: Merge "improve h/w composer documentation" into ics-mr1

* commit 'a9b677fce432b29ab8f61e13796f34880dc0fe0f':
improve h/w composer documentation
608e2881ef4a4e34d87152b7fbaca43149aec408 29-Nov-2011 Mathias Agopian <mathias@google.com> am a9b677fc: Merge "improve h/w composer documentation" into ics-mr1

* commit 'a9b677fce432b29ab8f61e13796f34880dc0fe0f':
improve h/w composer documentation
a9b677fce432b29ab8f61e13796f34880dc0fe0f 29-Nov-2011 Mathias Agopian <mathias@google.com> Merge "improve h/w composer documentation" into ics-mr1
bfab47864a07568d74d5582656ebbcf028392b04 22-Nov-2011 Jamie Gennis <jgennis@google.com> am 66b00021: am 29ead941: Gralloc: add a usage bit for video encoding

* commit '66b00021151c7dbce38106960431226f6012d121':
Gralloc: add a usage bit for video encoding
cada84265a7fbed8c1b4b7e758efe8e79d7e98b0 22-Nov-2011 Jamie Gennis <jgennis@google.com> am 29ead941: Gralloc: add a usage bit for video encoding

* commit '29ead941b377cb87bcc7fe48208b96d84d649d43':
Gralloc: add a usage bit for video encoding
66b00021151c7dbce38106960431226f6012d121 22-Nov-2011 Jamie Gennis <jgennis@google.com> am 29ead941: Gralloc: add a usage bit for video encoding

* commit '29ead941b377cb87bcc7fe48208b96d84d649d43':
Gralloc: add a usage bit for video encoding
29ead941b377cb87bcc7fe48208b96d84d649d43 22-Nov-2011 Jamie Gennis <jgennis@google.com> Gralloc: add a usage bit for video encoding

This change adds a new Gralloc usage bit to indicate that a buffer will
be passed to the HW video encoder.

Change-Id: I75c3fc514906e5b18fb60345a2d9c5a606403633
nclude/hardware/gralloc.h
71212e3fca328630aba1ebfa1299a8719b80f476 22-Nov-2011 Mathias Agopian <mathias@google.com> improve h/w composer documentation

Change-Id: Ia3f47c1750f5a436037e4391d6744d63639ee099
nclude/hardware/hwcomposer.h
66ae214f908e1abea34a75977224a88bd31af413 18-Nov-2011 Jean-Baptiste Queru <jbq@google.com> am 4ef5e2e5: Merge from AOSP

* commit '4ef5e2e5376043e433e01b61d219dd2444719893':
improve sensor HAL documentation
change sensor HAL documentation to allow setting polling rate for "non continuous" sensors
4ef5e2e5376043e433e01b61d219dd2444719893 18-Nov-2011 Jean-Baptiste Queru <jbq@google.com> Merge from AOSP

Change-Id: I41161514ae072b40bf4c94a9392007de1e9db937
df0db69c7aa3d17a2daaa3fc96c9462924044cf5 17-Nov-2011 Mathias Agopian <mathias@google.com> am fb410365: improve hw composer documentation

* commit 'fb410365ca67d36d4c81d7826712c6a05437612f':
improve hw composer documentation
7dbfb96eaff5ff9e69b4419d6881ddcf3e5891bf 17-Nov-2011 Mathias Agopian <mathias@google.com> am fb410365: improve hw composer documentation

* commit 'fb410365ca67d36d4c81d7826712c6a05437612f':
improve hw composer documentation
fb410365ca67d36d4c81d7826712c6a05437612f 16-Nov-2011 Mathias Agopian <mathias@google.com> improve hw composer documentation

Change-Id: I39363e37417991b9853309154d6691240e706acf
nclude/hardware/hwcomposer.h
c72c5311c167736e186e51934e4d9d8e25fd599f 08-Nov-2011 Mathias Agopian <mathias@google.com> improve sensor HAL documentation

Change-Id: If2c1613902de6ed0e6cae8fe4755948c0f623bda
nclude/hardware/sensors.h
552c9f7e64df8238d63ac496b4f36f374aafa7ad 02-Nov-2011 Mathias Agopian <mathias@google.com> change sensor HAL documentation to allow setting polling rate for "non continuous" sensors

the current API / Documentation would not allow to set the
rate of "non continuous" sensors.

Most sensors HAL implementation already support changing the rate
(technically they're not compliant with the doc), so it's easier
to change the doc (and also allows more control).

Change-Id: I4ad324ddc3b569ec61770b3cf927c06f8ff4af4e
nclude/hardware/sensors.h
f04ab0706baf15234ce8601573f975a7cbbc1579 10-Nov-2011 Mathias Agopian <mathias@google.com> am e9eaf372: improve sensor HAL documentation

* commit 'e9eaf3721dd715901d669df6488b1ecd63b1e634':
improve sensor HAL documentation
8e8c1776bf0b63bf87ee575fd6e3d1d1111e45ef 09-Nov-2011 Mathias Agopian <mathias@google.com> am e9eaf372: improve sensor HAL documentation

* commit 'e9eaf3721dd715901d669df6488b1ecd63b1e634':
improve sensor HAL documentation
e9eaf3721dd715901d669df6488b1ecd63b1e634 08-Nov-2011 Mathias Agopian <mathias@google.com> improve sensor HAL documentation

Change-Id: If2c1613902de6ed0e6cae8fe4755948c0f623bda
nclude/hardware/sensors.h
a65be35d310119d684ecb403d26599a2ec8d594e 07-Nov-2011 Martijn Coenen <maco@google.com> resolved conflicts for merge of 45065f97 to ics-aah

Change-Id: I1e76a495d1ff76a49bfa091f63ed5bfc1d4f49c9
1892e4ebd144a2719d32cc8c0c166eaa033a8a46 07-Nov-2011 Martijn Coenen <maco@google.com> am 45065f97: Merge "New NFC HAL." into ics-mr1

* commit '45065f97354b4411d99dd57b348f758c6dbb5479':
New NFC HAL.
45065f97354b4411d99dd57b348f758c6dbb5479 07-Nov-2011 Martijn Coenen <maco@google.com> Merge "New NFC HAL." into ics-mr1
77b9ddbdb9ea79cd085264d49afa289e86e7110b 05-Nov-2011 Mathias Agopian <mathias@google.com> am 15879d89: change sensor HAL documentation to allow setting polling rate for "non continuous" sensors

* commit '15879d89af055f6cd651a94125a3802b526c3d66':
change sensor HAL documentation to allow setting polling rate for "non continuous" sensors
f1802c8091f07d66df563a950f06ed7e1c08c293 04-Nov-2011 Mathias Agopian <mathias@google.com> am 15879d89: change sensor HAL documentation to allow setting polling rate for "non continuous" sensors

* commit '15879d89af055f6cd651a94125a3802b526c3d66':
change sensor HAL documentation to allow setting polling rate for "non continuous" sensors
44ae5b24766f8ce4b6b5de01f1deb296d99efd57 03-Nov-2011 Martijn Coenen <maco@google.com> New NFC HAL.

First implementation of a NFC HAL. This implementation doesn't
offer a generic NFC device HAL (yet), but offers typed interfaces
for different NFC controllers. Currently only the PN544 is supported.

Change-Id: I3ac04dcd767fb12a433edbe88ec7068eb1930a57
nclude/hardware/nfc.h
odules/Android.mk
odules/nfc/Android.mk
odules/nfc/nfc_hw_example.c
15879d89af055f6cd651a94125a3802b526c3d66 02-Nov-2011 Mathias Agopian <mathias@google.com> change sensor HAL documentation to allow setting polling rate for "non continuous" sensors

the current API / Documentation would not allow to set the
rate of "non continuous" sensors.

Most sensors HAL implementation already support changing the rate
(technically they're not compliant with the doc), so it's easier
to change the doc (and also allows more control).

Change-Id: I4ad324ddc3b569ec61770b3cf927c06f8ff4af4e
nclude/hardware/sensors.h
3e9dd0a0a2956d5d98ca175606e8d59304474cfa 28-Oct-2011 Ed Heyl <ed@google.com> keep previous history after reset to mr1 plus aah changes (ics-aah-wip)
71f274c6f13ce1decc39ce3135bee1ce8f6a8eb0 15-Aug-2011 Mike J. Chen <mjchen@google.com> Modifications to audio_hal for Android@Home Tungsten.

This is a squashed merge from master-tungsten of the following changes:

Commit f560da61a5e128ca9f82f7fe939afcf1f09188c7
Author: John Grossman <johngro@google.com>
Date: Thu Aug 11 15:34:55 2011 -0700

Fill out a missing entry in the audio HAL function table.

The entry for get_initial_master_volume was missing from the non-legacy audio
HAL and needs to be filled out. Also fix up the order of the comments
describing the get_initial_master_volume method.

Change-Id: I87d5415ef92611497a6dab4c657fc00367c4d80b

commit cea82facb63fd237a4ea6fb770605fcb500850ff
Author: Jason Simmons <jsimmons@google.com>
Date: Thu Jun 16 14:24:24 2011 -0700

Define a replacement for getSampleDelta that returns a DMA start time and count of samples queued

Change-Id: I2d13f57b5a8c5b97fb3aa0a90834ce91c56864ef

commit 60a9acd7eee470a8d870218e8be618bfa3be15a5
Author: Mike J. Chen <mjchen@google.com>
Date: Tue Jun 7 09:13:23 2011 -0700

Add Tungsten extensions to new Audio HAL interface.

Change-Id: I3ea4676d4b7d2afd78a5a7a7003ad5c437276d05
Signed-off-by: Mike J. Chen <mjchen@google.com>

Change-Id: Id9d0d2fb2fb28e2868f4eb8d8fbf86a975c47ceb
Signed-off-by: Mike J. Chen <mjchen@google.com>
Signed-off-by: John Grossman <johngro@google.com>
nclude/hardware/audio.h
odules/audio/audio_hw.c
ce59ece24688f10a15a455a5b34dfef98094561d 15-Aug-2011 Mike J. Chen <mjchen@google.com> Add a HAL representing a system-wide local time counter.

This is a squashed merge from master-tungsten of the following changes:

commit 9def1ae65f6b4d6a8fdec147fdcd34f22f08174a
Author: John Grossman <johngro@google.com>
Date: Fri Aug 12 11:47:20 2011 -0700

Change the signature of set_local_slew.

Changed the definition of the slew function in the local time HAL to take an
int16 instead of an int32 and to use the full range of the int instead of
attempting to imply any particular PPM range.

Change-Id: Ia67f50e77f1fe674a63ec69460e830d1191ef5a0

commit afab51327453d1bfc7423f8ce7a28933d8fc49b2
Author: John Grossman <johngro@google.com>
Date: Mon Jun 27 17:29:07 2011 -0700

Remove "primary" from the local_time HAL.

Interface instances are a pattern which should only be used by audio. Remove
its use from the local_time HAL.

Change-Id: If4c458cf16a02d9dc63c04185111ae793fc57801

commit 1c26e59a66e75ccb31027f42183aaa32bde6e456
Author: John Grossman <johngro@google.com>
Date: Fri Jun 17 14:19:24 2011 -0700

Refactor the local/common clock services.

This change is one of a set of 5 changes made to different repositories. Look
for this comment in all of them.

Refactor the local/common clock services in tungsten to match android best
practice. Notable changes include

+ The kernel no longer knows anything about common time. Common time has been
moved completely up into user land. This has an impact on the accuracy of the
timesync debugging code, and the netfilter assisted approach to network based
timesync is going to have to be modified.
+ The timesync driver used by A@H is now just local time driver.
+ The kernel no longer needs access to the linear transform math code, and it
has been removed.
+ A new HAL has been introduced to expose the concept of local time to the
system.
+ A non-slewable stub implementation of the local time HAL based on
CLOCK_MONOTONIC has been added.
+ The TungstenTime library has been eliminated. Its functionality has been
distributed among the common time binder service, the local time hal and the
linear transform utility code.
+ All clients of the old TungstenTime library have been changed to be clients of
the binder service, the hal and the utility code.
+ The reset_tt utilities have been removed, they no longer have a purpose in the
system.
+ more progress has been made in eliminating the word "tungsten" from the code.

Things left to do include
+ Finish getting rid of tungsten from the time service.
+ Move the time service into the framework; AudioFlinger's new timed mode
depends on it and the service cannot continue to live in vendor tungsten.

Change-Id: I39843b94f9b6d13f63b22145a2edcafe4ca87349

Change-Id: Ifbc8c4c28c1cf45a762dd4fb00f8dffccd7efe94
Signed-off-by: Mike J. Chen <mjchen@google.com>
Signed-off-by: John Grossman <johngro@google.com>
nclude/hardware/local_time_hal.h
odules/Android.mk
odules/local_time/Android.mk
odules/local_time/local_time_hw.c
530211b161825e76be5d396540a115eded5c195d 26-Oct-2011 Ed Heyl <ed@google.com> undo reset to ics-mr1 until we have a better method
3f6886df152b858399692dfb67e82f7fa2b40627 26-Oct-2011 Ed Heyl <ed@google.com> reset to ics-mr1, but keep history
1e28bb373426d251eedbe1192c8d45975dddfe5f 26-Oct-2011 Steve Block <steveblock@google.com> am 7567eba2: (-s ours) Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGE

* commit '7567eba2afa94abee27965d68c29b31d79b19e60':
Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGE
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
ardware.c
be1d7317e52c42de7f145910c0b1f7b633d32452 27-Sep-2011 David 'Digit' Turner <digit@google.com> am cf209523: am 7bd7dd5d: am 3c935eda: resolved conflicts for merge of 33fddf0c to gingerbread-plus-aosp

* commit 'cf209523884350a3ad6af5840f1b0ae2dde9b98b':
emulator: Add <hardware/qemu_pipe.h> header
cf209523884350a3ad6af5840f1b0ae2dde9b98b 27-Sep-2011 David 'Digit' Turner <digit@google.com> am 7bd7dd5d: am 3c935eda: resolved conflicts for merge of 33fddf0c to gingerbread-plus-aosp

* commit '7bd7dd5d49e21c66c83618cb9f85ef43af29e441':
emulator: Add <hardware/qemu_pipe.h> header
7d68d150f784da921b258cdbb330d0fc8d1aef97 27-Sep-2011 Mathias Agopian <mathias@google.com> am cc3f6a34: improve sensor HAL test

* commit 'cc3f6a345b0cc356b22f9ea748505ce8a705d358':
improve sensor HAL test
7bd7dd5d49e21c66c83618cb9f85ef43af29e441 23-Sep-2011 David 'Digit' Turner <digit@google.com> am 3c935eda: resolved conflicts for merge of 33fddf0c to gingerbread-plus-aosp

* commit '3c935eda2dcd96eda70da6367d705b3b081f6524':
emulator: Add <hardware/qemu_pipe.h> header
3c935eda2dcd96eda70da6367d705b3b081f6524 23-Sep-2011 David 'Digit' Turner <digit@google.com> resolved conflicts for merge of 33fddf0c to gingerbread-plus-aosp

Change-Id: I8720ca884f326b661e30b51c4cf1cfe31c1ac579
cc3f6a345b0cc356b22f9ea748505ce8a705d358 19-Sep-2011 Mathias Agopian <mathias@google.com> improve sensor HAL test

Change-Id: Id5e22ae2b9cb3bf71ec235a2ec6bb4319d0389da
ests/nusensors/nusensors.cpp
33fddf0ca9801080472116654264be63a21b6e80 16-Sep-2011 David 'Digit' Turner <digit@google.com> emulator: Add <hardware/qemu_pipe.h> header

This header is required by our GLES emulation guest code to be able
to access the emulator services provided through the /dev/qemu_pipe
special device.

Change-Id: Ia9782256048d7340237f3e1d18d7452dd815e561
nclude/hardware/qemu_pipe.h
619febb15c1e789cb6f1346c6b42c12c2f8bf0bc 15-Aug-2011 Mike J. Chen <mjchen@google.com> Modifications to audio_hal for Android@Home Tungsten.

This is a squashed merge from master-tungsten of the following changes:

Commit f560da61a5e128ca9f82f7fe939afcf1f09188c7
Author: John Grossman <johngro@google.com>
Date: Thu Aug 11 15:34:55 2011 -0700

Fill out a missing entry in the audio HAL function table.

The entry for get_initial_master_volume was missing from the non-legacy audio
HAL and needs to be filled out. Also fix up the order of the comments
describing the get_initial_master_volume method.

Change-Id: I87d5415ef92611497a6dab4c657fc00367c4d80b

commit cea82facb63fd237a4ea6fb770605fcb500850ff
Author: Jason Simmons <jsimmons@google.com>
Date: Thu Jun 16 14:24:24 2011 -0700

Define a replacement for getSampleDelta that returns a DMA start time and count of samples queued

Change-Id: I2d13f57b5a8c5b97fb3aa0a90834ce91c56864ef

commit 60a9acd7eee470a8d870218e8be618bfa3be15a5
Author: Mike J. Chen <mjchen@google.com>
Date: Tue Jun 7 09:13:23 2011 -0700

Add Tungsten extensions to new Audio HAL interface.

Change-Id: I3ea4676d4b7d2afd78a5a7a7003ad5c437276d05
Signed-off-by: Mike J. Chen <mjchen@google.com>

Change-Id: I09f3756d12a1ce4f9af39610ed857890742a72df
Signed-off-by: Mike J. Chen <mjchen@google.com>
Signed-off-by: John Grossman <johngro@google.com>
nclude/hardware/audio.h
odules/audio/audio_hw.c
643b5c6744b52c4db51fe1492854fb97596a5610 15-Aug-2011 Mike J. Chen <mjchen@google.com> Add a HAL representing a system-wide local time counter.

This is a squashed merge from master-tungsten of the following changes:

commit 9def1ae65f6b4d6a8fdec147fdcd34f22f08174a
Author: John Grossman <johngro@google.com>
Date: Fri Aug 12 11:47:20 2011 -0700

Change the signature of set_local_slew.

Changed the definition of the slew function in the local time HAL to take an
int16 instead of an int32 and to use the full range of the int instead of
attempting to imply any particular PPM range.

Change-Id: Ia67f50e77f1fe674a63ec69460e830d1191ef5a0

commit afab51327453d1bfc7423f8ce7a28933d8fc49b2
Author: John Grossman <johngro@google.com>
Date: Mon Jun 27 17:29:07 2011 -0700

Remove "primary" from the local_time HAL.

Interface instances are a pattern which should only be used by audio. Remove
its use from the local_time HAL.

Change-Id: If4c458cf16a02d9dc63c04185111ae793fc57801

commit 1c26e59a66e75ccb31027f42183aaa32bde6e456
Author: John Grossman <johngro@google.com>
Date: Fri Jun 17 14:19:24 2011 -0700

Refactor the local/common clock services.

This change is one of a set of 5 changes made to different repositories. Look
for this comment in all of them.

Refactor the local/common clock services in tungsten to match android best
practice. Notable changes include

+ The kernel no longer knows anything about common time. Common time has been
moved completely up into user land. This has an impact on the accuracy of the
timesync debugging code, and the netfilter assisted approach to network based
timesync is going to have to be modified.
+ The timesync driver used by A@H is now just local time driver.
+ The kernel no longer needs access to the linear transform math code, and it
has been removed.
+ A new HAL has been introduced to expose the concept of local time to the
system.
+ A non-slewable stub implementation of the local time HAL based on
CLOCK_MONOTONIC has been added.
+ The TungstenTime library has been eliminated. Its functionality has been
distributed among the common time binder service, the local time hal and the
linear transform utility code.
+ All clients of the old TungstenTime library have been changed to be clients of
the binder service, the hal and the utility code.
+ The reset_tt utilities have been removed, they no longer have a purpose in the
system.
+ more progress has been made in eliminating the word "tungsten" from the code.

Things left to do include
+ Finish getting rid of tungsten from the time service.
+ Move the time service into the framework; AudioFlinger's new timed mode
depends on it and the service cannot continue to live in vendor tungsten.

Change-Id: I39843b94f9b6d13f63b22145a2edcafe4ca87349

Change-Id: Ib264c992d564b99ef7c7847a788e4fa7f5e101b4
Signed-off-by: Mike J. Chen <mjchen@google.com>
Signed-off-by: John Grossman <johngro@google.com>
nclude/hardware/local_time_hal.h
odules/Android.mk
odules/local_time/Android.mk
odules/local_time/local_time_hw.c
78d2c69af4ab35ac6ae8e78fc3a61e7023a60769 11-Aug-2011 Eric Laurent <elaurent@google.com> audio policy: register effect CPU on enable

Added a method on audio policy interface to register
audio effect CPU usage on enable and unregister on disable
instead of when the effect is created or destroyed.

Change-Id: Iee20bf70fee7302f817ec4c7d9bf7640caca2e95
nclude/hardware/audio_policy.h
odules/audio/audio_policy.c
2f94535daa4f470e05602a029864247f36e9d496 10-Aug-2011 Jamie Gennis <jgennis@google.com> Merge "Gralloc: add a HWComposer usage bit"
54c673d30a23bdd428f7e5700590f69b9f0910b6 10-Aug-2011 David Turner <digit@android.com> am 73bff7f3: am bce402a8: Merge "qemu_pipe: fix Mac build error."

* commit '73bff7f3fddf182bc51a0e20096b76d9e0d877ad':
qemu_pipe: fix Mac build error.
3e7bfaede6e6604b643c3692d3f465c13ba73db2 10-Aug-2011 Vladimir Chtchetkine <vchtchetkine@google.com> am abe47190: am 079ff13b: Merge "Enable connection to QEMUD via pipe."

* commit 'abe471909d749c7430409c00bdbc39bbf8ff0c43':
Enable connection to QEMUD via pipe.
4b560d5563ee4699cd24938c2f13b4a416408273 10-Aug-2011 Jamie Gennis <jgennis@google.com> Gralloc: add a HWComposer usage bit

This change adds a new Gralloc usage bit to indicate that the Gralloc
buffer being allocated will be passed to the HWComposer HAL module.

Change-Id: If901f886cb22fc8379811898db3a380a61c0e442
nclude/hardware/gralloc.h
73bff7f3fddf182bc51a0e20096b76d9e0d877ad 09-Aug-2011 David Turner <digit@android.com> am bce402a8: Merge "qemu_pipe: fix Mac build error."

* commit 'bce402a8fadf27b07b164b0468e27bb9b6de79e6':
qemu_pipe: fix Mac build error.
bce402a8fadf27b07b164b0468e27bb9b6de79e6 09-Aug-2011 David Turner <digit@android.com> Merge "qemu_pipe: fix Mac build error."
554566e1aecfc2764038e1dbc2139ee1122861a9 09-Aug-2011 David Turner <digit@android.com> qemu_pipe: fix Mac build error.

The <hardware/qemu_pipe.h> header was missing an include
that causes the code under development/tools/emulator/opengl
to fail to compile on OS X.

You need to define BUILD_EMULATOR_OPENGL=true in your
environment, otherwise this code doesn't get built yet by default.

Change-Id: Ia1b48c0ab84f493f3c9f95030d9165961069fb6e
nclude/hardware/qemu_pipe.h
abe471909d749c7430409c00bdbc39bbf8ff0c43 08-Aug-2011 Vladimir Chtchetkine <vchtchetkine@google.com> am 079ff13b: Merge "Enable connection to QEMUD via pipe."

* commit '079ff13b07b41d49c4d2f961ba6131960bd81c89':
Enable connection to QEMUD via pipe.
079ff13b07b41d49c4d2f961ba6131960bd81c89 08-Aug-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Merge "Enable connection to QEMUD via pipe."
70e8110fcf2c35d1ac67f0eb4a2702014a16719b 07-Aug-2011 Eric Laurent <elaurent@google.com> audio HAL: add support for TTY mode selection

Change-Id: I680e008a091e31e6c0b11adb26f6b232829baacb
nclude/hardware/audio.h
39e2630dd95ee8b9dc980fedee88966227811b1b 04-Aug-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Enable connection to QEMUD via pipe.

With the new model, we will try to connect client via pipe first, and only if
the pipe connection is not available we will fall back to the socket connection.

Change-Id: I7112ff3cb63e1f82a004b80b9ae579d97e15e029
nclude/hardware/qemu_pipe.h
nclude/hardware/qemud.h
ee43a308b6d89442e41d5c14bf5831a213b681a9 04-Aug-2011 Mike Lockwood <lockwood%android.com@gtempaccount.com> am 20013279: am 4306ca7d: Merge "GPS: added update_network_availability to AGpsRilInterface"

* commit '20013279f3dacec0b1d6c2844213d762b469cf98':
GPS: added update_network_availability to AGpsRilInterface
20013279f3dacec0b1d6c2844213d762b469cf98 04-Aug-2011 Mike Lockwood <lockwood%android.com@gtempaccount.com> am 4306ca7d: Merge "GPS: added update_network_availability to AGpsRilInterface"

* commit '4306ca7d446c26752ecd9f724590487d68a27f10':
GPS: added update_network_availability to AGpsRilInterface
4306ca7d446c26752ecd9f724590487d68a27f10 04-Aug-2011 Mike Lockwood <lockwood%android.com@gtempaccount.com> Merge "GPS: added update_network_availability to AGpsRilInterface"
b82c2db760667be7a319c5617b5e5e7a47496d13 14-Apr-2011 Kevin Tang <zhikait@codeaurora.org> GPS: added update_network_availability to AGpsRilInterface

Change-Id: Ib2ed9ea96f1043d34a12c2ddf87b41c5256b585e
Signed-off-by: Mike Lockwood <lockwood@android.com>
nclude/hardware/gps.h
7c7a29401f0773cc995a142ce89f31eda1bf041d 04-Aug-2011 Vladimir Chtchetkine <vchtchetkine@google.com> am d9f2f74e: am da51d1ca: Merge "Inline implementation of qemu_pipe_open"

* commit 'd9f2f74e1939eb268ec557171149375f220628d2':
Inline implementation of qemu_pipe_open
d9f2f74e1939eb268ec557171149375f220628d2 03-Aug-2011 Vladimir Chtchetkine <vchtchetkine@google.com> am da51d1ca: Merge "Inline implementation of qemu_pipe_open"

* commit 'da51d1ca145b8cc82588d97ea33e81d6a0cda408':
Inline implementation of qemu_pipe_open
da51d1ca145b8cc82588d97ea33e81d6a0cda408 03-Aug-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Merge "Inline implementation of qemu_pipe_open"
08ab51b65c0dd868b5024220c11b69f433668b64 03-Aug-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Inline implementation of qemu_pipe_open

Change-Id: Icbe0528b1ac2b215d2cebc5c35cce9c3c830b722
nclude/hardware/qemu_pipe.h
ed9928c76d107d02452a25a0d62803197c47f673 03-Aug-2011 Eric Laurent <elaurent@google.com> audio HAL: add defines for BT NREC parameter

Added definitions of keys and values used to enable or disable
AEC and NS via set_parameters according to BT headset capabilities.

Change-Id: Id3fba06edfe77e2832b8256c0c4c46eeef17b816
nclude/hardware/audio.h
d6afef62ff8ea1fde3a060ac5c5d887c7523b359 02-Aug-2011 Mathias Agopian <mathias@google.com> Add a h/w composer HAL API to allow the HAL to trigger a redraw

This is useful in various situations, for instance if the HAL
wants to change its compositing strategy.

Bug: 4488017
Change-Id: Idc410c689af30a2c9613dc3141e323d6e02a5648
nclude/hardware/hwcomposer.h
482c49bf2783ce67987ab89e5452cab9801cbb46 29-Jul-2011 Wu-cheng Li <wuchengli@google.com> Merge "Add frame metadata to camera data callback."
37ea6f730e9775fca95f688fec34d8627da992b6 26-Jul-2011 Wu-cheng Li <wuchengli@google.com> Add frame metadata to camera data callback.

bug:4460717
Change-Id: I6175af70d0f10e0ba1b7158a237bceed2be06dd2
nclude/hardware/camera.h
6952a72cd352ee34affcf0e2a3f2d3da201888be 28-Jul-2011 Mike Lockwood <lockwood%android.com@gtempaccount.com> am bc287a05: am 61659b21: Merge "gps: Adding ip address for AGps"

* commit 'bc287a056561b52d3f4067c3a9a2f948635ed2c1':
gps: Adding ip address for AGps
bc287a056561b52d3f4067c3a9a2f948635ed2c1 28-Jul-2011 Mike Lockwood <lockwood%android.com@gtempaccount.com> am 61659b21: Merge "gps: Adding ip address for AGps"

* commit '61659b21b512a4d1e26a1843738e0486a68be36b':
gps: Adding ip address for AGps
61659b21b512a4d1e26a1843738e0486a68be36b 28-Jul-2011 Mike Lockwood <lockwood%android.com@gtempaccount.com> Merge "gps: Adding ip address for AGps"
9e48a97c96816d259643b3f7d7fa97329778fdc1 04-Mar-2011 Stephen Li <stephenl@codeaurora.org> gps: Adding ip address for AGps

Change-Id: I3ac752294b81e1fa69019d037d8b89563773b35e
nclude/hardware/gps.h
2280003113fec21d89fdd44a086e8d602df7c105 27-Jul-2011 Iliyan Malchev <malchev@google.com> camera HAL: add optional put_parameters callback

Change-Id: I2b2436c68b3095e840458059f8533dc897e1ca87
Signed-off-by: Iliyan Malchev <malchev@google.com>
nclude/hardware/camera.h
56ea0109622d6df4bbec25e32c0976a6965c203d 13-Jul-2011 Mathias Agopian <mathias@google.com> Merge "get rid of overlay HAL"
f28d97485200bb9179f48cdee252afb95c7a5dda 13-Jul-2011 Jean-Baptiste Queru <jbq@google.com> Ignore 6f3cb7d4

Change-Id: Iabdf987ac6fc0299e1de4fc160de6699df088472
e25e1969ddea7166099471e10c9b06ce8bc7637d 13-Jul-2011 Mathias Agopian <mathias@google.com> get rid of overlay HAL

Change-Id: I1ba7ffac8776a8d59a5cc4e7688c3a5bd02e6647
odules/overlay/Android.mk
odules/overlay/README.android
odules/overlay/overlay.cpp
d37dcfa70a54ad0454be0ce70fb8ede4c28d2566 12-Jul-2011 Jeff Brown <jeffbrown@google.com> Merge "Remove the simulator target from all makefiles. Bug: 5010576"
1cfa384b916005c817d3a4cacdf6c7e6ff73470f 12-Jul-2011 Jeff Brown <jeffbrown@google.com> Remove the simulator target from all makefiles.
Bug: 5010576

Change-Id: I19222871077be62d2b6a4a215f251675389ffdb4
ndroid.mk
6f3cb7d4974996a59eeba067acd34cc3ad5d447b 12-Jul-2011 Jean-Baptiste Queru <jbq@google.com> am 03e7ec95: Merge "Tweaks for forward-compatibility"

* commit '03e7ec959823279937ceae1290b938c4b0b68317':
Tweaks for forward-compatibility
03e7ec959823279937ceae1290b938c4b0b68317 12-Jul-2011 Jean-Baptiste Queru <jbq@google.com> Merge "Tweaks for forward-compatibility"
5e8f4999d0691d31d4937f75cd8f45749bd3694a 12-Jul-2011 Jean-Baptiste Queru <jbq@google.com> Tweaks for forward-compatibility

Change-Id: I9171f0f0155c910cf5ae4109e812c9ff10702946
nclude/hardware/audio.h
nclude/hardware/audio_effect.h
f3008aa707c1c302e8c8f9c8b759f170d972ddce 18-Jun-2011 Eric Laurent <elaurent@google.com> Audio HAL: added interface for audio preprocessing

Change-Id: I032f6dd8f9ad11283a3f0a6721018dabfd12236d
nclude/hardware/audio.h
nclude/hardware/audio_effect.h
odules/audio/audio_hw.c
8aac5911c9aab1307aa34dd0d92a29ec78f3f9fa 29-Jun-2011 Mike Lockwood <lockwood@android.com> GPS: Add support for on-demand NTP time injection

Change-Id: I95ea2bc2a345d6fbde22356f575506385257e574
Signed-off-by: Mike Lockwood <lockwood@android.com>
nclude/hardware/gps.h
ac0e067896c44b15c654800d6b232d6d2f813bf8 17-Jun-2011 Sundar Raman <sunds@ti.com> Camera: Add lock_buffer to preview_stream_ops

Giving HAL control of locking buffer instead of locking in dequeue buffer.

Change-Id: I2640b784218fa67ccb051c13b24f2d3dda48ce9a
Signed-off-by: Iliyan Malchev <malchev@google.com>
nclude/hardware/camera.h
2a9c58e24a64e9426eaa0f12d8f9b93a1b959b9f 22-Jun-2011 Jean-Baptiste Queru <jbq@google.com> am e710fc70: am 910cf83c: Merge "tweak for forward-compatibility"

* commit 'e710fc70e442604fe300cafb467b9208869c28ed':
tweak for forward-compatibility
e710fc70e442604fe300cafb467b9208869c28ed 20-Jun-2011 Jean-Baptiste Queru <jbq@google.com> am 910cf83c: Merge "tweak for forward-compatibility"

* commit '910cf83c9a58e4ee42b6aea919de80273cb25aa4':
tweak for forward-compatibility
910cf83c9a58e4ee42b6aea919de80273cb25aa4 18-Jun-2011 Jean-Baptiste Queru <jbq@google.com> Merge "tweak for forward-compatibility"
bbf64ecd19174fce15e607af0ba14bb29dd1da31 18-Jun-2011 Jean-Baptiste Queru <jbq@google.com> tweak for forward-compatibility

Change-Id: I4230a049221f551a6b0c279c0ba75e872e703a83
nclude/hardware/audio.h
3bc15860a9d8eea076dc19128373631bf1e162ca 14-Jun-2011 Dima Zavin <dima@android.com> hardware: drop the _hal suffixes from audio.h and audio_policy.h

Change-Id: Ib9bfc4049cf350f72af3ee577ce4756ac4118cfc
Signed-off-by: Dima Zavin <dima@android.com>
nclude/hardware/audio.h
nclude/hardware/audio_hal.h
nclude/hardware/audio_policy.h
nclude/hardware/audio_policy_hal.h
odules/audio/audio_hw.c
odules/audio/audio_policy.c
1199865d0cb68750e2b959cb3ed04e1bc0f1c9d1 14-Jun-2011 Dima Zavin <dima@android.com> hardware: move audio_policy.h to system/

Change-Id: I392c5f91db88ca923dead7202064169edc1cc0c7
Signed-off-by: Dima Zavin <dima@android.com>
nclude/hardware/audio_policy.h
nclude/hardware/audio_policy_hal.h
odules/audio/audio_policy.c
4deb188904e3fa3c35e26dd71f45ebb1aa34ea26 11-Jun-2011 Iliyan Malchev <malchev@google.com> libhardware: report stride on dequeue_buffer

Change-Id: Ic41f625f69e135fd2dc3929f99af83b9584f8c1d
Signed-off-by: Iliyan Malchev <malchev@google.com>
nclude/hardware/camera.h
66d6b04b84c2f90d14fb894382ea89f7897f055d 08-Jun-2011 Dima Zavin <dima@android.com> Merge "hardware: audio: add stream parameter strings needed by HALs"
57dde28fb80e1a166db283296812f5fb078ca24a 07-Jun-2011 Dima Zavin <dima@android.com> hardware: audio: add stream parameter strings needed by HALs

Change-Id: Ib5fcb67426ad5d67fd021894db71ae7114ea3367
Signed-off-by: Dima Zavin <dima@android.com>
nclude/hardware/audio_hal.h
24b325e614747266c2488f2f973a03c501bcfe9c 07-Jun-2011 Iliyan Malchev <malchev@google.com> libhardware/camera.h: camera HAL memory management updates

-- 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>
nclude/hardware/camera.h
57adb36c30893cf3161bbb16a4a3505689ee75fa 06-Jun-2011 Jean-Baptiste Queru <jbq@google.com> Remove workarounds for buggy /dev/fb0 drivers

Change-Id: Ideadd5f39693d05cf29a81d9f87ed804d7e52380
odules/gralloc/Android.mk
odules/gralloc/framebuffer.cpp
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
ardware.c
fcc446f42ca5aa8bf81b55319cbd351614558a53 18-May-2011 Eric Laurent <elaurent@google.com> Modified audio effect API.

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
nclude/hardware/audio_effect.h
6e17d2c46caad76497da1070efd41481b0f40b27 19-May-2011 Jean-Baptiste Queru <jbq@google.com> Merge 48e4ab6b7

Change-Id: Ie034418055ed9b10608e06fd6e35d64bddb73598
48e4ab6b747e543a9e5e8152c15a3311af5c6c14 19-May-2011 Jean-Baptiste Queru <jbq@google.com> am 83eb0af0: Merge "support humidity sensor type"

* commit '83eb0af000c80bc9d9b2a19eb15ab22bb0dddb1b':
support humidity sensor type
83eb0af000c80bc9d9b2a19eb15ab22bb0dddb1b 18-May-2011 Jean-Baptiste Queru <jbq@google.com> Merge "support humidity sensor type"
128d102f3864fffa1257362d317427f573f97053 17-May-2011 Mathias Agopian <mathias@google.com> Merge "split fb.h out of gralloc.h"
c6b8fb6e30a3ceee5a1d3c34a2d696c49cbfd730 14-May-2011 Jean-Baptiste Queru <jbq@google.com> am 61b16262: am ab8a3590: Merge "Revert "Extra audio headers for better build-time compatibility""

* commit '61b16262441607f1ecee6dd087246302c6889a39':
Revert "Extra audio headers for better build-time compatibility"
61b16262441607f1ecee6dd087246302c6889a39 14-May-2011 Jean-Baptiste Queru <jbq@google.com> am ab8a3590: Merge "Revert "Extra audio headers for better build-time compatibility""

* commit 'ab8a35906f6ed5055a0a6c52db4d5cb154cdf703':
Revert "Extra audio headers for better build-time compatibility"
ab8a35906f6ed5055a0a6c52db4d5cb154cdf703 13-May-2011 Jean-Baptiste Queru <jbq@google.com> Merge "Revert "Extra audio headers for better build-time compatibility""
e60fb8c4a3b661a4919b852e2e71582dec2970c2 13-May-2011 Jean-Baptiste Queru <jbq@google.com> Revert "Extra audio headers for better build-time compatibility"

This reverts commit 54aa0e15204d42c316f98e208eb3ec8cacc4e9b6.

Change-Id: Id13be86091d064db69b47a85d69c02332a2c5193
nclude/hardware/audio.h
5337b102898cfd48eda7215df15baaf3bc96521f 29-Apr-2011 Mathias Agopian <mathias@google.com> split fb.h out of gralloc.h

fb and gralloc are part of the same HAL for now,
but for clarity we split them into these two headers.

Change-Id: I8e9e3068e47f0d94dd7c145d72fdc2e9fff24af5
nclude/hardware/fb.h
nclude/hardware/gralloc.h
aa21172bcd4c332eec78d34ffdafd8cc0178ea95 11-May-2011 Dima Zavin <dima@android.com> audio: move audio.h to system/core/include/system/audio.h

Change-Id: I523dfb361b1b3862cf8bc41c1691c607b2c815b0
Signed-off-by: Dima Zavin <dima@android.com>
nclude/hardware/audio.h
nclude/hardware/audio_hal.h
nclude/hardware/audio_policy_hal.h
odules/audio/audio_hw.c
odules/audio/audio_policy.c
8a716840b0840e51491cff87374e36394871e7e5 12-May-2011 Jean-Baptiste Queru <jbq@google.com> am e3193479: am 47050dc6: Merge "Extra audio headers for better build-time compatibility"

* commit 'e3193479ae0ab05ceb149a186861621eb33ebb74':
Extra audio headers for better build-time compatibility
e3193479ae0ab05ceb149a186861621eb33ebb74 12-May-2011 Jean-Baptiste Queru <jbq@google.com> am 47050dc6: Merge "Extra audio headers for better build-time compatibility"

* commit '47050dc62e02fe9129217495281f8201de7fcb91':
Extra audio headers for better build-time compatibility
47050dc62e02fe9129217495281f8201de7fcb91 12-May-2011 Jean-Baptiste Queru <jbq@google.com> Merge "Extra audio headers for better build-time compatibility"
54aa0e15204d42c316f98e208eb3ec8cacc4e9b6 11-May-2011 Derek Sollenberger <djsollen@google.com> Extra audio headers for better build-time compatibility

Change-Id: I58724c04b73403391b157bcc14792ad080e5912f
nclude/hardware/audio.h
33c0fe022e166007547d9c7390e7e6dbba5122e7 03-May-2011 Iliyan Malchev <malchev@google.com> libhardware: move buffer_handle_t to system/core

Change-Id: I2ed9ff7360086bc3458b2211437c102fee615481
Signed-off-by: Iliyan Malchev <malchev@google.com>
nclude/hardware/gralloc.h
41693fa555101e348a4ab80990b21197347892c1 15-Apr-2011 Iliyan Malchev <malchev@google.com> libhardware: introduce camera HAL header

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>
nclude/hardware/camera.h
c12d0e9240db0fb53546fd08276454a2cca72492 15-Apr-2011 Iliyan Malchev <malchev@google.com> libhardware: break pixel formats out of hardware.h

These definitions now live under system/core/include/android/graphics.h

Change-Id: I65ca8226cb42387748c3aaa1432423153d1dad33
Signed-off-by: Iliyan Malchev <malchev@google.com>
nclude/hardware/hardware.h
ef1ab51f163ec199b044210128908a56a1d969de 14-Apr-2011 Iliyan Malchev <malchev@google.com> libhardware: minor cleanup in gralloc.h

Change-Id: I2180725805e47d313e29ed80b4c9c05e06b77831
Signed-off-by: Iliyan Malchev <malchev@google.com>
nclude/hardware/gralloc.h
bbc13bc837e0d7679f593056420b2b6c5de21b57 04-May-2011 Mathias Agopian <mathias@google.com> Merge "Improve ROTATION_VECTOR sensor documentation"
d93ff971bd507e92ac81c149079906d2123795af 03-May-2011 Mathias Agopian <mathias@google.com> Improve ROTATION_VECTOR sensor documentation

Change-Id: Iebc978beadf365d63c60c04d54ce7331605348b3
nclude/hardware/sensors.h
1ca194d2d4415afbb946d67ae9993b48e74057ef 30-Apr-2011 David 'Digit' Turner <digit@android.com> am 05a9b62f: am d1be1d02: Merge "<hardware/qemu_pipe.h>: Allow inclusion from C++"

* commit '05a9b62f315c933e9f92e2fb8ee64f6f8f261d3f':
<hardware/qemu_pipe.h>: Allow inclusion from C++
1714a2a53f98e2e7a0b77738eb32649aa8c74ac2 30-Apr-2011 David 'Digit' Turner <digit@android.com> am 61d6a702: am 67e71a87: am ee5636cf: Merge "Add <hardware/qemu_pipe.h> header."

* commit '61d6a702dc318247273169e0eafb74f4bd7e7c59':
Add <hardware/qemu_pipe.h> header.
05a9b62f315c933e9f92e2fb8ee64f6f8f261d3f 29-Apr-2011 David 'Digit' Turner <digit@android.com> am d1be1d02: Merge "<hardware/qemu_pipe.h>: Allow inclusion from C++"

* commit 'd1be1d02135917497866526ce12ef4c2548e63cb':
<hardware/qemu_pipe.h>: Allow inclusion from C++
61d6a702dc318247273169e0eafb74f4bd7e7c59 29-Apr-2011 David 'Digit' Turner <digit@android.com> am 67e71a87: am ee5636cf: Merge "Add <hardware/qemu_pipe.h> header."

* commit '67e71a870d882be851def98fb3e87c3a67a4b93e':
Add <hardware/qemu_pipe.h> header.
d1be1d02135917497866526ce12ef4c2548e63cb 29-Apr-2011 David 'Digit' Turner <digit@android.com> Merge "<hardware/qemu_pipe.h>: Allow inclusion from C++"
ca196ed978053d77a997cdf27e7653e48cb6928f 29-Apr-2011 David 'Digit' Turner <digit@android.com> <hardware/qemu_pipe.h>: Allow inclusion from C++

Change-Id: Ic33b5daf7a01e8fe638ea1ccc54ed76561745abe
nclude/hardware/qemu_pipe.h
03dd9c671d03cd8645df44cea1f1fd297191def0 29-Apr-2011 Mathias Agopian <mathias@google.com> remove deprecated/unused HAL headers

copybit, overlay, sensors_deprecated are no longer supported.

Change-Id: Ie5da20bd4ff95f7565a162d628bf572a76327b7b
nclude/hardware/copybit.h
nclude/hardware/overlay.h
nclude/hardware/sensors.h
nclude/hardware/sensors_deprecated.h
odules/hwcomposer/hwcomposer.cpp
53b8af5e9ccb7ab9b48b223d4efde9096890fd6a 29-Apr-2011 Mathias Agopian <mathias@google.com> get rid of GRALLOC_MODULE_PERFORM_CREATE_HANDLE_FROM_BUFFER

Change-Id: I916812dcfa2e1188e7e249303b80b7b221de71fd
nclude/hardware/gralloc.h
67e71a870d882be851def98fb3e87c3a67a4b93e 28-Apr-2011 David 'Digit' Turner <digit@android.com> am ee5636cf: Merge "Add <hardware/qemu_pipe.h> header."

* commit 'ee5636cff3411f80ae4ec73e14564ff2783eef9e':
Add <hardware/qemu_pipe.h> header.
ee5636cff3411f80ae4ec73e14564ff2783eef9e 28-Apr-2011 David 'Digit' Turner <digit@android.com> Merge "Add <hardware/qemu_pipe.h> header."
e2762c449d3ea3c659c811dde7828b666f2e4abd 16-Mar-2011 David 'Digit' Turner <digit@android.com> Add <hardware/qemu_pipe.h> header.

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
nclude/hardware/qemu_pipe.h
8cc353abc94a557dcff0f2989f7ca6351fcfdb08 21-Apr-2011 Dima Zavin <dima@android.com> libhardware: add stub audio and audio_policy modules

Change-Id: Ib6c0c49dbc369b735b2ac5fb5b583de96c3e9f3e
Signed-off-by: Dima Zavin <dima@android.com>
odules/Android.mk
odules/audio/Android.mk
odules/audio/audio_hw.c
odules/audio/audio_policy.c
7e0331661814065af64cbd04b8b08e1264e8d6d9 21-Apr-2011 Dima Zavin <dima@android.com> libhardware: add separate makefile for modules subdir

Change-Id: I787c444ee1c3a687ee6f8f551c359e5e908ed7f5
Signed-off-by: Dima Zavin <dima@android.com>
ndroid.mk
odules/Android.mk
odules/hwcomposer/Android.mk
f1504dbca386fc454b8ded7669012f3d4d27eab7 11-Mar-2011 Dima Zavin <dima@android.com> libhardware: add audio defines and HAL headers

Change-Id: Iae523059834c252f0d39f7efc6e15832e6273101
Signed-off-by: Dima Zavin <dima@android.com>
nclude/hardware/audio.h
nclude/hardware/audio_hal.h
nclude/hardware/audio_policy.h
nclude/hardware/audio_policy_hal.h
fa9c285fed2c09fac909a0f1b65b1b07ab67f7b3 22-Apr-2011 Mathias Agopian <mathias@google.com> Merge "add a method to blank/unblank the screen"
97c7c40b73329ee86ce2abe5c320dd82d117ea14 19-Apr-2011 Mathias Agopian <mathias@google.com> add a method to blank/unblank the screen

Change-Id: I3874654248826c29e57bb62bb5217184bdfb4263
nclude/hardware/gralloc.h
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>
ardware.c
nclude/hardware/hardware.h
d2ed15a6b81a9a2fd95c1a565f72796869545115 29-Dec-2010 Urs Fleisch <urs.fleisch@gmail.com> support humidity sensor type

Change-Id: I7600d64ea28d2eefc20104cbf81270ddad9d57c0
nclude/hardware/sensors.h
c9881d8c5631faa85ff24668df9cb82921528d69 05-Apr-2011 Jean-Baptiste Queru <jbq@google.com> am cb4ea7ac: am 7b584867: am cd347fdf: Allow to force 16bpp when 32bpp has problems

* commit 'cb4ea7ac8af7ac0732f480dc4938e62566bd5550':
Allow to force 16bpp when 32bpp has problems
cb4ea7ac8af7ac0732f480dc4938e62566bd5550 05-Apr-2011 Jean-Baptiste Queru <jbq@google.com> am 7b584867: am cd347fdf: Allow to force 16bpp when 32bpp has problems

* commit '7b584867cdfef3ba393e308471d5da76024e249c':
Allow to force 16bpp when 32bpp has problems
7b584867cdfef3ba393e308471d5da76024e249c 04-Apr-2011 Jean-Baptiste Queru <jbq@google.com> am cd347fdf: Allow to force 16bpp when 32bpp has problems

* commit 'cd347fdf74d5f2e0af856455c514e655f40a6fdb':
Allow to force 16bpp when 32bpp has problems
cd347fdf74d5f2e0af856455c514e655f40a6fdb 01-Apr-2011 Jean-Baptiste Queru <jbq@google.com> Allow to force 16bpp when 32bpp has problems

Bug: 4197654

Change-Id: Icf1e8793d6a4d2e070a8f232efd4136d79339496
odules/gralloc/Android.mk
odules/gralloc/framebuffer.cpp
54f9dd032dfbd336ca90e3b44047373f0297c3a5 23-Mar-2011 Mathias Agopian <mathias@google.com> fix [4056232] Deprecate Sensor.TYPE_TEMPERATURE and add Sensor.TYPE_AMBIENT_TEMPERATURE

Bug: 4056232
Change-Id: I4555823abacc8aa127429bda78033ef6007aa04b
nclude/hardware/sensors.h
14e3641c32377daabb1e2bf5940957bc9fd04a98 14-Mar-2011 Iliyan Malchev <malchev@google.com> hardware/libhardware: remove LOCAL_PRELINK_MODULE

Change-Id: I8a0ba7e4c99e334b9789d88b48383439eb7cc780
Signed-off-by: Iliyan Malchev <malchev@google.com>
odules/gralloc/Android.mk
odules/hwcomposer/Android.mk
odules/overlay/Android.mk
8c45998962a5f5ca5e091a386767463e4054cf22 30-Jan-2011 The Android Open Source Project <initial-contribution@android.com> am 30497e4f: Reconcile gingerbread-plus-aosp and honeycomb

* commit '30497e4fa693b73e91bbd39c573e6ffa1d57f98f':
30497e4fa693b73e91bbd39c573e6ffa1d57f98f 30-Jan-2011 The Android Open Source Project <initial-contribution@android.com> Reconcile gingerbread-plus-aosp and honeycomb

Change-Id: I0310c299ff4719e454488eafcebbd16045c7e9ea
a9ac4d04f55f4534b27b205a89979dbb0ebc124f 30-Jan-2011 The Android Open Source Project <initial-contribution@android.com> Mass merge from gingerbread - do not merge

Change-Id: I99b09f1fd58b5c3119903304605ff613e1c4a665
7cb277a5c26447df01196bb19650235603062e93 20-Jan-2011 Glenn Kasten <gkasten@google.com> Protected surface API

Change-Id: I63a16e77228b4a440ad08b9f21d8fbbacef3698e
nclude/hardware/gralloc.h
91f7fab20b9fd783e66591acfb683c568d1b1eed 27-Jan-2011 David 'Digit' Turner <digit@google.com> am 25b68b5c: gralloc: Add support for 32-bit framebuffers.

* commit '25b68b5c24e443c326af73a33cea6dc45e845254':
gralloc: Add support for 32-bit framebuffers.
a80988c7745bf3186fba4f6b4e5ef00d609242dc 27-Jan-2011 David 'Digit' Turner <digit@google.com> am 80d3699c: gralloc: Fix division-by-0 during system emulation.

* commit '80d3699c9e8e18d57684f3b20d58fd259379a9d2':
gralloc: Fix division-by-0 during system emulation.
d8c4b8c0500f266849ac3f21e8efc09bad08cb30 17-Jan-2011 David 'Digit' Turner <digit@google.com> am 36292755: am 25b68b5c: gralloc: Add support for 32-bit framebuffers.

* commit '3629275560f4a952cedd69c76b7b96b3b490f6f6':
gralloc: Add support for 32-bit framebuffers.
3629275560f4a952cedd69c76b7b96b3b490f6f6 17-Jan-2011 David 'Digit' Turner <digit@google.com> am 25b68b5c: gralloc: Add support for 32-bit framebuffers.

* commit '25b68b5c24e443c326af73a33cea6dc45e845254':
gralloc: Add support for 32-bit framebuffers.
25b68b5c24e443c326af73a33cea6dc45e845254 16-Jan-2011 David 'Digit' Turner <digit@google.com> 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
odules/gralloc/framebuffer.cpp
7939cdaa495efb17e2a3b63efb11a977bace6651 17-Jan-2011 David 'Digit' Turner <digit@google.com> am 3d05f9cf: Merge 80d3699c: gralloc: Fix division-by-0 during system emulation.

* commit '3d05f9cfbd996f52c0bd6307a80beaabc4e58140':
Merge 80d3699c: gralloc: Fix division-by-0 during system emulation.
3d05f9cfbd996f52c0bd6307a80beaabc4e58140 15-Jan-2011 David 'Digit' Turner <digit@google.com> 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
odules/gralloc/framebuffer.cpp
d72be75b45812e229d125a91ff4cd9e0aed2e5c5 16-Jan-2011 David 'Digit' Turner <digit@google.com> am f540c44f: am 80d3699c: gralloc: Fix division-by-0 during system emulation.

* commit 'f540c44fc218bffcdfbc226187d3cdc08e213c32':
gralloc: Fix division-by-0 during system emulation.
f540c44fc218bffcdfbc226187d3cdc08e213c32 16-Jan-2011 David 'Digit' Turner <digit@google.com> am 80d3699c: gralloc: Fix division-by-0 during system emulation.

* commit '80d3699c9e8e18d57684f3b20d58fd259379a9d2':
gralloc: Fix division-by-0 during system emulation.
80d3699c9e8e18d57684f3b20d58fd259379a9d2 15-Jan-2011 David 'Digit' Turner <digit@google.com> 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
odules/gralloc/framebuffer.cpp
158549c89405186d9ecaefd3811cfae3949056ee 02-Dec-2010 Erik Gilling <konkers@android.com> gralloc: add dump hooks to gralloc/hwcomposer

Change-Id: I27bf46103b4d1d547c42a6de4f3270a6dfd7b7ec
nclude/hardware/gralloc.h
nclude/hardware/hwcomposer.h
e99520400f228e45b1feff28eb4105b8e5599196 08-Dec-2010 Erik Gilling <konkers@android.com> gralloc: add padding to alloc_device_t and hwc_composer_device_t

also adds version #defines

Change-Id: I89f19fc7811ea9c9efb579a9f6abb4c3d9011bbf
nclude/hardware/gralloc.h
nclude/hardware/hwcomposer.h
45e2371cb954a8f8e0aee16d1ee8bec7eae9b897 01-Dec-2010 Louis Huemiller <lhuemill@google.com> const native_handle_t* -> buffer_handle_t

Change-Id: If4ac1bcfba7192ac1339039cac75f76a5c09f4c6
nclude/hardware/hwcomposer.h
1b514ad3587b20ae9b46e9e7a81f15737b8e174f 01-Dec-2010 Mathias Agopian <mathias@google.com> am 778ab436: am 3cceacee: Merge "update rotation-vector documentation." into gingerbread

* commit '778ab436dee2918ae2fa083f4afa4ba68dc39235':
update rotation-vector documentation.
778ab436dee2918ae2fa083f4afa4ba68dc39235 30-Nov-2010 Mathias Agopian <mathias@google.com> am 3cceacee: Merge "update rotation-vector documentation." into gingerbread

* commit '3cceaceecac1e76244153940b8855ad1bbdd1037':
update rotation-vector documentation.
3cceaceecac1e76244153940b8855ad1bbdd1037 30-Nov-2010 Mathias Agopian <mathias@google.com> Merge "update rotation-vector documentation." into gingerbread
2c1001e10ab9ee0bc151967730a88090dfed1289 25-Nov-2010 Jamie Gennis <jgennis@google.com> am 2d17786b: am 2ec21933: Update the docs for the private pixel formats.

* commit '2d17786be760f473b2a05f5ab48f82cc463c860b':
Update the docs for the private pixel formats.
2d17786be760f473b2a05f5ab48f82cc463c860b 25-Nov-2010 Jamie Gennis <jgennis@google.com> am 2ec21933: Update the docs for the private pixel formats.

* commit '2ec2193365ab26c6f77a2c5617887ced7a8d6711':
Update the docs for the private pixel formats.
38476faf8f4ed38d6b591613a416b2fe14d327b1 23-Nov-2010 Louis Huemiller <lhuemill@google.com> Hardware Composer add const for handle pointer

Change-Id: Icf53be12ed43bce19b152fa7f1dee104d713b8da
nclude/hardware/hwcomposer.h
42b743c85597e982ff1122b972862396f131db34 23-Nov-2010 Mathias Agopian <mathias@google.com> 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
nclude/hardware/sensors.h
2ec2193365ab26c6f77a2c5617887ced7a8d6711 23-Nov-2010 Jamie Gennis <jgennis@google.com> Update the docs for the private pixel formats.

Change-Id: I337d9e7ba7f3a625294398790844c6d15ee75237
nclude/hardware/hardware.h
7edeaf91a8d066e6797f875451f8aa9e9a4682f6 18-Nov-2010 Jamie Gennis <jgennis@google.com> 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
nclude/hardware/gralloc.h
2ec5715af2237e2f56a5269fa1e1305644c916b1 26-Oct-2010 Mathias Agopian <mathias@google.com> am caf9528e: am 2d1e978e: improve hardware.h documentation
caf9528e32201237c35284c253cb4503cafb73c6 26-Oct-2010 Mathias Agopian <mathias@google.com> am 2d1e978e: improve hardware.h documentation
2d1e978e3229bb524c6415580ad91fab051f944c 26-Oct-2010 Mathias Agopian <mathias@google.com> improve hardware.h documentation

Change-Id: I637a1d8924af144a9c2cc4645659e9d23e9527d6
nclude/hardware/hardware.h
871815b5f144048b63a18ef764f82e89394899fa 26-Oct-2010 Louis Huemiller <lhuemill@google.com> hwcomposer.h - Add comment that buffer handles in a list must be unique

Change-Id: Iaa4984258572b46d6ded4c74b616b842003031c8
nclude/hardware/hwcomposer.h
abcf2c6a173540883c579af834fed3fb92a07590 21-Oct-2010 Mathias Agopian <mathias@google.com> 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
ccacbce375af6422fa24f81bdc771a5460f60fed 21-Oct-2010 Mathias Agopian <mathias@google.com> 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
937af9b7136a8b692812bc47eaeb9a3e255c46a5 21-Oct-2010 Mathias Agopian <mathias@google.com> 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
nclude/hardware/overlay.h
f30ac954008cab7f66689bc8a9a6e59f15f8f812 19-Oct-2010 Jean-Baptiste Queru <jbq@google.com> am 4829b184: am 118b5d79: Allow disabling page-flipping.

Merge commit '4829b184f15350de20096a97e583ed4c2b3d6427'

* commit '4829b184f15350de20096a97e583ed4c2b3d6427':
Allow disabling page-flipping.
4829b184f15350de20096a97e583ed4c2b3d6427 18-Oct-2010 Jean-Baptiste Queru <jbq@google.com> am 118b5d79: Allow disabling page-flipping.

Merge commit '118b5d7961a4abc29c8bd592956007f40ad4fc6d' into gingerbread-plus-aosp

* commit '118b5d7961a4abc29c8bd592956007f40ad4fc6d':
Allow disabling page-flipping.
118b5d7961a4abc29c8bd592956007f40ad4fc6d 15-Oct-2010 Jean-Baptiste Queru <jbq@google.com> 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
odules/gralloc/Android.mk
odules/gralloc/framebuffer.cpp
e202e2866216f7d221467f3233dc3390feb1c3e5 12-Oct-2010 Mike Lockwood <lockwood@android.com> 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
7b96b46c5bc0bb7149c5323c9537660558e65bad 11-Oct-2010 Mike Lockwood <lockwood@android.com> 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
455e83b705cf4ab830b79585f83176b90daed895 11-Oct-2010 Mike Lockwood <lockwood@android.com> GPS: Add update_network_state call to AGpsRilInterface

Change-Id: I3ecc24965ef7fbd943738dee7d0e440bfdeae753
Signed-off-by: Mike Lockwood <lockwood@android.com>
nclude/hardware/gps.h
41f4cb352cac44d86a269b1836815c0d104ee06a 07-Oct-2010 Miguel Torroja <migueltb@broadcom.com> am b15cd546: am 5f404f58: gps: Adding AgpsRilInterface extension

Merge commit 'b15cd546e2043b7530c8eabf235820906e42eaa3'

* commit 'b15cd546e2043b7530c8eabf235820906e42eaa3':
gps: Adding AgpsRilInterface extension
b15cd546e2043b7530c8eabf235820906e42eaa3 05-Oct-2010 Miguel Torroja <migueltb@broadcom.com> am 5f404f58: gps: Adding AgpsRilInterface extension

Merge commit '5f404f58df329e7676f8fd47bb9bb82f9dc047f1' into gingerbread-plus-aosp

* commit '5f404f58df329e7676f8fd47bb9bb82f9dc047f1':
gps: Adding AgpsRilInterface extension
5f404f58df329e7676f8fd47bb9bb82f9dc047f1 27-Jul-2010 Miguel Torroja <migueltb@broadcom.com> gps: Adding AgpsRilInterface extension

Change-Id: Iddc10906ca4bd59fef25d51068e0c69998aae13f
Signed-off-by: Mike Lockwood <lockwood@android.com>
nclude/hardware/gps.h
6014b4ed9acbcbcf336e9fb69602b529a7502890 19-Sep-2010 Brian Swetland <swetland@google.com> am 26ad3929: am e755bd40: add /vendor support

Merge commit '26ad39290948f7728b613208e5b8dc311029ebfe'

* commit '26ad39290948f7728b613208e5b8dc311029ebfe':
add /vendor support
26ad39290948f7728b613208e5b8dc311029ebfe 19-Sep-2010 Brian Swetland <swetland@google.com> am e755bd40: add /vendor support

Merge commit 'e755bd4038cab69f98f7cf17e41f493296ec62ab' into gingerbread-plus-aosp

* commit 'e755bd4038cab69f98f7cf17e41f493296ec62ab':
add /vendor support
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
ardware.c
8cd4162a14fe4379631d28d3e8d234d1aad399f6 15-Sep-2010 Mathias Agopian <mathias@google.com> resolved conflicts for merge of 72c113ee to master

Change-Id: Icef7703423fdb153477bfd3dc49980e979bbd8e7
72c113ee6016d56bd171c5879f4a2cc71b698f17 14-Sep-2010 Mathias Agopian <mathias@google.com> am c04e5f68: Added a data field for gyroscopes and improved documentation.

Merge commit 'c04e5f68905127ae4c1a0c17d225db9cebe66a07' into gingerbread-plus-aosp

* commit 'c04e5f68905127ae4c1a0c17d225db9cebe66a07':
Added a data field for gyroscopes and improved documentation.
c04e5f68905127ae4c1a0c17d225db9cebe66a07 14-Sep-2010 Mathias Agopian <mathias@google.com> Added a data field for gyroscopes and improved documentation.

Change-Id: Iddc9710d8b724af9285df0396949479dccc3de7a
nclude/hardware/sensors.h
355e330fae9013c582f7f69f8004befe1ddb4b98 11-Sep-2010 Mathias Agopian <mathias@google.com> am 20d7bafc: am a2df7ab5: Fix (again) description of our interchange YV12 format

Merge commit '20d7bafcf02a629d4d02401445a5d4804f86336b'

* commit '20d7bafcf02a629d4d02401445a5d4804f86336b':
Fix (again) description of our interchange YV12 format
20d7bafcf02a629d4d02401445a5d4804f86336b 11-Sep-2010 Mathias Agopian <mathias@google.com> am a2df7ab5: Fix (again) description of our interchange YV12 format

Merge commit 'a2df7ab5fe89fda56606f8151659db47e160a5b3' into gingerbread-plus-aosp

* commit 'a2df7ab5fe89fda56606f8151659db47e160a5b3':
Fix (again) description of our interchange YV12 format
a2df7ab5fe89fda56606f8151659db47e160a5b3 10-Sep-2010 Mathias Agopian <mathias@google.com> Fix (again) description of our interchange YV12 format

Change-Id: I8cd81654b51d50385cccec7b96f6e694fd372925
nclude/hardware/hardware.h
9b4250f364c91e87ef07e5c025201515a8f48dd2 25-Aug-2010 Brian Carlstrom <bdc@google.com> am 2d0e51f8: am 03cb00b7: Fix sim-eng build.

Merge commit '2d0e51f8b7e373f5e3eeef065e7f54e65eeff4aa'

* commit '2d0e51f8b7e373f5e3eeef065e7f54e65eeff4aa':
Fix sim-eng build.
2d0e51f8b7e373f5e3eeef065e7f54e65eeff4aa 25-Aug-2010 Brian Carlstrom <bdc@google.com> am 03cb00b7: Fix sim-eng build.

Merge commit '03cb00b7b37d39f6d599bb148db775a08eb8b04a' into gingerbread-plus-aosp

* commit '03cb00b7b37d39f6d599bb148db775a08eb8b04a':
Fix sim-eng build.
03cb00b7b37d39f6d599bb148db775a08eb8b04a 25-Aug-2010 Brian Carlstrom <bdc@google.com> Fix sim-eng build.

Missing a <string.h> header.

git cherry-pick -e d0019991

Change-Id: I7a3dc7cb7d2855fde56512b3dcb181a092055497
ests/nusensors/nusensors.cpp
4f4eeba8e18a70a4964fbe632d11a072d63fb18d 24-Aug-2010 Kevin Powell <kpowell@invensense.com> am a9c5514e: am 4ec14c1e: add new sensor types for handling gyro data and device orientation more efficiently.

Merge commit 'a9c5514e74a921eec19c912ca93cc666e496dc93'

* commit 'a9c5514e74a921eec19c912ca93cc666e496dc93':
add new sensor types for handling gyro data and device orientation more efficiently.
e8b8c390574c15ea477f5e3afd04ca627b976174 24-Aug-2010 Kenny Root <kroot@google.com> resolved conflicts for merge of 5e610d6a to master

Change-Id: Ibeaa176ff4b25f81559d14dd8c73283ee4f2eacf
a9c5514e74a921eec19c912ca93cc666e496dc93 23-Aug-2010 Kevin Powell <kpowell@invensense.com> am 4ec14c1e: add new sensor types for handling gyro data and device orientation more efficiently.

Merge commit '4ec14c1e233bbc0c7c7efe990f2fafe9727179ca' into gingerbread-plus-aosp

* commit '4ec14c1e233bbc0c7c7efe990f2fafe9727179ca':
add new sensor types for handling gyro data and device orientation more efficiently.
bfbf26c2c8a8c012c1c83e054522cd8cc587cece 21-Aug-2010 Mathias Agopian <mathias@google.com> am 3691181b: am 76022c6f: Merge "revert pixelformat hack" into gingerbread

Merge commit '3691181b21454bcd56c9521e8b61d96ed6e01f84'

* commit '3691181b21454bcd56c9521e8b61d96ed6e01f84':
revert pixelformat hack
f26f9a6ad1ab821c7de88efb6d17d5923c74e523 21-Aug-2010 Elliott Hughes <enh@google.com> am 0b948165: am 5f5c5460: Fix build (missing #include).

Merge commit '0b9481652bea42330503bf136ef7fac859a1dd18'

* commit '0b9481652bea42330503bf136ef7fac859a1dd18':
Fix build (missing #include).
4ec14c1e233bbc0c7c7efe990f2fafe9727179ca 20-Jul-2010 Kevin Powell <kpowell@invensense.com> add new sensor types for handling gyro data and device orientation more efficiently.

Change-Id: I89faf5b3d57a3e726d1c347ce01d931b100188cd
nclude/hardware/sensors.h
5e610d6ad6f3461722e0291b980f521a413fa05e 21-Aug-2010 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of b01a043d to gingerbread-plus-aosp

Change-Id: I60466613c7ea0335a78d553a10876367d65557d9
14d12f9eae7b0252182450a039feb1a0ea020080 20-Aug-2010 Mathias Agopian <mathias@google.com> am 5032cb8b: (-s ours) am 2698f0cd: Revert hwcomposer HAL. DO NOT MERGE.

Merge commit '5032cb8b03021a0874c296059833982daf0705b3'

* commit '5032cb8b03021a0874c296059833982daf0705b3':
Revert hwcomposer HAL. DO NOT MERGE.
3691181b21454bcd56c9521e8b61d96ed6e01f84 19-Aug-2010 Mathias Agopian <mathias@google.com> am 76022c6f: Merge "revert pixelformat hack" into gingerbread

Merge commit '76022c6f4417ac91069c010aa15044e07f7b7d2e' into gingerbread-plus-aosp

* commit '76022c6f4417ac91069c010aa15044e07f7b7d2e':
revert pixelformat hack
76022c6f4417ac91069c010aa15044e07f7b7d2e 19-Aug-2010 Mathias Agopian <mathias@google.com> Merge "revert pixelformat hack" into gingerbread
2250f45ff0e72121e1bab4db58759e2cd4a4f769 19-Aug-2010 Mathias Agopian <mathias@google.com> revert pixelformat hack

Change-Id: Ia5e01b2b2f205f48ede1d29275094a64221df2d4
nclude/hardware/hardware.h
0b9481652bea42330503bf136ef7fac859a1dd18 19-Aug-2010 Elliott Hughes <enh@google.com> am 5f5c5460: Fix build (missing #include).

Merge commit '5f5c5460d382104a8792952907aa2fa0cae1bca7' into gingerbread-plus-aosp

* commit '5f5c5460d382104a8792952907aa2fa0cae1bca7':
Fix build (missing #include).
5f5c5460d382104a8792952907aa2fa0cae1bca7 19-Aug-2010 Elliott Hughes <enh@google.com> Fix build (missing #include).

Change-Id: Icafc2289d1320f2cd41e8756363240268780d8b8
ests/nusensors/nusensors.cpp
5032cb8b03021a0874c296059833982daf0705b3 18-Aug-2010 Mathias Agopian <mathias@google.com> am 2698f0cd: Revert hwcomposer HAL. DO NOT MERGE.

Merge commit '2698f0cd99ee0cb8c88d06ea3555edbf7606c07a' into gingerbread-plus-aosp

* commit '2698f0cd99ee0cb8c88d06ea3555edbf7606c07a':
Revert hwcomposer HAL. DO NOT MERGE.
2698f0cd99ee0cb8c88d06ea3555edbf7606c07a 18-Aug-2010 Mathias Agopian <mathias@google.com> Revert hwcomposer HAL. DO NOT MERGE.

This reverts commit cdd44a0db36749af5036e903e4867b279ef420df.
This reverts commit e6b5c05aa0236dc42107d028a366a3fd2678677b.
This reverts commit 5d3de309f44f6a72f2a46db792f3865088897039.
nclude/hardware/hwcomposer.h
odules/hwcomposer/Android.mk
odules/hwcomposer/README.android
odules/hwcomposer/hwcomposer.cpp
db23b533af0a7be384216bc612d0f8543622d468 13-Aug-2010 Mathias Agopian <mathias@google.com> am ee1b98f8: am cdd44a0d: added a new hint to tell SF it should clear the FB for some layers

Merge commit 'ee1b98f8b3016173b3aadcb652cc53c5ca09c093'

* commit 'ee1b98f8b3016173b3aadcb652cc53c5ca09c093':
added a new hint to tell SF it should clear the FB for some layers
ee1b98f8b3016173b3aadcb652cc53c5ca09c093 13-Aug-2010 Mathias Agopian <mathias@google.com> am cdd44a0d: added a new hint to tell SF it should clear the FB for some layers

Merge commit 'cdd44a0db36749af5036e903e4867b279ef420df' into gingerbread-plus-aosp

* commit 'cdd44a0db36749af5036e903e4867b279ef420df':
added a new hint to tell SF it should clear the FB for some layers
cdd44a0db36749af5036e903e4867b279ef420df 13-Aug-2010 Mathias Agopian <mathias@google.com> added a new hint to tell SF it should clear the FB for some layers

Change-Id: I784e7c5be2eab84c321773dc53b4cb657ca9a457
nclude/hardware/hwcomposer.h
2a6a3d7c455594d34a900329dfe5d569f6bdec16 12-Aug-2010 Mathias Agopian <mathias@google.com> am 525178d5: am e6b5c05a: Add a helper for dumping layers into the log

Merge commit '525178d59af3539a274b721eeeff028bf3f40288'

* commit '525178d59af3539a274b721eeeff028bf3f40288':
Add a helper for dumping layers into the log
525178d59af3539a274b721eeeff028bf3f40288 12-Aug-2010 Mathias Agopian <mathias@google.com> am e6b5c05a: Add a helper for dumping layers into the log

Merge commit 'e6b5c05aa0236dc42107d028a366a3fd2678677b' into gingerbread-plus-aosp

* commit 'e6b5c05aa0236dc42107d028a366a3fd2678677b':
Add a helper for dumping layers into the log
e6b5c05aa0236dc42107d028a366a3fd2678677b 12-Aug-2010 Mathias Agopian <mathias@google.com> Add a helper for dumping layers into the log

Change-Id: I0943d9114c33b4800fb797bac316041dec992f5e
odules/hwcomposer/hwcomposer.cpp
3120b58768ff6aad5ad169b9c18f962ef6abb3c5 12-Aug-2010 Makarand Karvekar <makarand.karvekar@motorola.com> hw: sensors: Add gyro field

Change-Id: I113f0a067fccbc8d69d1949b6af3ed9e119d0355
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
nclude/hardware/sensors.h
b3ae9794896e1a6cae22fd3fd4fcabdb11d327c7 10-Aug-2010 Mathias Agopian <mathias@google.com> am 754c7a01: am 60d641e5: Merge "first stab at hwcomposer HAL and default implementation." into gingerbread

Merge commit '754c7a01d76493a2c3afafe21c3d52abbada3ef0'

* commit '754c7a01d76493a2c3afafe21c3d52abbada3ef0':
first stab at hwcomposer HAL and default implementation.
2fe99573734cd4871f802d342feabd88f21d9a36 10-Aug-2010 Mathias Agopian <mathias@google.com> am 5098d7b1: am a7932f47: fix typo in default overlay hal

Merge commit '5098d7b1130d7cf600c7346f51aafb070b62780c'

* commit '5098d7b1130d7cf600c7346f51aafb070b62780c':
fix typo in default overlay hal
754c7a01d76493a2c3afafe21c3d52abbada3ef0 10-Aug-2010 Mathias Agopian <mathias@google.com> am 60d641e5: Merge "first stab at hwcomposer HAL and default implementation." into gingerbread

Merge commit '60d641e5eb197918d078d9aaeea623c48d8474b7' into gingerbread-plus-aosp

* commit '60d641e5eb197918d078d9aaeea623c48d8474b7':
first stab at hwcomposer HAL and default implementation.
5098d7b1130d7cf600c7346f51aafb070b62780c 10-Aug-2010 Mathias Agopian <mathias@google.com> am a7932f47: fix typo in default overlay hal

Merge commit 'a7932f47f1226e3fe732b5550aaf0b301b09b8df' into gingerbread-plus-aosp

* commit 'a7932f47f1226e3fe732b5550aaf0b301b09b8df':
fix typo in default overlay hal
60d641e5eb197918d078d9aaeea623c48d8474b7 10-Aug-2010 Mathias Agopian <mathias@google.com> Merge "first stab at hwcomposer HAL and default implementation." into gingerbread
5d3de309f44f6a72f2a46db792f3865088897039 06-Aug-2010 Mathias Agopian <mathias@google.com> first stab at hwcomposer HAL and default implementation.

Change-Id: I7ff47b94a6b34a8f61031bd94e936a088dcea6ab
nclude/hardware/hwcomposer.h
odules/hwcomposer/Android.mk
odules/hwcomposer/README.android
odules/hwcomposer/hwcomposer.cpp
a7932f47f1226e3fe732b5550aaf0b301b09b8df 07-Aug-2010 Mathias Agopian <mathias@google.com> fix typo in default overlay hal

Change-Id: I5313691acee74dfd69639946c01232256b22bc51
odules/overlay/Android.mk
b01a043df41e987321f6c01930ac306befb1d3dc 20-Jul-2010 Kevin Powell <kpowell@invensense.com> add new sensor types for handling gyro data and device orientation more efficiently.

Change-Id: I453b7a2e84b885ca207d9d938b923e1624554644
nclude/hardware/sensors.h
d521dcac2ede5b825a3ded10713d7b76cacf0055 31-Jul-2010 Mathias Agopian <mathias@google.com> am ae3b05e8: am 67d82220: temporary hack to allow compilation of adreno driver

Merge commit 'ae3b05e8f38e588df1a500ccea9f7961c93686ba'

* commit 'ae3b05e8f38e588df1a500ccea9f7961c93686ba':
temporary hack to allow compilation of adreno driver
ae3b05e8f38e588df1a500ccea9f7961c93686ba 31-Jul-2010 Mathias Agopian <mathias@google.com> am 67d82220: temporary hack to allow compilation of adreno driver

Merge commit '67d822206387e19a080d94a35d0d720d6b2f78b1' into gingerbread-plus-aosp

* commit '67d822206387e19a080d94a35d0d720d6b2f78b1':
temporary hack to allow compilation of adreno driver
67d822206387e19a080d94a35d0d720d6b2f78b1 31-Jul-2010 Mathias Agopian <mathias@google.com> temporary hack to allow compilation of adreno driver

Change-Id: Ib3c260df2c22e1c59c5380278ea470e34aedbd81
nclude/hardware/hardware.h
5c0b977701a31d17a4ab9dec17dfa68f3c01aeaf 30-Jul-2010 Mathias Agopian <mathias@google.com> am bb2c87ea: am 1511e20f: improved comments and added a minDelay attribute to sensor_t

Merge commit 'bb2c87ea03c6bff09ea05dc6ba69796efe31ebdb'

* commit 'bb2c87ea03c6bff09ea05dc6ba69796efe31ebdb':
improved comments and added a minDelay attribute to sensor_t
1a4ca397256ffe5d9d3cab5ecfbfdcd8f9196e0e 30-Jul-2010 Mathias Agopian <mathias@google.com> am 0bcdefe8: am 1832f557: Added definition/documentation for pressure sensors

Merge commit '0bcdefe8180c8d44e1d2ad6ec8e332263bd94377'

* commit '0bcdefe8180c8d44e1d2ad6ec8e332263bd94377':
Added definition/documentation for pressure sensors
bb2c87ea03c6bff09ea05dc6ba69796efe31ebdb 30-Jul-2010 Mathias Agopian <mathias@google.com> am 1511e20f: improved comments and added a minDelay attribute to sensor_t

Merge commit '1511e20fbbdfe7bf30b9de73f06fc981eb494f09' into gingerbread-plus-aosp

* commit '1511e20fbbdfe7bf30b9de73f06fc981eb494f09':
improved comments and added a minDelay attribute to sensor_t
0bcdefe8180c8d44e1d2ad6ec8e332263bd94377 30-Jul-2010 Mathias Agopian <mathias@google.com> am 1832f557: Added definition/documentation for pressure sensors

Merge commit '1832f55760fff86d00b5d808b3da8f1e55a889e5' into gingerbread-plus-aosp

* commit '1832f55760fff86d00b5d808b3da8f1e55a889e5':
Added definition/documentation for pressure sensors
1511e20fbbdfe7bf30b9de73f06fc981eb494f09 30-Jul-2010 Mathias Agopian <mathias@google.com> improved comments and added a minDelay attribute to sensor_t

Change-Id: Ie00fe8260089614e15f1f8035b8392711dff048c
nclude/hardware/sensors.h
1832f55760fff86d00b5d808b3da8f1e55a889e5 30-Jul-2010 Mathias Agopian <mathias@google.com> Added definition/documentation for pressure sensors

Change-Id: I68b1bb74ebf1aceee09b6e8cbb8e37b906dbdcd0
nclude/hardware/sensors.h
0f1aaf80c7b1ea720fb2679000e35132587d9526 26-Jul-2010 Mathias Agopian <mathias@google.com> am c0611f0f: am 478994a7: improve sensor HAL documentation

Merge commit 'c0611f0f19b138bba04027d3fb530ab1d85fb9ce'

* commit 'c0611f0f19b138bba04027d3fb530ab1d85fb9ce':
improve sensor HAL documentation
c0611f0f19b138bba04027d3fb530ab1d85fb9ce 26-Jul-2010 Mathias Agopian <mathias@google.com> am 478994a7: improve sensor HAL documentation

Merge commit '478994a758e48b0de7f56f3de0678d5c2b6a4b61' into gingerbread-plus-aosp

* commit '478994a758e48b0de7f56f3de0678d5c2b6a4b61':
improve sensor HAL documentation
478994a758e48b0de7f56f3de0678d5c2b6a4b61 24-Jul-2010 Mathias Agopian <mathias@google.com> improve sensor HAL documentation

Change-Id: If443c1d2e48c697fa8774bd94af4e65866d1dedb
nclude/hardware/sensors.h
2ba551b90bc1d85f1e4897519736c3668bed1ab8 23-Jul-2010 Mathias Agopian <mathias@google.com> am f0e4ec1a: am 66a4095c: Be more explicit about the rate at which sensor events must be returned

Merge commit 'f0e4ec1a04701c40e38a09a97e6f1c417163e0c2'

* commit 'f0e4ec1a04701c40e38a09a97e6f1c417163e0c2':
Be more explicit about the rate at which sensor events must be returned
f0e4ec1a04701c40e38a09a97e6f1c417163e0c2 23-Jul-2010 Mathias Agopian <mathias@google.com> am 66a4095c: Be more explicit about the rate at which sensor events must be returned

Merge commit '66a4095ca0ecfe89b10abe5402617450f57759cd' into gingerbread-plus-aosp

* commit '66a4095ca0ecfe89b10abe5402617450f57759cd':
Be more explicit about the rate at which sensor events must be returned
66a4095ca0ecfe89b10abe5402617450f57759cd 23-Jul-2010 Mathias Agopian <mathias@google.com> Be more explicit about the rate at which sensor events must be returned

Change-Id: I937e84c34c539b4e3ff34eddcf4fb24e2866ebfa
nclude/hardware/sensors.h
b8c3babd6e9fb6258167716e9f33e89e84f2a4c2 22-Jul-2010 Andy McFadden <fadden@android.com> Fix sim-eng build.

strerror() must be declared (include <string.h>).

Change-Id: I0e93874d1bb7dad113f7c82d0ff1b5e6733b36c1
ests/nusensors/nusensors.cpp
e93953955571d4911ab136a34e4e0dec60fab6ee 22-Jul-2010 Mathias Agopian <mathias@google.com> am 95e5456c: am 1a2bf61d: fix the nusensor test

Merge commit '95e5456cf87adbc99a20bdc358ff63bc7e501f04'

* commit '95e5456cf87adbc99a20bdc358ff63bc7e501f04':
fix the nusensor test
6c84d7a579c5f8aae22fd063cf895eae2fce6a46 22-Jul-2010 Mathias Agopian <mathias@google.com> resolved conflicts for merge of e153b430 to master

Change-Id: I72e67a7e6b23219f0c1b6fa7d114da2c1e22fdc1
87bd2578490f72dfb2a2eabac8ba384faef04407 22-Jul-2010 Mathias Agopian <mathias@google.com> am 97ba26bb: am cdefccdb: new sensor_event_t structure for the new HAL that can handle bigger payloads

Merge commit '97ba26bb6de7dd7317c36ac0a3406919dd09bdaf'

* commit '97ba26bb6de7dd7317c36ac0a3406919dd09bdaf':
new sensor_event_t structure for the new HAL that can handle bigger payloads
9de11a9c1c30d0d855d93e6ceeffc03cebde0599 22-Jul-2010 Mathias Agopian <mathias@google.com> am 39cd81ce: am b1e212e7: New sensor HAL and test

Merge commit '39cd81ce725b28db98a4cb7b47f35c59e3a289e7'

* commit '39cd81ce725b28db98a4cb7b47f35c59e3a289e7':
New sensor HAL and test
95e5456cf87adbc99a20bdc358ff63bc7e501f04 22-Jul-2010 Mathias Agopian <mathias@google.com> am 1a2bf61d: fix the nusensor test

Merge commit '1a2bf61d4990ac9c04aa62b2c08f01e20593624a' into gingerbread-plus-aosp

* commit '1a2bf61d4990ac9c04aa62b2c08f01e20593624a':
fix the nusensor test
e153b430faf82977b753be800c8c76e9b34bc88f 22-Jul-2010 Mathias Agopian <mathias@google.com> am 98c53090: move the old sensorHAL interface into a separate header

Merge commit '98c5309047d2eedfe93ac42243f9750cfeb3517e' into gingerbread-plus-aosp

* commit '98c5309047d2eedfe93ac42243f9750cfeb3517e':
move the old sensorHAL interface into a separate header
97ba26bb6de7dd7317c36ac0a3406919dd09bdaf 22-Jul-2010 Mathias Agopian <mathias@google.com> am cdefccdb: new sensor_event_t structure for the new HAL that can handle bigger payloads

Merge commit 'cdefccdba52337df41f577d9ebfcfd67c05708cf' into gingerbread-plus-aosp

* commit 'cdefccdba52337df41f577d9ebfcfd67c05708cf':
new sensor_event_t structure for the new HAL that can handle bigger payloads
39cd81ce725b28db98a4cb7b47f35c59e3a289e7 22-Jul-2010 Mathias Agopian <mathias@google.com> am b1e212e7: New sensor HAL and test

Merge commit 'b1e212e7b6fce2bc5c743b05853129e19760d7a4' into gingerbread-plus-aosp

* commit 'b1e212e7b6fce2bc5c743b05853129e19760d7a4':
New sensor HAL and test
1a2bf61d4990ac9c04aa62b2c08f01e20593624a 21-Jul-2010 Mathias Agopian <mathias@google.com> fix the nusensor test

it used the sensor handle instead of the sensor type

Change-Id: I8a1bc11826427bde9fb88d6fe88be58e3b8d2397
ests/nusensors/nusensors.cpp
98c5309047d2eedfe93ac42243f9750cfeb3517e 20-Jul-2010 Mathias Agopian <mathias@google.com> move the old sensorHAL interface into a separate header

sensors_deprecated.h is included from sensors.h, for
easier reading.

Change-Id: I97883e1db73beb6c612da2ec023ee6bb8d4858c3
nclude/hardware/lights.h
nclude/hardware/sensors.h
nclude/hardware/sensors_deprecated.h
cdefccdba52337df41f577d9ebfcfd67c05708cf 16-Jul-2010 Mathias Agopian <mathias@google.com> new sensor_event_t structure for the new HAL that can handle bigger payloads

Change-Id: I8f21e457c308eea9cb1f73b49b1fed36627ec55e
ndroid.mk
nclude/hardware/sensors.h
ests/nusensors/nusensors.cpp
b1e212e7b6fce2bc5c743b05853129e19760d7a4 09-Jul-2010 Mathias Agopian <mathias@google.com> New sensor HAL and test

Change-Id: I216e3dd0b2b45829fef7c682774d2cdd8271d4e7
nclude/hardware/sensors.h
ests/Android.mk
ests/nusensors/Android.mk
ests/nusensors/nusensors.cpp
9eed234b60cfebf68e91090151848d357e7c2427 15-Jul-2010 Mathias Agopian <mathias@google.com> am 0e0f617b: am 80107f8e: Remove the YV16 format.

Merge commit '0e0f617befa6987c10f938e44112965b289378e6'

* commit '0e0f617befa6987c10f938e44112965b289378e6':
Remove the YV16 format.
0e0f617befa6987c10f938e44112965b289378e6 15-Jul-2010 Mathias Agopian <mathias@google.com> am 80107f8e: Remove the YV16 format.

Merge commit '80107f8e92e25e62c945600325f3e846477bc855' into gingerbread-plus-aosp

* commit '80107f8e92e25e62c945600325f3e846477bc855':
Remove the YV16 format.
80107f8e92e25e62c945600325f3e846477bc855 07-Jul-2010 Mathias Agopian <mathias@google.com> Remove the YV16 format.

Change-Id: I12f72cf91a66d78499983221925ac68ca646efc8
nclude/hardware/hardware.h
8b4935ad84c8e985a61ff5fd84f7b9945b542e6c 02-Jul-2010 Mathias Agopian <mathias@google.com> am c166ba31: am 1daacdc8: Merge "remove h/w specific YUV formats from the HAL" into gingerbread

Merge commit 'c166ba3173b0a0c26debb62640e2eb0f5e50086b'

* commit 'c166ba3173b0a0c26debb62640e2eb0f5e50086b':
remove h/w specific YUV formats from the HAL
c166ba3173b0a0c26debb62640e2eb0f5e50086b 02-Jul-2010 Mathias Agopian <mathias@google.com> am 1daacdc8: Merge "remove h/w specific YUV formats from the HAL" into gingerbread

Merge commit '1daacdc8d2d110d3edd077fcd2befa9884924e10' into gingerbread-plus-aosp

* commit '1daacdc8d2d110d3edd077fcd2befa9884924e10':
remove h/w specific YUV formats from the HAL
1daacdc8d2d110d3edd077fcd2befa9884924e10 02-Jul-2010 Mathias Agopian <mathias@google.com> Merge "remove h/w specific YUV formats from the HAL" into gingerbread
6915eb345b6640a43b9c1241f7ad8ffa0463874a 02-Jul-2010 Mathias Agopian <mathias@google.com> remove h/w specific YUV formats from the HAL

we now only support 2 "standard" yuv format in the HAL.
there is a new reserved range 0x100-0x1FF for OEMs.

Change-Id: I171fb0f8d90ded64773ac9c1e5adcab1e1f25c7f
nclude/hardware/copybit.h
nclude/hardware/hardware.h
nclude/hardware/overlay.h
56e36cb54483972d3dcaec37fa2302349f597763 02-Jul-2010 Jamie Gennis <jgennis@google.com> am 74ca93ca: am 95d78bef: Add 4 private gralloc usage bits.

Merge commit '74ca93ca120205a6d2893f62d474c2fb6995c3c3'

* commit '74ca93ca120205a6d2893f62d474c2fb6995c3c3':
Add 4 private gralloc usage bits.
74ca93ca120205a6d2893f62d474c2fb6995c3c3 02-Jul-2010 Jamie Gennis <jgennis@google.com> am 95d78bef: Add 4 private gralloc usage bits.

Merge commit '95d78bef32edd183fb8c16b7775bf0a069948420' into gingerbread-plus-aosp

* commit '95d78bef32edd183fb8c16b7775bf0a069948420':
Add 4 private gralloc usage bits.
920f9dae76259891b6c2d3581bbc3ae781902cc3 02-Jul-2010 Jamie Gennis <jgennis@google.com> am bab54e08: am aabb7029: Fix a typo in the GRALLOC_USAGE_HW_2D constant.

Merge commit 'bab54e08ff09cce218a9491466d792c1f938b520'

* commit 'bab54e08ff09cce218a9491466d792c1f938b520':
Fix a typo in the GRALLOC_USAGE_HW_2D constant.
bab54e08ff09cce218a9491466d792c1f938b520 02-Jul-2010 Jamie Gennis <jgennis@google.com> am aabb7029: Fix a typo in the GRALLOC_USAGE_HW_2D constant.

Merge commit 'aabb70292351f231bfd4daae8b73edb788eeba1a' into gingerbread-plus-aosp

* commit 'aabb70292351f231bfd4daae8b73edb788eeba1a':
Fix a typo in the GRALLOC_USAGE_HW_2D constant.
95d78bef32edd183fb8c16b7775bf0a069948420 02-Jul-2010 Jamie Gennis <jgennis@google.com> Add 4 private gralloc usage bits.

The private gralloc usage bits can be used to specify device-specific
allocation requirements.

Change-Id: Idc4fbdd3dd7b71767143cf3df5886dfaf43e50a4
nclude/hardware/gralloc.h
aabb70292351f231bfd4daae8b73edb788eeba1a 02-Jul-2010 Jamie Gennis <jgennis@google.com> Fix a typo in the GRALLOC_USAGE_HW_2D constant.

Change-Id: I3de500455715298765b2e27bc8c59e2ec6c7a34f
nclude/hardware/gralloc.h
ffc682e85771ce587c59c2bb01e948e1b373377a 23-Jun-2010 Mike Lockwood <lockwood@android.com> am 2dccee88: am 00758793: Merge "GPS: Add callback for creating threads that can call into the Java VM." into gingerbread

Merge commit '2dccee88188e46811f0d7713b8d5e24a40a95df3'

* commit '2dccee88188e46811f0d7713b8d5e24a40a95df3':
GPS: Add callback for creating threads that can call into the Java VM.
421a0c3169afa45e7590aba82392f0e29937f386 23-Jun-2010 Mathias Agopian <mathias@google.com> am 79f188b0: am 28147965: remove unused YUV formats

Merge commit '79f188b0b72683b169f7397b4caa2d2183c3bdc3'

* commit '79f188b0b72683b169f7397b4caa2d2183c3bdc3':
remove unused YUV formats
4d4d4eeb4a00972347168f756fd5bf74a71094fa 23-Jun-2010 Mathias Agopian <mathias@google.com> am e65f0e37: am 373a9c6e: Add some useful YUV formats. Add fourcc version of the definitions.

Merge commit 'e65f0e37255acb272cb4b25c1724f46b66ffb825'

* commit 'e65f0e37255acb272cb4b25c1724f46b66ffb825':
Add some useful YUV formats. Add fourcc version of the definitions.
2dccee88188e46811f0d7713b8d5e24a40a95df3 22-Jun-2010 Mike Lockwood <lockwood@android.com> am 00758793: Merge "GPS: Add callback for creating threads that can call into the Java VM." into gingerbread

Merge commit '00758793ab2803ddb463260dbbb0479f254a3959' into gingerbread-plus-aosp

* commit '00758793ab2803ddb463260dbbb0479f254a3959':
GPS: Add callback for creating threads that can call into the Java VM.
00758793ab2803ddb463260dbbb0479f254a3959 22-Jun-2010 Mike Lockwood <lockwood@android.com> Merge "GPS: Add callback for creating threads that can call into the Java VM." into gingerbread
79f188b0b72683b169f7397b4caa2d2183c3bdc3 22-Jun-2010 Mathias Agopian <mathias@google.com> am 28147965: remove unused YUV formats

Merge commit '28147965b4f3b57893897924bdd2fc8fdc695f84' into gingerbread-plus-aosp

* commit '28147965b4f3b57893897924bdd2fc8fdc695f84':
remove unused YUV formats
28147965b4f3b57893897924bdd2fc8fdc695f84 22-Jun-2010 Mathias Agopian <mathias@google.com> remove unused YUV formats

Change-Id: I328cac1ed8bb2acb105ee118d8a87bdb39a545e6
nclude/hardware/hardware.h
e65f0e37255acb272cb4b25c1724f46b66ffb825 22-Jun-2010 Mathias Agopian <mathias@google.com> am 373a9c6e: Add some useful YUV formats. Add fourcc version of the definitions.

Merge commit '373a9c6efebc97ade940dc5996f24992cda450c7' into gingerbread-plus-aosp

* commit '373a9c6efebc97ade940dc5996f24992cda450c7':
Add some useful YUV formats. Add fourcc version of the definitions.
984a15cefb8a2e585f30bf0c3a9768ac05efc020 21-Jun-2010 The Android Open Source Project <initial-contribution@android.com> am e6d315ed: merge from froyo-plus-aosp

Merge commit 'e6d315ede7ac0c72fe23be9be5c89adff61416c0'

* commit 'e6d315ede7ac0c72fe23be9be5c89adff61416c0':
Silenced compiler warning seen only in debug builds.
e6d315ede7ac0c72fe23be9be5c89adff61416c0 21-Jun-2010 The Android Open Source Project <initial-contribution@android.com> merge from froyo-plus-aosp

Change-Id: I52f5bbe1b0b7d9cda30d8ae62236e85e3d4e3631
4453b5bfc9c11d2911830ab7c042f4885861b60a 20-Jun-2010 Mike Lockwood <lockwood@android.com> GPS: Add callback for creating threads that can call into the Java VM.

To eliminate an unnecessary thread in the framework GPS code, we now
require the GPS HAL to call callbacks from a thread created using the
create_thread_cb. Such threads are able to call directly into Java,
eliminating a polling thread in the GpsLocationProvider code.

Change-Id: I91eeea73b8908f10f10a93ae71034c63f806e8a1
Signed-off-by: Mike Lockwood <lockwood@android.com>
nclude/hardware/gps.h
373a9c6efebc97ade940dc5996f24992cda450c7 15-Jun-2010 Mathias Agopian <mathias@google.com> Add some useful YUV formats. Add fourcc version of the definitions.

also removed incorrect 4:2:0 interleaved formats

Change-Id: Ib477de86504cc67861def16fc4dfdae0dd3eb59d
nclude/hardware/hardware.h
nclude/hardware/overlay.h
da137cc04c2b421b0e1d86d4b75fcd39a1dd6c9d 15-Jun-2010 The Android Open Source Project <initial-contribution@android.com> ignore from open-source master

Change-Id: Ia7b62aeb66181b7574f0d1b7464d5df43b29fa4d
2b9fcc36e24ada3345faf7689a47d1bd3e9f4cf1 10-Jun-2010 Dan Murphy <wldm10@motorola.com> hardware/include: Add the pressure to the sensor data structure

Add the pressure variable to the sensor.h file for barometer.

Change-Id: Ie05b65f9215639cee6dc3ae926a0cc07e673e5b6
Signed-off-by: Dan Murphy <wldm10@motorola.com>
nclude/hardware/sensors.h
28648e730301e2f88c2112a80f2aba632034eb4c 03-Jun-2010 Chris Pearson <christopherx.c.pearson@intel.com> Silenced compiler warning seen only in debug builds.

Change-Id: I831ec3a75e6acdfddae95665f6b931b6d731f69e
Signed-off-by: Chris Pearson <christopherx.c.pearson@intel.com>
odules/gralloc/gralloc.cpp
b15879a589bb5ce350869e1a735840679e4b2aaa 14-Apr-2010 Mike Lockwood <lockwood@android.com> GPS API enhancements:

Add set_capabilities callback to inform the framework of the engine's capabilities.
Add more parameters to set_position_mode

Change-Id: I75572979c031ffc0d915bb9e8aebce09d4982336
Signed-off-by: Mike Lockwood <lockwood@android.com>
nclude/hardware/gps.h
d20bbae343927bbf428243b00ecfcae7e30ef97b 07-Apr-2010 Mike Lockwood <lockwood@android.com> Add wake lock utility functions for the GPS HAL.

Change-Id: Ia7e20dec1a658f5506004ed29632f6a720c77fab
Signed-off-by: Mike Lockwood <lockwood@android.com>
nclude/hardware/gps.h
b9e7ea446e6c34f1aaa2bc57b688f1a84a6e0614 12-Apr-2010 The Android Open Source Project <initial-contribution@android.com> am 804c3e10: merge from open-source master

Merge commit '804c3e10774b1b05f958d9b860a814abbd4a6c9b' into kraken

* commit '804c3e10774b1b05f958d9b860a814abbd4a6c9b':
New GPS HAL Interface
804c3e10774b1b05f958d9b860a814abbd4a6c9b 12-Apr-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: Id5e821e29b8d7ad1c1e103c8f219934bb0214eb8
4ea2a7a23c4b79a68193336f5ab4c6a508f672d5 24-Feb-2010 Mike Lockwood <lockwood@android.com> New GPS HAL Interface

This change converts the hardware_legacy API to a HAL API.
More cleanup work will likely follow.

Change-Id: I6bd23b94ae458b0de32827c704a481564772ee3b
nclude/hardware/gps.h
b4a9ae7aebfeded0d1d3253f4e54dd973bfee489 06-Apr-2010 Mike Lockwood <lockwood@android.com> am da4947ea: New GPS HAL Interface

Merge commit 'da4947ea976b0174bf2938d8a375cb0da485ecf4' into kraken

* commit 'da4947ea976b0174bf2938d8a375cb0da485ecf4':
New GPS HAL Interface
da4947ea976b0174bf2938d8a375cb0da485ecf4 24-Feb-2010 Mike Lockwood <lockwood@android.com> New GPS HAL Interface

This change converts the hardware_legacy API to a HAL API.
More cleanup work will likely follow.

Change-Id: I6bd23b94ae458b0de32827c704a481564772ee3b
nclude/hardware/gps.h
9b0b1c34ecafda22d8edf68eb04498edd0d551d1 24-Feb-2010 Mike Lockwood <lockwood@android.com> New GPS HAL Interface

This change converts the hardware_legacy API to a HAL API.
More cleanup work will likely follow.

Change-Id: Ia4f9f8a9b12d84c239d367db3ad1dfdc830e0aba
Signed-off-by: Mike Lockwood <lockwood@android.com>
nclude/hardware/gps.h
3b138026094f8227eb2cdfd22450df9a60557c8d 09-Mar-2010 Jean-Baptiste Queru <jbq@google.com> Add an empty CleanSpec.mk

Change-Id: Icc1fdd9c695af86d1fa09c90f7e729391f343d67
leanSpec.mk
19ea59f86521c1b3ef72999e3cccc47b48c445ad 26-Feb-2010 Mathias Agopian <mathias@google.com> [2472946] Sensor.TYPE_ORIENTATION returns inverted roll values

update the documentation is sensors.h to reflect reality.
nclude/hardware/sensors.h
9e149fc6e112fe23e408ca972a948a1d9aadc9a8 18-Feb-2010 Mathias Agopian <mathias@google.com> fix typo
nclude/hardware/hardware.h
ad8322bfe4b210d0618b7a1792f4a07d1f8332c7 18-Feb-2010 Mathias Agopian <mathias@google.com> renumber the YCbCr constants to keep binary compatiblity with previous releases
nclude/hardware/hardware.h
662b534530eb09fc01907f0d0cef8776c862bf7e 17-Feb-2010 Mathias Agopian <mathias@google.com> add missing yuv constants
nclude/hardware/copybit.h
nclude/hardware/hardware.h
7e734baec7bce97f054d11d69170b7e07eb88f76 17-Feb-2010 Mathias Agopian <mathias@google.com> don't use undefined constants
odules/overlay/overlay.cpp
dd473846c32d7e78abb1ad675f6565b77699af6b 17-Feb-2010 Dima Zavin <dmitriyz@google.com> Merge "hal: Add nv12_tiled/nv21 pixel format constants"
9da751bbf7cc6db4a0156b92bb1d3ae585bcdf32 16-Feb-2010 Mathias Agopian <mathias@google.com> fix [2444483] gralloc size for YUV formats
odules/gralloc/gralloc.cpp
38a0138caf940ecec7b122debe507639c0071c08 16-Feb-2010 Dima Zavin <dima@android.com> hal: Add nv12_tiled/nv21 pixel format constants

Change-Id: I6a906cf9fb1539c1876f3737b409ed0598075c8e
Signed-off-by: Dima Zavin <dima@android.com>
nclude/hardware/hardware.h
c212d9d76fdb5f24e50f4d3e1f463f739335e8a7 05-Feb-2010 The Android Open Source Project <initial-contribution@android.com> am e879c389: am be0a1d3b: reconcile main tree with open-source eclair

Merge commit 'e879c389cf9bbbba209a35dc9c9b152489482711'

* commit 'e879c389cf9bbbba209a35dc9c9b152489482711':
android-2.1_r1 snapshot
e879c389cf9bbbba209a35dc9c9b152489482711 05-Feb-2010 The Android Open Source Project <initial-contribution@android.com> am be0a1d3b: reconcile main tree with open-source eclair

Merge commit 'be0a1d3b7677d08b928479cfa4fa16b734183ec9' into eclair-plus-aosp

* commit 'be0a1d3b7677d08b928479cfa4fa16b734183ec9':
android-2.1_r1 snapshot
be0a1d3b7677d08b928479cfa4fa16b734183ec9 05-Feb-2010 The Android Open Source Project <initial-contribution@android.com> reconcile main tree with open-source eclair
d910467a28f4ab3b5f20136fe261edd0464a2d0c 29-Jan-2010 The Android Open Source Project <initial-contribution@android.com> reconcile android-2.1_r1 snapshot
a6612f84427a10c2f08e1a60cd83442111b3a602 13-Jan-2010 The Android Open Source Project <initial-contribution@android.com> android-2.1_r1 snapshot
ee4e57e94903f497c936aa23e474e26ba74182c5 16-Dec-2009 Mathias Agopian <mathias@google.com> remove unused code
odules/gralloc/gralloc_priv.h
f96b2064d7753af7ab75f05eff9559f401e1a4ad 15-Dec-2009 Mathias Agopian <mathias@google.com> remove all references to pmem and simplify the lock/unlock hooks

this gralloc module is only used on the emulator or without a h/w
renderer. therefore there is no synchronization to do in lock/unlock
and pmem buffers are not relevant.

hopefully this will remove some of the confusion about how gralloc
should be implemented and make it more obvious that this implementation
is not intended to be used by h/w renderers.
odules/gralloc/Android.mk
odules/gralloc/allocator.cpp
odules/gralloc/allocator.h
odules/gralloc/framebuffer.cpp
odules/gralloc/gr.h
odules/gralloc/gralloc.cpp
odules/gralloc/gralloc_priv.h
odules/gralloc/mapper.cpp
058c1fce990a54b1dfdfb511c752b32914d32f6f 15-Nov-2009 Jean-Baptiste Queru <jbq@google.com> merge from open-source master
e6d60500e77f34f627c1c7bb5d3b52d1741f12ef 15-Nov-2009 Jean-Baptiste Queru <jbq@google.com> merge from open-source master

Merge commit 'goog/stage-korg-master' into HEAD
410c0077b01c19b5d1269205ac5bb740939a0d38 15-Nov-2009 Jean-Baptiste Queru <jbq@google.com> merge from eclair
1202e079cf5dafbe539a22002bd5b61ab19baf5b 13-Nov-2009 Jean-Baptiste Queru <jbq@google.com> eclair snapshot
ndroid.mk
ardware.c
nclude/hardware/copybit.h
nclude/hardware/gralloc.h
nclude/hardware/hardware.h
nclude/hardware/lights.h
nclude/hardware/overlay.h
nclude/hardware/sensors.h
odules/gralloc/Android.mk
odules/gralloc/allocator.cpp
odules/gralloc/allocator.h
odules/gralloc/framebuffer.cpp
odules/gralloc/gr.h
odules/gralloc/gralloc.cpp
odules/gralloc/gralloc_priv.h
odules/gralloc/mapper.cpp
odules/overlay/overlay.cpp
ecc3bfa61756bfef583f98bca0a697dd160adaec 10-Nov-2009 Mike Lockwood <lockwood@android.com> am baf21439: Add brightnessMode field to light_state_t

Merge commit 'baf21439df7b4e641dfa990f12c287dc53c40f09' into eclair-mr2

* commit 'baf21439df7b4e641dfa990f12c287dc53c40f09':
Add brightnessMode field to light_state_t
baf21439df7b4e641dfa990f12c287dc53c40f09 10-Nov-2009 Mike Lockwood <lockwood@android.com> Add brightnessMode field to light_state_t

This is to allow the framework to inform the lights HAL of the current
lighting mode for the LCD backlight.

Change-Id: I665653c4b9097c4dd92bf0aaa5d83953e134a886
Signed-off-by: Mike Lockwood <lockwood@android.com>
nclude/hardware/lights.h
97bba480178ce49460bbcb6089ed5a536506426e 05-Nov-2009 Eric Olsen <eolsen@android.com> am a58556d7: Add support for colored jogball (adds hardware flash mode)

Merge commit 'a58556d7d8919ca193ec894b3f8553357bbbccc4' into eclair-mr2

* commit 'a58556d7d8919ca193ec894b3f8553357bbbccc4':
Add support for colored jogball (adds hardware flash mode)
a58556d7d8919ca193ec894b3f8553357bbbccc4 05-Nov-2009 Eric Olsen <eolsen@android.com> Add support for colored jogball (adds hardware flash mode)

Signed-off-by: Eric Olsen <eolsen@android.com>
nclude/hardware/lights.h
cbda89c50b3e5180d58e425fe374e2217ed37457 03-Nov-2009 Mike Lockwood <lockwood@android.com> am c93ee254: Remove obsolete hardware auto-brightness support.

Merge commit 'c93ee2545a43bc7abdbcc57533e7e3114972d8ec' into eclair-mr2

* commit 'c93ee2545a43bc7abdbcc57533e7e3114972d8ec':
Remove obsolete hardware auto-brightness support.
fb9c9a63f392a1b0834d0f8965d88fb6dacfc85a 03-Nov-2009 Mike Lockwood <lockwood@android.com> am a2414316: Add documentation for proximity and light sensors.

Merge commit 'a2414316075dde4ca5c1393c662f224b36dd3fdc' into eclair-mr2

* commit 'a2414316075dde4ca5c1393c662f224b36dd3fdc':
Add documentation for proximity and light sensors.
c93ee2545a43bc7abdbcc57533e7e3114972d8ec 03-Nov-2009 Mike Lockwood <lockwood@android.com> Remove obsolete hardware auto-brightness support.

Change-Id: Iab4bf538268c166a16b4b80f0a2c6361d63c2e2d
Signed-off-by: Mike Lockwood <lockwood@android.com>
nclude/hardware/lights.h
a2414316075dde4ca5c1393c662f224b36dd3fdc 03-Nov-2009 Mike Lockwood <lockwood@android.com> Add documentation for proximity and light sensors.

Change-Id: I5692e803e33aefbfd79c156fec7700d972140dc4
Signed-off-by: Mike Lockwood <lockwood@android.com>
nclude/hardware/sensors.h
5a5d4ad61bc771b1d5ab8c56669c9ec3c3f10509 30-Oct-2009 Mathias Agopian <mathias@google.com> am cd2433f3: fix[2222341] Soft reset while going back from camcorder settings

Merge commit 'cd2433f3804a537aedc26f595b1c05f95a05244a' into eclair-mr2

* commit 'cd2433f3804a537aedc26f595b1c05f95a05244a':
fix[2222341] Soft reset while going back from camcorder settings
cd2433f3804a537aedc26f595b1c05f95a05244a 30-Oct-2009 Mathias Agopian <mathias@google.com> fix[2222341] Soft reset while going back from camcorder settings

add a way to convert a mapped "pushbuffer" buffer to a gralloc handle
which then can be safely used by surfaceflinger
nclude/hardware/gralloc.h
baf99300f77399b6a3e75716b3592895a3bca969 29-Oct-2009 Patrick Scott <phanna@android.com> Remove call to dump_l.

This fail to compile without NDEBUG and the following log statement does
something similar.
odules/gralloc/allocator.cpp
4016d6bc35b36277574e0cfb8dc47c8559fec079 25-Oct-2009 Mike Lockwood <lockwood@android.com> Add comment warning to not use hardware based autobrightness support.

This is deprecated and will be removed in the next release.

Change-Id: I5a5e93b99ae722dfcd0e9cf6415c8af6a71e6eab
Signed-off-by: Mike Lockwood <lockwood@android.com>
nclude/hardware/lights.h
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.
ardware.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.
ardware.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.
ardware.c
8255d9d3b62ddf90269ddbb54e6f92b29908fa75 18-Sep-2009 Mathias Agopian <mathias@google.com> Android side of the fix for [2121211] Sholes has stutter during animations

a new method, compostionComplete() is added to the framebuffer hal, it is used by surfaceflinger to signal the driver that the composition is complete, BEFORE it releases its client. This gives a chance to the driver to perfrom the proper synchronization.
nclude/hardware/gralloc.h
adc7f1ba08a16e79b9691c503454c52ac38bbb10 03-Sep-2009 Snigdha Sinha <snigdha.sinha@motorola.com> OVERLAY_FORMAT_DEFAULT for overlay

Originally from: https://partner.source.android.com/g/#change,922
nclude/hardware/overlay.h
2bedac69dc3b9fb93f7bfd3ef334224fc5b7f4c3 04-Sep-2009 Mike Lockwood <lockwood@android.com> sensors: whitespace clean up

Change-Id: I49da2d17dae2f9f958a0ccb205c41a83c123802c
Signed-off-by: Mike Lockwood <lockwood@android.com>
nclude/hardware/sensors.h
fbbb347f17942ac3436938501912ab066857b251 29-Aug-2009 Mike Lockwood <lockwood@android.com> sensors: Add optional close_data_source call

Change-Id: I591afea509ee055211a4beeaa83b12692e251f67
Signed-off-by: Mike Lockwood <lockwood@android.com>
nclude/hardware/sensors.h
61fee89f2d50cc01c34930cda8f65f70aa23acc4 21-Aug-2009 Iliyan Malchev <malchev@google.com> libhardware: add a field for reporting light levels

Signed-off-by: Iliyan Malchev <malchev@google.com>
nclude/hardware/sensors.h
2a8477c89915298be2b2a6297e45024a1e69c7ea 19-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge changes 21851,21852 into eclair

* changes:
split gralloc_priv.h and make sure it is C friendly
integrate this change from the generic gralloc
9d82c1a447a72a2c086b9cd34c5b73b163d7acbc 19-Aug-2009 Mathias Agopian <mathias@google.com> add typedefs to gralloc and hardware.h so it's more C friendly
nclude/hardware/gralloc.h
nclude/hardware/hardware.h
fc0541328190d60b3cf6beb72b630e115dc7a2be 19-Aug-2009 Mathias Agopian <mathias@google.com> split gralloc_priv.h and make sure it is C friendly
odules/gralloc/allocator.h
odules/gralloc/framebuffer.cpp
odules/gralloc/gr.h
odules/gralloc/gralloc_priv.h
876b4e8b84087ad99f499c064758a2660a990e5c 19-Aug-2009 Mathias Agopian <mathias@google.com> integrate this change from the generic gralloc
odules/gralloc/gralloc_priv.h
ed04f7871bab3cb07e47e42fe4d9ebe5b02281a2 09-Aug-2009 Mathias Agopian <mathias@google.com> don't memset ashmem region, especially before they're mmapped
odules/gralloc/gralloc.cpp
7d512e3dc37cc921a3e0e541a0476a4168310ecc 08-Aug-2009 Mathias Agopian <mathias@google.com> add support for RGBX_8888
nclude/hardware/copybit.h
nclude/hardware/hardware.h
odules/gralloc/gralloc.cpp
e83629abb995cfdc49c0cd2ced2456c8eb41e73e 08-Aug-2009 Mathias Agopian <mathias@google.com> make sure to clear surface's buffers when they are allocated
odules/gralloc/gralloc.cpp
75cdfbb45d3d3fe60ed029178a14e3994ed8107f 25-Jul-2009 Benny Wong <Benny.Wong@motorola.com> Added resizeInput and setAttributes function declarations to overlay hal
nclude/hardware/overlay.h
e00013c4957e24b14f0751af40492bbdf2b332e0 21-Jul-2009 Dan Murphy <D.Murphy@motorola.com> lights: Header file updates for ALS support codes

These changes adds ALS support to the lighting system

Signed-off-by: Dan Murphy <D.Murphy@motorola.com>
Signed-off-by: Mike Lockwood <lockwood@android.com>
nclude/hardware/lights.h
24a9a66dbab8ab3b1b08495f55f79c36bacaec2d 26-Jul-2009 Jean-Baptiste Queru <jbq@google.com> reconcile korg/master into goog/master
f0a3c389eba7edc0631b8de60fae41a73432306b 26-Jul-2009 Jean-Baptiste Queru <jbq@google.com> Merge korg/donut into korg/master
93614c25ae491aabb339f0687aef50de6a6e10ef 20-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 7784

* changes:
Remove redundant defines, these were only necessary while changes were being staged to another repo
9e44c4f19821acf3022ca87d5c36f5f79cfad539 18-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 5893

* changes:
Color Format and Overlay Functions
dbb872157bfb520de0482b05b099e44e471925a5 18-Jul-2009 Rebecca Schultz Zavin <rebecca@android.com> Remove redundant defines, these were only necessary while changes were
being staged to another repo

Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
nclude/hardware/overlay.h
49b02f75eba649d696813bbfaeb87658d0e5b6c3 07-Jul-2009 Benny Wong <Benny.Wong@motorola.com> Color Format and Overlay Functions

Add hardware overlay related function declarations and more color format enums
nclude/hardware/hardware.h
nclude/hardware/overlay.h
15c9d3af0d8bfb8afe6fb89b420746a139336f0f 17-Jul-2009 Marco Nelissen <marcone@google.com> Fix the simulator build.
odules/gralloc/gralloc.cpp
3e1f89bcca78fb5175043c76ff5a9310fae91829 17-Jul-2009 Mathias Agopian <mathias@google.com> fix [1980202] Surfaceflinger crash with transparent rollo on firestone

we now automatically size the pmem region isntead of using hardcoded values
odules/gralloc/allocator.cpp
odules/gralloc/allocator.h
odules/gralloc/gralloc.cpp
6d125da5d28369df62dc5c186b43fcd40a3d33e8 16-Jul-2009 Mathias Agopian <mathias@google.com> generic gralloc HAL doesn't need to support partial updates using msm7k specific ioctl.
ardware.c
odules/gralloc/framebuffer.cpp
05eacf533eb90f79f4af43e9cf86cdb3817a00ca 14-Jul-2009 Mathias Agopian <mathias@google.com> better logs
odules/gralloc/mapper.cpp
82aee243796ad9dd70426550f2eb07d1b7c1f8ff 13-Jul-2009 Mathias Agopian <mathias@google.com> automatically detect update-on-demand
odules/gralloc/framebuffer.cpp
f5a22bcfa64f4f33b5877cd44761363af952b768 08-Jul-2009 Iliyan Malchev <malchev@google.com> libhardware: add data field for proximity sensors

Signed-off-by: Iliyan Malchev <malchev@google.com>
nclude/hardware/sensors.h
bd80b38f2945ac918f66fb336c149b28b9dd030e 08-Jul-2009 Mathias Agopian <mathias@google.com> more fixes for [1965730]. We now free (unmap) both ashmem and pmem regions.
odules/gralloc/gralloc.cpp
odules/gralloc/gralloc_priv.h
odules/gralloc/mapper.cpp
440d4e4741a2641173b44bd9b810c9a4960206c2 08-Jul-2009 Mathias Agopian <mathias@google.com> for [1965730], give a better name to gralloc buffers
odules/gralloc/gralloc.cpp
85ce19a4d3d3204cb9829dd74ac5bc2ba28ea654 08-Jul-2009 Mathias Agopian <mathias@google.com> fix [1965730] Device always give force close screen and completely unusable in Éclair build ERC07,rebooted automatically
odules/gralloc/gralloc.cpp
bfc010a750eb091017e370640d5c1644d671c7e4 07-Jul-2009 Mathias Agopian <mathias@google.com> better fix for gralloc on sim
odules/gralloc/gralloc.cpp
d34fd72bfd1ff3afa25c292d77077bacaa26f15e 07-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 6375

* changes:
Fix build on some linux distros.
d28d7e87f824559a6bfdc4dbdc12b74162557454 07-Jul-2009 Mathias Agopian <mathias@google.com> fix [1965734] Screen flickers a lot [Sholes]
odules/gralloc/framebuffer.cpp
f84106910d128885775b1e7b75e451d7d389889c 07-Jul-2009 Andy McFadden <fadden@android.com> Fix build on some linux distros.

The place where the PAGE_SIZE value is defined varies, mostly because
you're not supposed to be using it directly. sysconf(_SC_PAGE_SIZE)
is the approved method, and in fact some Linux distros actually #define
PAGE_SIZE to the library call.
odules/gralloc/gralloc_priv.h
a4b587cb063dfd1b11f0006b0149e5e3045cc873 07-Jul-2009 Marco Nelissen <marcone@google.com> Simulator build fixes for the new GL stuff. The simulator still doesn't run, but at least it builds.
odules/gralloc/framebuffer.cpp
odules/gralloc/gralloc.cpp
odules/gralloc/gralloc_priv.h
odules/gralloc/mapper.cpp
cdb66fbc8a192e4b01b8b529c78773b2a3bf4573 07-Jul-2009 Mathias Agopian <mathias@google.com> workaroud [1964234] emulator renders funny with new gralloc.

we detect we're running on the emu (using a very bad heuristic, see 1964251) and switch UPDATE_ON_DEMAND off.
odules/gralloc/framebuffer.cpp
3d6ddfe77133198f48f0670d93172ee67d5b5ea7 07-Jul-2009 Mathias Agopian <mathias@google.com> fix [1964228] emulator crash with the new GL

gralloc didn't keep the error state properly, so after the first pmem allocation failure, it would systematically fail without reverting to ashmem.
odules/gralloc/gralloc.cpp
da1b975339f714aaaf0939fd5db64a86cb48ee88 07-Jul-2009 Mathias Agopian <mathias@google.com> Merge commit 'goog/master_gl' into merge_master_gl
14784235ab872002e59a26a5c0f5b7edcf6ead4f 03-Jul-2009 Mathias Agopian <mathias@google.com> make sure to UNSLAP pmem buffers when they're destroyed/freed, as the client could still have them mmapped
odules/gralloc/gralloc.cpp
8bf1f752686a228256e2f3c29a374d76f42b126b 26-Jun-2009 Mathias Agopian <mathias@google.com> add support for YUV formats
odules/gralloc/gralloc.cpp
689fa73c067e1618bbdb62f32c2a34750b8ec48b 25-Jun-2009 Mathias Agopian <mathias@google.com> copybit now uses a native_handle_t* instead of a fd/offset
nclude/hardware/copybit.h
odules/gralloc/gralloc_priv.h
31802ca9c030b8f9a137f32826e9c9a76d0d6e17 20-Jun-2009 Mathias Agopian <mathias@google.com> fallback to ashmem when pmem is not availlable
odules/gralloc/gralloc.cpp
ed93e8b392e66e2a822f8b30ee7cefecd1036472 17-Jun-2009 Mathias Agopian <mathias@google.com> suppress debug log
odules/gralloc/gralloc.cpp
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.
ardware.c
odules/gralloc/Android.mk
odules/gralloc/allocator.cpp
odules/gralloc/allocator.h
odules/gralloc/gralloc.cpp
odules/gralloc/gralloc_priv.h
odules/gralloc/mapper.cpp
72c8508db9c3895a34437a3e780b90ec43a920a2 11-Jun-2009 Mathias Agopian <mathias@google.com> add an offset field to gralloc handles so the framebuffer can work with copybit
odules/gralloc/gralloc.cpp
odules/gralloc/gralloc_priv.h
5115665397e5f5be5a5d464bc22b70b023d243d9 10-Jun-2009 Mathias Agopian <mathias@google.com> with the new lock/unlock API we don't really mean reference counting on mmap/munmap because we're guaranteed to map the buffers only once within a process.

no need to track all handles anymore, which simplifies the code a lot.
odules/gralloc/framebuffer.cpp
odules/gralloc/gralloc_priv.h
odules/gralloc/mapper.cpp
5b44567e001b4ba6ef0067aa3eb420c1d7dc3ef7 06-Jun-2009 Mathias Agopian <mathias@google.com> Merge commit 'goog/master' into merge_master
82f7c041552e52b7e6eb44d9f7e99959599c2da4 04-Jun-2009 Mathias Agopian <mathias@google.com> suppress spurious debug log
odules/gralloc/mapper.cpp
5afaa8accc5ffb8580d9d9b8d4b6b2e6222ce6d6 03-Jun-2009 Bill Napier <napier@google.com> am 8d567480: Update open_data_source documentation to accurately reflect the correct return value on error.

Merge commit '8d567480b45a801a1955e4743c5eeae431d58f56'

* commit '8d567480b45a801a1955e4743c5eeae431d58f56':
Update open_data_source documentation to accurately reflect the correct return value on error.
8d567480b45a801a1955e4743c5eeae431d58f56 03-Jun-2009 Bill Napier <napier@google.com> Update open_data_source documentation to accurately reflect the correct return value on error.
nclude/hardware/sensors.h
8aee7e58cfa45d1e524bc1cee8fa8f8c34504269 27-May-2009 Mathias Agopian <mathias@google.com> Merge commit 'goog/master' into merge_master
61caa2cf7541626d3f132fe29c4398a3f2e9dfd9 23-May-2009 Mike Lockwood <lockwood@android.com> am 21b652f9: Sensors: Use a native_handle for the data channel instead of a single file descriptor.

Merge commit '21b652f933b21aa37bd73364b486347fcc333d5c'

* commit '21b652f933b21aa37bd73364b486347fcc333d5c':
Sensors: Use a native_handle for the data channel instead of a single file descriptor.
21b652f933b21aa37bd73364b486347fcc333d5c 22-May-2009 Mike Lockwood <lockwood@android.com> Sensors: Use a native_handle for the data channel instead of a single file descriptor.

This eliminates the requirement that all sensors share a single file descriptor.
This, along with concurrent changes in other projects, fixes bugs b/1614524 and b/1614481

Signed-off-by: Mike Lockwood <lockwood@android.com>
nclude/hardware/sensors.h
da1cfb76c5d2b78050855c13162c7442067f5ac7 22-May-2009 Mathias Agopian <mathias@google.com> Merge commit 'goog/master' into merge_master
3a16d3782522d2365166c3688423090cfc4d5ac4 19-May-2009 Mathias Agopian <mathias@google.com> am 465cf474: fix [1847499] sensors.h : "roll" documentation is wrong

Merge commit '465cf474beaf67c3d8b7fe6889ad74c1cfc572e1'

* commit '465cf474beaf67c3d8b7fe6889ad74c1cfc572e1':
fix [1847499] sensors.h : "roll" documentation is wrong
465cf474beaf67c3d8b7fe6889ad74c1cfc572e1 18-May-2009 Mathias Agopian <mathias@google.com> fix [1847499] sensors.h : "roll" documentation is wrong
nclude/hardware/sensors.h
f5cf8f842a5736281098ef1f8f837ab688b35707 08-May-2009 Mathias Agopian <mathias@google.com> better documentation for (*setUpdateRect)()
nclude/hardware/gralloc.h
odules/gralloc/framebuffer.cpp
485e69809aef8bf301b6bf19c03dc2d7693aaa1a 06-May-2009 Mathias Agopian <mathias@google.com> better documentation and implementation for lock/unlock
nclude/hardware/gralloc.h
odules/gralloc/gralloc_priv.h
odules/gralloc/mapper.cpp
295190f426a209cf08a21476f15e0e281db6fcb5 06-May-2009 Mathias Agopian <mathias@google.com> get rid of unused/needed flags
nclude/hardware/gralloc.h
odules/gralloc/framebuffer.cpp
988b8bd553180e8d71b4028ecb721f46312efe62 04-May-2009 Mathias Agopian <mathias@google.com> lock will now return the vaddr of the buffer. map/umap are gone.

- make sure to return an error if a buffer is locked twice or unlocked while not locked.
- added registerBuffer() and unregisterBuffer() to the gralloc module so that we can do some cleanup when a buffer is no longer needed. this became necessary after we removed map/unmap so we have a place to unmap buffers without the need of a kernel module.
- change the constants for GRALLOC_USAGE_SW_{READ|WRITE}_NEVER to 0, so that NOT specifying them means "NEVER".
nclude/hardware/gralloc.h
odules/gralloc/framebuffer.cpp
odules/gralloc/gralloc.cpp
odules/gralloc/gralloc_priv.h
odules/gralloc/mapper.cpp
ccc13876d84f9316b5764aba8080c6e1a96ee214 29-Apr-2009 Mathias Agopian <mathias@google.com> Merge commit 'goog/master' into merge_master
76a1fe8dbc1ff5f95c34590a692dfb3c71a9881f 23-Apr-2009 Jean-Baptiste Queru <jbq@google.com> Merge donut into master
d746ebd24a05e6b2a378559bdf3a25092a1d672b 23-Apr-2009 Jean-Baptiste Queru <jbq@google.com> merge cupcake into donut
30bebe3c46c0dc0696c116c8522302db5221397f 23-Apr-2009 Jean-Baptiste Queru <jbq@google.com> Merge donut into master
c3ce41d319fdb2b867f5f45783ced0276f723d01 15-Apr-2009 Mathias Agopian <mathias@google.com> don't automatically unmap buffers when they're freed

this is in preparation to an api change wrt gralloc map/unmap
odules/gralloc/gralloc.cpp
4f14fe0b73b516c0cc12d8dc6cee5c29cf437e18 10-Apr-2009 Mathias Agopian <mathias@google.com> Merge commit 'goog/master' into master_gl
a8a75166a2d3c7639a7432a67075c98796165206 10-Apr-2009 Mathias Agopian <mathias@google.com> Integrate from //sandbox/mathias/donut/...@145728

SurfaceFlinger rework for new EGL driver model support.
ndroid.mk
ardware.c
nclude/hardware/gralloc.h
nclude/hardware/hardware.h
odules/gralloc/Android.mk
odules/gralloc/framebuffer.cpp
odules/gralloc/gralloc.cpp
odules/gralloc/gralloc_priv.h
odules/gralloc/mapper.cpp
odules/overlay/overlay.cpp
30fa54e39aecfe8028c1e270166c14a968e269a4 29-Mar-2009 The Android Open Source Project <initial-contribution@android.com> Merge branch 'open_source_no_contributions' into google_internal
cfce2add7e2bac420f2b720bcb5ece0339b7a86d 28-Mar-2009 Mathias Agopian <> AI 143310: am: CL 143161 am: CL 142857 Add some bluring to the animation. This requires a new kernel which will be checked-in later, at which point the blur effect will automatically be enabled.
Original author: mathias
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...

Automated import of CL 143310
nclude/hardware/copybit.h
86db8a1f72e5d1ea7de18d6061c9b888bef5ce3b 27-Mar-2009 Mathias Agopian <> AI 143161: am: CL 142857 Add some bluring to the animation. This requires a new kernel which will be checked-in later, at which point the blur effect will automatically be enabled.
Original author: mathias
Merged from: //branches/cupcake/...

Automated import of CL 143161
nclude/hardware/copybit.h
a60b1dd605f10335588926164d72ba021be651d5 27-Mar-2009 The Android Open Source Project <initial-contribution@android.com> Merge commit 'korg/cupcake'
cd7924359db625a8f985332cc7404073019ea319 26-Mar-2009 Mathias Agopian <> Automated import from //branches/cupcake/...@142857,142857
nclude/hardware/copybit.h
65f2d3aeee4a3179fe662e8f7cabce0a3e29a325 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@140373
nclude/hardware/lights.h
nclude/hardware/qemud.h
fe0bd690095978fd817ae0ee90e23edb43841cc4 18-Mar-2009 Jean-Baptiste Queru <jbq@google.com> Merge commit 'remotes/korg/cupcake' into merge

Conflicts:
include/hardware/overlay.h
8232b50d981ce9c584fc1a4af82dae5e70e6ce52 13-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@138607
ardware.c
f53ebec38718ff5d6b2aff2fa62b92a75d007ca5 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
ndroid.mk
ODULE_LICENSE_APACHE2
OTICE
ardware.c
nclude/hardware/copybit.h
nclude/hardware/hardware.h
nclude/hardware/overlay.h
nclude/hardware/sensors.h
odules/README.android
odules/overlay/Android.mk
odules/overlay/README.android
odules/overlay/overlay.cpp
d51f49a11dad52e172e4d7f6fcdf571f24efbcd5 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
ndroid.mk
ODULE_LICENSE_APACHE2
OTICE
ardware.c
nclude/hardware/copybit.h
nclude/hardware/hardware.h
nclude/hardware/overlay.h
nclude/hardware/sensors.h
odules/README.android
odules/overlay/Android.mk
odules/overlay/README.android
odules/overlay/overlay.cpp
b5d75924d7a17452b157dc12de31d254f8af1831 20-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132569
ardware.c
e97d33d5ee914244d6c69789f4f7bbe3ebac1102 14-Feb-2009 Rebecca Schultz Zavin <rebecca@android.com> Add getBufferCount to overlay HAL

Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
nclude/hardware/overlay.h
a5d999ff17a84a33e9761eab958eac0267748aa9 13-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@131421
nclude/hardware/copybit.h
nclude/hardware/hardware.h
nclude/hardware/overlay.h
b376203efb29c5f86ad8c8d40e90b74756669a1c 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
nclude/hardware/copybit.h
nclude/hardware/hardware.h
nclude/hardware/overlay.h
nclude/hardware/sensors.h
odules/README.android
37156b8db0bee9a0e77160a40483d0fad0409bd4 20-Jan-2009 The Android Open Source Project <initial-contribution@android.com> Merge branch 'cupcake'
f87393cb242a0de85631c3df4d8f147cdbb43e59 20-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127101
nclude/hardware/overlay.h
odules/overlay/overlay.cpp
8ecc90fdf2535fc2df65534bfb4f9fbe88713830 16-Jan-2009 android-build SharedAccount <android-build@undroid16.corp.google.com> Merge branch 'cupcake'
0100d517b1118ec181cf20e8648f3416b0830088 16-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@126645
ndroid.mk
lashlight/Android.mk
lashlight/flashlight.c
ps/Android.mk
ps/gps.cpp
ps/gps_qemu.c
ardware.c
nclude/hardware/AudioHardwareBase.h
nclude/hardware/AudioHardwareInterface.h
nclude/hardware/IMountService.h
nclude/hardware/flashlight.h
nclude/hardware/gps.h
nclude/hardware/led.h
nclude/hardware/overlay.h
nclude/hardware/power.h
nclude/hardware/qemu_tracing.h
nclude/hardware/uevent.h
nclude/hardware/vibrator.h
nclude/hardware/wifi.h
ed/Android.mk
ed/led_qemu.c
ed/led_sardine.c
ed/led_stub.c
ed/led_trout.c
odules/overlay/overlay.cpp
ount/Android.mk
ount/IMountService.cpp
ower/Android.mk
ower/power.c
ower/power_qemu.c
ower/power_qemu.h
emu.h
emu/Android.mk
emu/qemu.c
emu_tracing/Android.mk
emu_tracing/qemu_tracing.c
ests/gpstest/Android.mk
ests/gpstest/gpstest.cpp
event/Android.mk
event/uevent.c
event/uevent_stub.c
ibrator/Android.mk
ibrator/vibrator.c
ifi/Android.mk
ifi/wifi.c
19b5d4e6e5af479c2c70b37f0cba40d19457b854 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> Merge branch 'cupcake'
699d24ab112439658bfe6a09fb0bf53b8bf5fad3 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
nclude/hardware/AudioHardwareInterface.h
nclude/hardware/overlay.h
odules/overlay/overlay.cpp
4158b09dc232f5e1d882aa037aed8159c11d531d 19-Dec-2008 Jean-Baptiste Queru <jbq@google.com> Merge commit 'remotes/korg/cupcake'

Conflicts:
include/hardware/AudioHardwareBase.h
51704bed795b5b0e5e3c7b792dcdc2bf2d96a9e9 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
ndroid.mk
lashlight/Android.mk
lashlight/flashlight.c
ps/Android.mk
ps/gps.cpp
ps/gps_qemu.c
ardware.c
nclude/hardware/AudioHardwareBase.h
nclude/hardware/AudioHardwareInterface.h
nclude/hardware/copybit.h
nclude/hardware/gps.h
nclude/hardware/hardware.h
nclude/hardware/led.h
nclude/hardware/overlay.h
nclude/hardware/sensors.h
nclude/hardware/wifi.h
ed/Android.mk
ed/led_qemu.c
ed/led_sardine.c
ed/led_stub.c
ed/led_trout.c
odules/README.android
odules/overlay/Android.mk
odules/overlay/README.android
odules/overlay/overlay.cpp
ower/Android.mk
ower/power.c
ower/power_qemu.c
ower/power_qemu.h
emu.h
emu/Android.mk
emu/qemu.c
emu_tracing/qemu_tracing.c
ensors/Android.mk
ensors/sensors_stub.c
ensors/sensors_trout.c
ests/gpstest/Android.mk
ests/gpstest/gpstest.cpp
ibrator/vibrator.c
ifi/wifi.c
5ecbb8067789854f471cd73ce4650ac91a2e1b3e 30-Oct-2008 Iliyan Malchev <malchev@google.com> Add AudioHardwareBase class to libhardware.

Signed-off-by: Iliyan Malchev <malchev@google.com>
nclude/hardware/AudioHardwareBase.h
d6054a36475b5ff502b4af78f7d272a713c1a8e7 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
ndroid.mk
ODULE_LICENSE_APACHE2
OTICE
lashlight/Android.mk
lashlight/flashlight.c
ps/Android.mk
ps/gps.cpp
ps/gps_qemu.c
nclude/hardware/AudioHardwareInterface.h
nclude/hardware/IMountService.h
nclude/hardware/flashlight.h
nclude/hardware/gps.h
nclude/hardware/led.h
nclude/hardware/power.h
nclude/hardware/qemu_tracing.h
nclude/hardware/sensors.h
nclude/hardware/uevent.h
nclude/hardware/vibrator.h
nclude/hardware/wifi.h
ed/Android.mk
ed/led_sardine.c
ed/led_stub.c
ed/led_trout.c
ount/Android.mk
ount/IMountService.cpp
ower/Android.mk
ower/power.c
emu_tracing/Android.mk
emu_tracing/qemu_tracing.c
ensors/Android.mk
ensors/sensors_stub.c
ensors/sensors_trout.c
event/Android.mk
event/uevent.c
event/uevent_stub.c
ibrator/Android.mk
ibrator/vibrator.c
ifi/Android.mk
ifi/wifi.c