OSDN Git Service

android-x86/frameworks-av.git
10 years agoAdd new API AudioRecord::notificationFrames()
Glenn Kasten [Thu, 3 Jul 2014 18:18:43 +0000 (11:18 -0700)]
Add new API AudioRecord::notificationFrames()

Change-Id: I27fb888f01ed547242ffaa8d4626d38c7999ad53

10 years agoMerge "Add and enable multichannel for audio resampler"
Andy Hung [Thu, 3 Jul 2014 01:12:32 +0000 (01:12 +0000)]
Merge "Add and enable multichannel for audio resampler"

10 years agoAdd and enable multichannel for audio resampler
Andy Hung [Thu, 10 Apr 2014 02:36:43 +0000 (19:36 -0700)]
Add and enable multichannel for audio resampler

Change-Id: I2b86fb73d70abc4c456f7567270a888086b301d4
Signed-off-by: Andy Hung <hunga@google.com>
10 years agoAdd multichannel to audio resample processing
Andy Hung [Thu, 10 Apr 2014 02:19:06 +0000 (19:19 -0700)]
Add multichannel to audio resample processing

Change-Id: If6bfbf74000520713f9ba19488a475fc2eefc271
Signed-off-by: Andy Hung <hunga@google.com>
10 years agoMerge "Add force usage and category for System Audio Control."
Jungshik Jang [Thu, 3 Jul 2014 00:43:47 +0000 (00:43 +0000)]
Merge "Add force usage and category for System Audio Control."

10 years agoMerge "Add multichannel to audio resample processing"
Andy Hung [Wed, 2 Jul 2014 23:13:12 +0000 (23:13 +0000)]
Merge "Add multichannel to audio resample processing"

10 years agoMerge "Camera3: fix ZSL processor3 issues"
Zhijun He [Wed, 2 Jul 2014 23:03:32 +0000 (23:03 +0000)]
Merge "Camera3: fix ZSL processor3 issues"

10 years agoCamera3: fix ZSL processor3 issues
Zhijun He [Mon, 30 Jun 2014 17:24:11 +0000 (10:24 -0700)]
Camera3: fix ZSL processor3 issues

- Return input buffer in capture result. Per hal3.2 spec, we should return the
input buffer in process capture result rather than immediately after process
capture request.
- Make the depths of mZslQueue and mFrameList the same. It doesn't make sense
mFrameList depth is larger than mZslQueue depth.
- Set the depths of mZslQueue and mFrameList based on pipelineMaxDepth.
- Clear result queue while clearing zsl buffer queue.
- Hook up camera3 buffer listener with ZslProcessor3, make sure that adding the
same listener multiple times has no effect.
- Remove flush call in pushToReprocess, it is a guaranteed deadlock once
camera3 buffer listener is hooked up.

Change-Id: I285155ab4241e827145855d628f8e98b881c01d5

10 years agoMerge "MatroskaExtractor: track specific seeking"
Robert Shih [Wed, 2 Jul 2014 17:01:59 +0000 (17:01 +0000)]
Merge "MatroskaExtractor: track specific seeking"

10 years agoAdd force usage and category for System Audio Control.
Jungshik Jang [Thu, 26 Jun 2014 08:23:40 +0000 (17:23 +0900)]
Add force usage and category for System Audio Control.

System Audio Control in HDMI-CEC delegate audio control
to audio receiver. When system audio control is selected
in audio settings as audio output it should select one of ARC, SPDIF,
and LINE as audio output.
Whenever user select System Audio as audio output, audio
setting should call
setForceUse(AUDIO_POLICY_FORCE_FOR_SYSTEM_AUDIO, AUDIO_POLICY_FORCE_XXX);
and if other output is selected it should call
setForceUse(AUDIO_POLICY_FORCE_FOR_SYSTEM_AUDIO, AUDIO_POLICY_FORCE_NONE);

Change-Id: I1c237ee9291a4e0acf01a86aff3176edce5c14e0

10 years agoMerge "frameworks: av: services: audiopolicy: Added AudioPolicyEffects"
Eric Laurent [Tue, 1 Jul 2014 18:35:11 +0000 (18:35 +0000)]
Merge "frameworks: av: services: audiopolicy: Added AudioPolicyEffects"

10 years agoframeworks: av: services: audiopolicy: Added AudioPolicyEffects
bryant_liu [Wed, 11 Jun 2014 08:49:30 +0000 (16:49 +0800)]
frameworks: av: services: audiopolicy: Added AudioPolicyEffects

Manage pre- and postprocessing effects defined in audio_effects.conf

Change-Id: Idea1478e3d434f8ff66907adb3c77663db78d583

10 years agoCreate a single test binary.
Edwin Wong [Tue, 1 Jul 2014 17:32:59 +0000 (10:32 -0700)]
Create a single test binary.

To run individual test suite, follow the example shown below:
adb shell LD_LIBRARY_PATH=/system/vendor/lib/mediadrm /system/bin/ClearKeyDrmUnitTest
--gtest_filter=JsonWebKeyTest.*

Change-Id: I8ecc944a734cde351505a7cd8c3997976d74553b

10 years agoFix build target path.
Edwin Wong [Tue, 1 Jul 2014 15:43:12 +0000 (08:43 -0700)]
Fix build target path.

Change-Id: I45ee7efb13ffaff8c15ce6b2aea3076db713c73e

10 years agoMerge "Add new AudioMixer processing hooks"
Andy Hung [Tue, 1 Jul 2014 17:35:47 +0000 (17:35 +0000)]
Merge "Add new AudioMixer processing hooks"

10 years agoAdd Unit Tests for ClearKey Plugin
John "Juce" Bruce [Mon, 23 Jun 2014 19:11:56 +0000 (12:11 -0700)]
Add Unit Tests for ClearKey Plugin

Change-Id: I0008a01d29ade169df9a0fd30ca0303adf9ecad3

10 years agoClearKey Implementation of DRM Plugin APIs
John "Juce" Bruce [Wed, 14 May 2014 05:22:44 +0000 (22:22 -0700)]
ClearKey Implementation of DRM Plugin APIs

Adds shared-object entry points and interface implementations that
implement the Android ClearKey DRM Plugin API.

Change-Id: Ie889747492cf85efe883149833105538faaa4cfe

10 years agoJsonWebKey support.
Edwin Wong [Fri, 16 May 2014 00:24:57 +0000 (17:24 -0700)]
JsonWebKey support.

Parses JSON Web Key Set in the response data; extracts and base64 decode
key id(s) and key(s).

bug: 12035506
Change-Id: Ib71bce942d6eca1e569dfad0a9adb6dee1cdf75e

10 years agoImplement ClearKey Init Data Parser
John "Juce" Bruce [Wed, 11 Jun 2014 04:12:56 +0000 (21:12 -0700)]
Implement ClearKey Init Data Parser

Implements an object that can convert ISO-CENC or WebM initialization
data into a ClearKey license request.

Change-Id: Ib95012afcf40fc9e3f45510a468c305fb7bc216e

10 years agoImplement OpenSSL-Based Decryptor
John "Juce" Bruce [Wed, 11 Jun 2014 04:12:37 +0000 (21:12 -0700)]
Implement OpenSSL-Based Decryptor

Implements an object that does AES-CTR-128 by invoking OpenSSL.

Change-Id: I8457899ec8b69bd8f0d727029985c9580911cf99

10 years agoAdd ClearKey Utilities
John "Juce" Bruce [Thu, 15 May 2014 23:37:05 +0000 (16:37 -0700)]
Add ClearKey Utilities

Adds some utility functionality that is shared by multiple parts of
the ClearKey code.

Change-Id: I33a896eb68b2937918f145c9bd27174a119294b9

10 years agoMerge "Support for audio attributes on audio output of media player"
Jean-Michel Trivi [Tue, 1 Jul 2014 16:45:08 +0000 (16:45 +0000)]
Merge "Support for audio attributes on audio output of media player"

10 years agoSupport for audio attributes on audio output of media player
Jean-Michel Trivi [Tue, 24 Jun 2014 15:01:46 +0000 (08:01 -0700)]
Support for audio attributes on audio output of media player

Change-Id: Iae4995c98e64add1ab9e6c8ae6501515032755f5

10 years agoAdd new AudioMixer processing hooks
Andy Hung [Tue, 17 Jun 2014 22:25:47 +0000 (15:25 -0700)]
Add new AudioMixer processing hooks

This change adds new process and thread hooks for
multi-format handling.
It is enabled by setting kUseNewMixer = true.

Change-Id: I262a3d2e4411f8cef7370a497b77a34eb55f1f86

10 years agoCamera API1/2: don't register the same listener multiple times
Gaurav Batra [Thu, 19 Jun 2014 23:47:07 +0000 (16:47 -0700)]
Camera API1/2: don't register the same listener multiple times

FrameProcessorBase allows register the same metadata result listener multiple
times with the same range IDs, which causes the same metadata result is
delivered multiple times for the same listener. This is problematic as client
like ZslProcessor's updateStream is called multiple times between captures, and
each updateStream calls registerListener unconditionally. The the ZSL metadata
result queue will be flooded with same metadata result multiple times and the
number of same result will keep growing until the queue is full.

Change-Id: I2ff7808e5dce61068a7111e7fbbce2aba95198cd

10 years agoMerge "Add enabling variable for extended precision audio"
Andy Hung [Mon, 30 Jun 2014 18:17:03 +0000 (18:17 +0000)]
Merge "Add enabling variable for extended precision audio"

10 years agoMerge "Camera1: Don't send partial results to ZSL clients"
Zhijun He [Sat, 28 Jun 2014 00:55:16 +0000 (00:55 +0000)]
Merge "Camera1: Don't send partial results to ZSL clients"

10 years agoCamera1: Don't send partial results to ZSL clients
Zhijun He [Wed, 25 Jun 2014 18:40:02 +0000 (11:40 -0700)]
Camera1: Don't send partial results to ZSL clients

ZSL clients expect each received result as a complete result, and send back to
HAL as a reprocess capture request. CaptureSequencer client assumes results to
be non-partial too, it need look into some metadata that may not be present in
partial results.

Change-Id: Id716913fd6e1c914726abd6610fddf91141783c2

10 years agoMerge "Add HEVC encoder support to ACodec"
Rachad [Sat, 28 Jun 2014 00:34:55 +0000 (00:34 +0000)]
Merge "Add HEVC encoder support to ACodec"

10 years agoMerge "Fix AAC timestamps"
Marco Nelissen [Fri, 27 Jun 2014 16:54:39 +0000 (16:54 +0000)]
Merge "Fix AAC timestamps"

10 years agoFix AAC timestamps
Marco Nelissen [Thu, 26 Jun 2014 14:49:02 +0000 (07:49 -0700)]
Fix AAC timestamps

When playing an mpeg-2 transport stream with AAC audio, there will be
more than one packet per input buffer, resulting in multiple output
buffers for each input buffers. Additional timestamps needs to be
generated in that case.

b/15755476

Change-Id: I2df50b0cb3690eb36d56871daa1263de0028db06

10 years agoMerge "Enabling USB Device and Android Device Vol inc/dec functionality for USB Audio...
Paul McLean [Fri, 27 Jun 2014 16:05:57 +0000 (16:05 +0000)]
Merge "Enabling USB Device and Android Device Vol inc/dec functionality for USB Audio Output"

10 years agoEnabling USB Device and Android Device Vol inc/dec functionality for USB Audio Output
Paul McLean [Thu, 26 Jun 2014 20:16:44 +0000 (13:16 -0700)]
Enabling USB Device and Android Device Vol inc/dec functionality for USB Audio Output

Bug: 13747844
Change-Id: Ied5bb44f63a4e7183c52f8111e9a389b60ffe75f

10 years agoMerge "HLS: only queue discontinuity for first block"
Chong Zhang [Thu, 26 Jun 2014 18:50:41 +0000 (18:50 +0000)]
Merge "HLS: only queue discontinuity for first block"

10 years agondk: 64-bit compile warnings
Mark Salyzyn [Wed, 18 Jun 2014 23:32:50 +0000 (16:32 -0700)]
ndk: 64-bit compile warnings

Change-Id: I214973a97547bf714e56e4596359cb2bd9cdea9c

10 years agolibstagefright: 64-bit compile warnings
Mark Salyzyn [Wed, 18 Jun 2014 23:34:45 +0000 (16:34 -0700)]
libstagefright: 64-bit compile warnings

Change-Id: I3d1146714fa23be3d4e696599b6f70cac1f9d28b

10 years agoHLS: only queue discontinuity for first block
Chong Zhang [Thu, 26 Jun 2014 01:06:53 +0000 (18:06 -0700)]
HLS: only queue discontinuity for first block

Bug: 15020526
Change-Id: I15f9ab0f38dc510e584c668eea73ece61844d413

10 years agoAdd HEVC encoder support to ACodec
Rachad [Tue, 20 May 2014 01:01:41 +0000 (18:01 -0700)]
Add HEVC encoder support to ACodec

Bug: 14571712
Change-Id: Idaec2394d569541f3963befe722f46f6b0007937

10 years agoAdd enabling variable for extended precision audio
Andy Hung [Tue, 18 Mar 2014 18:56:15 +0000 (11:56 -0700)]
Add enabling variable for extended precision audio

Set AudioFlinger::kEnableExtendedPrecision = true to enable
extended precision. Enabling will be required for devices (such as
USB) which report 24 bit or 32 bit sink formats.

Change-Id: I0dc1d7a4f7607086d7b536ea0e43aef0e696f2ee

10 years agoMerge "cameraservice: Deprecate triggerId tags"
Yin-Chia Yeh [Wed, 25 Jun 2014 18:04:02 +0000 (18:04 +0000)]
Merge "cameraservice: Deprecate triggerId tags"

10 years agomtp: 64-bit compile warnings
Mark Salyzyn [Wed, 18 Jun 2014 23:32:27 +0000 (16:32 -0700)]
mtp: 64-bit compile warnings

Change-Id: I9ebc270c990d2f83311cec8fef8f1d2842ebf291

10 years agoMerge "audio policy: fix several issues on routing APIs."
Eric Laurent [Wed, 25 Jun 2014 15:57:06 +0000 (15:57 +0000)]
Merge "audio policy: fix several issues on routing APIs."

10 years agoMerge "GLConsumer: Stop using default constructor params"
Dan Stoza [Wed, 25 Jun 2014 17:03:52 +0000 (17:03 +0000)]
Merge "GLConsumer: Stop using default constructor params"

10 years agoaudio policy: fix several issues on routing APIs.
Eric Laurent [Mon, 23 Jun 2014 15:46:27 +0000 (08:46 -0700)]
audio policy: fix several issues on routing APIs.

- Do not list duplicated outputs in listAudioPorts(): duplicated
outputs are not valid sources for audio patches.
Also add asserts to make sure that an audio port with no valid profile
is never used by audio routing APIs.
- Fix typos causing the wrong device type to be used
when creating an audio patch.
- Fix error in building config mask in toAudioPortConfig().

Change-Id: I4505891dbed2c2fa92804d45505c3c2deb921f3e

10 years agocameraservice: Deprecate triggerId tags
Yin-Chia Yeh [Mon, 23 Jun 2014 21:07:56 +0000 (14:07 -0700)]
cameraservice: Deprecate triggerId tags

The following two tags are deprecated from HAL 3.2:
ANDROID_CONTROL_AF_TRIGGER_ID
ANDROID_CONTROL_AE_PRECAPTURE_ID

Trigger IDs are now internal to camera service.

Change-Id: Iaebd62ecb0905a811fa37fe7850e0221c38a0006

10 years agoGLConsumer: Stop using default constructor params
Dan Stoza [Tue, 24 Jun 2014 20:04:08 +0000 (13:04 -0700)]
GLConsumer: Stop using default constructor params

Removes the dependency on default constructor parameters for
GLConsumer so that a different constructor prototype can safely be
added.

Change-Id: I0da924bbd4c141edbf305598c1be8bc575654680

10 years agoMerge "Use sp<> instead of raw pointer for FastMixer"
Glenn Kasten [Tue, 24 Jun 2014 22:06:56 +0000 (22:06 +0000)]
Merge "Use sp<> instead of raw pointer for FastMixer"

10 years agoUse sp<> instead of raw pointer for FastMixer
Glenn Kasten [Tue, 13 May 2014 17:39:51 +0000 (10:39 -0700)]
Use sp<> instead of raw pointer for FastMixer

This avoids worry about the thread lifetime during tear-down.

Bug: 15858655
Change-Id: I896d24317bd6f53a574645cdf4cd514eaa205dd5

10 years agoam 32f212ea: (-s ours) am 87c47b0d: (-s ours) am bc0c2c2d: (-s ours) Merge "DO NOT...
Lajos Molnar [Tue, 24 Jun 2014 19:42:44 +0000 (19:42 +0000)]
am 32f212ea: (-s ours) am 87c47b0d: (-s ours) am bc0c2c2d: (-s ours) Merge "DO NOT MERGE: Fix for SW video decoder OMX profile/level query"

* commit '32f212ead657617df00c948448680b7ff7d11146':
  DO NOT MERGE: Fix for SW video decoder OMX profile/level query

10 years agoam 76e4e02d: am 940c688d: Merge "libmediaplayerservice: unused argument warning messages"
Mark Salyzyn [Tue, 24 Jun 2014 19:42:42 +0000 (19:42 +0000)]
am 76e4e02d: am 940c688d: Merge "libmediaplayerservice: unused argument warning messages"

* commit '76e4e02d6b6c1da140b8cbe48fc58035d2b7d311':
  libmediaplayerservice: unused argument warning messages

10 years agoam 87c47b0d: (-s ours) am bc0c2c2d: (-s ours) Merge "DO NOT MERGE: Fix for SW video...
Lajos Molnar [Tue, 24 Jun 2014 19:35:30 +0000 (19:35 +0000)]
am 87c47b0d: (-s ours) am bc0c2c2d: (-s ours) Merge "DO NOT MERGE: Fix for SW video decoder OMX profile/level query"

* commit '87c47b0d1c2df3e8630eb1b78fe303cfb24b3ad5':
  DO NOT MERGE: Fix for SW video decoder OMX profile/level query

10 years agoam 940c688d: Merge "libmediaplayerservice: unused argument warning messages"
Mark Salyzyn [Tue, 24 Jun 2014 19:35:26 +0000 (19:35 +0000)]
am 940c688d: Merge "libmediaplayerservice: unused argument warning messages"

* commit '940c688d76828ffd83929c661e75b5197903d30f':
  libmediaplayerservice: unused argument warning messages

10 years agoam bc0c2c2d: (-s ours) Merge "DO NOT MERGE: Fix for SW video decoder OMX profile...
Lajos Molnar [Tue, 24 Jun 2014 18:00:29 +0000 (18:00 +0000)]
am bc0c2c2d: (-s ours) Merge "DO NOT MERGE: Fix for SW video decoder OMX profile/level query"

* commit 'bc0c2c2d2a4cc058ab404f940f0ca65f595e047b':
  DO NOT MERGE: Fix for SW video decoder OMX profile/level query

10 years agoMerge "DO NOT MERGE: Fix for SW video decoder OMX profile/level query"
Lajos Molnar [Tue, 24 Jun 2014 17:56:00 +0000 (17:56 +0000)]
Merge "DO NOT MERGE: Fix for SW video decoder OMX profile/level query"

10 years agoDO NOT MERGE: Fix for SW video decoder OMX profile/level query
Xiaosong Wei [Tue, 17 Dec 2013 15:05:29 +0000 (23:05 +0800)]
DO NOT MERGE: Fix for SW video decoder OMX profile/level query

get the correct profile index from the input param and pass it to
profileLevel array to get the corresponding profile/level

Change-Id: I582961c0afb53c1781af7fb94226a23e5fdb96cf
Signed-off-by: Xiaosong Wei <xiaosong.wei@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
10 years agoMerge "Improve MTP error checking"
Marco Nelissen [Tue, 24 Jun 2014 18:16:13 +0000 (18:16 +0000)]
Merge "Improve MTP error checking"

10 years agoImprove MTP error checking
Marco Nelissen [Tue, 24 Jun 2014 17:49:08 +0000 (10:49 -0700)]
Improve MTP error checking

Change-Id: I1ab02ca0e99a1c284411fb368a773fb481d72ab2

10 years agoMerge "libmediaplayerservice: unused argument warning messages"
Mark Salyzyn [Tue, 24 Jun 2014 17:12:19 +0000 (17:12 +0000)]
Merge "libmediaplayerservice: unused argument warning messages"

10 years agolibmediaplayerservice: unused argument warning messages
Mark Salyzyn [Mon, 23 Jun 2014 21:14:40 +0000 (14:14 -0700)]
libmediaplayerservice: unused argument warning messages

Change-Id: I7dbf62858114ac9b8de6d7b66cc00e002769a5cf

10 years agoam 620f348f: am da69fdbb: Merge "Fix buffer allocation"
Marco Nelissen [Mon, 23 Jun 2014 19:54:07 +0000 (19:54 +0000)]
am 620f348f: am da69fdbb: Merge "Fix buffer allocation"

* commit '620f348faf3ce0c39e71338a005f1528765f4d1e':
  Fix buffer allocation

10 years agoam da69fdbb: Merge "Fix buffer allocation"
Marco Nelissen [Mon, 23 Jun 2014 19:48:55 +0000 (19:48 +0000)]
am da69fdbb: Merge "Fix buffer allocation"

* commit 'da69fdbbeb79885a3c063a2017bd6d2848fcc312':
  Fix buffer allocation

10 years agoMerge "Camera: Clear ZSL buffer queue when jpeg size is changed"
Zhijun He [Mon, 23 Jun 2014 22:04:11 +0000 (22:04 +0000)]
Merge "Camera: Clear ZSL buffer queue when jpeg size is changed"

10 years agoCamera: Clear ZSL buffer queue when jpeg size is changed
Zhijun He [Mon, 23 Jun 2014 17:22:37 +0000 (10:22 -0700)]
Camera: Clear ZSL buffer queue when jpeg size is changed

Bug: 15284653
Change-Id: I4778e8443945d918801102ba600874568bde12dc

10 years agoMerge "Parse trex and mehd boxes"
Marco Nelissen [Mon, 23 Jun 2014 18:11:53 +0000 (18:11 +0000)]
Merge "Parse trex and mehd boxes"

10 years agoParse trex and mehd boxes
Marco Nelissen [Tue, 17 Jun 2014 21:48:32 +0000 (14:48 -0700)]
Parse trex and mehd boxes

Also get duration from mvhd if available, use that in addition to track
durations to determine total length of file, clear track header
struct so we don't read uninitialized garbage from it, and take
composition time offset into account for proper ordering when B frames
are used.

b/15669839

Change-Id: Ibf3e35b5c7299bac11d0e78a391545fc325dd2d0

10 years agoMerge "Add test-mixer AudioMixer test program"
Andy Hung [Mon, 23 Jun 2014 16:44:53 +0000 (16:44 +0000)]
Merge "Add test-mixer AudioMixer test program"

10 years agoAdd test-mixer AudioMixer test program
Andy Hung [Tue, 17 Jun 2014 22:10:51 +0000 (15:10 -0700)]
Add test-mixer AudioMixer test program

The shell script mixer_to_wav_tests.sh shows how to use
test-mixer.

Change-Id: Ia7f1a368972c9c33fadc96df4cb1fc8b22446c8c

10 years agoCamera2: get stream configs by device verison
Yin-Chia Yeh [Wed, 18 Jun 2014 17:51:34 +0000 (10:51 -0700)]
Camera2: get stream configs by device verison

Starting from device version 3.2, the following tags:
    ANDROID_SCALER_AVAILABLE_FORMATS
    ANDROID_SCALER_AVAILABLE_JPEG_MIN_DURATIONS
    ANDROID_SCALER_AVAILABLE_JPEG_SIZES
    ANDROID_SCALER_AVAILABLE_PROCESSED_MIN_DURATIONS
    ANDROID_SCALER_AVAILABLE_PROCESSED_SIZES
    ANDROID_SCALER_AVAILABLE_RAW_MIN_DURATIONS
    ANDROID_SCALER_AVAILABLE_RAW_SIZES

are deprecated and replaced by:
    ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS

Change-Id: Iadc34af0ea985a16a25759d7a9a3eb4845c486fd

10 years agoMerge "Fix buffer allocation"
Marco Nelissen [Mon, 23 Jun 2014 18:23:22 +0000 (18:23 +0000)]
Merge "Fix buffer allocation"

10 years agoFix buffer allocation
Marco Nelissen [Mon, 23 Jun 2014 15:15:13 +0000 (08:15 -0700)]
Fix buffer allocation

b/15293123

Change-Id: Icb3ceabf02a55bc931baaf388ce125db6332de0e

10 years agoMerge "libeffects: 64-bit compile warnings"
Mark Salyzyn [Fri, 20 Jun 2014 21:59:17 +0000 (21:59 +0000)]
Merge "libeffects: 64-bit compile warnings"

10 years agolibeffects: 64-bit compile warnings
Mark Salyzyn [Fri, 20 Jun 2014 20:29:08 +0000 (13:29 -0700)]
libeffects: 64-bit compile warnings

Change-Id: I210129f5742b046f7ceef48194f039352eff596d

10 years agoam 06508824: am f0d8468d: DO NOT MERGE: CameraService: Fix permissions check issues
Eino-Ville Talvala [Fri, 20 Jun 2014 19:48:21 +0000 (19:48 +0000)]
am 06508824: am f0d8468d: DO NOT MERGE: CameraService: Fix permissions check issues

* commit '06508824dc699c566bc4ffbd816b2227fba15379':
  DO NOT MERGE: CameraService: Fix permissions check issues

10 years agoMerge "Camera2: Fix lastFrameNumber counter in flush case"
Yin-Chia Yeh [Fri, 20 Jun 2014 21:57:51 +0000 (21:57 +0000)]
Merge "Camera2: Fix lastFrameNumber counter in flush case"

10 years agoCamera2: Fix lastFrameNumber counter in flush case
Yin-Chia Yeh [Fri, 13 Jun 2014 21:53:05 +0000 (14:53 -0700)]
Camera2: Fix lastFrameNumber counter in flush case

Decrement the counter for those repeating requests never
sent to device.

Change-Id: I2064e51cb5d509d86dbde4a89e8157de33f574b0

10 years agoMerge "Camera2/3: Don't release recording buffer when stream is active"
Zhijun He [Fri, 20 Jun 2014 21:50:17 +0000 (21:50 +0000)]
Merge "Camera2/3: Don't release recording buffer when stream is active"

10 years agolibcameraservice: 64-bit compile warnings
Mark Salyzyn [Wed, 18 Jun 2014 23:33:43 +0000 (16:33 -0700)]
libcameraservice: 64-bit compile warnings

Change-Id: I168332a0d4699f6f5597d4883342aa7af7ed92c6

10 years agoaudiopolicy: 64-bit compile warnings
Mark Salyzyn [Wed, 18 Jun 2014 23:33:15 +0000 (16:33 -0700)]
audiopolicy: 64-bit compile warnings

Change-Id: I71db11499c4b0c434df8144c633d42282f5823c2

10 years agoMerge "libnbaio: 64-bit compile warnings"
Mark Salyzyn [Fri, 20 Jun 2014 21:32:59 +0000 (21:32 +0000)]
Merge "libnbaio: 64-bit compile warnings"

10 years agoMerge "libmediaplayerservice: 64-bit compile warnings"
Mark Salyzyn [Fri, 20 Jun 2014 21:07:06 +0000 (21:07 +0000)]
Merge "libmediaplayerservice: 64-bit compile warnings"

10 years agoMerge "Fix Externally reported security issue"
Jeff Tinker [Fri, 20 Jun 2014 20:45:14 +0000 (20:45 +0000)]
Merge "Fix Externally reported security issue"

10 years agoam 7f76c502: (-s ours) am 06508824: am f0d8468d: DO NOT MERGE: CameraService: Fix...
Eino-Ville Talvala [Fri, 20 Jun 2014 19:56:38 +0000 (19:56 +0000)]
am 7f76c502: (-s ours) am 06508824: am f0d8468d: DO NOT MERGE: CameraService: Fix permissions check issues

* commit '7f76c50257f131cb26c1c21ede2622cb7ad534bf':
  DO NOT MERGE: CameraService: Fix permissions check issues

10 years agolibnbaio: 64-bit compile warnings
Mark Salyzyn [Wed, 18 Jun 2014 23:32:00 +0000 (16:32 -0700)]
libnbaio: 64-bit compile warnings

Change-Id: I9517c32193031dcc7af7b2104e985d66805b84aa

10 years agolibmediaplayerservice: 64-bit compile warnings
Mark Salyzyn [Wed, 18 Jun 2014 23:31:32 +0000 (16:31 -0700)]
libmediaplayerservice: 64-bit compile warnings

Change-Id: I333e52dc377becc774f3fa971c230ecb55ea8d7b

10 years agoFix Externally reported security issue
Jeff Tinker [Tue, 17 Jun 2014 23:45:46 +0000 (16:45 -0700)]
Fix Externally reported security issue

bug: 12724697
Change-Id: I57f37dbb3b01c0c3d3256be67c395352dd6ada13

10 years agoMerge "camera: Let #connectLegacy calls through with unspecified HAL version"
Igor Murashkin [Fri, 20 Jun 2014 18:49:55 +0000 (18:49 +0000)]
Merge "camera: Let #connectLegacy calls through with unspecified HAL version"

10 years agocamera: Let #connectLegacy calls through with unspecified HAL version
Igor Murashkin [Fri, 20 Jun 2014 18:27:03 +0000 (11:27 -0700)]
camera: Let #connectLegacy calls through with unspecified HAL version

This enables the camera2 shim to open a camera1 device without
turning the error codes into a RuntimeException.

Change-Id: I08d9d1e30e72025c41bd54b702d7ae95b32257be

10 years agoMerge "Extract out test utility functions from resampler_tests"
Andy Hung [Fri, 20 Jun 2014 16:22:28 +0000 (16:22 +0000)]
Merge "Extract out test utility functions from resampler_tests"

10 years agolibmedia: 64-bit compile warnings
Mark Salyzyn [Wed, 18 Jun 2014 23:30:56 +0000 (16:30 -0700)]
libmedia: 64-bit compile warnings

Change-Id: I600f062fa7148c01851023c1240c39939e648002

10 years agoam f0d8468d: DO NOT MERGE: CameraService: Fix permissions check issues
Eino-Ville Talvala [Thu, 19 Jun 2014 23:33:15 +0000 (23:33 +0000)]
am f0d8468d: DO NOT MERGE: CameraService: Fix permissions check issues

* commit 'f0d8468dcec08e1ac4edf62ec7da5782a0b84d93':
  DO NOT MERGE: CameraService: Fix permissions check issues

10 years agoMerge "cameraservice: Implement HAL1 and higher HAL API coexistence"
Zhijun He [Thu, 19 Jun 2014 23:27:56 +0000 (23:27 +0000)]
Merge "cameraservice: Implement HAL1 and higher HAL API coexistence"

10 years agocameraservice: Implement HAL1 and higher HAL API coexistence
Zhijun He [Mon, 16 Jun 2014 23:38:35 +0000 (16:38 -0700)]
cameraservice: Implement HAL1 and higher HAL API coexistence

A higher hal version device like HAL3.2 can be opened as HAL1.0 device
if HAL supports it. This only applies to camera API1.

Change-Id: I4ae9f59f4317158cc1bd7ed7726e4032cdd1fa07

10 years agoscreenrecord: 64-bit compile warnings
Mark Salyzyn [Wed, 18 Jun 2014 23:30:26 +0000 (16:30 -0700)]
screenrecord: 64-bit compile warnings

Change-Id: I708e48e24719b2c4bb023069164aafd4c2ad639b

10 years agoMatroskaExtractor: track specific seeking
Robert Shih [Thu, 12 Jun 2014 19:08:56 +0000 (12:08 -0700)]
MatroskaExtractor: track specific seeking

Divide cues based on tracks to support track specific seeking.

Bug: 15595215
Change-Id: Ibb853b0955c62af72243ed29253f939d07628ae4

10 years agoAudioTrack: add support for compressed audio
Eric Laurent [Tue, 10 Jun 2014 00:22:27 +0000 (17:22 -0700)]
AudioTrack: add support for compressed audio

Add support for compressed audio playback by use
of an AudioTrack attached to a direct output thread.

Bug: 9428304.

Change-Id: I4a61be9cf0e31003ca85935d6e0ee38ca8192e03

10 years agoExtract out test utility functions from resampler_tests
Andy Hung [Tue, 17 Jun 2014 21:33:39 +0000 (14:33 -0700)]
Extract out test utility functions from resampler_tests

These will be used for mixer tests later.

Change-Id: I22b1c89857058cfb2450afe15e80d6c9306a31f1

10 years agoCamera2/3: Don't release recording buffer when stream is active
Zhijun He [Wed, 18 Jun 2014 18:43:02 +0000 (11:43 -0700)]
Camera2/3: Don't release recording buffer when stream is active

It is dangerous to release all recording buffers when recording stream is
actively sending buffer to encoder. This change only releases all buffers when
recording stream is idle and recording stream is about to start.

Bug: 15667833
Change-Id: Ia4a84cac84a2062c13333467c66698273ffb0e23

10 years agoMerge changes I0fef0584,I322b91fa
Jean-Michel Trivi [Thu, 19 Jun 2014 15:33:55 +0000 (15:33 +0000)]
Merge changes I0fef0584,I322b91fa

* changes:
  AudioPolicyManager: return output for audio attributes
  AudioTrack construction with audio attributes

10 years agoAudioPolicyManager: return output for audio attributes
Jean-Michel Trivi [Fri, 13 Jun 2014 23:06:54 +0000 (16:06 -0700)]
AudioPolicyManager: return output for audio attributes

In AudioPolicyManager, support querying an output
 or playback strategy for audio attributes,
 instead of a stream type,
In AudioTrack creation, use the output returned
 for the track's attributes.

Change-Id: I0fef05845ba676404775e2e338c10e6a96237268

10 years agoAudioTrack construction with audio attributes
Jean-Michel Trivi [Wed, 11 Jun 2014 23:55:06 +0000 (16:55 -0700)]
AudioTrack construction with audio attributes

Store audio attributes in AudioTrack class.
When an AudioTrack is "set" with non null audio
 attributes, derive a stream type that reflects
 the attributes.
When an AudioTrack is "set" without attributes,
 and only has a stream type, derive default
 audio attributes.

Change-Id: I322b91fa9a7e193118960c5e78cdddd85d66f9ad