462 Commits

Author SHA1 Message Date
Dima Zavin
c63de92ee1 am 9f879fb0: am e817fcde: am 49a5c99a: libgralloc-qsd8k: Do not use the physical address of surfaces/framebuffer
Merge commit '9f879fb0625bbbc117f5d6ce94451204f5fe8f04'

* commit '9f879fb0625bbbc117f5d6ce94451204f5fe8f04':
  libgralloc-qsd8k: Do not use the physical address of surfaces/framebuffer
2009-12-03 17:21:52 -08:00
Dima Zavin
3c2fc5ff52 am e817fcde: am 49a5c99a: libgralloc-qsd8k: Do not use the physical address of surfaces/framebuffer
Merge commit 'e817fcdedf46750b4ef57c8eeec0d44d5c46a252' into eclair-mr2-plus-aosp

* commit 'e817fcdedf46750b4ef57c8eeec0d44d5c46a252':
  libgralloc-qsd8k: Do not use the physical address of surfaces/framebuffer
2009-12-03 02:21:01 -08:00
Dima Zavin
936ac4f834 am 49a5c99a: libgralloc-qsd8k: Do not use the physical address of surfaces/framebuffer
Merge commit '49a5c99a84626b5b1db4eda5239307e3366e28fa' into eclair-mr2

* commit '49a5c99a84626b5b1db4eda5239307e3366e28fa':
  libgralloc-qsd8k: Do not use the physical address of surfaces/framebuffer
2009-12-03 02:16:39 -08:00
Dima Zavin
be6f97aad3 libgralloc-qsd8k: Do not use the physical address of surfaces/framebuffer
The GPU now correctly maps everything throug hthe MMU so physical addresses
are no longer needed.

Change-Id: Id16a690f63d7141c8ee6694b246b1955f450b8ed
Signed-off-by: Dima Zavin <dima@android.com>
2009-12-02 21:15:33 -08:00
Jean-Michel Trivi
0f10a4e701 am 1041e6c9: am 8c2b7b65: am fea8b9e5: Merge change I14a54ae2 into eclair
Merge commit '1041e6c9dff8fd18ccde1d86e0e7302fe94982ed'

* commit '1041e6c9dff8fd18ccde1d86e0e7302fe94982ed':
  Patch from HTC: changes in libaudio
2009-12-01 17:40:05 -08:00
Eric Laurent
7c1dd7031c am a0737122: am 44f72974: am 0a656145: Fix issue 2192673: Music Pausing Even when notifications are set to silent.
Merge commit 'a0737122a3822b81382c7b44a3279fefb62eb991'

* commit 'a0737122a3822b81382c7b44a3279fefb62eb991':
  Fix issue 2192673: Music Pausing Even when notifications are set to silent.
2009-12-01 17:40:02 -08:00
Jean-Michel Trivi
b013d73092 am 8c2b7b65: am fea8b9e5: Merge change I14a54ae2 into eclair
Merge commit '8c2b7b65f3f78181a5b04933f54a56b8eb6884d5' into eclair-mr2-plus-aosp

* commit '8c2b7b65f3f78181a5b04933f54a56b8eb6884d5':
  Patch from HTC: changes in libaudio
2009-12-01 17:30:17 -08:00
Eric Laurent
5bf5a33586 am 44f72974: am 0a656145: Fix issue 2192673: Music Pausing Even when notifications are set to silent.
Merge commit '44f72974bfba0821f5080617b23f8706b86592b1' into eclair-mr2-plus-aosp

* commit '44f72974bfba0821f5080617b23f8706b86592b1':
  Fix issue 2192673: Music Pausing Even when notifications are set to silent.
2009-12-01 17:30:13 -08:00
Jean-Michel Trivi
5d4176a70a am fea8b9e5: Merge change I14a54ae2 into eclair
Merge commit 'fea8b9e5641e1bdf8498b39cf108971c6fd130f8' into eclair-mr2

* commit 'fea8b9e5641e1bdf8498b39cf108971c6fd130f8':
  Patch from HTC: changes in libaudio
2009-12-01 17:15:26 -08:00
Eric Laurent
6fd07bc2e5 am 0a656145: Fix issue 2192673: Music Pausing Even when notifications are set to silent.
Merge commit '0a6561450eddb6b13f56392fb116d6ed2ef3694f' into eclair-mr2

* commit '0a6561450eddb6b13f56392fb116d6ed2ef3694f':
  Fix issue 2192673: Music Pausing Even when notifications are set to silent.
2009-12-01 17:04:30 -08:00
Android (Google) Code Review
3b81370104 Merge change I14a54ae2 into eclair
* changes:
  Patch from HTC: changes in libaudio - remove redundant ACDB updates for audio playback and recording. - remove redundant ACDB updates for audio route changes during playback or recording. Along with the matching audio driver change, this fixes b/2275992 and click before playback and AudioHardware is going to standby.
2009-11-30 16:24:27 -08:00
Eric Laurent
b65217ffe2 Fix issue 2192673: Music Pausing Even when notifications are set to silent.
If a stream cannot be muted (ENFORCED_AUDIBLE stream in some countries), make sure that getStreamVolumeIndex()
returns the actual stream volume.
2009-11-27 05:06:23 -08:00
Jean-Michel Trivi
e204be3647 Patch from HTC: changes in libaudio
- remove redundant ACDB updates for audio playback and recording.
- remove redundant ACDB updates for audio route changes during playback or recording.
Along with the matching audio driver change, this fixes b/2275992
and click before playback and AudioHardware is going to standby.
2009-11-24 16:40:49 -08:00
Mathias Agopian
f61b7e0097 am 1a2ae2cf: am 83fb1ada: am bd94d9af: part of fix [2186418] switch qsd8k devices to 24-bits framebuffer
Merge commit '1a2ae2cf197dfc2901a42738645209e90d7c4fa2'

* commit '1a2ae2cf197dfc2901a42738645209e90d7c4fa2':
  part of fix [2186418] switch qsd8k devices to 24-bits framebuffer
2009-11-24 15:02:30 -08:00
Mathias Agopian
9864ae09c9 am 83fb1ada: am bd94d9af: part of fix [2186418] switch qsd8k devices to 24-bits framebuffer
Merge commit '83fb1ada26d894c807686a93925c1e255fddb28c' into eclair-mr2-plus-aosp

* commit '83fb1ada26d894c807686a93925c1e255fddb28c':
  part of fix [2186418] switch qsd8k devices to 24-bits framebuffer
2009-11-24 14:53:09 -08:00
Mathias Agopian
46d61081aa am bd94d9af: part of fix [2186418] switch qsd8k devices to 24-bits framebuffer
Merge commit 'bd94d9af5cc7067b0e849af076183626b4c32e4e' into eclair-mr2

* commit 'bd94d9af5cc7067b0e849af076183626b4c32e4e':
  part of fix [2186418] switch qsd8k devices to 24-bits framebuffer
2009-11-24 14:43:43 -08:00
Mathias Agopian
1e1a87f0a5 part of fix [2186418] switch qsd8k devices to 24-bits framebuffer
Add support for 32 bits framebuffers
2009-11-23 23:19:54 -08:00
Eric Laurent
370682e4c2 am 3aac38ef: am 7b42088c: am 8a5a107a: Improvement for issue 2197683: English IME key-press latency is noticeably higher on passion than sholes.
Merge commit '3aac38efbe348faeb3149b2ec7141b3dc9e939ae'

* commit '3aac38efbe348faeb3149b2ec7141b3dc9e939ae':
  Improvement for issue 2197683: English IME key-press latency is noticeably higher on passion than sholes.
2009-11-23 08:23:05 -08:00
Eric Laurent
cede6340c2 am e9a480fe: am 50c579e8: am a4fe0167: Issue 2276684: Kernel audio driver should fully support AUDIO_SET_CONFIG.
Merge commit 'e9a480fe201677be5514dce651d0673b6c35cec6'

* commit 'e9a480fe201677be5514dce651d0673b6c35cec6':
  Issue 2276684: Kernel audio driver should fully support AUDIO_SET_CONFIG.
2009-11-23 08:23:02 -08:00
Eric Laurent
eb06525677 am 7b42088c: am 8a5a107a: Improvement for issue 2197683: English IME key-press latency is noticeably higher on passion than sholes.
Merge commit '7b42088ca83a32ebe57d1d91396a8cb45d45aa6c' into eclair-mr2-plus-aosp

* commit '7b42088ca83a32ebe57d1d91396a8cb45d45aa6c':
  Improvement for issue 2197683: English IME key-press latency is noticeably higher on passion than sholes.
2009-11-23 08:18:56 -08:00
Eric Laurent
18bc60c29a am 50c579e8: am a4fe0167: Issue 2276684: Kernel audio driver should fully support AUDIO_SET_CONFIG.
Merge commit '50c579e86f257a7bc22e43c4c7b791994d38bb7e' into eclair-mr2-plus-aosp

* commit '50c579e86f257a7bc22e43c4c7b791994d38bb7e':
  Issue 2276684: Kernel audio driver should fully support AUDIO_SET_CONFIG.
2009-11-23 08:18:53 -08:00
Eric Laurent
45c3c9be98 am 8a5a107a: Improvement for issue 2197683: English IME key-press latency is noticeably higher on passion than sholes.
Merge commit '8a5a107a014f94e6335b88f1942c82d23ceb6b04' into eclair-mr2

* commit '8a5a107a014f94e6335b88f1942c82d23ceb6b04':
  Improvement for issue 2197683: English IME key-press latency is noticeably higher on passion than sholes.
2009-11-23 08:16:12 -08:00
Eric Laurent
bbb5f58f76 Improvement for issue 2197683: English IME key-press latency is noticeably higher on passion than sholes.
Change audio buffer count to match number of buffers used by audio dsp.
Change buffer size from 4800 bytes to 3072 bytes to reduce output latency.
2009-11-21 00:45:02 -08:00
Eric Laurent
e339ff0e60 am a4fe0167: Issue 2276684: Kernel audio driver should fully support AUDIO_SET_CONFIG.
Merge commit 'a4fe0167c6cad83d88b3bc56efa1ffad85b345b5' into eclair-mr2

* commit 'a4fe0167c6cad83d88b3bc56efa1ffad85b345b5':
  Issue 2276684: Kernel audio driver should fully support AUDIO_SET_CONFIG.
2009-11-20 12:23:03 -08:00
Eric Laurent
d8c81ab5d3 Issue 2276684: Kernel audio driver should fully support AUDIO_SET_CONFIG.
Align HAL audio input buffer size with kernel driver for the time being.

For mr2 release the driver shall support AUDIO_SET_CONFIG.
2009-11-20 09:57:40 -08:00
Jean-Michel Trivi
c12fcf997e am e6bb8325: am 0fd7c5be: am 58cf88a5: Patch from HTC related to use of camcorder with wired headset plugged in: - libaudio: incorrect ACDB setting was used when starting to record with wired headset. - libaudio: remove unnecessary audio path switch when camcorder
Merge commit 'e6bb8325b55cc1087d84004166a97d2b9bef98bb'

* commit 'e6bb8325b55cc1087d84004166a97d2b9bef98bb':
  Patch from HTC related to use of camcorder with wired headset plugged in:
2009-11-19 17:39:38 -08:00
Jean-Michel Trivi
2400a8a44c am 0fd7c5be: am 58cf88a5: Patch from HTC related to use of camcorder with wired headset plugged in: - libaudio: incorrect ACDB setting was used when starting to record with wired headset. - libaudio: remove unnecessary audio path switch when camcorder is started
Merge commit '0fd7c5be0e7e7f1013617ed2da24941c596a2137' into eclair-mr2-plus-aosp

* commit '0fd7c5be0e7e7f1013617ed2da24941c596a2137':
  Patch from HTC related to use of camcorder with wired headset plugged in:
2009-11-19 11:48:53 -08:00
Jean-Michel Trivi
075640c97d am 58cf88a5: Patch from HTC related to use of camcorder with wired headset plugged in: - libaudio: incorrect ACDB setting was used when starting to record with wired headset. - libaudio: remove unnecessary audio path switch when camcorder is started with wired he
Merge commit '58cf88a5a91d82ae2fb3e23365eaa4524a9cd089' into eclair-mr2

* commit '58cf88a5a91d82ae2fb3e23365eaa4524a9cd089':
  Patch from HTC related to use of camcorder with wired headset plugged in:
2009-11-19 11:41:10 -08:00
Jean-Michel Trivi
e00f5f2bb9 Patch from HTC related to use of camcorder with wired headset plugged in:
- libaudio: incorrect ACDB setting was used when starting to record
   with wired headset.
- libaudio: remove unnecessary audio path switch when camcorder is started
  with wired headset.
Submitted on behalf of HK Chen <hk_chen@htc.com>
2009-11-18 19:32:44 -08:00
Jean-Michel Trivi
59f56ea9b9 am b1eac5ed: am 28306cf7: am f8d3aebe: Remove workaround introduced in 956f7ba5ee0f087c91b5fefd2718dae30f8c1e29 to fix issue 2229040. This workaround is considered no longer useful by HTC since the changes in the A1026 configuration. Removing workaround on behalf of H
Merge commit 'b1eac5edfbe4d0eb12c96d5da7ceeb54e290b1ad'

* commit 'b1eac5edfbe4d0eb12c96d5da7ceeb54e290b1ad':
  Remove workaround introduced in 956f7ba5ee0f087c91b5fefd2718dae30f8c1e29
2009-11-17 07:31:46 -08:00
Eric Laurent
38c902e1a6 am 3008e8f5: am 0a210585: am 979de023: Fix issue 2245963: incoming call rings in ringtone-volume level through a wired headset is while listening to music.
Merge commit '3008e8f5b947d7b7f88427dcf54f11e800d007df'

* commit '3008e8f5b947d7b7f88427dcf54f11e800d007df':
  Fix issue 2245963: incoming call rings in ringtone-volume level through a wired headset is while listening to music.
2009-11-17 07:31:42 -08:00
Jean-Michel Trivi
7d53bb2164 am 28306cf7: am f8d3aebe: Remove workaround introduced in 956f7ba5ee0f087c91b5fefd2718dae30f8c1e29 to fix issue 2229040. This workaround is considered no longer useful by HTC since the changes in the A1026 configuration. Removing workaround on behalf of HK Chen (HTC).
Merge commit '28306cf74f6662f3dfa0748e6430b965427983cf' into eclair-mr2-plus-aosp

* commit '28306cf74f6662f3dfa0748e6430b965427983cf':
  Remove workaround introduced in 956f7ba5ee0f087c91b5fefd2718dae30f8c1e29
2009-11-16 14:39:02 -08:00
Eric Laurent
4102e0b5d0 am 0a210585: am 979de023: Fix issue 2245963: incoming call rings in ringtone-volume level through a wired headset is while listening to music.
Merge commit '0a210585758e1b3ede232b9dddb1494a55dc157a' into eclair-mr2-plus-aosp

* commit '0a210585758e1b3ede232b9dddb1494a55dc157a':
  Fix issue 2245963: incoming call rings in ringtone-volume level through a wired headset is while listening to music.
2009-11-16 14:38:59 -08:00
Jean-Michel Trivi
78028e9769 am f8d3aebe: Remove workaround introduced in 956f7ba5ee0f087c91b5fefd2718dae30f8c1e29 to fix issue 2229040. This workaround is considered no longer useful by HTC since the changes in the A1026 configuration. Removing workaround on behalf of HK Chen (HTC).
Merge commit 'f8d3aebe4c19283eb34fb89e5932b3399d3bd753' into eclair-mr2

* commit 'f8d3aebe4c19283eb34fb89e5932b3399d3bd753':
  Remove workaround introduced in 956f7ba5ee0f087c91b5fefd2718dae30f8c1e29
2009-11-16 10:43:55 -08:00
Eric Laurent
8dbccbb73f am 979de023: Fix issue 2245963: incoming call rings in ringtone-volume level through a wired headset is while listening to music.
Merge commit '979de023050ebe82680c665259fc833b0a17d3f5' into eclair-mr2

* commit '979de023050ebe82680c665259fc833b0a17d3f5':
  Fix issue 2245963: incoming call rings in ringtone-volume level through a wired headset is while listening to music.
2009-11-16 10:43:52 -08:00
Jean-Baptiste Queru
ce454bad43 am ae89e9cd: merge from open-source master
Merge commit 'ae89e9cd8b6bbdb578e64d51939a34a6d129e6f9'

* commit 'ae89e9cd8b6bbdb578e64d51939a34a6d129e6f9':
  eclair snapshot
2009-11-15 15:10:02 -08:00
Jean-Baptiste Queru
2ba3104dbc merge from open-source master 2009-11-15 14:55:21 -08:00
Jean-Baptiste Queru
ba6bb43382 merge from open-source master
Merge commit 'goog/stage-korg-master' into HEAD
2009-11-15 14:06:34 -08:00
Jean-Michel Trivi
b5f536cb89 Remove workaround introduced in 956f7ba5ee0f087c91b5fefd2718dae30f8c1e29
to fix issue 2229040. This workaround is considered no longer useful
by HTC since the changes in the A1026 configuration.
Removing workaround on behalf of HK Chen (HTC).
2009-11-15 13:48:42 -08:00
Jean-Baptiste Queru
873dd3316f merge from eclair 2009-11-15 12:06:41 -08:00
Eric Laurent
dc2b08fd2a Fix issue 2245963: incoming call rings in ringtone-volume level through a wired headset is while listening to music.
When the ringtone is not looped (non factory ringtone), a new AudioTrack is started every time the ringtone is repeated. The second time the track is started, the condition that triggers volume limitation is not true any more as music has been stopped for more than SONIFICATION_HEADSET_MUSIC_DELAY seconds and ringtone volume is not limited.

The fix consists in checking the condition (music playing or stopped for less than SONIFICATION_HEADSET_MUSIC_DELAY) when entering ringtone mode and latch it until we exit ringtone mode.
2009-11-13 02:57:12 -08:00
Eric Laurent
c682bc3e4d am ecc9989f: am 0d93253c: am dd65e389: Fix issue 2242614: Wired headset not recognized: bogus "state" in ACTION_HEADSET_PLUG broadcast.
Merge commit 'ecc9989f2c8394cad87ad4ebcb4f6b9f7706861c'

* commit 'ecc9989f2c8394cad87ad4ebcb4f6b9f7706861c':
  Fix issue 2242614: Wired headset not recognized: bogus "state" in ACTION_HEADSET_PLUG broadcast.
2009-11-12 23:23:55 -08:00
Eric Laurent
d64d406883 am 0d93253c: am dd65e389: Fix issue 2242614: Wired headset not recognized: bogus "state" in ACTION_HEADSET_PLUG broadcast.
Merge commit '0d93253c31af46df60283329daa44db74f81dde4' into eclair-mr2-plus-aosp

* commit '0d93253c31af46df60283329daa44db74f81dde4':
  Fix issue 2242614: Wired headset not recognized: bogus "state" in ACTION_HEADSET_PLUG broadcast.
2009-11-12 23:18:20 -08:00
Eric Laurent
b89ce69b11 am dd65e389: Fix issue 2242614: Wired headset not recognized: bogus "state" in ACTION_HEADSET_PLUG broadcast.
Merge commit 'dd65e38951ed174f9d3d34886795438440f7eea0' into eclair-mr2

* commit 'dd65e38951ed174f9d3d34886795438440f7eea0':
  Fix issue 2242614: Wired headset not recognized: bogus "state" in ACTION_HEADSET_PLUG broadcast.
2009-11-12 23:10:22 -08:00
Eric Laurent
50b4c8d87f am dd65e389: Fix issue 2242614: Wired headset not recognized: bogus "state" in ACTION_HEADSET_PLUG broadcast.
Merge commit 'dd65e38951ed174f9d3d34886795438440f7eea0' into eclair-plus-aosp

* commit 'dd65e38951ed174f9d3d34886795438440f7eea0':
  Fix issue 2242614: Wired headset not recognized: bogus "state" in ACTION_HEADSET_PLUG broadcast.
2009-11-12 22:49:55 -08:00
Jean-Baptiste Queru
81cd37b750 eclair snapshot 2009-11-12 18:46:07 -08:00
Eric Laurent
b0987a90f9 Fix issue 2242614: Wired headset not recognized: bogus "state" in ACTION_HEADSET_PLUG broadcast.
Removed platform specific devices from the list of devices listed in AudioSystem.
2009-11-12 12:18:31 -08:00
Mathias Agopian
f754afe950 am 90626684: am bcd5273d: am 072b5f0d: Merge change I42e2860a into eclair
Merge commit '90626684d776a54dfeb3fade05f0b356a52e880a'

* commit '90626684d776a54dfeb3fade05f0b356a52e880a':
  should help [2223746] qsd8k MDP locks up, logs show copyBits failed (Connection timed out) in Passion camera zoom level 1
2009-11-11 17:39:54 -08:00
Eric Laurent
f5286df0dd am 274334cc: am d285af56: am 956f7ba5: Workaround for issue 2229040: [Passion] Audio driver stuck when changing input routing while recording is active.
Merge commit '274334ccea85996b5b23eebf8111b6e55d20b162'

* commit '274334ccea85996b5b23eebf8111b6e55d20b162':
  Workaround for issue 2229040: 	[Passion] Audio driver stuck when changing input routing while recording is active.
2009-11-11 17:39:51 -08:00
Mathias Agopian
2376dcc6f6 am bcd5273d: am 072b5f0d: Merge change I42e2860a into eclair
Merge commit 'bcd5273d6aa77cc961261202c8c9eee950ddc8b7' into eclair-mr2-plus-aosp

* commit 'bcd5273d6aa77cc961261202c8c9eee950ddc8b7':
  should help [2223746] qsd8k MDP locks up, logs show copyBits failed (Connection timed out) in Passion camera zoom level 1
2009-11-11 17:28:53 -08:00