• Home
  • History
  • Annotate
  • only in /system/core/include/system/
History log of /system/core/include/system/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f6cce347a73e3b3da9ff6698ead25b5a543ce47b 20-Sep-2014 Eric Laurent <elaurent@google.com> audio: add HW hotword capture flag

Bug: 17575019.
Change-Id: I12c0a2e0200f3d839dfd74650724391e54ac3534
udio.h
fcfa86403e206e2caa519299939480cb45deb8ba 20-Jun-2014 Jon Eklund <jeklund@motorola.com> audio.h: Add "safe speaker" device for limited-loudness use cases

Bug: 17319721
Change-Id: Ie1af5b73258f8a0009c3bc3cecb3e0e8b2262ed7
udio.h
cc2566f12760d66837b52213e5ffd2cb30cce19e 09-Aug-2014 Rachad <rachad@google.com> Merge "Tunneled Video Playback support" into lmp-dev
d91e6df901eeebadb92a0361796a387c5b0ceec0 01-Aug-2014 Eric Laurent <elaurent@google.com> audio: add defines for audio HW sync source

Bug: 16132368.
Change-Id: I4008c315f2cba9c6027998be92f4af649359bcce
udio.h
d6d4c61a93e8ad1438c272e7540acea0a99770a2 30-Jul-2014 Rachad <rachad@google.com> Tunneled Video Playback support

Added native_window_set_sideband_stream() method to window.h

Bug: 16132368
Change-Id: Iff5770cb2e2d27176bee37edacaed7b783bbce2a
indow.h
3fc434e9c11bd9601c6046273e552a97c7cef4e0 28-Jul-2014 Eric Laurent <elaurent@google.com> sound_trigger HAL update

Indicate if trigger capture is returned with
recognition event in implementation properties
Add coarse confidence level to keyphrase recognition event.
Add capture format to recognition event

Bug: 12378680.

Change-Id: I52303ce2e46b9ebfb9993e47d153799921f9f8e7
ound_trigger.h
1e92ed5e83474c157237de18af5b2201095f37e3 28-Jul-2014 Eric Laurent <elaurent@google.com> audio: define type for unique audio Ids.

Define a type for unique audio Ids allocated by AudioFLinger
for use as session Ids or I/O handles.

Bug: 12378680.
Change-Id: Ic9019fff97a1227b60e48c88c57d25dbbdcd7d1e
udio.h
a768c306b2391b8b573f047de3416c693fa50e62 28-Jul-2014 Eric Laurent <elaurent@google.com> audio: add audio device address helper function

Add helper function to derive set_parameter command
string from device type and address.

14815883

Change-Id: Icf47218f1809f567ef93bdd99d6308475886b298
udio.h
0a381a379d00f708a0dfe4da758697128177749a 28-Jul-2014 Eric Laurent <elaurent@google.com> audio: move struct audio_config definition to audio.h

struct audio_config definition moved from hardware/audio.h to
system/audio.h for use inside the framework and not only at the HAL.

Added frame_count field to struct audio_config.

Bug: 14815883.

Change-Id: Ib0e99a60234b8e5302eb882b89e5a021a94ec2cb
udio.h
c3dbe121be45733c0fcae04054e51665c493e453 22-Jul-2014 Jean-Michel Trivi <jmtrivi@google.com> Define new audio attribute flag: beacon

Flag AUDIO_FLAG_BEACON characterizes streams where the system
ensures that the playback of the sound will be compatible
with its use as a broadcast for surrounding people
and/or devices. Ensures audibility with no or minimal
post-processing applied.

Bug 15415971

Change-Id: I1df9dc50e3fcc973a0709a55df5b3bd95f81eb58
udio.h
c73b73a3c9b1eb008446ca4e96598dc7bc56a937 25-Jul-2014 Zhijun He <zhijunhe@google.com> graphics: update raw10 to allow padding between rows

Change-Id: Ied1f42bb977212d9e5f3b2b2b3caa9c8c2caac5d
raphics.h
cadd5bb70eae200d744f115fd63c3ebe17069db8 15-Jul-2014 Jungshik Jang <jayjang@google.com> Add force usage and config type for HDMI-CEC system audio mode.

New Usage Type: AUDIO_POLICY_FORCE_FOR_HDMI_SYSTEM_AUDIO
New Config Type: AUDIO_POLICY_FORCE_HDMI_SYSTEM_AUDIO_ENFORCED
When HDMI-CEC system audio mode is enabled, AudioService will
call
setForceUse(AUDIO_POLICY_FORCE_FOR_HDMI_SYSTEM_AUDIO,
AUDIO_POLICY_FORCE_HDMI_SYSTEM_AUDIO_ENFORCED);
in order to notify enabled system audio mode, so that
audio policy manager chooses proper output.
When it turns into off, AudioService will call
setForceUse(AUDIO_POLICY_FORCE_FOR_HDMI_SYSTEM_AUDIO,
AUDIO_POLICY_FORCE_NONE);

Along with it, add new audio output devic type,
AUDIO_DEVICE_OUT_AUX_LINE, in order to distinguish
line out for headphone and aux output of av device.

Bug: 16305986
Bug: 16002150
Change-Id: Idecdf626737f6635ea3cda638c343260b1661c77
udio.h
udio_policy.h
a5e65d86a2a07997b92f83cfac2f0ee37feeee6f 28-Jun-2014 Ruben Brunk <rubenbrunk@google.com> Allow sticky transform to be set in ANativeWindow.

Bug: 15116722

- Adds methods to set the sticky transform field.

Change-Id: Idaa4311dfd027b2d2b8ea5e2c6cba2da5779d753
indow.h
432b7c6da2bd47c0db9db190b05733a45f744d6c 15-Apr-2014 Glenn Kasten <gkasten@google.com> Representation of channel masks for position assignment and index assignment

Bug: 16245854
Change-Id: I76c7c39c7d4f8d5035016653aa91fa7c1e749bbd
udio.h
923e740879c871e0c3806f7c6df77093e715bb38 18-Jun-2014 aarti jadhav-gaikwad <agaikwad@nvidia.com> audio: add definitions for aac sub formats

add definitions for aac sub formats

Change-Id: I610caa510dfc7347f7c98e19359545423edd76b3
udio.h
6fe316102a17b644ea2525a393e1f2ea4b299f8d 11-Jul-2014 Jungshik Jang <jayjang@google.com> Merge "Fix size of "values" fields of audio_gain_config."
f7e5aeadb71cf786bea6a9ee8c86069e939e8267 11-Jul-2014 Jungshik Jang <jayjang@google.com> Fix size of "values" fields of audio_gain_config.

It should be sizeof(audio_channel_mask_t) * 8 not
sizeof(audio_channel_mask_t) alone.

Change-Id: I3523dd4d44a0900ba1845b3675a22451f1fc2f3c
udio.h
2c7cfc10f5d869a52038198aed6bd6e8e6fc9a54 08-Jul-2014 Jungshik Jang <jayjang@google.com> Remove forced usage types for HDMI-CEC system audio mode.

Change-Id: Ice8aab76281aa62a42665d7c86df1041c7f64ab9
udio_policy.h
a916e260db1e6c2c20fe0451ffe380f5e19af818 09-Jul-2014 Terry Heo <terryheo@google.com> Merge "audio: add definition for new audio loopback input device"
b63dd8a005ad3133915a949e6b31e81d51007688 27-Jun-2014 Terry Heo <terryheo@google.com> audio: add definition for new audio loopback input device

Bug: 15437484
Change-Id: I62da0596d405c3bb5e00b461f7d4fd11627ed391
udio.h
81c006d7922b02aaa43fc81c022b66deb06d9048 07-Jul-2014 Eric Laurent <elaurent@google.com> Revert "Revert "sound trigger: several data structure updates""

This reverts commit 6ef7c14b0292a87dd3a04d243d5c7de36a0eb3da.

Change-Id: I285b8388e7fd6f697b76fd18697edea7368991bb
ound_trigger.h
6ef7c14b0292a87dd3a04d243d5c7de36a0eb3da 07-Jul-2014 Eric Laurent <elaurent@google.com> Revert "sound trigger: several data structure updates"

This reverts commit 135dd2ee3dc56cf79b14a6de57fcdc805face6bc.

Change-Id: Iad97090c77ad36567eb3c6550ebe3812768e88ad
ound_trigger.h
135dd2ee3dc56cf79b14a6de57fcdc805face6bc 07-Jul-2014 Eric Laurent <elaurent@google.com> sound trigger: several data structure updates

Added sound model implementor UUID.
Added capture preamble duration in recognition event.
Replaced number of users by list of user IDs in key phrase
descriptor.
Report confidence level for each user with user ID in recognition
event.
Added more configuration data to start_recognition() grouped in a
recognition configuration structure.
- List of keyphrases to listen to
- Recognition mode
- List of users with min confidence level
Added definitions for sound model load callback event.

Bug: 12378680.
Change-Id: Ia8c12ab20448b702d13db964bdd90ac4117a58d7
ound_trigger.h
db37858a171c101a2eeb5ce473391112e314856a 06-Jul-2014 Eric Laurent <elaurent@google.com> sound trigger: add sound model and key phrase IDs.

Bug: 12378680.
Change-Id: I93b1916151108ccf6eb625b0078e6ed574720b76
ound_trigger.h
0c3664f08dd5bfa786b3fe82ed2343c7989d35dd 26-Jun-2014 Jungshik Jang <jayjang@google.com> Define force usage and category for System Audio.

System Audio Control in HDMI-CEC delegates audio
output to Audio Receiver and audio output port
is one of ARC, SPDIF and analog output (line).

Change-Id: Ieb325f754f039e09aae68b700349861ca4e08cbc
udio_policy.h
f267b063059e34276a063463368e53da86769892 30-Jun-2014 Ian Rogers <irogers@google.com> am 3e906630: am 33dce382: am 63a61e56: Merge "Rename __unused to __UNUSED for glibc support."

* commit '3e906630099e0508a72300e14512a62110c864c3':
Rename __unused to __UNUSED for glibc support.
de8b98335763b1fbb51254e3f22247971d1c7cfe 28-Jun-2014 Ian Rogers <irogers@google.com> Rename __unused to __UNUSED for glibc support.

Glibc declares unused fields as __unused and so a #define for __unused causes
issues when we built against glibc on the host. Rename __unused to __UNUSED as
a workaround.
This fixed checkbuild for 64-bit host builds. Bug: 13751317

Change-Id: Ic2cd52518c16661497cc819cb3fd7f1fa5c6f0fb
indow.h
72fce30eeb2a3eecaefc858ffb0a478a41196572 24-Jun-2014 Zhijun He <zhijunhe@google.com> graphics: add android raw10 format

Change-Id: Ib1b74b1664159190e417f2e68a5a13493d04adfc
raphics.h
ce30de3553ecaaa0a85eec8a788e808630d766b4 11-Jun-2014 Eric Laurent <elaurent@google.com> audio: added new audio formats.

Bug: 9428304.

Change-Id: Ife1f6968a8d079b477b5afb5e5cf544e8fe3298f
udio.h
5894b4bfaa4f72d41ecc5c3cf7f8c36b311bb167 15-Apr-2014 Eric Laurent <elaurent@google.com> add definitions for sound trigger

Add header file sound_trigger.h containing
base definitions and data types for sound
trigger native service and HAL.

Change-Id: Ie357d8c3909d0e1afda230523aded2d8699c69f1
ound_trigger.h
0d580e83dd97b7f36869041cdc8f1af12dff8675 21-May-2014 Jean-Michel Trivi <jmtrivi@google.com> Define audio attributes type in system audio header

Change-Id: Iac2030a1e4a6827676e6c5f9b408f1e768207f00
udio.h
1142d8eceae962d481d922358ebe9837ba975a2a 28-May-2014 Mike Lockwood <lockwood@google.com> Merge "audio: Add AUDIO_DEVICE_IN_BLUETOOTH_A2DP"
c8183af4b3a3515f8f0cff27b2808a7139f18230 12-May-2014 Mike Lockwood <lockwood@google.com> audio: Add AUDIO_DEVICE_IN_BLUETOOTH_A2DP

Change-Id: I32770abd42702d99f409f0968326041e78d1a826
udio.h
f661a8f53158bc28faf754adf896c0a5a9dc999e 28-May-2014 Mark Salyzyn <salyzyn@google.com> am 27348af6: am 6445b40e: am 811f2c0b: Merge "system/window.h: add deprecation warnings"

* commit '27348af683a55d8701567fdeabdd37b547b187f0':
system/window.h: add deprecation warnings
881c89c54a19187c68ac079d812e010436dc4e4d 24-May-2014 Mark Salyzyn <salyzyn@google.com> am 7aa8cdfb: am 21157abc: am 8814bd1d: Merge "include: cleanup for -Wsystem-header"

* commit '7aa8cdfb317dcb7efb7127b070526df09da05377':
include: cleanup for -Wsystem-header
289e111a009809ec18c3b652b7805e61bb515f6e 23-May-2014 Mark Salyzyn <salyzyn@google.com> system/window.h: add deprecation warnings

Change-Id: I38de3d281f28e0750b4abb86f28509f98dfc7a72
indow.h
4887842c925f304dc862bdd5810f27cdd2eaedcb 23-May-2014 Mark Salyzyn <salyzyn@google.com> include: cleanup for -Wsystem-header

- warnings as errors, or errors introduced when -Wsystem-header
was experimentally introduced.

Change-Id: Ia8f5b3c1c1096e191741223d52526aa48c7f1cc4
udio.h
indow.h
4cd050121fd22c0f7277a988d548d0e8f327a760 18-Feb-2014 Eric Laurent <elaurent@google.com> audio: added definitions for audio routing extensions

Added definitons and structures for new audio routing features
in the framework and audio HAL.
The structures describe the objects needed to perform audio
routing and audio gain control: different variants of audio ports
and their corresponding configurations as well as gain controllers.

Change-Id: Iecd1b9186831067a52cc55619a63b7bba57dcbd9
udio.h
abcb99927d9ad3f66288a5ce16d7c86c14b49249 17-May-2014 Eric Laurent <elaurent@google.com> audio: add definitions for new audio devices

Change-Id: I7bbc564a81fd693fa7e6bcb3a817986b50568147
udio.h
a7e8f8615d357357712660d1ed3863c274c2c7bb 16-May-2014 Andy Hung <hunga@google.com> Add channel count functions for audio masks

audio_channel_count_from_in_mask
audio_channel_count_from_out_mask

Change-Id: Ic519f2c3f85d14acb9526cc8812360fcbd15346d
Signed-off-by: Andy Hung <hunga@google.com>
udio.h
fbb9f993a09a6805b7c17769d8661cb3b289a559 29-Apr-2014 Glenn Kasten <gkasten@google.com> Remove AUDIO_CHANNEL_OUT_SURROUND

Change-Id: Id163902dd2c83200201012ffb704d338e81ea471
udio.h
ee7c17b7fc816393afcc7e8dbe751c55a512495b 29-Apr-2014 Glenn Kasten <gkasten@google.com> Add AUDIO_CHANNEL_OUT_5POINT1_SIDE and AUDIO_CHANNEL_OUT_QUAD_SIDE

for use by downmix effect

Also add documentation about platform convention for interleaving.

Change-Id: I44f837e876c6e8f5f70a726d797631ffa556cf9f
udio.h
b8d59396dfb3b9135bb6dc869aa723ca618bd95d 29-Apr-2014 Glenn Kasten <gkasten@google.com> Rename AUDIO_CHANNEL_OUT_QUAD and AUDIO_CHANNEL_OUT_5POINT1

to AUDIO_CHANNEL_OUT_QUAD_BACK and AUDIO_CHANNEL_OUT_5POINT1_BACK
respectively, for consistency with terminology used in downmix effect

For the time being, preserve the old names to avoid changing existing code.

Change-Id: I11131e3f66087090a590c93921092ca4fc78cf1c
udio.h
aba03c0b7a7a94f437b786a6fa755c6c297a6a2e 25-Apr-2014 Rom Lemarchand <romlem@android.com> am d2674cba: am 0a04c556: am 19759a08: Merge "audio: fix audio_is_bluetooth_sco_device()"

* commit 'd2674cbad9dac54ae23d1bbcdf137d75d582258f':
audio: fix audio_is_bluetooth_sco_device()
b526630ab843f9a405be23618d5808d8e65755f3 24-Apr-2014 Eric Laurent <elaurent@google.com> audio: fix audio_is_bluetooth_sco_device()

Bug: 14268964
Change-Id: Ia2a185c5e0939930c5114209651a1e0db6c36ef3
udio.h
00b8972062fb32dd02bcac7821a6612ce27ebd86 18-Apr-2014 Paul McLean <pmclean@google.com> Usb Capture Implementation

Change-Id: I0b5166cc380419455373d590b9a6c4b21bf6634c
udio.h
45b9581fc9884da4bf60203ece1563e29aac8c96 07-Mar-2014 Glenn Kasten <gkasten@google.com> audio_is_valid_format is true for all PCM formats

Change-Id: I733f3208315816575f6d4f7722e906ab50b161af
udio.h
173f4995b075e67abdb1874da9f6e83fd7324a5e 07-Mar-2014 Andy Hung <hunga@google.com> Update audio_bytes_per_sample for PCM 24 bit packed

Change-Id: Ic79f604893f5c4f2e8e35189d6638b5b160435ed
Signed-off-by: Andy Hung <hunga@google.com>
udio.h
3a436c1c3c5d1b669732e6f5eaaa6986118ab306 03-Mar-2014 Lajos Molnar <lajos@google.com> Merge "Adding opus to list of audio formats"
c2729741c284f1e1b368aa64fecfec33b3e39199 22-Feb-2014 Alex Ray <aray@google.com> am 4fc8231c: Merge "graphics: Add colorspace definitions" into klp-volantis-dev

* commit '4fc8231c187f3bc96e4633ee055efe5b10590d79':
graphics: Add colorspace definitions
c9f3bcf87b701af671a16a7846db6e96df3fd4a3 27-Nov-2013 Alex Ray <aray@google.com> graphics: Add colorspace definitions

Change-Id: I54230dc2c0e481228457e8a01a50d300c917e657
raphics.h
535253eabe96c9de993205c39ee32174fe05be7a 05-Feb-2014 Ruben Brunk <rubenbrunk@google.com> camera3: Add opaque raw format.

Change-Id: I7abf0e63a0f74ede46e0fe4dd1285283355624b1
raphics.h
c0a51093a2604b27f7d78f88eecaea15ac744f2e 31-Jan-2014 Glenn Kasten <gkasten@google.com> Add 24-bit packed to audio_format_t

Change-Id: I08c38ee3ade7b24dc9e2b3ed2b7037c42521a555
udio.h
76edb1c0e644fe9f0b9f93939647a34123a60063 29-Jan-2014 Vignesh Venkatasubramanian <vigneshv@google.com> Adding opus to list of audio formats

Adding opus to the list of audio formats enum.

This CL is part of adding Opus decoding support to android.

Change-Id: I41decf426ed3f76c10b27f247b1264010689c759
udio.h
1c3e16fb40780c010f35119cdf782e6fcb7ce017 19-Dec-2011 Glenn Kasten <gkasten@google.com> Miscellaneous updates to <system/audio.h>

Add single-precision floating-point PCM format:
- AUDIO_FORMAT_PCM_SUB_FLOAT
- AUDIO_FORMAT_PCM_FLOAT

Add symbols to replace hard-coded constants in code:
- AUDIO_IO_HANDLE_NONE
- AUDIO_IN_ACOUSTICS_NONE
- AUDIO_INTERLEAVE_*
- AUDIO_STREAM_MIN

Update comments.

Fix whitespace in switch statement.

Change-Id: I61862c188ebac06657b5d9887164edc24b8ab8f5
udio.h
b4f2b4eac4b9ae3d8c7804c5902343c4235f81ad 25-Jun-2012 Glenn Kasten <gkasten@google.com> Add AUDIO_SESSION_ALLOCATE

Change-Id: I045f2f04520bc474666c43a0ff1568f0fab3567c
udio.h
ddc20de1483028ee0b4401266499a59631e9d659 03-Jan-2014 Rom Lemarchand <romlem@google.com> move sync headers from include to libsync

Make sw_sync.h private

Change-Id: I0b120ebe81fd4a191b7aa4b6a8de4f64d16e2b3e
indow.h
96675ed91ffe1ff95e7b10edf2b285f46b6f5213 18-Sep-2013 Mathias Agopian <mathias@google.com> Fix rotation in camera2 API

Bug: 10804238
Change-Id: I093945789d9c6d373392fc9dfd18ec2c6058d3b9
raphics.h
indow.h
04c12ca061cd4ffe79a8eb5d570c4830a0950c85 09-Sep-2013 Eric Laurent <elaurent@google.com> Add HOTWORD audio source to audio.h

- This is a complimentary change to the one adding this new source to
MediaRecorder.java

Bug: 10640877.

Change-Id: Ie213e82b5a60dad2a277cef367c2f5e4df70df06
udio.h
8ecc7afca42d0bb27aad25733790309f71f307d6 17-Aug-2013 Jeff Brown <jeffbrown@google.com> Add helpers for audio remote submix devices.

Bug: 10265163
Change-Id: Iea7ecab4f2a655b719ff14b04c757d6dbd7a7ef3
udio.h
1e26356da14d78abd18eb66ddd980741e2207f1e 16-Aug-2013 Jesse Hall <jessehall@google.com> Replace sRGB_888 with sRGB_X_8888

Bug: 10357459
Change-Id: I23a3eca77acd8b4b40b1a67e7c050a7245b1821a
raphics.h
c051ffd7c24bbe989c9e39c793c6bbbac3ee3eff 01-Aug-2013 Glenn Kasten <gkasten@google.com> Add audio_input_flags_t

Change-Id: Ie65398cc67218cc63be4baa8a2a61d0ea591a2a3
udio.h
f88a5b4f887bddd478e9fb35d609b684c54d5204 30-Jul-2013 Eino-Ville Talvala <etalvala@google.com> Window: Add query for consumer usage bits.

Bug: 9592202
Change-Id: Ied2fdb985dc59dd9c0f26c515353abdc37f0eb77
indow.h
6bac41f1bf9b651523a2f9f119c2adb0836eb6b7 26-Jul-2013 Mathias Agopian <mathias@google.com> get rid of HAL pixelformats 5551 and 4444

Change-Id: I047d948f2f3b5c681a0b187589775f92b4f01541
raphics.h
224445c83055e04d2091340b400d8b7d9aee5ead 26-Jul-2013 Mathias Agopian <mathias@google.com> Merge "add sRGB pixel formats to the HALs"
8d9da28ab5f32e3cd83858a5b31f45bb5d03a1fd 26-Jul-2013 Mathias Agopian <mathias@google.com> add sRGB pixel formats to the HALs

Change-Id: I1d5f9dd14a6485dd3a29fb5960edfa79aa86da42
raphics.h
87bc464a9f62f026fd841d3b54cfb1a5d57d83a3 24-Jul-2013 Glenn Kasten <gkasten@google.com> Merge "Valid channel mask must have at least one channel"
000b1d0c5058d9da4dfec3a6f16b58fd50c34374 24-Jul-2013 Alex Ray <aray@google.com> thread_defs: remove trailing whitespace

Change-Id: Idba19c64dfde67c40a98c29f68d5e8d4e555a4cf
hread_defs.h
42cf2b5945c6e7cefc84b1146ba5057faae91322 24-Jul-2013 Colin Cross <ccross@android.com> fix windows build

thread_defs.h gets included by the windows host libandroidfw build,
which does not have sys/cdefs.h or BEGIN_DECLS. Switch to using
extern "C" manually.

Change-Id: I363e6f2d3a64c5efeff54049a2e5dab080fd4715
hread_defs.h
8a84c71acbc84138a685e2482b4c53d4973abf9a 24-Jul-2013 Alex Ray <aray@google.com> cutils: add thread_defs header

Change-Id: I3b70054d9f9740a5980df514221de07df55e7176
hread_defs.h
f7326dc0aa2da2df6bf1fa1ae7ef259a0ebdbd7b 19-Jul-2013 Glenn Kasten <gkasten@google.com> Valid channel mask must have at least one channel

Also:
- Use correct type name audio_channel_mask_t
- Use the parameter name 'channelMask' instead of the more ambiguous 'channels'

Change-Id: I22bc1821a1bded0e69fe7d99e7b981ff60d77cee
udio.h
05529a1a10711d93745a9fcf07520f65a3eb4f3d 25-Mar-2013 Richard Fitzgerald <rf@opensource.wolfsonmicro.com> Add defines for audio offload and non-blocking write

- Defines audio output flags for offloaded playback of compressed
streams, and non-blocking HAL write()/drain()
- Adds audio_offload_info_t to pass additional information about a
compressed stream when offloading

Change-Id: I4592d0877edd39e68d0c1035d0652adbd397bf3a
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Eric Laurent <elaurent@google.com>
udio.h
e13f15ab55d957976bc66f314c3f58090e903207 19-Mar-2013 Alex Ray <aray@google.com> graphics: add Android flexible YCbCr format

Change-Id: I3f6676873febc793f7a4a5e06892cd9fadb35665
raphics.h
bcfa910611b42018db580b3459101c564f802552 15-Feb-2013 Mathias Agopian <mathias@google.com> Refactoring: Rename SurfaceTextureClient to Surface

Change-Id: Ie745d9adf5465834bb8bf751a2f88b19435fdf46
indow.h
4869a68d56aaf3fefd2c1022bdab8571077e063c 12-Feb-2013 Igor Murashkin <iam@google.com> am 1b69da3e: am 6711f76d: Merge "graphics.h: Remove unnecessary comments for Y8/Y16 formats" into jb-mr1-aah-dev

# Via Android (Google) Code Review (1) and others
* commit '1b69da3ef0f505b885f8621ca2dad44d46aa824e':
graphics.h: Remove unnecessary comments for Y8/Y16 formats
51b78949b27d1c76d1979cac3aa61c04f820ff9f 12-Feb-2013 Igor Murashkin <iam@google.com> am fbb4a5ac: am fba6c12a: Merge "graphics.h: add new Y8, Y16 formats" into jb-mr1-aah-dev

# Via Android (Google) Code Review (1) and others
* commit 'fbb4a5ac1b771b2df0786bb5587c7ed0d5f82089':
graphics.h: add new Y8, Y16 formats
d755b52b43913913e0915c50b5ff0d03c96eed49 11-Feb-2013 Igor Murashkin <iam@google.com> graphics.h: Remove unnecessary comments for Y8/Y16 formats

Change-Id: Ic80f6c4be7df9d9729334b97bb662eb2d0456c33
raphics.h
9e00e66ebcea150e75536e065419128efd4ee5b8 01-Feb-2013 Igor Murashkin <iam@google.com> graphics.h: add new Y8, Y16 formats

Change-Id: I0cb3786d91f442b5f3b665dd78bf5f0dd4ae4cf0
raphics.h
6c70ceeefe4cd2838b5788f6db8eb35751a5ce21 18-Jan-2013 Eric Laurent <elaurent@google.com> audio: added input device for front + back mic

Added a value to audio_channel_mask_t enum for front + back mic
combination to allow parsing of audio_policy.conf file by audio
policy manager.

Change-Id: I8412b4d3cfc03323eff867563a1a73322019c0f3
udio.h
371fc00fc58841bce6ebe0112008fc8a0633dc94 12-Oct-2012 Jean-Michel Trivi <jmtrivi@google.com> Remove force use definition for remote audio submix

Obsolete.

Bug 7318180

Change-Id: I3421ca554a4131d606bdee698aeb7b2091a5d966
udio_policy.h
4daa843432fa23bcc44c24c65e36c79db0332525 09-Oct-2012 Eric Laurent <elaurent@google.com> audio policy: add forced uses for system

The volume and routing policy of AUDIO_STREAM_ENFORCED_AUDIBLE is
now controlled by AudioService by means of new forced use type
AUDIO_POLICY_FORCE_FOR_SYSTEM with config
AUDIO_POLICY_FORCE_SYSTEM_ENFORCED.

Bug 7032634.

Change-Id: Ib1834ec507f3aa726895b8fd3e8a91cc9cc601a7
udio_policy.h
bc930eda3985cf50bb568aeb098cd0585d0c0ce0 01-Oct-2012 Jesse Hall <jessehall@google.com> Move dequeue-buffer-and-wait out-of-line

The dequeueBuffer_DEPRECATED function also waits for the buffer fence,
so we can just call that. That way the wait call is compiled into our
code (instead of driver code) and we can see/modify it for debugging.

Bug: 7217641
Change-Id: Ie2ea85ed1543a4ff7986d0162aee773e93591309
indow.h
96094ae27c4deac8b0dde8e3c6a479b249cecb72 21-Sep-2012 Jamie Gennis <jgennis@google.com> ANW: fix my fix for a file descriptor leak

Change-Id: Ief7b973fbdb76920abed19707963a0c3d306af31
indow.h
9bd8dd3b13a0d690c9316ed31be7c9a13f3f439f 20-Sep-2012 Jamie Gennis <jgennis@google.com> ANW: fix an fd leak

Change-Id: Id44cae6732c6694d2f470cbdfa5f59e7474f704f
indow.h
eeeee802e9837c592b0f0f9fd183bcaa9e77732e 28-Aug-2012 Eric Laurent <elaurent@google.com> audio: new audio devices enum values

Each audio device is identified by a bit in a 32 bit field with
16 bits for output devices and 16 bits for input devices.
The number of output devices is now exhausted.
In order to add new devices a new convention for audio device
identification is defined, allowing 31 different input and output
devices: Bit 31 of the bit field is reserved and when set indicates
an input device.

Also added new output device for wifi display and new input devices
for digital and analog docks, USB and wifi display send.

Change-Id: I849bec0b6d46e082e325a3f08890d313c8dc763b
udio.h
e11866a8799a2357b82c9217c8d6b726726f23fe 17-Aug-2012 Jean-Michel Trivi <jmtrivi@google.com> Device and mode definitions for remote submix

A remote submix is an audio mix of audio streams that
are not going to be played directly through the platform mix,
but rather will be mixed together to be handled in a
different manner. This mix can be obtained by recording
it through the AUDIO_IN_REMOTE_SUBMIX and presenting it
remotely (as opposed to local playback == on the device
itself).

All changes marked "temporary" will be overriden by the
changes to update the audio device definitions for
the 2.0 API.

Change-Id: I9c6da607fc50b7b8545d189ac5b083107369cfb5
udio.h
udio_policy.h
febe9d904fdae52172ea534393929918bf750446 22-Aug-2012 Jamie Gennis <jgennis@google.com> Add an IMPL_DEFINED pixel format.

This change adds a new HAL pixel format that indicates that the specific format
is to be chosen by the gralloc implementation.

Change-Id: I326b5ec7347a20863b42119431ef1e4d22480fec
raphics.h
6c4c66a7670e3a20867866384666380ae7b706c6 02-Aug-2012 James Dong <jdong@google.com> Added a cmd for configuring number of video buffers for camera, if supported

o currently, only available in Camera2

Change-Id: Id9bf157496209af9be65d147e70aa4830158c88d
amera.h
16a7a0443a59c636ab20a3161ec630d037766ecc 04-Jul-2012 Glenn Kasten <gkasten@google.com> Declare audio_devices_t as uint32_t & enum consts

Declare audio_devices_t as uint32_t to permit bit operations,
and a separate anonymous enum for the constants. This is similar to
audio_channel_mask_t.

Also remove spurious "typedef" on declaration of anonymous enum for
channel mask constants.

Change-Id: Ib4f92e9168261d44a475b3d48fe211e5c70ed441
udio.h
22aec573b718c57aea2b9bd91607631a6d521911 14-Jun-2012 Jamie Gennis <jgennis@google.com> ANativeWindow: update queue/dequeue/cancel w/ sync

This change deprecates the existing queueBuffer, dequeueBuffer, lockBuffer, and
cancelBuffer functions, and replaces them with a queueBuffer, dequeueBuffer,
and cancelBuffer function that accepts or returns a libsync fence file
descriptor. It also adds the native_window_dequeue_buffer_and_wait convenience
function.

Change-Id: Ifaac91164d014993d7d1d96e0303e04e429f4d00
indow.h
0a052487f42507af7a0dc2c144f9d11eb98aecfe 08-Jun-2012 Eino-Ville Talvala <etalvala@google.com> Add HAL_PIXEL_FORMAT_BLOB

This format describes buffers that are not structured like normal
image data, and can only be meaningfully understood by the endpoints.

As an example, this format is used for transporting JPEG-compressed
image buffers from the Camera HAL to the framework/apps.

Buffers of this format must have a height of 1 and a width equal to
their size in bytes. Otherwise their interpretation is up to the two
endpoints.

Bug: 6243944
Change-Id: Ia81015694cbf3a89e29bfbf3624c3ea2ef4f66fd
raphics.h
88f11846a621b148387aa09754bc939933793717 21-May-2012 Eric Laurent <elaurent@google.com> audio policy: allow disabling A2DP for media.

Added FORCE_NO_BT_A2DP forced use to allow applications to
override default policy to use A2DP whenever connected.

Bug 6485897.

Change-Id: I0039232ea6cce4121f375961b2c153d1a0d92e49
udio_policy.h
67fb73f5d5eaa089b63018f55f980631c9ba6749 10-May-2012 Eino-Ville Talvala <etalvala@google.com> Merge "Camera: Document expected error codes for start face detect." into jb-dev
58cfa8af0ef6ff541a638756866427aced483943 10-May-2012 Eino-Ville Talvala <etalvala@google.com> Camera: Document expected error codes for start face detect.

Clarify when BAD_VALUE is expected from the camera start face detect
command.

Bug: 6459066
Change-Id: Id1b3d5047dee2c509aa6e374a5ed439a776b0b87
amera.h
d21113ac460a2a663396bc6ecd79e5a85e2efc1b 03-May-2012 Jamie Gennis <jgennis@google.com> ANativeWindow: add set_post_transform_crop

This change replaces the set_active_rect function with set_post_transform_crop.
There is a temporary set_active_rect function that calls
set_post_transform_crop for compatibility while commiting to multiple git
repositories.

Change-Id: Ia7c171186fd277d5a36f6068ace93a9ce1c82d28
indow.h
190b6e2698dc47ddb4888b9c51abb23f69fcf064 01-May-2012 Jamie Gennis <jgennis@google.com> ANativeWindow: fix up some comments

This change clarifies in the ANativeWindow perform docs which perform calls are
private to the framework and should not be made by code below the HAL level.

Change-Id: Ibfeba0760d9a3f74996e6358d5ad89a408f80dfe
indow.h
185b300d6a33673daa69fbea6056e91c4390e158 30-Apr-2012 Jamie Gennis <jgennis@google.com> graphics.h: clarify docs about stride for YV12

This change makes it clearer how to derive the stride of the Cr and Cb plane
from the stride of the Y plane for the YV12 pixel format.

Change-Id: I54a9a20f35224bd583e25c615014cc8d830a1dd0
raphics.h
c36cc3b59879b0c46aea81b6ee746c40c591abf6 25-Apr-2012 Mathias Agopian <mathias@google.com> Merge "ANativeWindow: add set_active_rect"
aa3f4c3591d83728adec17bf0004f8dd5e46a3bb 18-Apr-2012 Jamie Gennis <jgennis@google.com> add query for finding out if consumer runs behind of producer

Change-Id: I3baae99d4da00d962d3afe6bdfc16e3eb04ede24
indow.h
92e6c88265e0126b6d9a205498bb1c62efc05509 20-Apr-2012 Eric Laurent <elaurent@google.com> Merge "audio policy: add deep audio buffering flag."
9aec362e76a60725df1a444214f222297caf46a2 14-Apr-2012 Eric Laurent <elaurent@google.com> audio policy: add deep audio buffering flag.

Add a value in audio policy flags to indicate an output
stream providing deep audio PCM buffers. Such an output
helps reducing the power consumption at the expense of audio latency.

Stagefright will indicate a preference for such an output when playing music
only (no video) and the audio duration is more than a given threshold.

Change-Id: I0e6a9f5746a22d2bfea2b21dd182489a34a4b528
udio.h
29dbf049bc8c9217237422381a8256705d4ce4d5 20-Apr-2012 Eino-Ville Talvala <etalvala@google.com> Merge "Add new raw image sensor HAL pixel format."
577deda5e32ddfa474185f3f5e141d2e029f481c 18-Apr-2012 Eric Laurent <elaurent@google.com> removed obsolete audio policy flags

Removed obsolete AUDIO_POLICY_OUTPUT_FLAG_xxx flags definition.
All project mmust use AUDIO_OUTPUT_FLAG_xxx flags from system/audio.h

Change-Id: Ib374dee96afcf176df35d9a621be02ce0e30caf5
udio_policy.h
fb1ee571446c13ad698e91f13fd4e0274a37d4d7 18-Apr-2012 Jamie Gennis <jgennis@google.com> ANativeWindow: add set_active_rect

This change adds the set_active_rect 'method' to the ANativeWindow interface.

Change-Id: Iae910d259ba5c3e94594fa1ffec5fc0662546ad0
indow.h
545ab46063f083239b29e59b8b491656d93f2a38 17-Apr-2012 Eric Laurent <elaurent@google.com> audio: added definitions for audio HAL device API.

Added definitions for output flags needed by new audio
HAL device API.

These flags where previously defined in audio_policy.h.
Definition in audio_policy.h remains temporarily until
all projects are changed to use new flags.

Change-Id: I371558c78050daae73942a36f51854372ab71068
udio.h
udio_policy.h
0a85154c1621b40d384b3fd7d45f3a9c0141e5a6 11-Apr-2012 Eino-Ville Talvala <etalvala@google.com> Add new raw image sensor HAL pixel format.

This format is exposed outside of the HAL to applications.

RAW_SENSOR is a single-channel 16-bit format, typically representing raw
Bayer-pattern images from an image sensor, with minimal processing.

The exact pixel layout of the data in the buffer is sensor-dependent, and
needs to be queried from the camera device.

Generally, not all 16 bits are used; more common values are 10 or 12
bits. All parameters to interpret the raw data (black and white points,
color space, etc) must be queried from the camera device.

This format assumes
- an even width
- an even height
- a horizontal stride multiple of 16 pixels (32 bytes).

Change-Id: I67fc72d1c2c899e258fcd53b3ab91b459e9210f0
raphics.h
aab19bbcb63eb3555291b4efd06282403b9eb002 13-Apr-2012 Mathias Agopian <mathias@google.com> Merge "Added flag for cropped scaling mode"
29392a4e5bedcff53a1d1f6674c73de00e0e5055 12-Apr-2012 Daniel Lam <dalam@google.com> Added flag for cropped scaling mode

NATIVE_WINDOW_SCALING_MODE_CROP forces the SurfaceTexture
to match the crop rect's aspect ratio to that of the window.

Change-Id: Id126b106eac06fd34d2d650a1bc66ffbac26c501
indow.h
afcdef635718985aae26e5f94c21ae4f3248a0b9 10-Apr-2012 Michael I. Gold <gold@nvidia.com> window: add API for native_window_set_buffers_user_dimensions

Add token and wrapper function for a new private function
native_window_set_buffers_user_dimensions which overrides the native window
size as the default buffer size. This is intended for use primarily by
ANativeWindow_SetBuffersGeometry so that application-set buffer dimensions may
co-exist with pre-rotation in e.g. the GLES driver which calls
native_window_set_buffers_dimension.

Change-Id: I6c0fc334c070290cc15b04daae1484d0a28cd8ad
indow.h
79f90bdc7de561aa31888948c0661568ccc33da1 06-Apr-2012 Eric Laurent <elaurent@google.com> audio: added definitions for usb audio devices

Change-Id: I4a4f5919708a09f87974367961b1d09664ae6c06
udio.h
31af5f7bebf656018482ac1a75a3e1780c0c42d1 26-Mar-2012 Glenn Kasten <gkasten@google.com> Add AUDIO_POLICY_OUTPUT_FLAG_FAST

Change-Id: I513b84de9c08957e22bff1fc2f25e4f4098111ef
udio_policy.h
b1108c85942f5cff22fbdaa9ed09c7b7d329da81 19-Mar-2012 Glenn Kasten <gkasten@google.com> Merge "audio_channel_in/out_mask_from_count"
427d2b43c23c48aedadca008482f495145411e2b 06-Mar-2012 Jean-Michel Trivi <jmtrivi@google.com> Fix switch indentation in audio_bytes_per_sample

Align "case" keyword with "switch" keyword.

Change-Id: I57ef96253fb1fc925315b557ea27ccc35f63c2f8
udio.h
89f7ba3df8fc359023b494c2e625beed900bc706 14-Mar-2012 Glenn Kasten <gkasten@google.com> audio_channel_in/out_mask_from_count

Change-Id: I879d188cf64ea1dbfa1a0574dee77119c2b08e26
udio.h
2923c0ba526902604ee53e94e07a16bef55742af 06-Mar-2012 Wu-cheng Li <wuchengli@google.com> Add camera ping command and release message.

The problem is both face unlock and camera application try to open
the hardware camera at the same time. A new camera open API is
added to let face unlock take the camera away from the existing
client. The release message is used to notify the existing client,
so it has time to release the hardware camera and clean up.

If existing client tries to use the camera after it is released,
the method will return error. It is still possible that the
camera has been taken and the existing client has not got the
notification. When any method returns error, the existing client
can use ping command to check whether the camera has been released.
If yes, the client can silently finish the app itself or show a
toast if it wants.

bug:5584464

Change-Id: I87f9f7db2f7b2b70ab2405f9b3da0d8946d6a01b
amera.h
11fd2beea06dc920acd5139e25de530cde3ea285 02-Mar-2012 Eric Laurent <elaurent@google.com> audio policy: added flag for primary output

Added a flag for output stream attributes indicating a primary
audio output stream.
The primary audio output stream is unique on a platform and receives all volume,
routing and parameters related to telephony use case.

Change-Id: Ic50b3c02cc60805031f26b819da6cf9ad65ad11c
udio_policy.h
4ab051ab4613f2622dc3f3f0f57bb34d8a40a6a9 03-Mar-2012 Jean-Michel Trivi <jmtrivi@google.com> Add function to derive a channel mask from a channel count

Change-Id: I22523ded9cd8e5283a285a9db21d819bbbc1b6c3
udio.h
2e9d845850841f4bf91ed8bd4a79010c56abf4c2 01-Mar-2012 Eric Laurent <elaurent@google.com> renamed audio policy output flag.

Renamed AUDIO_POLICY_OUTPUT_FLAG_INDIRECT to AUDIO_POLICY_OUTPUT_FLAG_NONE
which is more appropriate.

Change-Id: Ie898ddc2279db55a65ece96e09232163c2e78024
udio_policy.h
c958a7f4988f3dd98135b23619cdf55ec55bd1f6 26-Feb-2012 Mathias Agopian <mathias@google.com> add missing include

Change-Id: Id93278c59cfdf72a62a4fe26178bd5c3e43b089e
indow.h
828bf0cdf4e869fa7bb007331670328c834f8277 12-Jan-2012 Glenn Kasten <gkasten@google.com> Use audio_format_t consistently

Change-Id: I7eb489b1c1cbe9bfadd43cd7645da86b90fab652
udio.h
e565492c6c2807f5952bc51a309e98b204350616 13-Dec-2011 Jesse Hall <jessehall@google.com> am 3bc5e452: am 7cd3e0a3: Document ANativeWindow\'s buffer refcounting

* commit '3bc5e452808514c48cdb5d2c3ca14c022aeecf6f':
Document ANativeWindow's buffer refcounting
7cd3e0a3a2f9b104cd6c04f699ae62c4577787e2 12-Dec-2011 Jesse Hall <jessehall@google.com> Document ANativeWindow's buffer refcounting

Change-Id: I5454e90afd1a1b7d4a75c503f8dca712dba33790
indow.h
3dc54060c139f5ebbcf3494b346785ea85d4afa8 14-Nov-2011 Wu-cheng Li <wuchengli@google.com> Add camera focus move message.

bug:5534973
Change-Id: I45213b1a4db3dbcfc0ab124689f27a88335fb26b
amera.h
baad2843a1af443aa251be510c4476159d064d20 12-Oct-2011 Wu-cheng Li <wuchengli@google.com> Update camera documentation about face detection.

bug:5169599
Change-Id: I5280137cee5401fadec36cae732ecb78a2d44dc3
amera.h
8d43cb6edb5c0d9ebb1fa0586b738d7832a288b4 07-Oct-2011 Wu-cheng Li <wuchengli@google.com> Allow CAMERA_CMD_SET_DISPLAY_ORIENTATION to change during preview.

bug:5422679
Change-Id: Ia4a09328bd9e1d36af680be4d065bc08cf0dec0f
amera.h
c9b06951e0349244fdca7401e7bcc54c538dce62 12-Aug-2011 Mathias Agopian <mathias@google.com> another attempt at fixing the SDK build.

Change-Id: I2b96cf7d046b694b232f0699257e4e0608fda660
raphics.h
7934d18aa62af9ab6a7ad6059e03ab24cf5d5e67 12-Aug-2011 Mathias Agopian <mathias@google.com> really fix the SDK build and fix THE build

Change-Id: I994cccf01bcafedc9ea11648eafc20300c58878b
raphics.h
33a1d436366163d396aa21a3d84099c57da4a50f 12-Aug-2011 Mathias Agopian <mathias@google.com> attempt to fix SDK build.

missing cdefs.h include

Change-Id: Ic7dfdfe74976a459f166a7576b077965cd1fda6a
raphics.h
5c9be402a4d934b678fe6609b6cc4d488d6ddaa4 10-Aug-2011 Mathias Agopian <mathias@google.com> Add a priority constant in to the graphics HAL header

this is needed if a display/gpu driver needs to create
service threads that can block the main ui thread.
to avoid priority inversions, these must run at
HAL_PRIORITY_URGENT_DISPLAY

Change-Id: I3af592e05a6d1b6f39a2b7885a7c842e54abfce2
raphics.h
319f4e2793e691a7aeabad09e463ac09df562ed4 03-Aug-2011 Mathias Agopian <mathias@google.com> fix a typo that prevented api_connect/api_disconnect to work

also make the original connect/disconnect inlines be no-ops.

Change-Id: Ic723e21455491c63ccbbcd01d3a47cd7ed788319
indow.h
a43546a874890064606489f2125181a5f65adacd 02-Aug-2011 Wu-cheng Li <wuchengli@google.com> Change CAMERA_MSG_METADATA_FACE to CAMERA_MSG_PREVIEW_METADATA.

bug:4460717

Change-Id: Icb9c54fa35a1af7c4f761d1a25061e6993cfc4af
amera.h
ed7f9aaf76d58ac1a4a34838ab5f4d6899714056 02-Aug-2011 Mathias Agopian <mathias@google.com> Merge "connect/disconnect is now deprecated."
8ad545297cdb180893c4f957682857953c0d3c5f 30-Jul-2011 Mathias Agopian <mathias@google.com> connect/disconnect is now deprecated.

these hooks are replaced by api_connect/api_disconnect
which serve exactly the same purpose than before.
the old hooks are deprecated because they won't be called
from the gl driver anymore, but instead will be called
by our EGL wrapper. to maintain binary compatibility
it was necessary to introduce these new hooks.

Change-Id: I11756a5d99e3ea3d6fb61b943f82037932dfa56a
indow.h
3ac91d178bfbc38fbeb4743f9fbe5619e8e744d0 30-Jul-2011 Wu-cheng Li <wuchengli@google.com> Change int to int32_t in camera_frame_metadata and camera_face.

bug:4460717
Change-Id: I5c7e4ed117c2b481fb0f7d9db418f98b7459adde
amera.h
9d5bfd35414f2be2f1ea8a2cabee8f407d3e38c0 27-Jul-2011 Wu-cheng Li <wuchengli@google.com> Add camera frame metadata and face detection structs.

bug:4460717
Change-Id: Ib72abfba080529472cf3fecb712043403bf7295f
amera.h
c349636c7cec0abe3a92c220a6d828edbd21208b 26-Jul-2011 Jean-Michel Trivi <jmtrivi@google.com> Merge "Fix bug 4319552 Use commonly defined channel mask values in native"
4518e6a2996da0fa00ef427a79227b90ccf94ce0 26-Jul-2011 Wu-cheng Li <wuchengli@google.com> Merge "Add camera face detection enums."
de19ea26025927fe95ec96818a13dd58bec91cf6 21-Jul-2011 Wu-cheng Li <wuchengli@google.com> Add camera face detection enums.

bug:4460717
Change-Id: Id5cadcd7cdab9a9978569caf27d2ef2747fa6570
amera.h
6d4f39754bff9c1dcb8023839ea583b6d0723b14 26-Jul-2011 Jean-Michel Trivi <jmtrivi@google.com> Fix bug 4319552 Use commonly defined channel mask values in native

The native channel mask values are equal to the Java values, which
differ from other standards simply for legacy reasons. It is
preferrable to use commonly used values, and translate from the
Java constants to the common values when specifying a Java mask.
The new definitions uses the same values and ordering as in
OpenSL ES and other standards.

Change-Id: I879f64b281714c60684cd8b36fe6ae648a555121
udio.h
33fad99acfaffb775ce0792b06ba97bb6cacce1a 25-Jul-2011 Jean-Michel Trivi <jmtrivi@google.com> Fix bug 4211099 channel constants and 7.1 mask

Add definitions for the side and elevated channels.

Ccorrect definition of 7.1 mask which uses
the side channels rather than the front half-pan channels.

Change-Id: I5b6f601f6404d782dc46ef47efac9cc8441fef90
udio.h
5100916182b05971975f8d8fe65a1255e2c5ac96 20-Jul-2011 Mathias Agopian <mathias@google.com> support for "Add an ANativeWindow API for SurfaceFlinger to suggest an optimal buffer orientation"

Bug: 4487161
Change-Id: I36708fd155415adbb666137692252381c19abcf6
indow.h
ae3736a3d1418eb1a1e57895ce410256d7106aa3 14-Jul-2011 Mathias Agopian <mathias@google.com> Add lock/unlock perform codes

these will be used to implement lock/unlock on
surfacetexture.

Change-Id: I75f8d8dd136433bd5d61610caeb763d836f8b4e7
indow.h
42cc1edfe7edf613e17bff97f30ff124ada05136 14-Jul-2011 Mathias Agopian <mathias@google.com> Add setScalingMode to ANativeWindow

Also cleanup the header a bit. Give fixed values to enum
because these can never change. And try to make all
comments C (as opposed to C++)

Change-Id: Ie0914ccd81a0231f32e8c21a8ff730985c5c3607
indow.h
5423e9e4ce52a45ac42419f1467e79ba9e62298f 12-Jul-2011 Jamie Gennis <jgennis@google.com> ANativeWindow: add more connectable APIs

This change adds three new possible values for the 'api' argument to
native_window_connect: CPU, MEDIA and CAMERA.

Change-Id: I9305a5c0c87ab06a2c2bd7c585f54c7c7470408a
Bug: 5020877
indow.h
208ec5ec564597bdf8b478a424cc9ccc09547bac 07-Jul-2011 Jamie Gennis <jgennis@google.com> ANativeWindow: add setters for dimensions and fmt

This change adds two new 'perform' setters to set the dimensions and
pixel format of the buffers that will be dequeued from the
ANativeWindow. These new setters provide the same functionality as
_SET_BUFFERS_GEOMETRY, but allow the format and dimensions to be set
independently. The _SET_BUFFERS_GEOMETRY setter is still supported to
maintain backwards compatibility.

Change-Id: Ib49b7798ffebe61eff2c8e4202fc3048cfec7bdd
indow.h
1f311f2f160853bebab70d31dabf17aa1a83f2a6 02-Jul-2011 Glenn Kasten <gkasten@google.com> Merge "Bug 4571308 Timestamps are not always monotonic"
c322f67140d52014c47dff41d03a601b251f56ed 27-Jun-2011 Glenn Kasten <gkasten@google.com> Bug 4571308 Timestamps are not always monotonic

Change-Id: Ia4e89a286a514d91d76268235c716e328cd3d0c2
indow.h
da382248758eacd9f91d6f0a50dff3f021791c24 17-Jun-2011 Eric Laurent <elaurent@google.com> Fixed some audio helper functions

Make sure audio_is_valid_format() is true only
for formats supported by AudioTrack and AudioRecord.
Generalized audio_is_linear_pcm().
Added audio_bytes_per_sample() function.

Change-Id: If588af6c08f09796ab04bccbbd6e720f1e914412
udio.h
28e08dc58148dba98feefbadc9657840fe141084 14-Jun-2011 Dima Zavin <dima@android.com> core: move audio_policy.h here from hardware

Change-Id: I6b8c04c975e01f2502d766ed2b9353d3c83193b3
Signed-off-by: Dima Zavin <dima@android.com>
udio_policy.h
9714b27bb41d999cb61b22833d3f253552b3c82b 26-May-2011 Eric Laurent <elaurent@google.com> Added PCM formats to audio.h

Added formats for 32 bit PCM audio to allow direct use of
common audio formats defined in audio.h by audio effect
API defined in audio_effect.h

Change-Id: I5d58c2db8325ca625ab6d2b10cc0d422ba119ca5
udio.h
1ffdb38213d177a83d74e1dc3bf41237dcbe8c9a 24-May-2011 tedbo <tedbo@google.com> Fix broken comment on closing #endif in window.h

The closing #endif comment is missing the comment delimiters. This
change adds them and fixes a compile warning about extra tokens after
endif.

Change-Id: If8295aa6fbb2b21c2b56fe57a467dcde79c65de3
indow.h
da1a1f629b0f3b3a63d9951de4381a41bc31fb91 18-May-2011 Jamie Gennis <jgennis@google.com> fix a comment typo in system/graphics.h

Change-Id: Ia6471a1c005cdc13833e6b0444e758add5a990e0
raphics.h
e8e4be57aa45f621d231a40801a4dea877be09d5 12-May-2011 Dima Zavin <dima@android.com> move core audio definitions under system/core

Change-Id: I58b7324edff834b3afa4d9c86452e66f8c29c63b
Signed-off-by: Dima Zavin <dima@android.com>
udio.h
0ab886bdabd167b32aad90ce5d4e00ce8392858c 01-May-2011 Iliyan Malchev <malchev@google.com> move ANativeWindow and friends under system/core

This patch moves the definition of ANativeWindow from frameworks/base into
system/core. We move ANativeWindow for two reasons.

Firstly, the native-window interface may need to be used by lower-level code
than the framework. Such code (such as the camera HAL) is not allowed to use
definitions from frameworks/base, since the latter is stacked on top of the
former. Thus moving (the interface definition) ANativeWindow under system/core
lowers the level at which we can work with windows.

Secondly, this enables an implementation of ANativeWindow that lies outside of
frameworks, enabling quick initial bringup of graphics.

Change-Id: I851b9bb2834bcec73255b5af82f66411e54bb1a5
Signed-off-by: Iliyan Malchev <malchev@google.com>
indow.h
66ea3574b6383e4107c74a192cadda1427320375 01-May-2011 Iliyan Malchev <malchev@google.com> move non-HAL definitions to syste/core/include

This patch moves camera- and graphics-related definitions out of the hardware
HAL layer and into system/core. These definitions are used both by the HAL and
by higher-level code as well. More functionality (e.g., audio definitions)
will be moved here as well.

Change-Id: I225f12374ce54fa393640dce53738267d0d703e9
Signed-off-by: Iliyan Malchev <malchev@google.com>
amera.h
raphics.h