OSDN Git Service

android-x86/frameworks-av.git
11 years agoMerge "Add routing sockets for the requesting user"
Geremy Condra [Tue, 23 Jul 2013 17:56:36 +0000 (17:56 +0000)]
Merge "Add routing sockets for the requesting user"

11 years agoCamera: ProCamera connect need support HAL3 device
Zhijun He [Tue, 23 Jul 2013 00:34:34 +0000 (17:34 -0700)]
Camera: ProCamera connect need support HAL3 device

Change-Id: Iae7e5f9e6387f61f1c4bbb91f75803fc1fdf2668

11 years agoMerge "Use AudioSystem::setLowRamDevice() to configure memory"
Glenn Kasten [Mon, 22 Jul 2013 15:02:08 +0000 (15:02 +0000)]
Merge "Use AudioSystem::setLowRamDevice() to configure memory"

11 years agoMerge "Revert "Fix Audioflinger crash when TeeSink is enabled""
Glenn Kasten [Mon, 22 Jul 2013 14:43:59 +0000 (14:43 +0000)]
Merge "Revert "Fix Audioflinger crash when TeeSink is enabled""

11 years agoMerge "Fix compile warning"
Glenn Kasten [Mon, 22 Jul 2013 14:43:19 +0000 (14:43 +0000)]
Merge "Fix compile warning"

11 years agoMerge "camera2: Fix request ID bug"
Zhijun He [Sat, 20 Jul 2013 01:09:39 +0000 (01:09 +0000)]
Merge "camera2: Fix request ID bug"

11 years agoMerge "update to new Consumer APIs"
Mathias Agopian [Sat, 20 Jul 2013 01:02:37 +0000 (01:02 +0000)]
Merge "update to new Consumer APIs"

11 years agoam f2d744d9: (-s ours) Reconcile with jb-mr2-zeroday-release - do not merge
The Android Open Source Project [Fri, 19 Jul 2013 23:02:29 +0000 (16:02 -0700)]
am f2d744d9: (-s ours) Reconcile with jb-mr2-zeroday-release - do not merge

* commit 'f2d744d9535ca59be6cd878830176f81a0a8fbc6':
  Camera2/3: Fix deadlock when starting recording before preview.

11 years agoam b0177ff2: am 46910bdc: Camera2/3: Fix deadlock when starting recording before...
Eino-Ville Talvala [Fri, 19 Jul 2013 23:02:11 +0000 (16:02 -0700)]
am b0177ff2: am 46910bdc: Camera2/3: Fix deadlock when starting recording before preview.

* commit 'b0177ff25e3e620be6ebe1e2c3f645b2f05dd57e':
  Camera2/3: Fix deadlock when starting recording before preview.

11 years agoMerge "Make AudioFlinger::instantiate() more resilient when called from separate...
Glenn Kasten [Fri, 19 Jul 2013 22:59:07 +0000 (22:59 +0000)]
Merge "Make AudioFlinger::instantiate() more resilient when called from separate module"

11 years agoAdd routing sockets for the requesting user
Chad Brubaker [Tue, 16 Jul 2013 04:17:03 +0000 (21:17 -0700)]
Add routing sockets for the requesting user

Mediaserver sockets are now routed as if the connection was in the
requesting app in per user routing.

Change-Id: I60f4649c3c4145a65264b54c1aa2c6c7741efaba

11 years agoReconcile with jb-mr2-zeroday-release - do not merge
The Android Open Source Project [Fri, 19 Jul 2013 21:20:40 +0000 (14:20 -0700)]
Reconcile with jb-mr2-zeroday-release - do not merge

Change-Id: I48e936434971feedd176c2d5eafd0fdf43b75f74

11 years agoEnable support for explicitly requesting an encoded keyframe from the vp8
Andreas Huber [Fri, 19 Jul 2013 18:00:43 +0000 (11:00 -0700)]
Enable support for explicitly requesting an encoded keyframe from the vp8

encoder.

Change-Id: I370d5831f7d6037faf361a92521390f19f179cbe

11 years agoam 46910bdc: Camera2/3: Fix deadlock when starting recording before preview.
Eino-Ville Talvala [Fri, 19 Jul 2013 20:43:00 +0000 (13:43 -0700)]
am 46910bdc: Camera2/3: Fix deadlock when starting recording before preview.

* commit '46910bdc57c35ac36bd4adcbb76f4f3a590e3f21':
  Camera2/3: Fix deadlock when starting recording before preview.

11 years agocamera2: Fix request ID bug
Zhijun He [Fri, 19 Jul 2013 20:18:43 +0000 (13:18 -0700)]
camera2: Fix request ID bug

Wrong request id was pushed in request list.

Change-Id: I55bf7ae84ca41eec79db1a81d2cde35beaa2a6b9

11 years agoMinor tweaks to DirectRenderer and Converter
Andreas Huber [Fri, 19 Jul 2013 18:32:07 +0000 (11:32 -0700)]
Minor tweaks to DirectRenderer and Converter

Converter now supports automatic prepending of SPS/PPS to IDR frames (h264)
as well as using the encoder in "surface-input" mode.
The new features are all opt-in and should not affect existing clients.

Change-Id: I543cf1d31ba068c1a01ab4e6814ac8d817b63faa

11 years agoFix compile warning
Glenn Kasten [Fri, 19 Jul 2013 17:32:41 +0000 (10:32 -0700)]
Fix compile warning

Change-Id: I80de4a013dc65eb7c532561438fd10e005354c03

11 years agoUse AudioSystem::setLowRamDevice() to configure memory
Glenn Kasten [Mon, 15 Jul 2013 21:45:07 +0000 (14:45 -0700)]
Use AudioSystem::setLowRamDevice() to configure memory

Bug: 9798886
Change-Id: I9321e3f369f1ed9429ae222e3926ebdeb012b8b0

11 years agoRevert "Fix Audioflinger crash when TeeSink is enabled"
Glenn Kasten [Mon, 15 Jul 2013 23:09:26 +0000 (16:09 -0700)]
Revert "Fix Audioflinger crash when TeeSink is enabled"

This reverts commit 84e391686d7eced293913d1d7993721224ee0ba1.

Bug: 8834855
Change-Id: I8211ef5ea5d87d97ada115723df31c8057f38ca8

11 years agoMake AudioFlinger::instantiate() more resilient when called from separate module
Glenn Kasten [Mon, 15 Jul 2013 18:23:36 +0000 (11:23 -0700)]
Make AudioFlinger::instantiate() more resilient when called from separate module

Bug: 8834855
Change-Id: I4cd842cdfb09d2aaaaab9df9ac3bec6179709bd3

11 years agoCamera2/3: Fix deadlock when starting recording before preview.
Eino-Ville Talvala [Fri, 19 Jul 2013 02:15:17 +0000 (19:15 -0700)]
Camera2/3: Fix deadlock when starting recording before preview.

Move 3A notification synthesis for HAL3 devices from
Camera3Device::processCaptureResult to Camera2Client's
FrameProcessor. This will ensure that calls to processCaptureResult
from HAL can never block on Camera2Client internal mutexes.

Bug: 9923891
Change-Id: I5184649bf45c0807babe6b8c0e1239e959cd3480

11 years agoCamera2/3: Fix deadlock when starting recording before preview.
Eino-Ville Talvala [Fri, 19 Jul 2013 02:15:17 +0000 (19:15 -0700)]
Camera2/3: Fix deadlock when starting recording before preview.

Move 3A notification synthesis for HAL3 devices from
Camera3Device::processCaptureResult to Camera2Client's
FrameProcessor. This will ensure that calls to processCaptureResult
from HAL can never block on Camera2Client internal mutexes.

Bug: 9923891
Change-Id: I5184649bf45c0807babe6b8c0e1239e959cd3480

11 years agoMerge "ANetworkSession and ParsedMessage are now part of stagefright foundation."
Andreas Huber [Thu, 18 Jul 2013 22:14:33 +0000 (22:14 +0000)]
Merge "ANetworkSession and ParsedMessage are now part of stagefright foundation."

11 years agoANetworkSession and ParsedMessage are now part of stagefright foundation.
Andreas Huber [Thu, 18 Jul 2013 21:36:18 +0000 (14:36 -0700)]
ANetworkSession and ParsedMessage are now part of stagefright foundation.

Also fixes some bugs in ParseMessage and adds "WebSocket" mode to
ANetworkSession, something that's opt-in and should not affect existing clients
of the API.

Change-Id: I86d5748e0d818231d85d3590d86c2b41d4f8b1f1

11 years agoMerge "stagefright: set scaling mode for blank frames in ACodec"
Dima Zavin [Thu, 18 Jul 2013 20:37:19 +0000 (20:37 +0000)]
Merge "stagefright: set scaling mode for blank frames in ACodec"

11 years agostagefright: set scaling mode for blank frames in ACodec
Dima Zavin [Thu, 18 Jul 2013 18:43:39 +0000 (11:43 -0700)]
stagefright: set scaling mode for blank frames in ACodec

Analogous to 1d5ac80d0c6d3deabcc9e9b4abc9e3ef536aeb27
(by jgennis), this sets the scaling mode for the ANativeWindow
to SCALE_TO_WINDOW prior to pushing the blank frames during
decoder tear down.

Without this, the window defaults to FREEZE and SF ignores the
new frames.

Bug: 9516405
Change-Id: I39ef30922d733034bf01100d7ff24ac9c0c33b7d
Signed-off-by: Dima Zavin <dima@android.com>
11 years agoMerge "Fix theoretical memory leak in mConfigEvents"
Glenn Kasten [Thu, 18 Jul 2013 14:59:36 +0000 (14:59 +0000)]
Merge "Fix theoretical memory leak in mConfigEvents"

11 years agoFix theoretical memory leak in mConfigEvents
Glenn Kasten [Wed, 17 Jul 2013 16:08:51 +0000 (09:08 -0700)]
Fix theoretical memory leak in mConfigEvents

Change-Id: I137f70676c8919661e716c33e0dd9c25c2b6285c

11 years agoMerge "Clean up references to AUDIO_FORMAT_PCM_8_24_BIT"
Glenn Kasten [Wed, 17 Jul 2013 23:26:33 +0000 (23:26 +0000)]
Merge "Clean up references to AUDIO_FORMAT_PCM_8_24_BIT"

11 years agoMerge "Support "suspension" of a video encoder in "surface-input" mode."
Andreas Huber [Wed, 17 Jul 2013 22:29:43 +0000 (22:29 +0000)]
Merge "Support "suspension" of a video encoder in "surface-input" mode."

11 years agoSupport "suspension" of a video encoder in "surface-input" mode.
Andreas Huber [Wed, 17 Jul 2013 20:55:26 +0000 (13:55 -0700)]
Support "suspension" of a video encoder in "surface-input" mode.

i.e. feed no more input frames to the encoder while suspended.

Change-Id: I51391e18c1517548e869f8ddece19f4af37e78f9

11 years agoMerge "Experimental support for enabling the use of "surface input" mode"
Andreas Huber [Wed, 17 Jul 2013 22:13:17 +0000 (22:13 +0000)]
Merge "Experimental support for enabling the use of "surface input" mode"

11 years agoExperimental support for enabling the use of "surface input" mode
Andreas Huber [Wed, 17 Jul 2013 21:02:31 +0000 (14:02 -0700)]
Experimental support for enabling the use of "surface input" mode

even with the software VP8 encoder.
This relies heavily on the fact that the "Nexus" devices use ARGB32 as
the colorspace for the data underlying a surface provided by SurfaceFlinger
(mirroring). Generally there are no such guarantees.

Change-Id: I1de32f591a3bb935ca76151816b3a02665bec40b

11 years agoMerge "Output more detailed error message if loading library fails"
leozwang@google.com [Wed, 17 Jul 2013 21:14:37 +0000 (21:14 +0000)]
Merge "Output more detailed error message if loading library fails"

11 years agoOutput more detailed error message if loading library fails
leozwang@google.com [Sun, 14 Jul 2013 04:52:50 +0000 (21:52 -0700)]
Output more detailed error message if loading library fails

Bug: 9805979

Change-Id: I77b19d6a65ff9fb72e7428ce79b117628e4c8658

11 years agoMerge "Fix indentation"
Glenn Kasten [Wed, 17 Jul 2013 15:14:16 +0000 (15:14 +0000)]
Merge "Fix indentation"

11 years agoMerge "Add comments"
Glenn Kasten [Wed, 17 Jul 2013 14:44:50 +0000 (14:44 +0000)]
Merge "Add comments"

11 years agoMerge "Fix typo in logs"
Glenn Kasten [Wed, 17 Jul 2013 14:24:14 +0000 (14:24 +0000)]
Merge "Fix typo in logs"

11 years agoupdate to new Consumer APIs
Mathias Agopian [Wed, 17 Jul 2013 05:54:39 +0000 (22:54 -0700)]
update to new Consumer APIs

Change-Id: I3c5d4be2a2e8783fbf98b3e268fd02658f71dc7d

11 years agoMerge "always pass the BufferQueue explicitely to consumers"
Mathias Agopian [Tue, 16 Jul 2013 02:17:39 +0000 (02:17 +0000)]
Merge "always pass the BufferQueue explicitely to consumers"

11 years agocamera2: Implement ICameraDeviceUser::getCameraInfo
Igor Murashkin [Sat, 13 Jul 2013 00:52:16 +0000 (17:52 -0700)]
camera2: Implement ICameraDeviceUser::getCameraInfo

Bug: 9529161
Change-Id: I927e39c124cd5fb19e38423506f4463acc381cb0

11 years agoalways pass the BufferQueue explicitely to consumers
Mathias Agopian [Sat, 13 Jul 2013 05:06:20 +0000 (22:06 -0700)]
always pass the BufferQueue explicitely to consumers

Change-Id: Ic2d9a9cf184a482b3c78a481ed693ee32df5ca13

11 years agoMerge "AudioTrackShared cleanup"
Glenn Kasten [Thu, 11 Jul 2013 20:11:55 +0000 (20:11 +0000)]
Merge "AudioTrackShared cleanup"

11 years agoMerge "Fix AudioTrack::flush()"
Glenn Kasten [Thu, 11 Jul 2013 20:07:50 +0000 (20:07 +0000)]
Merge "Fix AudioTrack::flush()"

11 years agoFix AudioTrack::flush()
Glenn Kasten [Thu, 11 Jul 2013 17:35:38 +0000 (10:35 -0700)]
Fix AudioTrack::flush()

It was only flushing at a surface level, and even then only the first time
the server observed the client's flush request.  Now it flushes at a
deeper level, but there may be even deeper device-specific flushing.

Bug: 9770947
Change-Id: I687cc3410ff9e5e5d4a5dcb9e3b129501e53d247

11 years agoam 1bb59258: (-s ours) Reconcile with jb-mr2-zeroday-release - do not merge
The Android Open Source Project [Thu, 11 Jul 2013 17:17:25 +0000 (10:17 -0700)]
am 1bb59258: (-s ours) Reconcile with jb-mr2-zeroday-release - do not merge

* commit '1bb59258458350af518170558120783bc2f9e61d':

11 years agoam 0a95b17c: (-s ours) Reconcile with jb-mr2-zeroday-release - do not merge
The Android Open Source Project [Thu, 11 Jul 2013 15:08:09 +0000 (08:08 -0700)]
am 0a95b17c: (-s ours) Reconcile with jb-mr2-zeroday-release - do not merge

* commit '0a95b17c93f8ca0a4ed46bdc5797aa81f46f028c':

11 years agoMerge "Pass additional arg to acquireBuffer calls."
Andy McFadden [Thu, 11 Jul 2013 14:40:58 +0000 (14:40 +0000)]
Merge "Pass additional arg to acquireBuffer calls."

11 years agoam adaa78c9: am a2520db0: camera2/3: set preview callback oneshot flag during still...
Zhijun He [Thu, 11 Jul 2013 08:54:37 +0000 (01:54 -0700)]
am adaa78c9: am a2520db0: camera2/3: set preview callback oneshot flag during still capture

* commit 'adaa78c901a2f2509965b7acc1cde848dfc6bafe':
  camera2/3: set preview callback oneshot flag during still capture

11 years agoFix indentation
Glenn Kasten [Thu, 11 Jul 2013 00:20:54 +0000 (17:20 -0700)]
Fix indentation

Change-Id: Ia28720a7d0fad8cf110c2448b967d5648d42e017

11 years agoAdd comments
Glenn Kasten [Thu, 11 Jul 2013 00:03:19 +0000 (17:03 -0700)]
Add comments

Change-Id: Ifbf3a46a4183c8abc0feee1c588953ab10303cc1

11 years agoFix type error in AudioTrack::processAudioBuffer
Glenn Kasten [Wed, 10 Jul 2013 23:52:47 +0000 (16:52 -0700)]
Fix type error in AudioTrack::processAudioBuffer

It returned a bool instead of nsecs_t

Change-Id: If0c096dac411afc0a4142ec1e59c1fdd36d4867c

11 years agoClean up references to AUDIO_FORMAT_PCM_8_24_BIT
Glenn Kasten [Tue, 18 Jun 2013 18:46:28 +0000 (11:46 -0700)]
Clean up references to AUDIO_FORMAT_PCM_8_24_BIT

Change-Id: I08771eb2664b7082561a40937218c7f4414e2cce

11 years agoReconcile with jb-mr2-zeroday-release - do not merge
The Android Open Source Project [Wed, 10 Jul 2013 15:34:46 +0000 (08:34 -0700)]
Reconcile with jb-mr2-zeroday-release - do not merge

Change-Id: Ie4a7e41d8d28b46966f6aadfd38af5516c082f04

11 years agomerge in jb-mr2-zeroday-release history after reset to jb-mr2-dev
The Android Automerger [Wed, 10 Jul 2013 12:55:16 +0000 (05:55 -0700)]
merge in jb-mr2-zeroday-release history after reset to jb-mr2-dev

11 years agoReconcile with jb-mr2-zeroday-release - do not merge
The Android Open Source Project [Tue, 9 Jul 2013 16:37:21 +0000 (09:37 -0700)]
Reconcile with jb-mr2-zeroday-release - do not merge

Change-Id: I9a9eea4a01ba78b06cb79a26db9b0bcb52f5fd7b

11 years agoam a2520db0: camera2/3: set preview callback oneshot flag during still capture
Zhijun He [Tue, 9 Jul 2013 15:00:35 +0000 (08:00 -0700)]
am a2520db0: camera2/3: set preview callback oneshot flag during still capture

* commit 'a2520db02bead68d4980783c41500ae96511bdf8':
  camera2/3: set preview callback oneshot flag during still capture

11 years agomerge in jb-mr2-zeroday-release history after reset to jb-mr2-dev
The Android Automerger [Tue, 9 Jul 2013 12:55:21 +0000 (05:55 -0700)]
merge in jb-mr2-zeroday-release history after reset to jb-mr2-dev

11 years agoPass additional arg to acquireBuffer calls.
Andy McFadden [Fri, 28 Jun 2013 21:03:03 +0000 (14:03 -0700)]
Pass additional arg to acquireBuffer calls.

Bug 7900302

Change-Id: I30b9cca783e0a48f77035b745b7d5e20edf10f27

11 years agocamera2/3: set preview callback oneshot flag during still capture
Zhijun He [Mon, 8 Jul 2013 23:12:32 +0000 (16:12 -0700)]
camera2/3: set preview callback oneshot flag during still capture

Preview callback oneshot flag need set when a still picture is being captured
and preview callback oneshot is enabled, otherwise, the callback enabling status
could be lost when preview is restarted after still catpure.

Bug 9742091

Change-Id: If9562369013e53727edfdd16f3d00d6a9392e70d

11 years agoam 06a4604e: am 4a5c009b: Camera2/3: As a fallback, unilaterally free old recording...
Eino-Ville Talvala [Mon, 8 Jul 2013 23:49:36 +0000 (16:49 -0700)]
am 06a4604e: am 4a5c009b: Camera2/3: As a fallback, unilaterally free old recording buffers

* commit '06a4604e77b5872857ef95fe712b6ce00c7aa506':
  Camera2/3: As a fallback, unilaterally free old recording buffers

11 years agoam 4a5c009b: Camera2/3: As a fallback, unilaterally free old recording buffers
Eino-Ville Talvala [Mon, 8 Jul 2013 23:47:27 +0000 (16:47 -0700)]
am 4a5c009b: Camera2/3: As a fallback, unilaterally free old recording buffers

* commit '4a5c009bc2389304cf078c270bceb656479367d2':
  Camera2/3: As a fallback, unilaterally free old recording buffers

11 years agoam 29196772: (-s ours) Reconcile with jb-mr2-zeroday-release - do not merge
The Android Open Source Project [Mon, 8 Jul 2013 22:37:11 +0000 (15:37 -0700)]
am 29196772: (-s ours) Reconcile with jb-mr2-zeroday-release - do not merge

* commit '291967728b02ad9a7d5545b0eb1ec0c4c3d664af':

11 years agoReconcile with jb-mr2-zeroday-release - do not merge
The Android Open Source Project [Mon, 8 Jul 2013 22:33:11 +0000 (15:33 -0700)]
Reconcile with jb-mr2-zeroday-release - do not merge

Change-Id: I13e45e13c3abf52cef3fb58de3f4707fb8fedaac

11 years agoam 1468dd9c: am c582fde9: resolved conflicts for merge of c158971f to stage-aosp...
Jean-Baptiste Queru [Mon, 8 Jul 2013 20:43:29 +0000 (13:43 -0700)]
am 1468dd9c: am c582fde9: resolved conflicts for merge of c158971f to stage-aosp-master

* commit '1468dd9cefe11d5938a5497688f99701b6b14706':
  Store rtsp accessunit until PLAY response parsed

11 years agoam c582fde9: resolved conflicts for merge of c158971f to stage-aosp-master
Jean-Baptiste Queru [Mon, 8 Jul 2013 20:42:25 +0000 (13:42 -0700)]
am c582fde9: resolved conflicts for merge of c158971f to stage-aosp-master

* commit 'c582fde93ded7219107157333a9e46d780adcf9c':
  Store rtsp accessunit until PLAY response parsed

11 years agoresolved conflicts for merge of c158971f to stage-aosp-master
Jean-Baptiste Queru [Mon, 8 Jul 2013 20:36:08 +0000 (13:36 -0700)]
resolved conflicts for merge of c158971f to stage-aosp-master

Change-Id: I3d77b86f7e616af62a826fc37126706ad8ff6158

11 years agoCamera2/3: As a fallback, unilaterally free old recording buffers
Eino-Ville Talvala [Wed, 3 Jul 2013 23:56:11 +0000 (16:56 -0700)]
Camera2/3: As a fallback, unilaterally free old recording buffers

When starting a recording session, check for and clear out recording
buffers still owned by stagefright from a previous recording session,
if any.  There should never be any, but in case they are due to a bug
elsewhere in the system, clearing out the buffers makes recovery
possible.

Bug: 9591080
Change-Id: I3a2a1256860bd174381cd525948419f985c9b415

11 years agoMerge "Store rtsp accessunit until PLAY response parsed"
Jean-Baptiste Queru [Mon, 8 Jul 2013 19:35:13 +0000 (19:35 +0000)]
Merge "Store rtsp accessunit until PLAY response parsed"

11 years agoam 8ebdfa8b: am 5de9ef20: am 365ed394: Merge "Typo in CameraParameters::set"
Jean-Baptiste Queru [Mon, 8 Jul 2013 19:23:00 +0000 (12:23 -0700)]
am 8ebdfa8b: am 5de9ef20: am 365ed394: Merge "Typo in CameraParameters::set"

* commit '8ebdfa8b021ed338f9916a1f30d756b989afa3bd':
  Typo in CameraParameters::set

11 years agoam 5de9ef20: am 365ed394: Merge "Typo in CameraParameters::set"
Jean-Baptiste Queru [Mon, 8 Jul 2013 19:20:16 +0000 (12:20 -0700)]
am 5de9ef20: am 365ed394: Merge "Typo in CameraParameters::set"

* commit '5de9ef20d596bc20f53cba664f1ac7e358910ea2':
  Typo in CameraParameters::set

11 years agoam 365ed394: Merge "Typo in CameraParameters::set"
Jean-Baptiste Queru [Mon, 8 Jul 2013 19:15:36 +0000 (12:15 -0700)]
am 365ed394: Merge "Typo in CameraParameters::set"

* commit '365ed394c4135d9d42082c85638c076aed4bd156':
  Typo in CameraParameters::set

11 years agoMerge "Typo in CameraParameters::set"
Jean-Baptiste Queru [Mon, 8 Jul 2013 19:00:51 +0000 (19:00 +0000)]
Merge "Typo in CameraParameters::set"

11 years agoam c26ab375: am 5d2ab2a6: am 8eef093c: Merge "libstagefright: Use LOG_BASIC when...
Jean-Baptiste Queru [Mon, 8 Jul 2013 18:31:25 +0000 (11:31 -0700)]
am c26ab375: am 5d2ab2a6: am 8eef093c: Merge "libstagefright: Use LOG_BASIC when use chromium http stack"

* commit 'c26ab375ebb1bce6c3a99a46a72d8369170255ca':
  libstagefright: Use LOG_BASIC when use chromium http stack

11 years agoam 5d2ab2a6: am 8eef093c: Merge "libstagefright: Use LOG_BASIC when use chromium...
Jean-Baptiste Queru [Mon, 8 Jul 2013 18:29:15 +0000 (11:29 -0700)]
am 5d2ab2a6: am 8eef093c: Merge "libstagefright: Use LOG_BASIC when use chromium http stack"

* commit '5d2ab2a6d5e90c045d0989ef1be6c66a2295ee2d':
  libstagefright: Use LOG_BASIC when use chromium http stack

11 years agoam 046d9c8d: am 06197925: am 267363ee: Merge "Prevent Media Server crash while the...
Jean-Baptiste Queru [Mon, 8 Jul 2013 18:27:53 +0000 (11:27 -0700)]
am 046d9c8d: am 06197925: am 267363ee: Merge "Prevent Media Server crash while the AwesomePlayer getBitrate return true with mBitrate equals to zero."

* commit '046d9c8dad97118535778cf93efc662ceb5fec8d':
  Prevent Media Server crash while the AwesomePlayer getBitrate return true with mBitrate equals to zero.

11 years agoam 9f0e0597: am 7266bc80: am ca7f1609: Merge "Prevent double disconnects in RTSPSource"
Jean-Baptiste Queru [Mon, 8 Jul 2013 18:27:52 +0000 (11:27 -0700)]
am 9f0e0597: am 7266bc80: am ca7f1609: Merge "Prevent double disconnects in RTSPSource"

* commit '9f0e05978e236352fd2a4a7c6dce909755c36ead':
  Prevent double disconnects in RTSPSource

11 years agoam 06197925: am 267363ee: Merge "Prevent Media Server crash while the AwesomePlayer...
Jean-Baptiste Queru [Mon, 8 Jul 2013 18:25:40 +0000 (11:25 -0700)]
am 06197925: am 267363ee: Merge "Prevent Media Server crash while the AwesomePlayer getBitrate return true with mBitrate equals to zero."

* commit '061979253985e59c4fcb82ede232717736e633b1':
  Prevent Media Server crash while the AwesomePlayer getBitrate return true with mBitrate equals to zero.

11 years agoam 8eef093c: Merge "libstagefright: Use LOG_BASIC when use chromium http stack"
Jean-Baptiste Queru [Mon, 8 Jul 2013 18:25:39 +0000 (11:25 -0700)]
am 8eef093c: Merge "libstagefright: Use LOG_BASIC when use chromium http stack"

* commit '8eef093c213094c7efb655ef4d9e31439646bd7f':
  libstagefright: Use LOG_BASIC when use chromium http stack

11 years agoam 7266bc80: am ca7f1609: Merge "Prevent double disconnects in RTSPSource"
Jean-Baptiste Queru [Mon, 8 Jul 2013 18:25:34 +0000 (11:25 -0700)]
am 7266bc80: am ca7f1609: Merge "Prevent double disconnects in RTSPSource"

* commit '7266bc80850dc327e9f18c27b81613f959399630':
  Prevent double disconnects in RTSPSource

11 years agoMerge "libstagefright: Use LOG_BASIC when use chromium http stack"
Jean-Baptiste Queru [Mon, 8 Jul 2013 18:23:45 +0000 (18:23 +0000)]
Merge "libstagefright: Use LOG_BASIC when use chromium http stack"

11 years agoam 267363ee: Merge "Prevent Media Server crash while the AwesomePlayer getBitrate...
Jean-Baptiste Queru [Mon, 8 Jul 2013 18:21:48 +0000 (11:21 -0700)]
am 267363ee: Merge "Prevent Media Server crash while the AwesomePlayer getBitrate return true with mBitrate equals to zero."

* commit '267363ee2836ff9bc18d7fdd93aaedf19de546ad':
  Prevent Media Server crash while the AwesomePlayer getBitrate return true with mBitrate equals to zero.

11 years agoam ca7f1609: Merge "Prevent double disconnects in RTSPSource"
Jean-Baptiste Queru [Mon, 8 Jul 2013 18:21:45 +0000 (11:21 -0700)]
am ca7f1609: Merge "Prevent double disconnects in RTSPSource"

* commit 'ca7f160921a4a1a5da32ebe8fab1067bd8998a1f':
  Prevent double disconnects in RTSPSource

11 years agoMerge "Prevent Media Server crash while the AwesomePlayer getBitrate return true...
Jean-Baptiste Queru [Mon, 8 Jul 2013 18:17:43 +0000 (18:17 +0000)]
Merge "Prevent Media Server crash while the AwesomePlayer getBitrate return true with mBitrate equals to zero."

11 years agoMerge "Prevent double disconnects in RTSPSource"
Jean-Baptiste Queru [Mon, 8 Jul 2013 18:17:02 +0000 (18:17 +0000)]
Merge "Prevent double disconnects in RTSPSource"

11 years agoMerge "Explicitly compare raw pointers to NULL"
Glenn Kasten [Mon, 8 Jul 2013 16:38:40 +0000 (16:38 +0000)]
Merge "Explicitly compare raw pointers to NULL"

11 years agoMerge "mv libcpustats from frameworks/native to frameworks/av"
Glenn Kasten [Mon, 8 Jul 2013 15:40:30 +0000 (15:40 +0000)]
Merge "mv libcpustats from frameworks/native to frameworks/av"

11 years agomerge in jb-mr2-zeroday-release history after reset to jb-mr2-dev
The Android Automerger [Mon, 8 Jul 2013 12:55:23 +0000 (05:55 -0700)]
merge in jb-mr2-zeroday-release history after reset to jb-mr2-dev

11 years agoam 9a25c012: am eced745a: Merge "Part of fix for TEE resource leaks when app crashes...
Jeff Tinker [Sun, 7 Jul 2013 19:28:46 +0000 (12:28 -0700)]
am 9a25c012: am eced745a: Merge "Part of fix for TEE resource leaks when app crashes" into jb-mr2-dev

* commit '9a25c012915f2209fff1479b246ae8eba38c3eff':
  Part of fix for TEE resource leaks when app crashes

11 years agoam eced745a: Merge "Part of fix for TEE resource leaks when app crashes" into jb...
Jeff Tinker [Sun, 7 Jul 2013 19:26:16 +0000 (12:26 -0700)]
am eced745a: Merge "Part of fix for TEE resource leaks when app crashes" into jb-mr2-dev

* commit 'eced745af7d2d27a8c45e04eb071d4fb30cd3e48':
  Part of fix for TEE resource leaks when app crashes

11 years agoMerge "Part of fix for TEE resource leaks when app crashes" into jb-mr2-dev
Jeff Tinker [Sun, 7 Jul 2013 19:21:55 +0000 (19:21 +0000)]
Merge "Part of fix for TEE resource leaks when app crashes" into jb-mr2-dev

11 years agoPart of fix for TEE resource leaks when app crashes
Jeff Tinker [Wed, 3 Jul 2013 22:38:58 +0000 (15:38 -0700)]
Part of fix for TEE resource leaks when app crashes

bug: 9672606
Change-Id: I98cf65260d5e43d34e3897452f6f26ed2c89294e

11 years agoam ace2378c: am f59a4b39: fix scheduling policy service death detection
Eric Laurent [Wed, 3 Jul 2013 15:40:51 +0000 (08:40 -0700)]
am ace2378c: am f59a4b39: fix scheduling policy service death detection

* commit 'ace2378c934b61fbd865b5ade9ff7d0df81dabe3':
  fix scheduling policy service death detection

11 years agoam f59a4b39: fix scheduling policy service death detection
Eric Laurent [Wed, 3 Jul 2013 15:16:46 +0000 (08:16 -0700)]
am f59a4b39: fix scheduling policy service death detection

* commit 'f59a4b393f4844c5bbc8d6212364bdddea33d232':
  fix scheduling policy service death detection

11 years agoPrevent Media Server crash while the AwesomePlayer getBitrate return true with mBitra...
hovanchen [Tue, 2 Jul 2013 07:07:44 +0000 (15:07 +0800)]
Prevent Media Server crash while the AwesomePlayer getBitrate return true with mBitrate equals to zero.

[Cause]
   - getBitrate(int64_t *bitrate) will return true if mBitrate = 0.
   - Then, in getCachedDuration_l(int64_t *durationUs, bool *eos),
     we might execute the following function when
     getBitrate(&bitrate) = true and bitrate = 0.
        *durationUs = cachedDataRemaining * 8000000ll / bitrate;
   - Mediaserver will be crashed when divided by zero.
   - The mediaserver crash often occur when DLNA IOP tests on Golden DMS
     with AAC_ADTS_320 audio.
[Solution]
   - Prevent the divide function executing when bitrate is zero.

Change-Id: I4439d92cee5faec95df2109e9186c33b3fff6c66

11 years agoExplicitly compare raw pointers to NULL
Glenn Kasten [Tue, 2 Jul 2013 21:17:22 +0000 (14:17 -0700)]
Explicitly compare raw pointers to NULL

Change-Id: Id2c7828a36a6912333465475b21fa87e294c83c7

11 years agoAudioTrackShared cleanup
Glenn Kasten [Tue, 25 Jun 2013 23:13:23 +0000 (16:13 -0700)]
AudioTrackShared cleanup

Maintain unreleased frame count on client side also (was already there on server side).
Assertion failure instead of BAD_VALUE status for incorrect usage of APIs.
Clean up error handling code.

Change-Id: I23ca2f6f8a7c18645309ee5d64fbc844429bcba8

11 years agoFix typo in logs
Glenn Kasten [Tue, 13 Nov 2012 23:06:37 +0000 (15:06 -0800)]
Fix typo in logs

Change-Id: I889e31ea3a45a3d8d34fdfb54ebc3947de51d2be

11 years agoInclude what is needed
Glenn Kasten [Fri, 31 May 2013 16:18:43 +0000 (09:18 -0700)]
Include what is needed

Remove old includes.
Header files only include other header files that they directly need themselves.

Change-Id: Ic471386808d9f42ea19ccbd59cb50a5f83a89dd0

11 years agofix scheduling policy service death detection
Eric Laurent [Tue, 2 Jul 2013 18:15:41 +0000 (11:15 -0700)]
fix scheduling policy service death detection

Check status of transactions to scheduling policy service
and re-acquire a binder interface in case of DEAD_OBJECT.

Bug: 8875559.
Change-Id: I1e00bd44e2d4723b3ec95d5c31d9652ba08e238a