OSDN Git Service

android-x86/system-media.git
6 years agoDeprecate ditherAndClamp with memcpy_to_i16_from_q4_27
Andy Hung [Wed, 22 Nov 2017 00:36:41 +0000 (16:36 -0800)]
Deprecate ditherAndClamp with memcpy_to_i16_from_q4_27

Test: primitives_tests
Bug: 69636805
Change-Id: I012d0cab85ce09125bc5c1eed3cdd9e4c9e4ee25

6 years agoMerge "Allow in-place audio primitive operations."
Andy Hung [Wed, 22 Nov 2017 01:50:17 +0000 (01:50 +0000)]
Merge "Allow in-place audio primitive operations."

6 years agoMerge "Update audio primitives to avoid unsigned overflow"
Andy Hung [Tue, 21 Nov 2017 23:41:16 +0000 (23:41 +0000)]
Merge "Update audio primitives to avoid unsigned overflow"

6 years agoAllow in-place audio primitive operations.
Andy Hung [Fri, 17 Nov 2017 23:54:27 +0000 (15:54 -0800)]
Allow in-place audio primitive operations.

Difference in performance is negligible ~ 2% loss going reverse.

Test: primitives_tests
Bug: 69478507
Change-Id: I39522f45d81956e1108276161ce4a92fc0ab3fba

6 years agoUpdate audio primitives to avoid unsigned overflow
Andy Hung [Fri, 17 Nov 2017 23:46:55 +0000 (15:46 -0800)]
Update audio primitives to avoid unsigned overflow

Test: Native primitive_tests
Bug: 69478245
Change-Id: I5beeecbb06dfd287cb1953ebb7b2208667c84d37

6 years agoMerge "audio: Add constant for MSD HAL service name"
TreeHugger Robot [Fri, 17 Nov 2017 18:26:34 +0000 (18:26 +0000)]
Merge "audio: Add constant for MSD HAL service name"

6 years agoaudio: Add constant for MSD HAL service name
Mikhail Naganov [Thu, 16 Nov 2017 17:41:34 +0000 (09:41 -0800)]
audio: Add constant for MSD HAL service name

The constant is used both by the MSD HAL service to register
itself, and by audioserver in order to discover it.

Bug: 63901775
Test: build
Change-Id: I78a513de501dda1bbd6742298af78de485c7b325

6 years agoMerge "audio: make audio_attributes_t packed"
TreeHugger Robot [Fri, 17 Nov 2017 01:32:27 +0000 (01:32 +0000)]
Merge "audio: make audio_attributes_t packed"

6 years agoMerge "Fix audio_config size difference between 32 and 64 bit."
TreeHugger Robot [Fri, 17 Nov 2017 01:31:08 +0000 (01:31 +0000)]
Merge "Fix audio_config size difference between 32 and 64 bit."

6 years agoaudio: make audio_attributes_t packed
Eric Laurent [Thu, 16 Nov 2017 19:38:34 +0000 (11:38 -0800)]
audio: make audio_attributes_t packed

Make struct audio_attributes packed as it is passed over binder

Test: AudioTrack CTS test
Change-Id: I51b1ef0f035ee078338482514723aaf0fb1de6c2

6 years agoMerge "Camera: Fix up metadata generation, including HIDL gen"
TreeHugger Robot [Thu, 16 Nov 2017 18:29:43 +0000 (18:29 +0000)]
Merge "Camera: Fix up metadata generation, including HIDL gen"

6 years agoCamera: Fix up metadata generation, including HIDL gen
Eino-Ville Talvala [Fri, 10 Nov 2017 23:13:04 +0000 (15:13 -0800)]
Camera: Fix up metadata generation, including HIDL gen

- Merge NDK and SDK metadata definitions back together
  - Add special linkify handling for SDK/NDK alternate names
  - Add ndk/sdk specific notes/details tags
  - Use new tags/link format to merge ndk_metadata_properties docs
    into metadata_properties
- Rename metadata_properties to metadata_definitions for clarity
- Move SDK reference images to /reference/images/camera2/...
- Add HIDL metadata HAL field to entries, defaulting to 3.2
- Output HAL version into docs.html and camera_metadata_tags.h

Outputting new HIDL module defintions for new metadata versions will
be in a later CL.

Bug: 29102963
Bug: 33262893
Test: Builds, manual inspection of resulting generated files
Change-Id: Ib61111ebf3a068fe62b7a3305b6ab462619c39bb

6 years agoDisable audio primitive benchmark on darwin
Kevin Rocard [Wed, 15 Nov 2017 17:09:29 +0000 (09:09 -0800)]
Disable audio primitive benchmark on darwin

The benchmark depends on external/google-benchmark that is disabled on
darwin.
As a result the audio primitive benchmark fails to build on this target
and broke the build.
Test: build sdk_phone_armv7-sdk on the build server
BZ: none, fix broken master
Change-Id: I4f22bf3481749c576e28089480cff8d618a2b7b8
Signed-off-by: Kevin Rocard <krocard@google.com>
6 years agoMerge "audio_utils primitives: Add float clamping memcopy"
TreeHugger Robot [Wed, 15 Nov 2017 04:51:31 +0000 (04:51 +0000)]
Merge "audio_utils primitives: Add float clamping memcopy"

6 years agoaudio_utils primitives: Add float clamping memcopy
Kevin Rocard [Fri, 10 Nov 2017 06:12:51 +0000 (22:12 -0800)]
audio_utils primitives: Add float clamping memcopy

For security reason, float buffers provided by application must be
clamped to FLOAT_NOMINAL_RANGE_HEADROOM.
With the new all float pipeline, float are no longer clamped by their
conversion to fixed point.

This patch adds a function to efficiently clamp a buffer during a
memcopy.

Test: adb shell /system/bin/primitives_benchmark
Test: adb shell /data/nativetest/primitives_tests/primitives_tests --gtest_filter=*Clamping*
Bug: 68099072
Change-Id: I030b247ea29cb94c62d1206c31960f45da2446e6
Signed-off-by: Kevin Rocard <krocard@google.com>
6 years agoMerge "Added float pointer to audio_buffer_s"
Andy Hung [Tue, 14 Nov 2017 22:38:39 +0000 (22:38 +0000)]
Merge "Added float pointer to audio_buffer_s"

6 years agoCamera metadata: Check source metadata size am: 489bbd13bf am: 90045db6e6 am: 6dc0f83...
Emilian Peev [Wed, 8 Nov 2017 09:22:47 +0000 (09:22 +0000)]
Camera metadata: Check source metadata size am: 489bbd13bf am: 90045db6e6 am: 6dc0f83407 am: e1d6665905 am: 7a854a6066 am: c5fe6aefeb am: 3fdaebe730 am: 9b1ebd3fba am: a98aeeb454 am: 852082d995 am: 451248f8cf am: ad0fcdf98e am: 76107db984
am: 620bb1bd8c

Change-Id: I774b39090ec78b021d33e722f41ac625c8d88256

6 years agoCamera metadata: Check source metadata size am: 489bbd13bf am: 90045db6e6 am: 6dc0f83...
Emilian Peev [Wed, 8 Nov 2017 09:20:56 +0000 (09:20 +0000)]
Camera metadata: Check source metadata size am: 489bbd13bf am: 90045db6e6 am: 6dc0f83407 am: e1d6665905 am: 7a854a6066 am: c5fe6aefeb am: 3fdaebe730 am: 9b1ebd3fba am: a98aeeb454 am: 852082d995 am: 451248f8cf am: ad0fcdf98e
am: 76107db984

Change-Id: Icf366ee9975281f7721338237000c86788033fb3

6 years agoCamera metadata: Check source metadata size am: 489bbd13bf am: 90045db6e6 am: 6dc0f83...
Emilian Peev [Wed, 8 Nov 2017 09:18:46 +0000 (09:18 +0000)]
Camera metadata: Check source metadata size am: 489bbd13bf am: 90045db6e6 am: 6dc0f83407 am: e1d6665905 am: 7a854a6066 am: c5fe6aefeb am: 3fdaebe730 am: 9b1ebd3fba am: a98aeeb454 am: 852082d995 am: 451248f8cf
am: ad0fcdf98e

Change-Id: I39fb59ede8d8d80420d94cdecbf7753fde081b53

6 years agoCamera metadata: Check source metadata size am: 489bbd13bf am: 90045db6e6 am: 6dc0f83...
Emilian Peev [Wed, 8 Nov 2017 09:17:17 +0000 (09:17 +0000)]
Camera metadata: Check source metadata size am: 489bbd13bf am: 90045db6e6 am: 6dc0f83407 am: e1d6665905 am: 7a854a6066 am: c5fe6aefeb am: 3fdaebe730 am: 9b1ebd3fba am: a98aeeb454 am: 852082d995
am: 451248f8cf

Change-Id: I859f983afd66dedb1b924601cdcd86b0221ae40c

6 years agoCamera metadata: Check source metadata size am: 489bbd13bf am: 90045db6e6 am: 6dc0f83...
Emilian Peev [Wed, 8 Nov 2017 09:15:17 +0000 (09:15 +0000)]
Camera metadata: Check source metadata size am: 489bbd13bf am: 90045db6e6 am: 6dc0f83407 am: e1d6665905 am: 7a854a6066 am: c5fe6aefeb am: 3fdaebe730 am: 9b1ebd3fba am: a98aeeb454
am: 852082d995

Change-Id: I86ea2b4fc41e72c15ac826a2b26a44f2eff8d595

6 years agoCamera metadata: Check source metadata size am: 489bbd13bf am: 90045db6e6 am: 6dc0f83...
Emilian Peev [Wed, 8 Nov 2017 09:13:43 +0000 (09:13 +0000)]
Camera metadata: Check source metadata size am: 489bbd13bf am: 90045db6e6 am: 6dc0f83407 am: e1d6665905 am: 7a854a6066 am: c5fe6aefeb am: 3fdaebe730 am: 9b1ebd3fba
am: a98aeeb454

Change-Id: Ic8018da777692c09296dd37e1300273fcd23df15

6 years agoCamera metadata: Check source metadata size am: 489bbd13bf am: 90045db6e6 am: 6dc0f83...
Emilian Peev [Wed, 8 Nov 2017 09:11:43 +0000 (09:11 +0000)]
Camera metadata: Check source metadata size am: 489bbd13bf am: 90045db6e6 am: 6dc0f83407 am: e1d6665905 am: 7a854a6066 am: c5fe6aefeb am: 3fdaebe730
am: 9b1ebd3fba

Change-Id: I7a12ed947dc72e7fdfd36426ca8f849ff6bb0c03

6 years agoCamera metadata: Check source metadata size am: 489bbd13bf am: 90045db6e6 am: 6dc0f83...
Emilian Peev [Wed, 8 Nov 2017 09:09:44 +0000 (09:09 +0000)]
Camera metadata: Check source metadata size am: 489bbd13bf am: 90045db6e6 am: 6dc0f83407 am: e1d6665905 am: 7a854a6066 am: c5fe6aefeb
am: 3fdaebe730

Change-Id: Ie70ae750d490da65efb0c9374390a0c23efc44f4

6 years agoCamera metadata: Check source metadata size am: 489bbd13bf am: 90045db6e6 am: 6dc0f83...
Emilian Peev [Wed, 8 Nov 2017 09:07:16 +0000 (09:07 +0000)]
Camera metadata: Check source metadata size am: 489bbd13bf am: 90045db6e6 am: 6dc0f83407 am: e1d6665905 am: 7a854a6066
am: c5fe6aefeb

Change-Id: Ib84080a0f82b66249c18bad37bb0cac75dcda40f

6 years agoCamera metadata: Check source metadata size am: 489bbd13bf am: 90045db6e6 am: 6dc0f83...
Emilian Peev [Wed, 8 Nov 2017 09:05:15 +0000 (09:05 +0000)]
Camera metadata: Check source metadata size am: 489bbd13bf am: 90045db6e6 am: 6dc0f83407 am: e1d6665905
am: 7a854a6066

Change-Id: Ie73f3adb4ea0314d3549ced7aa2be2142499c383

6 years agoCamera metadata: Check source metadata size am: 489bbd13bf am: 90045db6e6 am: 6dc0f83407
Emilian Peev [Wed, 8 Nov 2017 09:03:10 +0000 (09:03 +0000)]
Camera metadata: Check source metadata size am: 489bbd13bf am: 90045db6e6 am: 6dc0f83407
am: e1d6665905

Change-Id: Iafcf491f2b32917125541a2da4f262d4a745554c

6 years agoCamera metadata: Check source metadata size am: 489bbd13bf am: 90045db6e6
Emilian Peev [Wed, 8 Nov 2017 09:00:42 +0000 (09:00 +0000)]
Camera metadata: Check source metadata size am: 489bbd13bf am: 90045db6e6
am: 6dc0f83407

Change-Id: Ib4986884c9fe83017ee67d544ef6ef549c042cfc

6 years agoCamera metadata: Check source metadata size am: 489bbd13bf
Emilian Peev [Wed, 8 Nov 2017 08:58:10 +0000 (08:58 +0000)]
Camera metadata: Check source metadata size am: 489bbd13bf
am: 90045db6e6

Change-Id: Idfc8486d568546bc889cd1456a14ae9861359740

6 years agoCamera metadata: Check source metadata size
Emilian Peev [Wed, 8 Nov 2017 08:55:39 +0000 (08:55 +0000)]
Camera metadata: Check source metadata size
am: 489bbd13bf

Change-Id: I3664526ef2de813ea2b1c303a53d55246c1b370b

6 years agoAdded float pointer to audio_buffer_s
rago [Thu, 2 Nov 2017 22:53:09 +0000 (15:53 -0700)]
Added float pointer to audio_buffer_s

Used for all floating point effect chains

Bug: 63935479
Test: Bufflog dumps, frequency analysis comparison, SoloTester
Change-Id: I70e61e0781e8dce684e8b81b4c8eacee83339277

6 years agoCamera metadata: Check source metadata size
Emilian Peev [Mon, 6 Nov 2017 10:41:19 +0000 (10:41 +0000)]
Camera metadata: Check source metadata size

Source size passed by client could be smaller than 'camera_metadata_t'.
In this case the cast in 'allocate_copy_camera_metadata_checked()' will
be incorrect and we will try to access invalid heap memory.

Bug: 67782345
Test: Camera CTS
Change-Id: I9582c704f414493978d09ffb603b5e8368cda5ce

6 years agoAdd const qualifiers to alsa device profile.
Andy Hung [Sat, 28 Oct 2017 03:20:27 +0000 (20:20 -0700)]
Add const qualifiers to alsa device profile.

Test: make
Bug: 68211730
Change-Id: I97e5ca3bded99f7005332b38d9e6aa33a6cc271d

6 years agoMerge "Add missing includes." am: b81a57f4a4 am: 56f00a0b6a am: 76aa001add
Dan Albert [Thu, 12 Oct 2017 02:22:07 +0000 (02:22 +0000)]
Merge "Add missing includes." am: b81a57f4a4 am: 56f00a0b6a am: 76aa001add
am: 639ea04ac2

Change-Id: I87abcfe9d5a2c8d599e3340359668f587d3c0086

6 years agoMerge "Add missing includes." am: b81a57f4a4 am: 56f00a0b6a
Dan Albert [Wed, 11 Oct 2017 22:05:43 +0000 (22:05 +0000)]
Merge "Add missing includes." am: b81a57f4a4 am: 56f00a0b6a
am: 76aa001add

Change-Id: I9fbfb02407073b97fee0f1c79e4f1a4529fdf7f3

6 years agoMerge "Add missing includes." am: b81a57f4a4
Dan Albert [Wed, 11 Oct 2017 21:39:51 +0000 (21:39 +0000)]
Merge "Add missing includes." am: b81a57f4a4
am: 56f00a0b6a

Change-Id: I9f75181408cc15daf46dd356a3672697f3c1653a

6 years agoMerge "Add missing includes."
Dan Albert [Wed, 11 Oct 2017 21:30:58 +0000 (21:30 +0000)]
Merge "Add missing includes."
am: b81a57f4a4

Change-Id: I2fa4f1963fd201e78970e34da42ecf428493ad81

6 years agoMerge "Add missing includes."
Treehugger Robot [Wed, 11 Oct 2017 21:21:36 +0000 (21:21 +0000)]
Merge "Add missing includes."

6 years agoAdd missing includes.
Dan Albert [Wed, 11 Oct 2017 19:26:23 +0000 (12:26 -0700)]
Add missing includes.

Test: mma
Bug: None
Change-Id: I13f84f8eaa82b0d6801987cca83a824077b500da

6 years agoCamera: docs: Allow vendor tags inside available tag lists am: 3984754b77
Emilian Peev [Wed, 4 Oct 2017 17:55:10 +0000 (17:55 +0000)]
Camera: docs: Allow vendor tags inside available tag lists am: 3984754b77
am: 270557046e

Change-Id: Ib7f6e6b52cfefafd9e33d36bc9a3b54bd1ae2b54

6 years agoCamera: docs: Allow vendor tags inside available tag lists
Emilian Peev [Wed, 4 Oct 2017 17:46:09 +0000 (17:46 +0000)]
Camera: docs: Allow vendor tags inside available tag lists
am: 3984754b77

Change-Id: Ie87fe8ca705469fd8d95e1adfd7c2e79e4e55403

6 years agoCamera: docs: Allow vendor tags inside available tag lists
Emilian Peev [Mon, 25 Sep 2017 08:17:04 +0000 (09:17 +0100)]
Camera: docs: Allow vendor tags inside available tag lists

Allow categorization of vendor tag via:
android.request.availableRequestKeys,
android.request.availableResultKeys,
android.request.availableCharacteristicsKeys

Test: make
Bug: 63817523
Change-Id: I550340b08d4158557a07a8eeeadb0353ebf41e24

6 years agoMerge "Remove old Brillo code." am: f1041f736a am: 96e1565ef7 am: 89fefe5bf2
Ralph Nathan [Tue, 19 Sep 2017 20:44:11 +0000 (20:44 +0000)]
Merge "Remove old Brillo code." am: f1041f736a am: 96e1565ef7 am: 89fefe5bf2
am: a5d056c706

Change-Id: I8ab56ce61f7a488a09fb54d6ebfe1cfe79071b3e

6 years agoMerge "Remove old Brillo code." am: f1041f736a am: 96e1565ef7
Ralph Nathan [Tue, 19 Sep 2017 20:42:48 +0000 (20:42 +0000)]
Merge "Remove old Brillo code." am: f1041f736a am: 96e1565ef7
am: 89fefe5bf2

Change-Id: I03b04424e68878b046d5c63f45b9d4d23a791bb4

6 years agoMerge "Remove old Brillo code." am: f1041f736a
Ralph Nathan [Tue, 19 Sep 2017 20:41:18 +0000 (20:41 +0000)]
Merge "Remove old Brillo code." am: f1041f736a
am: 96e1565ef7

Change-Id: I236f66b41f38bbff099b9bdc977b1314b891b3e9

6 years agoMerge "Remove old Brillo code."
Ralph Nathan [Tue, 19 Sep 2017 20:38:36 +0000 (20:38 +0000)]
Merge "Remove old Brillo code."
am: f1041f736a

Change-Id: I5db04a57991871160596c113f4ea49742168e363

6 years agoMerge "Remove old Brillo code."
Ralph Nathan [Tue, 19 Sep 2017 20:34:07 +0000 (20:34 +0000)]
Merge "Remove old Brillo code."

6 years agoMerge "audio_route: fix free_path memory leak" am: 4ec2db5f9b am: 5e0cd4e838 am:...
panshuangquan [Tue, 19 Sep 2017 16:12:22 +0000 (16:12 +0000)]
Merge "audio_route: fix free_path memory leak" am: 4ec2db5f9b am: 5e0cd4e838 am: a4453fa7f3
am: 1ae48f0bae

Change-Id: Idba00b2714ff2cdf39ccbb5e361b5e3c0c5322da

6 years agoMerge "audio_route: fix free_path memory leak" am: 4ec2db5f9b am: 5e0cd4e838
panshuangquan [Tue, 19 Sep 2017 16:10:23 +0000 (16:10 +0000)]
Merge "audio_route: fix free_path memory leak" am: 4ec2db5f9b am: 5e0cd4e838
am: a4453fa7f3

Change-Id: Ic7e9b37ffa693c1fc08333aff08287f5f00c717c

6 years agoMerge "audio_route: fix free_path memory leak" am: 4ec2db5f9b
panshuangquan [Tue, 19 Sep 2017 16:07:53 +0000 (16:07 +0000)]
Merge "audio_route: fix free_path memory leak" am: 4ec2db5f9b
am: 5e0cd4e838

Change-Id: I89a63d54031c63a1e5addbfd29a4b5f05a5d6738

6 years agoMerge "audio_route: fix free_path memory leak"
panshuangquan [Tue, 19 Sep 2017 16:05:23 +0000 (16:05 +0000)]
Merge "audio_route: fix free_path memory leak"
am: 4ec2db5f9b

Change-Id: I90ee4f0129dcebb2dd1c27b22951ef8fce406fe0

6 years agoMerge "audio_route: fix free_path memory leak"
Treehugger Robot [Tue, 19 Sep 2017 16:01:03 +0000 (16:01 +0000)]
Merge "audio_route: fix free_path memory leak"

6 years agoMerge "Mark the module as VNDK or VNDK-SP in Android.bp" am: df9faefc5d am: e7299d367...
Justin Yun [Mon, 18 Sep 2017 03:25:14 +0000 (03:25 +0000)]
Merge "Mark the module as VNDK or VNDK-SP in Android.bp" am: df9faefc5d am: e7299d3679 am: 620eb8f5c2  -s ours
am: b4f694c722  -s ours

Change-Id: Iadcfddb6695c7d096c1cd041cc15b784da962fc1

6 years agoMerge "Mark the module as VNDK or VNDK-SP in Android.bp" am: df9faefc5d am: e7299d3679
Justin Yun [Mon, 18 Sep 2017 03:22:45 +0000 (03:22 +0000)]
Merge "Mark the module as VNDK or VNDK-SP in Android.bp" am: df9faefc5d am: e7299d3679
am: 620eb8f5c2  -s ours

Change-Id: Ia6031aceaa3def053421ecf1d49fa347519f075c

6 years agoMerge "Mark the module as VNDK or VNDK-SP in Android.bp" am: df9faefc5d
Justin Yun [Mon, 18 Sep 2017 03:19:14 +0000 (03:19 +0000)]
Merge "Mark the module as VNDK or VNDK-SP in Android.bp" am: df9faefc5d
am: e7299d3679

Change-Id: I81710dfa20aa67786e925063f8f6d1352fa33cfd

6 years agoMerge "Mark the module as VNDK or VNDK-SP in Android.bp"
Justin Yun [Mon, 18 Sep 2017 03:16:44 +0000 (03:16 +0000)]
Merge "Mark the module as VNDK or VNDK-SP in Android.bp"
am: df9faefc5d

Change-Id: Ie6a855659d2e0d1d6a4de1f295c1f9293286418f

6 years agoMerge "Mark the module as VNDK or VNDK-SP in Android.bp"
Treehugger Robot [Mon, 18 Sep 2017 03:12:46 +0000 (03:12 +0000)]
Merge "Mark the module as VNDK or VNDK-SP in Android.bp"

6 years agoMark the module as VNDK or VNDK-SP in Android.bp
Justin Yun [Mon, 24 Jul 2017 06:19:45 +0000 (15:19 +0900)]
Mark the module as VNDK or VNDK-SP in Android.bp

As a VNDK/VNDK-SP module, Android.bp must have 'vndk' tag as well
as 'vendor_available: true'.

For a VNDK module, the 'vndk' tag has 'enabled: true'.
It will be installed system/lib(64)/vndk as a vendor variant.

For a VNDK-SP module, the 'vndk' tag has
'support_system_process: true' as well as 'enabled: true'.
It will be installed system/lib(64)/vndk-sp as a vendor variant.

Bug: 63866913
Test: build and boot with BOARD_VNDK_VERSION=current
Merged-In: Ia88348f4904dfc6ffb9ad139cac986b4b9438ff7
Change-Id: Ia88348f4904dfc6ffb9ad139cac986b4b9438ff7
(cherry picked from commit 951503a34e8b7479280df58ebdd607a53898cd72)

6 years agoMerge "system/media build with BOARD_VNDK_VERSION" am: cbb4d8f8dd am: a383206dfb...
Tri Vo [Fri, 15 Sep 2017 10:04:04 +0000 (10:04 +0000)]
Merge "system/media build with BOARD_VNDK_VERSION" am: cbb4d8f8dd am: a383206dfb am: 3914814003  -s ours
am: 17c6e54c3b  -s ours

Change-Id: I41dc8de23a76cf150a9e2fcaad613b11cf030a83

6 years agoMerge "system/media build with BOARD_VNDK_VERSION" am: cbb4d8f8dd am: a383206dfb
Tri Vo [Fri, 15 Sep 2017 07:05:28 +0000 (07:05 +0000)]
Merge "system/media build with BOARD_VNDK_VERSION" am: cbb4d8f8dd am: a383206dfb
am: 3914814003  -s ours

Change-Id: I61946f7fb30f414cc2550938230cfc1ba834892d

6 years agoMerge "system/media build with BOARD_VNDK_VERSION" am: cbb4d8f8dd
Tri Vo [Fri, 15 Sep 2017 07:02:58 +0000 (07:02 +0000)]
Merge "system/media build with BOARD_VNDK_VERSION" am: cbb4d8f8dd
am: a383206dfb

Change-Id: I397c65915d76c9b2c0ebbec0e46f3394d5fa756e

6 years agoMerge "system/media build with BOARD_VNDK_VERSION"
Tri Vo [Fri, 15 Sep 2017 07:00:59 +0000 (07:00 +0000)]
Merge "system/media build with BOARD_VNDK_VERSION"
am: cbb4d8f8dd

Change-Id: I1200ca2f56589c530d9bb1435c8517a3e23a5ccd

6 years agoMerge "system/media build with BOARD_VNDK_VERSION"
Treehugger Robot [Fri, 15 Sep 2017 06:55:41 +0000 (06:55 +0000)]
Merge "system/media build with BOARD_VNDK_VERSION"

6 years agosystem/media build with BOARD_VNDK_VERSION
Tri Vo [Tue, 27 Jun 2017 16:54:36 +0000 (09:54 -0700)]
system/media build with BOARD_VNDK_VERSION

Bug: 37342627
Test: cd system/media && mma -j64 -k BOARD_VNDK_VERSION=current
Merged-In: I7f99fbe685a960f0506398cdb21a7d86d1d8d4a1
Change-Id: I7f99fbe685a960f0506398cdb21a7d86d1d8d4a1
(cherry picked from commit a6bddef1a2549c0b05b1fdb4a3bee4b06224f70b)

6 years agoFix audio_config size difference between 32 and 64 bit.
Chinyue Chen [Wed, 13 Sep 2017 09:24:16 +0000 (17:24 +0800)]
Fix audio_config size difference between 32 and 64 bit.

The audioserver is built in 32 bit by default and does not exchange data
correctly with 64 bit Apps. The CL fixes the alignment and size_t issue.

Bug: 64699517
Test: Verify audio and soundtrigger HAL working on Eve.
Change-Id: Iec2b07e9b53b278147609c26a480890d409bdaa5

6 years agoaudio_route: fix free_path memory leak
panshuangquan [Fri, 1 Sep 2017 06:26:19 +0000 (14:26 +0800)]
audio_route: fix free_path memory leak

1.free all the setting of the path
2.also fix a crash if the xml have the same path name

Bug: https://issuetracker.google.com/issues/65270255
Test: manual
Change-Id: I40e1297e4aebdcd815596c93db14b8126f172689
Signed-off-by: panshuangquan <panshuangquan@xiaomi.com>
6 years agoRemove old Brillo code.
Ralph Nathan [Fri, 25 Aug 2017 19:35:56 +0000 (12:35 -0700)]
Remove old Brillo code.

This code is no longer being used.

Bug: none
Test: none

Change-Id: Icb59f65cd28b271f8baf972c10546a716fb27881

6 years agoMerge "C++14 is the default now." am: 780c6311c5 am: 45b91a1f15 am: 04ce4f9603
Elliott Hughes [Thu, 24 Aug 2017 15:58:43 +0000 (15:58 +0000)]
Merge "C++14 is the default now." am: 780c6311c5 am: 45b91a1f15 am: 04ce4f9603
am: 9d811ec33d

Change-Id: Ib82fe0f3d6c02bc033204bc5a58e0e2aa2704ed9

6 years agoMerge "C++14 is the default now." am: 780c6311c5 am: 45b91a1f15
Elliott Hughes [Thu, 24 Aug 2017 15:55:55 +0000 (15:55 +0000)]
Merge "C++14 is the default now." am: 780c6311c5 am: 45b91a1f15
am: 04ce4f9603

Change-Id: Idca3c08167f2f4b9d29802d4d0e4e48081daeca8

6 years agoMerge "C++14 is the default now." am: 780c6311c5
Elliott Hughes [Thu, 24 Aug 2017 15:51:24 +0000 (15:51 +0000)]
Merge "C++14 is the default now." am: 780c6311c5
am: 45b91a1f15

Change-Id: I158d8414b34394892907dc48a2186a3d44335a37

6 years agoMerge "C++14 is the default now."
Elliott Hughes [Thu, 24 Aug 2017 15:47:12 +0000 (15:47 +0000)]
Merge "C++14 is the default now."
am: 780c6311c5

Change-Id: Icdebfede104aced643ab6218ef12e3c530b1908c

6 years agoMerge "C++14 is the default now."
Elliott Hughes [Thu, 24 Aug 2017 15:40:54 +0000 (15:40 +0000)]
Merge "C++14 is the default now."

6 years agoC++14 is the default now.
Elliott Hughes [Sat, 12 Aug 2017 05:59:49 +0000 (22:59 -0700)]
C++14 is the default now.

Bug: http://b/32019064
Test: builds
Change-Id: I75b37a65d9ba6a7fc6586948f2e9544cede377a8

6 years agoMerge "Camera: fix codegen"
TreeHugger Robot [Tue, 22 Aug 2017 22:26:26 +0000 (22:26 +0000)]
Merge "Camera: fix codegen"

6 years agoAdd primitive accumulate methods to audio utils
Ari Hausman-Cohen [Thu, 17 Aug 2017 01:32:22 +0000 (18:32 -0700)]
Add primitive accumulate methods to audio utils

Adds accumulate methods to audio utils. These functions add
two audio buffers of the same format together.

BUG: 64772969
TEST: Builds, a sample app making use of the accumulate_float pathway works,
unit tests pass
Change-Id: Ib36a2f4be0c9b7353ec6d15752f02077e35c56ae

6 years agoCamera: update NDK docs am: f850d6ea72 am: 2b57c9ada1 am: 8737ef4222
Yin-Chia Yeh [Wed, 9 Aug 2017 02:06:10 +0000 (02:06 +0000)]
Camera: update NDK docs am: f850d6ea72 am: 2b57c9ada1 am: 8737ef4222
am: 8c694379b0

Change-Id: Ia1ccad6455a632273c2e1f67306ed0c630ecc12c

6 years agoMerge "Camera: update NDK docs am: f850d6ea72 am: de176c492a" into oc-dr1-dev-plus...
Yin-Chia Yeh [Wed, 9 Aug 2017 02:05:59 +0000 (02:05 +0000)]
Merge "Camera: update NDK docs am: f850d6ea72 am: de176c492a" into oc-dr1-dev-plus-aosp am: 91792563c9
am: 4a0177758a

Change-Id: Ibddc223e6cb11cc6fa13f502255a82f55252d7a0

6 years agoCamera: update NDK docs am: f850d6ea72 am: 2b57c9ada1 am: 0e7356fcc9
Yin-Chia Yeh [Wed, 9 Aug 2017 02:05:44 +0000 (02:05 +0000)]
Camera: update NDK docs am: f850d6ea72 am: 2b57c9ada1 am: 0e7356fcc9
am: 38bf25ce74

Change-Id: I49b935ef9cb620c405f28fbd29c723206b601d14

6 years agoCamera: update NDK docs am: f850d6ea72 am: 2b57c9ada1
Yin-Chia Yeh [Wed, 9 Aug 2017 01:57:53 +0000 (01:57 +0000)]
Camera: update NDK docs am: f850d6ea72 am: 2b57c9ada1
am: 8737ef4222

Change-Id: Icaa2b399b827e9852463598ad7889188de2a452c

6 years agoMerge "Camera: update NDK docs am: f850d6ea72 am: de176c492a" into oc-dr1-dev-plus...
Yin-Chia Yeh [Wed, 9 Aug 2017 01:56:24 +0000 (01:56 +0000)]
Merge "Camera: update NDK docs am: f850d6ea72 am: de176c492a" into oc-dr1-dev-plus-aosp
am: 91792563c9

Change-Id: Ie0a8946de31055a3fdd8a1d39429fd6dd33f7d32

6 years agoCamera: update NDK docs am: f850d6ea72 am: 2b57c9ada1
Yin-Chia Yeh [Wed, 9 Aug 2017 01:55:56 +0000 (01:55 +0000)]
Camera: update NDK docs am: f850d6ea72 am: 2b57c9ada1
am: 0e7356fcc9

Change-Id: I484ce38ed8f0a8e0eb76db21d2b013eeb24d24dd

6 years agoMerge "Camera: update NDK docs am: f850d6ea72 am: de176c492a" into oc-dr1-dev-plus...
Android Build Merger (Role) [Wed, 9 Aug 2017 01:50:33 +0000 (01:50 +0000)]
Merge "Camera: update NDK docs am: f850d6ea72 am: de176c492a" into oc-dr1-dev-plus-aosp

6 years agoCamera: update NDK docs am: f850d6ea72
Yin-Chia Yeh [Wed, 9 Aug 2017 01:50:01 +0000 (01:50 +0000)]
Camera: update NDK docs am: f850d6ea72
am: 2b57c9ada1

Change-Id: I55c140d2b647a210759d83af8f060b43ee3ef0a3

6 years agoCamera: update NDK docs am: f850d6ea72
Yin-Chia Yeh [Wed, 9 Aug 2017 01:50:01 +0000 (01:50 +0000)]
Camera: update NDK docs am: f850d6ea72
am: 2b57c9ada1

Change-Id: I0c6c9ac846278c0330c80b3f91fddbf5d210e471

6 years agoCamera: update NDK docs am: f850d6ea72
Yin-Chia Yeh [Wed, 9 Aug 2017 01:50:01 +0000 (01:50 +0000)]
Camera: update NDK docs am: f850d6ea72
am: de176c492a

Change-Id: If8fd505e514431908be8818829e4323cb3bb636b

6 years agoCamera: update NDK docs
Yin-Chia Yeh [Wed, 9 Aug 2017 01:45:03 +0000 (01:45 +0000)]
Camera: update NDK docs
am: f850d6ea72

Change-Id: I8790351bd0732a3c0b3e2a5525feb9a74ab3bd93

6 years agoCamera: update NDK docs
Yin-Chia Yeh [Wed, 9 Aug 2017 01:45:03 +0000 (01:45 +0000)]
Camera: update NDK docs
am: f850d6ea72

Change-Id: I18375c0b3b0ace6da868d76de8aefe1ec3b7adfa

6 years agoCamera: update NDK docs
Yin-Chia Yeh [Fri, 4 Aug 2017 01:07:45 +0000 (18:07 -0700)]
Camera: update NDK docs

Add type information to the doc paragraph.

Bug: 64304111
Test: build (doc only change)
Change-Id: Ifc3b8068d308ad2571ad66ddf5850b1cdc4163d6

6 years agoCamera: fix codegen
Yin-Chia Yeh [Fri, 4 Aug 2017 01:31:15 +0000 (18:31 -0700)]
Camera: fix codegen

To match latest framework label

Test: codegen doesn't cause change
Change-Id: I1fefbe2076b32d23fa88aa576b8643a3fd9ebdee

6 years agoMerge "Mark the module as VNDK or VNDK-SP in Android.bp" into oc-mr1-dev am: 79afc4e4fa
Justin Yun [Thu, 3 Aug 2017 10:04:27 +0000 (10:04 +0000)]
Merge "Mark the module as VNDK or VNDK-SP in Android.bp" into oc-mr1-dev am: 79afc4e4fa
am: dbdcb49cb8

Change-Id: Ie316878e3ee10f77be091cb87a21a111382bbd36

6 years agoMerge "Mark the module as VNDK or VNDK-SP in Android.bp" into oc-mr1-dev
Justin Yun [Thu, 3 Aug 2017 09:56:33 +0000 (09:56 +0000)]
Merge "Mark the module as VNDK or VNDK-SP in Android.bp" into oc-mr1-dev
am: 79afc4e4fa

Change-Id: Ifadf371219410692aaa5839ad452fa74acaccf79

6 years agoMerge "Mark the module as VNDK or VNDK-SP in Android.bp" into oc-mr1-dev
TreeHugger Robot [Thu, 3 Aug 2017 09:47:45 +0000 (09:47 +0000)]
Merge "Mark the module as VNDK or VNDK-SP in Android.bp" into oc-mr1-dev

6 years agoAllow unaligned vector pointers for power computation am: 10b7f5a9aa
Andy Hung [Wed, 2 Aug 2017 00:14:54 +0000 (00:14 +0000)]
Allow unaligned vector pointers for power computation am: 10b7f5a9aa
am: 5e04ee96e3

Change-Id: If79689d1f9dce0b0343e10fe6fefa86bacbe958c

6 years agoAllow unaligned vector pointers for power computation
Andy Hung [Wed, 2 Aug 2017 00:06:23 +0000 (00:06 +0000)]
Allow unaligned vector pointers for power computation
am: 10b7f5a9aa

Change-Id: Iffcbd2ab829627737c02098020d8d72d515448c0

6 years agoAllow unaligned vector pointers for power computation
Andy Hung [Mon, 31 Jul 2017 22:32:29 +0000 (15:32 -0700)]
Allow unaligned vector pointers for power computation

Test: dedicated native test
Bug: 64151823
Change-Id: I620ba9f673782e5769c499158c6fb866a103a9e4

6 years agoMerge "Revert "media: Update libchrome APIS to r456626."" am: 13669840c9 am: e07ce47a...
Eric Laurent [Wed, 26 Jul 2017 21:57:25 +0000 (21:57 +0000)]
Merge "Revert "media: Update libchrome APIS to r456626."" am: 13669840c9 am: e07ce47a5e am: 7810642267 am: 7c8084e4b1
am: 64eebef6e8

Change-Id: I79bdd73f87fe19fe20f4ebdb0a8c3f7e1b08d296

6 years agoMerge "Revert "media: Update libchrome APIS to r456626."" am: 13669840c9 am: e07ce47a...
Eric Laurent [Wed, 26 Jul 2017 20:37:49 +0000 (20:37 +0000)]
Merge "Revert "media: Update libchrome APIS to r456626."" am: 13669840c9 am: e07ce47a5e am: 7810642267
am: 7c8084e4b1

Change-Id: I28024600c0b8a29a0d1023d567c5cb1e00e3e7a7

6 years agoMerge "Revert "media: Update libchrome APIS to r456626."" am: 13669840c9 am: e07ce47a5e
Eric Laurent [Wed, 26 Jul 2017 20:33:56 +0000 (20:33 +0000)]
Merge "Revert "media: Update libchrome APIS to r456626."" am: 13669840c9 am: e07ce47a5e
am: 7810642267

Change-Id: I6e5bb1adbb76a40be7b3a94d9e06160b0de4ce3a

6 years agoMerge "Revert "media: Update libchrome APIS to r456626."" am: 13669840c9
Eric Laurent [Wed, 26 Jul 2017 20:29:14 +0000 (20:29 +0000)]
Merge "Revert "media: Update libchrome APIS to r456626."" am: 13669840c9
am: e07ce47a5e

Change-Id: I635e5fe0b8a46721011b235e565bc3e153117a2e

6 years agoMerge "Revert "media: Update libchrome APIS to r456626.""
Eric Laurent [Wed, 26 Jul 2017 20:19:33 +0000 (20:19 +0000)]
Merge "Revert "media: Update libchrome APIS to r456626.""
am: 13669840c9

Change-Id: Ic9f40e6c258530ad537f98e01a713b48ba0addf1