Smdk4210RIL: added support for hd-voice (wideband amr)

Change-Id: I93d3d985d38a2b852023c3803eb2073dea989185
Merge remote-tracking branch 'upstream/ics' into ics
Revert "Support AP which only has a "space" character in its SSID"

This reverts commit b2df5b1784b2288ea357cc593c30112d134d2414.
Add "OMAP buffers are interlaced, try to accomidate this functionality" to reduce the number of google chrome errors
Smdk4210RIL: some cleanup

Change-Id: Ic715d1f7657d2ca99cc44d6b6971daeee176530e
Merge remote-tracking branch 'upstream/ics' into ics
Do not wait forever for read HTTP streaming data

Don't wait forever for read HTTP streaming data.
And treat timeout as -EAGAIN if we have not received
read complete after 3 seconds.

Change-Id: Ie3d1ed77f47542be90bcdcf265f23d750365027e
Frameworks-base: Fix wifi-sleep-policy

Without this patch, the wifi sleep policy don't stop. Wifi
keeps turned on after the screen is off, no matter what I choose in
Settings.

Solves this issue:
http://code.google.com/p/android/issues/detail?id=23211

Change-Id: I3942827db00bd448827390bbc6ca31673d8e3397
Revert "Do not wait forever for read HTTP streaming data"

This reverts commit 2f82528b2c0441f45347f5cecac534459f1745a4.
Do not wait forever for read HTTP streaming data

Don't wait forever for read HTTP streaming data.
And treat timeout as -EAGAIN if we have not received
read complete after 3 seconds.

Change-Id: Ie3d1ed77f47542be90bcdcf265f23d750365027e
OEMRIL_ENHANCEMENT: OEM RIL adaptation

Create methods to subscribe for OEM unsolicited messages from a PhoneProxy.
This patch enables modem OEM apps to be notified about messages from the modem.
That can be used for development and calibration at factory.

Change-Id: I86c7bdee35415e7fed653384071e4cb13ff8280a
Signed-off-by: Erwan Bracq <erwan.bracq@stericsson.com>
[Handle data/etc/platform.xml changes in a separate file]
[Update comments and commit message]
Signed-off-by: Patrick Combes <p-combes@ti.com>
AACExtractor: Added support for APE tag

To support aac audio with APE tag we need parse
this tag. Otherwise AACExtractor stops reading of
audio file.

DR: OMAPS00267689

Change-Id: Ic1c76339cd5d09d41654da2501d19ff078cc5094
Signed-off-by: Volodymyr Makhitko <x0158990@ti.com>
Libstagefright: Add reading of extended frame rates

Inorder to support 60fps and beyond, camera source
has to read the extended supported frame rates from
camerahal to validate against the app passed fps

Change-Id: I1bdb19dadfb755fcd749ee95840c1d47d28cb691
Signed-off-by: Sundar Raman <sunds@ti.com>
AudioFlinger: Use AudioResampler::SPEEX_QUALITY by default

The bad audio resampling in AudioFlinger ruins the audio quality of
all media that does not have 44.1kHz sample-rate. Most video files
have 48kHz sample-rate audio track and this change improves playback
audio quality of those files.

Downside of this change is increased MPU usage when playing audio with
something else than 44.1kHz sample-rate. On OMAP 4430 the over all
load increase in comparison to linear interpolation resampler is
around 1-1.5 MHz of a single ARM A9 core, when playing 48 kHz
sample-rate stereo wav file.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Change-Id: I7a54c281279e74b8f9e8615056c4a193d6e0f203
AwesomePlayer always reads the forward syncable video data after SEEK.

By the patch#19882(http://review.omapzoom.org/#/c/19882/), the SEEK_COMPLETE
event happens after mVideoTimeUs reaches to the seek position.
This means that video frames continue to come from the "old" video position,
and only after MEDIA_SEEK_COMPLETE signal is sent, video frames come from
the new position. So, if the new position is the backward of the seek position,
it is sometimes confusing because the video player seems to ignore (briefly)
the user's input.
With the patch, the new position is always forward of the seek position, and
MEDIA_SEEK_COMPLETE signal is sent immediately. So, video frame from
the new position will be displayed immediately, too.
This gives the user positive visual feedback that their input has been accepted.

Change-Id: I72327ba08f060a5b474584c6084875ec02afebca
Signed-off-by: Nanako Baba <baba@ti.com>
StageFright: Enhance StageFright test app to dump decoded data to a file.

"-D" option is added to dump decoded frames to a file.
Complete buffer is dumped including the padding.
Support for Gralloc buffers is not added.

Example usage: stagefright -m 100 -D /data/out.yuv /sdcard/XXXX.mp4

Change-Id: Ib3271c8535227031a9bc612232111217e1c955c3
Signed-Off-By: Rajesh Vandanapu<rajeshv@ti.com>
AV Streaming: fix race condition during seek

When cached duration hits kLowWaterMarkUs, AwesomePlayer will pause
and wait for NuCachedSource3 to be filled up to high water mark again.
If audio seek complete event happens when paused, because all pending
events are canceled, MEDIA_SEEK_COMPLETE notification is not sent. As
a result, all subsequent seek requests are quequed because outstanding
seek complete notification not received by MediaPlayer.

Patch taken from GB: http://review.omapzoom.org/#change,11650

DR# OMAPS00254775

Signed-off-by: Yong Zhi <y-zhi@ti.com>
Signed-off-by: Anu Sundararajan <a0868449@ti.com>
Signed-off-by: Jorge E. Solano <jsolano@ti.com>

Change-Id: I060ff57fc42dd775465cdd0f1847a7f6dc9f47f4
OMAP3: StagefrightRecoder: limit Max-bitrate by H.264 profile level.

 When the H.264 recording of Camera is freezed and hanged.
 (In case of, set high bitrate to low resolution)
 In the CODEC side, codec waiting for corresponding bitrate by profile level.
    - Added encoding parameters table.
    - find corresponding bitrate by calculated level and limit max-bitrate

Signed-off-by: Min-su.Kim <x0154824@ti.com>

Patch Set 4: Simple cherry-pick on current tree.  No changes made.
Taking verifications and approvals from previous patch sets.  Build
test done in patch set 3.
Signed-off-by: Jean Johnson <jean-johnson@ti.com>
Change-Id: I704cbe858e8498f41497a48a0c54428da9613a01
implement noise suppression for phone calls (1/2)

Change-Id: Ie67f15fd154dd0e64b6f3a007c938bf162e25e77
Fix first frame on rotation animation for Tegra

Modify rotation animation to use a screenshot instead of a black screen.

Change-Id: I71563680f5d7cb355dd50b8873fa1b420a131512