OSDN Git Service

android-x86/system-media.git
4 years agoSnap for 5706862 from e907286277a038c0bed1916c5dfcb56a15c58349 to qt-c2f2-release q-x86
android-build-team Robot [Thu, 4 Jul 2019 03:16:26 +0000 (03:16 +0000)]
Snap for 5706862 from e907286277a038c0bed1916c5dfcb56a15c58349 to qt-c2f2-release

Change-Id: I2ba4e7de47efdd4eb681050fb8e9528f6afd0d9f

4 years agoMerge "Camera: Only obsessively validate camera_metadata on eng builds" into qt-r1-dev
TreeHugger Robot [Wed, 3 Jul 2019 23:12:51 +0000 (23:12 +0000)]
Merge "Camera: Only obsessively validate camera_metadata on eng builds" into qt-r1-dev

4 years agoCamera: Only obsessively validate camera_metadata on eng builds
Eino-Ville Talvala [Wed, 3 Jul 2019 20:17:38 +0000 (13:17 -0700)]
Camera: Only obsessively validate camera_metadata on eng builds

Currently, an assert(validate_camera_metadata_structure) is present
at the end of most camera_metadata functions; and asserts are enabled
on both -eng and -userdebug.  This causes large amounts of validate
calls to be done on builds that are used for perf evaluation and dogfood.

Restrict assert enabling to eng builds only.

Test: atest
Bug: 136675319
Change-Id: Ie682bed722cd85f8d495fc5a32fea3f48e41abb5

4 years agoSnap for 5698755 from 92429c8458165fa816dd1af2956e272613b912d4 to qt-c2f2-release
android-build-team Robot [Sat, 29 Jun 2019 23:10:05 +0000 (23:10 +0000)]
Snap for 5698755 from 92429c8458165fa816dd1af2956e272613b912d4 to qt-c2f2-release

Change-Id: I9bed28bd0f1905c28ed9295323014694c45527c1

4 years agoCamera: Clarify manual capture behavior for logical camera
Shuzhen Wang [Sat, 29 Jun 2019 00:33:58 +0000 (17:33 -0700)]
Camera: Clarify manual capture behavior for logical camera
am: fb7587fe4d

Change-Id: Ica5055582bd36dd64e8857445da77c02483905f8

4 years agoCamera: Clarify manual capture behavior for logical camera
Shuzhen Wang [Wed, 26 Jun 2019 20:45:12 +0000 (13:45 -0700)]
Camera: Clarify manual capture behavior for logical camera

Test: make and read docs
Bug: 136098496
Change-Id: I2f322cb4c06c70a1a8df383f94a54e5f99b51264

4 years agolibcamera_metadata: Add some logging to place_camera_metadata failure paths.
Jayant Chowdhary [Mon, 6 May 2019 23:40:35 +0000 (16:40 -0700)]
libcamera_metadata: Add some logging to place_camera_metadata failure paths.

Bug: 131566406

Test: builds

Change-Id: I09978e858c58a0d8a9452df4554543c9372a6a35
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
5 years agoMerge "audio: Rename AUDIO_UNIQUE_ID_USE_PLAYER -> USE_CLIENT" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 18:01:03 +0000 (18:01 +0000)]
Merge "audio: Rename AUDIO_UNIQUE_ID_USE_PLAYER -> USE_CLIENT" into qt-dev

5 years agoMerge "Camera: Relax BURST_CAPTURE for very high resolution images" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 01:19:09 +0000 (01:19 +0000)]
Merge "Camera: Relax BURST_CAPTURE for very high resolution images" into qt-dev

5 years agoaudio: Rename AUDIO_UNIQUE_ID_USE_PLAYER -> USE_CLIENT
Mikhail Naganov [Fri, 19 Apr 2019 19:29:50 +0000 (12:29 -0700)]
audio: Rename AUDIO_UNIQUE_ID_USE_PLAYER -> USE_CLIENT

It is now used both for Players and Recorders

Bug: 123312504
Test: android.media.cts.AudioRecordingConfigurationTest
      AudioRecordTest#testAudioRecordInfoCallback
      MediaRecorderTest#testAudioRecordInfoCallback
      manual testing using Oboe and Solo test apps

Change-Id: I288014cb8e8fed45309cc3be375444bddde6e53c

5 years agoFix wrong device address name within helper function
François Gaffie [Fri, 12 Apr 2019 08:58:26 +0000 (10:58 +0200)]
Fix wrong device address name within helper function

AudioPolicyManager may call audio_device_address_to_parameter from
both checkInputsForDevice and checkOutputForDevices.
The sign bit is ignored, it result in selecting
a2dp_sink_address=xxx for a remote submix input device as
A2DP Out headphone and in remote submix are respectively identified
with 0x100 and 0x80000100.

Although most hal does not much care about address, this CL fixes this
issue.

Bug: 130284799
Test: audio playback and capture over BT A2DP and USB

Change-Id: I4ef2f303fd82ad3a412a95ebd8857ed400b078ee
Signed-off-by: François Gaffie <francois.gaffie@renault.com>
5 years agoCamera: Relax BURST_CAPTURE for very high resolution images
Shuzhen Wang [Wed, 10 Apr 2019 05:11:40 +0000 (22:11 -0700)]
Camera: Relax BURST_CAPTURE for very high resolution images

BURST_CAPTURE capability will allow sizes greater or equal to 24
megapixels to stream at less than 10 fps.

Test: Build
Bug: 129693371
Change-Id: Ie3ff9e0b9af93d4bfff3804ab37492f5540c0b7e

5 years agoMerge "Camera: Clarify multi-camera RAW and FOV behaviors" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 23:23:30 +0000 (23:23 +0000)]
Merge "Camera: Clarify multi-camera RAW and FOV behaviors" into qt-dev

5 years agoCamera: Clarify multi-camera RAW and FOV behaviors
Shuzhen Wang [Wed, 27 Mar 2019 22:27:24 +0000 (15:27 -0700)]
Camera: Clarify multi-camera RAW and FOV behaviors

- RAW capability can exist for multi-camera even if physical cameras are
of different sizes/capabilities.
- FOV for all processed streams should be the same regardless of logical
or physical streams given device capability.
- All metadata tags related to
pixelArray/preCorrectionActiveArray/activeArray needs to be mapped
properly by the camera HAL.

Test: Build and read docs.
Bug: 118906351
Bug: 126220135
Change-Id: I3f780db578412a4d369b4c5ba0d41495ec4215c3

5 years agoMerge "Adds audio_utils/safe_math.h for safe add / sub" into qt-dev
Hongwei Wang [Tue, 16 Apr 2019 19:07:03 +0000 (19:07 +0000)]
Merge "Adds audio_utils/safe_math.h for safe add / sub" into qt-dev

5 years agoAdds audio_utils/safe_math.h for safe add / sub
Hongwei Wang [Fri, 12 Apr 2019 18:12:16 +0000 (11:12 -0700)]
Adds audio_utils/safe_math.h for safe add / sub

Bug: 126772841
Test: 24 hours recording with 64 bit audioserver
Change-Id: I63a17420d91314f2efebd7c3f23ed576b1177b0e

5 years agoMerge "Camera: Document LEGACY not being allowed on new devices" into qt-dev
Eino-Ville Talvala [Fri, 12 Apr 2019 18:11:07 +0000 (18:11 +0000)]
Merge "Camera: Document LEGACY not being allowed on new devices" into qt-dev

5 years agoCamera: Document LEGACY not being allowed on new devices
Eino-Ville Talvala [Thu, 11 Apr 2019 00:28:26 +0000 (17:28 -0700)]
Camera: Document LEGACY not being allowed on new devices

Bug: 130315905
Test: Docs build, links work
Change-Id: I02e8c1f92b19d03917a92f2bb3c505939e2e9fbe

5 years agoMerge "audio: fix wrong flag type in audio attibutes initializer" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 05:48:40 +0000 (05:48 +0000)]
Merge "audio: fix wrong flag type in audio attibutes initializer" into qt-dev

5 years agoaudio: fix wrong flag type in audio attibutes initializer
Eric Laurent [Thu, 4 Apr 2019 19:39:09 +0000 (12:39 -0700)]
audio: fix wrong flag type in audio attibutes initializer

Flag AUDIO_INPUT_FLAG_NONE was used instead of AUDIO_FLAG_NONE in
AUDIO_ATTRIBUTES_INITIALIZER

Bug: 129721367
Test: make
Change-Id: I21e30ae796b791102172880a2b14b57cf7f47657

5 years agoCamera: Specify camera ID filtering logic for camera1
Shuzhen Wang [Wed, 27 Mar 2019 22:27:24 +0000 (15:27 -0700)]
Camera: Specify camera ID filtering logic for camera1

If more than 1 logical camera are available per facing, specify the
framework ID filtering logic.

Test: Build and read docs.
Bug: 113705942
Change-Id: I772b609705e17c1abd8d47a22608055f2b0af647

5 years agoCamera: add QCIF resolution exception
Yin-Chia Yeh [Thu, 4 Apr 2019 07:15:20 +0000 (00:15 -0700)]
Camera: add QCIF resolution exception
am: 602312673a

Change-Id: Iaf3cba33e5808c8113db1563a32cf703d61df470

5 years agoMerge "Camera: Relax logical camera physical stream combination requirement"
TreeHugger Robot [Wed, 3 Apr 2019 00:06:53 +0000 (00:06 +0000)]
Merge "Camera: Relax logical camera physical stream combination requirement"

5 years agoCamera: add QCIF resolution exception
Yin-Chia Yeh [Wed, 23 Jan 2019 23:25:41 +0000 (15:25 -0800)]
Camera: add QCIF resolution exception

Also fix a typo.

Test: checkbuild
Bug: 120158047
Bug: 122461651
Change-Id: I7bb09c9dcd1ae0e1523fb1662c616cdf723ce777

5 years agoCamera: Relax logical camera physical stream combination requirement
Shuzhen Wang [Thu, 7 Mar 2019 16:38:51 +0000 (08:38 -0800)]
Camera: Relax logical camera physical stream combination requirement

Not all logical camera configuration supports concurrent streaming of
physical streams. Adjust the requirement so that:

- Do not mandate concurrent physical camera streaming,
- Require isStreamCombinationSupported to query stream combination.
- Require mandatory physical streams combination if the physical camera
is hidden from camera ID list.

Bug: 119325664
Test: Build and read updated docs
Change-Id: I160a582b99e530ffaa1ad293ccb8f56f4fd7815d

5 years agoAdd an opt-out from APC by system apps
Kevin Rocard [Tue, 19 Mar 2019 16:01:55 +0000 (09:01 -0700)]
Add an opt-out from APC by system apps

Test: None
Bug: 111453086
Change-Id: I9f6175b60d49cf52ec04fb9da781316482d9affc
Signed-off-by: Kevin Rocard <krocard@google.com>
5 years agoMerge "audio: Add APTX_TWSP audio format"
Mikhail Naganov [Tue, 19 Mar 2019 23:18:03 +0000 (23:18 +0000)]
Merge "audio: Add APTX_TWSP audio format"

5 years agoaudio: Add APTX_TWSP audio format
Aniket Kumar Lata [Mon, 18 Mar 2019 21:30:38 +0000 (14:30 -0700)]
audio: Add APTX_TWSP audio format

Add APTX_TWSP to the list of audio formats and
return as a valid format.

Bug: 111812273
Bug: 128825638
Test: make
Change-Id: Ic1ada65001f18fa80de890b59fba3a576946971c

5 years agoCamera: Add low latency recommended use case id
Emilian Peev [Wed, 13 Mar 2019 01:11:30 +0000 (18:11 -0700)]
Camera: Add low latency recommended use case id

Additionaly update a few image format links.

Bug: 128450197
Test: Camera CTS
Change-Id: I4a681c5db69994139fda79cf9481bf10625b022d

5 years agoMerge "Camera: Centralize OWNERS"
Eino-Ville Talvala [Thu, 14 Mar 2019 17:13:46 +0000 (17:13 +0000)]
Merge "Camera: Centralize OWNERS"

5 years agoMerge "camera: HidlMetadata.make remove comment" am: 3c33b6e908 am: 7e5e5ea860
Steven Moreland [Tue, 12 Mar 2019 22:01:33 +0000 (15:01 -0700)]
Merge "camera: HidlMetadata.make remove comment" am: 3c33b6e908 am: 7e5e5ea860
am: cda8bda91f

Change-Id: I7703de7cf6b5fd622a30975465713990d2b53376

5 years agoMerge "camera: HidlMetadata.make remove comment" am: 3c33b6e908
Steven Moreland [Tue, 12 Mar 2019 21:51:29 +0000 (14:51 -0700)]
Merge "camera: HidlMetadata.make remove comment" am: 3c33b6e908
am: 7e5e5ea860

Change-Id: Ic3287eaf37c5b457580f77048b22c9e2aec68612

5 years agoMerge "camera: HidlMetadata.make remove comment"
Steven Moreland [Tue, 12 Mar 2019 21:47:29 +0000 (14:47 -0700)]
Merge "camera: HidlMetadata.make remove comment"
am: 3c33b6e908

Change-Id: If41d39def885b3f55b72586ef059833c6d92a1fe

5 years agoMerge "camera: HidlMetadata.make remove comment"
Steven Moreland [Tue, 12 Mar 2019 21:33:16 +0000 (21:33 +0000)]
Merge "camera: HidlMetadata.make remove comment"

5 years agoCamera: Centralize OWNERS
Eino-Ville Talvala [Mon, 11 Mar 2019 21:23:46 +0000 (14:23 -0700)]
Camera: Centralize OWNERS

Test: Builds
Change-Id: I78333c114f4fddc276d68669066bbe5947e3a306

5 years agoMerge "Reflect changes made to h/i/audio/common/5.0/types.hal"
TreeHugger Robot [Tue, 12 Mar 2019 18:26:43 +0000 (18:26 +0000)]
Merge "Reflect changes made to h/i/audio/common/5.0/types.hal"

5 years agocamera: HidlMetadata.make remove comment
Steven Moreland [Sat, 9 Mar 2019 01:53:25 +0000 (17:53 -0800)]
camera: HidlMetadata.make remove comment

hidl-gen is parsing comments into output, but there isn't a good place
for this.

Bug: 124382459
Test: N/A
Change-Id: I9894ec6b891e02b60bbe090fa88ca5d677753cce

5 years agoReflect changes made to h/i/audio/common/5.0/types.hal
Mikhail Naganov [Sat, 9 Mar 2019 00:28:43 +0000 (16:28 -0800)]
Reflect changes made to h/i/audio/common/5.0/types.hal

Add AUDIO_CHANNEL_INDEX_MASK_{9..24}

Fix channel order for AUDIO_CHANNEL_OUT_3POINT{0,1}POINT2

Bug: 126455009
Test: make
Change-Id: Icd1b1747efc30e8c1ff6a7defac35e24ac437b04

5 years agoMerge "Camera: Make PHYSICAL_CAMERA_REQUEST_KEYS ndk visible"
TreeHugger Robot [Fri, 8 Mar 2019 00:24:10 +0000 (00:24 +0000)]
Merge "Camera: Make PHYSICAL_CAMERA_REQUEST_KEYS ndk visible"

5 years agoSurface MicrophoneDirection API in MediaRecorder
Paul McLean [Tue, 5 Mar 2019 22:36:18 +0000 (15:36 -0700)]
Surface MicrophoneDirection API in MediaRecorder

Bug: 126185930
Test: MicrophoneDirectionTest testbed.

Change-Id: I7eb943ed6289394854c3ed99d8a0af136d8624a6

5 years agoFix audio_is_valid_format
Mikhail Naganov [Wed, 6 Mar 2019 01:24:57 +0000 (17:24 -0800)]
Fix audio_is_valid_format

Some of the cases were for full format values but the switch
masks out subformats, so they could never be matched. Added
checks for full format value where needed.

Reordered main formats to match their definition in audio-base.h

Corrected version that doesn't fall into sub-formats check
for unrelated main formats.

Test: make & flash
Change-Id: I8b3a2b8b5aba7e2d6ea12518ae7582cfb24bf4f2

5 years agoMerge "Revert "Fix audio_is_valid_format""
Andy Hung [Wed, 6 Mar 2019 22:14:35 +0000 (22:14 +0000)]
Merge "Revert "Fix audio_is_valid_format""

5 years agoRevert "Fix audio_is_valid_format"
Mikhail Naganov [Wed, 6 Mar 2019 22:03:30 +0000 (22:03 +0000)]
Revert "Fix audio_is_valid_format"

This reverts commit 0a1842b025587cb57f28f3a3505d0b5bb5ac296b.

Reason for revert: The fix is not correct as fall-through from upper format ends up in a switch for unrelated sub-formats.

Change-Id: I19ccc43543c91dadd1433944b37d125722316c0d

5 years agoMerge "Fix audio_is_valid_format"
TreeHugger Robot [Wed, 6 Mar 2019 20:19:00 +0000 (20:19 +0000)]
Merge "Fix audio_is_valid_format"

5 years agoFix audio_is_valid_format
Mikhail Naganov [Wed, 6 Mar 2019 01:24:57 +0000 (17:24 -0800)]
Fix audio_is_valid_format

Some of the cases were for full format values but the switch
masks out subformats, so they could never be matched. Added
checks for full format value where needed.

Reordered main formats to match their definition in audio-base.h

Test: make & flash
Change-Id: I090523eb4f0ef50f5167c5caf0f83df9a971568d

5 years agoMerge "Add a flag indicating mute haptic channels."
TreeHugger Robot [Wed, 6 Mar 2019 17:16:51 +0000 (17:16 +0000)]
Merge "Add a flag indicating mute haptic channels."

5 years agoCamera: Make PHYSICAL_CAMERA_REQUEST_KEYS ndk visible
Shuzhen Wang [Tue, 19 Feb 2019 22:50:37 +0000 (14:50 -0800)]
Camera: Make PHYSICAL_CAMERA_REQUEST_KEYS ndk visible

Test: Build
Bug: 115532726
Change-Id: I7f4be2ca1d89d4dbb8a2d5bcad28f1814695e1eb

5 years agoMerge "Camera: doc update for activePhysicalId"
TreeHugger Robot [Fri, 1 Mar 2019 21:55:56 +0000 (21:55 +0000)]
Merge "Camera: doc update for activePhysicalId"

5 years agoMerge "Camera: Add @NonNull annotation for metadata keys"
TreeHugger Robot [Thu, 28 Feb 2019 23:04:12 +0000 (23:04 +0000)]
Merge "Camera: Add @NonNull annotation for metadata keys"

5 years agoCamera: Add @NonNull annotation for metadata keys
Shuzhen Wang [Thu, 28 Feb 2019 17:53:41 +0000 (09:53 -0800)]
Camera: Add @NonNull annotation for metadata keys

Test: run metadata-generate and read API doc
Bug: 126700187
Change-Id: I52515699fb5b3abd9456a51def7f259ccab4a4e3

5 years agoMerge "Add more clock ratio constants"
Andy Hung [Thu, 28 Feb 2019 02:23:07 +0000 (02:23 +0000)]
Merge "Add more clock ratio constants"

5 years agoAdd more clock ratio constants
Andy Hung [Wed, 27 Feb 2019 22:27:59 +0000 (14:27 -0800)]
Add more clock ratio constants

Test: compile
Change-Id: I7bb9fd270309533629cbe2099932d11fb7563436

5 years agoCamera: doc update for activePhysicalId
Shuzhen Wang [Wed, 27 Feb 2019 16:25:42 +0000 (08:25 -0800)]
Camera: doc update for activePhysicalId

Clarify on activePhysicalId key availability.

Test: Build and read public API docs
Bug: 125346954
Change-Id: I8345c3b06e88c4115074fbfe2f8b5908f045ed01

5 years agoMerge "audio: Add support for dumping info from effect HAL modules"
Mikhail Naganov [Wed, 27 Feb 2019 17:01:34 +0000 (17:01 +0000)]
Merge "audio: Add support for dumping info from effect HAL modules"

5 years agoAdd a flag indicating mute haptic channels.
jiabin [Tue, 26 Feb 2019 20:51:58 +0000 (12:51 -0800)]
Add a flag indicating mute haptic channels.

Test: play audio-haptic coupled data with/without the flag.
Bug: 126401770
Change-Id: If8312b6b89470aa70a9e43a39068593aba8dbb0a

5 years agoMerge stage-aosp-master into pi-dev-plus-aosp
Xin Li [Mon, 25 Feb 2019 09:48:23 +0000 (01:48 -0800)]
Merge stage-aosp-master into pi-dev-plus-aosp
am: 7be309e143

Change-Id: I848b312711b285f0d548ab9a6708d7845b308e72

5 years agoMerge stage-aosp-master into pi-dev-plus-aosp
Xin Li [Mon, 25 Feb 2019 08:31:56 +0000 (00:31 -0800)]
Merge stage-aosp-master into pi-dev-plus-aosp

Bug: 126125118
Change-Id: I4074bc02ad82058b4ac27d0ae9bef06c2509ff17

5 years agoaudio: Add support for dumping info from effect HAL modules
Mikhail Naganov [Fri, 22 Feb 2019 22:29:22 +0000 (14:29 -0800)]
audio: Add support for dumping info from effect HAL modules

Adds EFFECT_CMD_DUMP that takes a file descriptor and
returns nothing.

Bug: 69939533
Test: adb shell dumpsys media.audio_flinger
Change-Id: Ibc8ccb88753a398619d8ace8f71a549234567a27

5 years agoMerge "TimestampVerifier: make jitter computation public"
Andy Hung [Fri, 22 Feb 2019 18:12:15 +0000 (18:12 +0000)]
Merge "TimestampVerifier: make jitter computation public"

5 years agoTimestampVerifier: make jitter computation public
Andy Hung [Fri, 22 Feb 2019 01:47:43 +0000 (17:47 -0800)]
TimestampVerifier: make jitter computation public

Tweak jitter computation so that it is (actual - expected), not the
other way around (expected - actual).

Test: timestampverifier_tests
Change-Id: I0e8b6dcc7284c91663349cc7e6447c98d3abbbba

5 years agoMerge "DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master" into stage-aosp...
Xin Li [Thu, 21 Feb 2019 07:04:10 +0000 (07:04 +0000)]
Merge "DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master" into stage-aosp-master

5 years agoMerge "Mark libs as double_loadable" am: f745b94b1e am: 7aef3c1262
Jooyung Han [Thu, 21 Feb 2019 04:30:19 +0000 (20:30 -0800)]
Merge "Mark libs as double_loadable" am: f745b94b1e am: 7aef3c1262
am: 20d9b96aff

Change-Id: Id917f3ce264c6dfc1fd49ba7741a40a04ae8cb76

5 years agoMerge "Mark libs as double_loadable" am: f745b94b1e
Jooyung Han [Thu, 21 Feb 2019 04:26:18 +0000 (20:26 -0800)]
Merge "Mark libs as double_loadable" am: f745b94b1e
am: 7aef3c1262

Change-Id: Ice70e93a2ff170a73c233bbc4bf96d2dd6d45eaf

5 years agoMerge "Mark libs as double_loadable"
Jooyung Han [Thu, 21 Feb 2019 04:22:11 +0000 (20:22 -0800)]
Merge "Mark libs as double_loadable"
am: f745b94b1e

Change-Id: I09b642369e1ab9f4a550f55f8940ddb186e9622d

5 years agoMerge "Mark libs as double_loadable"
Treehugger Robot [Thu, 21 Feb 2019 04:12:13 +0000 (04:12 +0000)]
Merge "Mark libs as double_loadable"

5 years agoDO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master
Xin Li [Thu, 21 Feb 2019 00:20:10 +0000 (16:20 -0800)]
DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master

Bug: 120848293
Change-Id: Ief04a744839d19066ca72d25ceec769dcd5ee176

5 years agoMerge "audio_utils: Add simple_stats for C audio HAL use"
Andy Hung [Wed, 20 Feb 2019 22:22:38 +0000 (22:22 +0000)]
Merge "audio_utils: Add simple_stats for C audio HAL use"

5 years agoaudio_utils: Add simple_stats for C audio HAL use
Andy Hung [Tue, 19 Feb 2019 18:47:45 +0000 (10:47 -0800)]
audio_utils: Add simple_stats for C audio HAL use

Test: statistics_tests unit test
Bug: 124764221
Bug: 124765214
Change-Id: Id3fb21f6e971cd1e757417e6618ad9834405aefe

5 years agoMerge "Add the definitions as to 3ch and 4ch audio" am: f3f43fdfc3 am: 0dd37681bb
Kyeongkab.Nam [Thu, 14 Feb 2019 19:30:52 +0000 (11:30 -0800)]
Merge "Add the definitions as to 3ch and 4ch audio" am: f3f43fdfc3 am: 0dd37681bb
am: 0c4c6f6c57

Change-Id: I98c3ec551c93293dd9c7ac914ed02c6b201ce4b9

5 years agoMerge "Add the definitions as to 3ch and 4ch audio" am: f3f43fdfc3
Kyeongkab.Nam [Thu, 14 Feb 2019 19:26:48 +0000 (11:26 -0800)]
Merge "Add the definitions as to 3ch and 4ch audio" am: f3f43fdfc3
am: 0dd37681bb

Change-Id: I56c60a4c66b0be80006ae15de0f873c442f9b396

5 years agoMerge "Add the definitions as to 3ch and 4ch audio"
Kyeongkab.Nam [Thu, 14 Feb 2019 19:22:46 +0000 (11:22 -0800)]
Merge "Add the definitions as to 3ch and 4ch audio"
am: f3f43fdfc3

Change-Id: I9dc2888c9ad696bf71905616c49ca8b26d8ea341

5 years agoMerge "Add the definitions as to 3ch and 4ch audio"
Treehugger Robot [Thu, 14 Feb 2019 19:12:21 +0000 (19:12 +0000)]
Merge "Add the definitions as to 3ch and 4ch audio"

5 years agoMerge "Add optout to audio playback capture"
TreeHugger Robot [Tue, 12 Feb 2019 00:03:03 +0000 (00:03 +0000)]
Merge "Add optout to audio playback capture"

5 years agoMark libs as double_loadable
Jooyung Han [Fri, 18 Jan 2019 09:14:02 +0000 (18:14 +0900)]
Mark libs as double_loadable

libs(libaudioutils, libcamera_metadata) are VNDK
and also used by LLNDK(libmediandk) which means this lib can be double-loaded.

deps:
 - libmediandk -> libmedia -> libaudioutils
 - libmediandk -> libmedia -> libcamera_client -> libcamera_metadata

Bug: 121280180
Test: m -j
Change-Id: I06947f5b4ff4aefb622cfd4ca9d16b08b043fab4

5 years agoMerge "Camera: Add support for camera HEIC output"
Shuzhen Wang [Thu, 7 Feb 2019 19:15:32 +0000 (19:15 +0000)]
Merge "Camera: Add support for camera HEIC output"

5 years agoAdd optout to audio playback capture
Kevin Rocard [Wed, 6 Feb 2019 00:59:28 +0000 (16:59 -0800)]
Add optout to audio playback capture

Test: adb shell audiorecorder --target /data/file.raw
Bug: 111453086
Change-Id: I23d513910716bce434750511a04b5157fbeaf752
Signed-off-by: Kevin Rocard <krocard@google.com>
5 years agoMerge "Camera: Add SECURE camera capability."
Jayant Chowdhary [Tue, 5 Feb 2019 17:55:02 +0000 (17:55 +0000)]
Merge "Camera: Add SECURE camera capability."

5 years agoCamera: Add support for camera HEIC output
Shuzhen Wang [Sat, 29 Dec 2018 02:50:53 +0000 (18:50 -0800)]
Camera: Add support for camera HEIC output

To support HEIC, camera framework converts a HEIC stream to HAL
internal YUV_420_888/IMPLEMENTATION_DEFINED stream and
JPEG_APPS_SEGMENTS BLOB stream, and encode them into HEIC image via
HEIC/HEVC codec.

Test: testHeic CTS test
Bug: 79465976
Change-Id: I768c73df784d07d38a9db0024291064e52697800

5 years agoaudio: add utility to convert attributes flags to output flags
Eric Laurent [Sat, 2 Feb 2019 00:47:19 +0000 (16:47 -0800)]
audio: add utility to convert attributes flags to output flags

Test: make.
Change-Id: Idd99ec78eee6fe6adc18ec49f87f624d1bb34d2f

5 years agoBalance: Refine class, add ramping, fix multichannel position bug
Andy Hung [Mon, 28 Jan 2019 23:41:17 +0000 (15:41 -0800)]
Balance: Refine class, add ramping, fix multichannel position bug

Test: Change Balance through Settings, play audio
Bug: 28390736
Change-Id: I5619256cb0a7e124551a267525834d2cfffaf1c5

5 years agoCamera: Add SECURE camera capability.
Jayant Chowdhary [Fri, 25 Jan 2019 01:47:05 +0000 (17:47 -0800)]
Camera: Add SECURE camera capability.

Bug: 123046494

Test: builds

Change-Id: I88ae3a92bead06c17f18387491f97fa490cbe777
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
5 years agoMerge "Effects: add new effect volume flag"
Jasmine Cha [Tue, 29 Jan 2019 00:57:44 +0000 (00:57 +0000)]
Merge "Effects: add new effect volume flag"

5 years agoMerge "Camera: Add dynamic depth tags"
TreeHugger Robot [Mon, 28 Jan 2019 22:21:46 +0000 (22:21 +0000)]
Merge "Camera: Add dynamic depth tags"

5 years agoAdd Audio Attributes initializer
Francois Gaffie [Thu, 6 Dec 2018 17:07:13 +0000 (18:07 +0100)]
Add Audio Attributes initializer

Test: make

Change-Id: I1101aa74f35b6e08626cddc33937fecf62bfeb31
Signed-off-by: Francois Gaffie <francois.gaffie@renault.com>
5 years agoEffects: add new effect volume flag
Jasmine Cha [Fri, 25 Jan 2019 06:54:59 +0000 (14:54 +0800)]
Effects: add new effect volume flag

Add new effect flag for monitoring requested volume from
audio framework.

Bug: 123251705
Test: on/off equalizer on spotify/google music
      switch songs with equalizer

Change-Id: If007ee4a2fdac56636440c010a4b3e8b526de721
Signed-off-by: Jasmine Cha <chajasmine@google.com>
5 years agoMerge "audio: update 3 channel configuration"
Eric Laurent [Fri, 25 Jan 2019 00:56:36 +0000 (00:56 +0000)]
Merge "audio: update 3 channel configuration"

5 years agoMerge "audio_utils: Add Balance class"
Andy Hung [Thu, 24 Jan 2019 17:45:10 +0000 (17:45 +0000)]
Merge "audio_utils: Add Balance class"

5 years agoaudio_utils: Add Balance class
Andy Hung [Fri, 18 Jan 2019 23:49:12 +0000 (15:49 -0800)]
audio_utils: Add Balance class

Test: Change Balance through Settings, play audio
Bug: 28390736
Change-Id: Ic6264abecdd2d536416164cdb71ce76b3a0a0aff

5 years agoMerge "Camera: Support dynamic physical camera switch"
Shuzhen Wang [Thu, 24 Jan 2019 01:55:20 +0000 (01:55 +0000)]
Merge "Camera: Support dynamic physical camera switch"

5 years agoMerge "audio: add new audio formats"
TreeHugger Robot [Thu, 24 Jan 2019 00:12:25 +0000 (00:12 +0000)]
Merge "audio: add new audio formats"

5 years agoMerge "audio: Add new audio formats"
TreeHugger Robot [Wed, 23 Jan 2019 23:05:25 +0000 (23:05 +0000)]
Merge "audio: Add new audio formats"

5 years agoMerge "Add default code reviewers into OWNERS" am: 4408a5c8b0 am: fce3eb8cc0
Chih-hung Hsieh [Wed, 23 Jan 2019 22:25:37 +0000 (14:25 -0800)]
Merge "Add default code reviewers into OWNERS" am: 4408a5c8b0 am: fce3eb8cc0
am: 754a394d16

Change-Id: I8ee7e7209960b17fb88912039f9c6105522f5b1e

5 years agoMerge "Add default code reviewers into OWNERS" am: 4408a5c8b0
Chih-hung Hsieh [Wed, 23 Jan 2019 22:19:44 +0000 (14:19 -0800)]
Merge "Add default code reviewers into OWNERS" am: 4408a5c8b0
am: fce3eb8cc0

Change-Id: Ife84beef695b86fc20777d70d52eadd7ae7014b9

5 years agoMerge "Add default code reviewers into OWNERS"
Chih-hung Hsieh [Wed, 23 Jan 2019 22:14:29 +0000 (14:14 -0800)]
Merge "Add default code reviewers into OWNERS"
am: 4408a5c8b0

Change-Id: I18e38f78645d5792a7f856b1c6156a4c2f90f74c

5 years agoMerge "Add default code reviewers into OWNERS"
Chih-hung Hsieh [Wed, 23 Jan 2019 22:01:37 +0000 (22:01 +0000)]
Merge "Add default code reviewers into OWNERS"

5 years agoAdd default code reviewers into OWNERS
Chih-Hung Hsieh [Wed, 23 Jan 2019 06:05:10 +0000 (22:05 -0800)]
Add default code reviewers into OWNERS

Bug: 33166666
Test: gerrit uploader
Change-Id: I9fd5d368df3b06f6252f30f886fd3d6e2b423156

5 years agoaudio: update 3 channel configuration
Aniket Kumar Lata [Sat, 19 Jan 2019 00:39:28 +0000 (16:39 -0800)]
audio: update 3 channel configuration

Update 3 channel config to 2.1 channel mask
i.e. 3 channel = Left + Right + Low Frequency.

Bug: 123063163
Test: make
Change-Id: I3ea887c17e6266a64af4c82fa3bca3530e082f09

5 years agoCamera: Support dynamic physical camera switch
Shuzhen Wang [Mon, 19 Nov 2018 20:15:18 +0000 (12:15 -0800)]
Camera: Support dynamic physical camera switch

- Add mainPhysicalCameraId dynamic metadata for dynamic physical camera
switch.
- Clarify requirement for combination of optical and digital zoom.
- Specify camera behavior when underlying main physical camera Id
changes.

Test: Camera CTS on Blueline
Bug: 77915333
Change-Id: Ife2352048d19589595e4551b41c0308eb0ef4e8e

5 years agoaudio: add new audio formats
Eric Laurent [Tue, 22 Jan 2019 20:50:45 +0000 (12:50 -0800)]
audio: add new audio formats

Add audio format for LHDC Bluetooth codec.

Bug: 120395342
Test: make
Change-Id: I60e3efd3428cec1a93393d437f8acb056b46ebb2

5 years agoaudio: Add new audio formats
Aniket Kumar Lata [Fri, 18 Jan 2019 21:56:03 +0000 (13:56 -0800)]
audio: Add new audio formats

Add AAC_LATM*, CELT and APTX_ADAPTIVE to the list
of audio formats and return these as valid formats
from audio_is_valid_format.

Bug: 123082414
Test: make
Change-Id: Ie3f945afe65f13dda612507413f3788488a8bc10