OSDN Git Service

android-x86/system-media.git
7 years agoFix a few clang-tidy warnings
Glenn Kasten [Fri, 18 Nov 2016 23:28:42 +0000 (15:28 -0800)]
Fix a few clang-tidy warnings

Test: still builds
Change-Id: I6583f4f600a24a0784cdda186f77d5cacffc6cc5

7 years agoMerge "IAudioPolicyService is now in libaudioclient instead of libmedia" am: 76f97250...
Marco Nelissen [Mon, 7 Nov 2016 18:00:33 +0000 (18:00 +0000)]
Merge "IAudioPolicyService is now in libaudioclient instead of libmedia" am: 76f97250ff am: c58a77360c am: ff3b15b22e
am: 7a73cf02af

Change-Id: Ib5c3c7d3a527e47051d795be4a26e30f525c989a

7 years agoMerge "IAudioPolicyService is now in libaudioclient instead of libmedia" am: 76f97250...
Marco Nelissen [Mon, 7 Nov 2016 17:41:49 +0000 (17:41 +0000)]
Merge "IAudioPolicyService is now in libaudioclient instead of libmedia" am: 76f97250ff am: c58a77360c
am: ff3b15b22e

Change-Id: I8903ffc0ae1b6422d0e10a12817694f072c9a8c9

7 years agoMerge "IAudioPolicyService is now in libaudioclient instead of libmedia" am: 76f97250ff
Marco Nelissen [Mon, 7 Nov 2016 17:32:14 +0000 (17:32 +0000)]
Merge "IAudioPolicyService is now in libaudioclient instead of libmedia" am: 76f97250ff
am: c58a77360c

Change-Id: Id3f3ec80c10a4d698e6f38660cfc911337b91e69

7 years agoMerge "IAudioPolicyService is now in libaudioclient instead of libmedia"
Marco Nelissen [Mon, 7 Nov 2016 17:22:52 +0000 (17:22 +0000)]
Merge "IAudioPolicyService is now in libaudioclient instead of libmedia"
am: 76f97250ff

Change-Id: Ie85b93bdb1b0b004c4cfe9cd2f60cc8766781ced

7 years agoMerge "IAudioPolicyService is now in libaudioclient instead of libmedia"
Marco Nelissen [Mon, 7 Nov 2016 17:14:24 +0000 (17:14 +0000)]
Merge "IAudioPolicyService is now in libaudioclient instead of libmedia"

7 years agoIAudioPolicyService is now in libaudioclient instead of libmedia
Marco Nelissen [Fri, 4 Nov 2016 16:40:24 +0000 (09:40 -0700)]
IAudioPolicyService is now in libaudioclient instead of libmedia

Test: build
Change-Id: I865f3c4bc3a4823802944501f2b3f86711059356

7 years agoMerge "IAudioPolicyService is now in libaudioclient instead of libmedia"
Marco Nelissen [Fri, 4 Nov 2016 21:53:53 +0000 (21:53 +0000)]
Merge "IAudioPolicyService is now in libaudioclient instead of libmedia"

7 years agoIAudioPolicyService is now in libaudioclient instead of libmedia
Marco Nelissen [Fri, 4 Nov 2016 16:40:24 +0000 (09:40 -0700)]
IAudioPolicyService is now in libaudioclient instead of libmedia

Test: build
Change-Id: I865f3c4bc3a4823802944501f2b3f86711059356

7 years agoFix build with MacOS 10.12 SDK
Dan Willemsen [Thu, 3 Nov 2016 20:55:28 +0000 (13:55 -0700)]
Fix build with MacOS 10.12 SDK

Test: mmma -j system/media/audio_utils
Change-Id: Iab8270c5f2dc011a984acd78f59a3adca73b7a62

7 years agoaudio_route: check if subpath name is valid before trying to add it
Thierry Strudel [Thu, 27 Oct 2016 17:12:43 +0000 (10:12 -0700)]
audio_route: check if subpath name is valid before trying to add it

Change-Id: I38d38c14d68e0fb25af188661cba750b7cac8f99

7 years agoMerge "radio: fix metadata compatibility for 64 bit processes"
Eric Laurent [Thu, 27 Oct 2016 15:23:04 +0000 (15:23 +0000)]
Merge "radio: fix metadata compatibility for 64 bit processes"

7 years agoradio: fix metadata compatibility for 64 bit processes
Eric Laurent [Tue, 25 Oct 2016 18:01:45 +0000 (11:01 -0700)]
radio: fix metadata compatibility for 64 bit processes

Clarify use of 32 bit quantities in radio metadata APIs and internal
implementation: all "unsigned int" are replaced by uint32_t.
Also use size_t when appropriate.

Add checks and asserts on invalid metadata buffer size.

Change-Id: I1e4a995858467c679b978574c305d82814f8c15c

7 years agofifo: fix bugs in lost frames calculation
Glenn Kasten [Wed, 19 Oct 2016 22:46:02 +0000 (15:46 -0700)]
fifo: fix bugs in lost frames calculation

Problems fixed:
 - did not set the lost frames parameter to zero when no frames were lost
 - under-estimated lost frames by mFrameCount

Also improved the documentation about lost frames.

Test: currently using interactive test only, need an automated version
Change-Id: I8b056c9cf4ead0d197b4c3aeff8482a08710c4cb

7 years agoMerge "fifo: address code review comments"
Glenn Kasten [Thu, 20 Oct 2016 18:21:52 +0000 (18:21 +0000)]
Merge "fifo: address code review comments"

7 years agofifo: address code review comments
Glenn Kasten [Wed, 19 Oct 2016 18:13:55 +0000 (11:13 -0700)]
fifo: address code review comments

Test: builds OK
Change-Id: I20f1a2e0cf0d63e4a5c04bf7f3364d0e71d8e929

7 years agoMove audio hw module names to system/
Mikhail Naganov [Tue, 18 Oct 2016 21:46:05 +0000 (14:46 -0700)]
Move audio hw module names to system/

The names of the modules are also used in audio policy configuration
files and thus need to be consistent between HAL and the framework.

Change-Id: I55510bfe425f9fd8634530ed6db25514da081007
Test: make

7 years agoMerge "Move audio_effects_conf.h to system/audio_effects"
Mikhail Naganov [Tue, 18 Oct 2016 16:10:05 +0000 (16:10 +0000)]
Merge "Move audio_effects_conf.h to system/audio_effects"

7 years agoMerge "Move parameters that are used by framework to system/audio.h"
Mikhail Naganov [Tue, 18 Oct 2016 16:01:15 +0000 (16:01 +0000)]
Merge "Move parameters that are used by framework to system/audio.h"

7 years agoHandle futex status EWOULDBLOCK
Glenn Kasten [Fri, 14 Oct 2016 15:51:20 +0000 (08:51 -0700)]
Handle futex status EWOULDBLOCK

Test: very difficult, as it is a race condition that rarely occurs
Change-Id: Ibefe09d1e9d940f57463391ed339325b42b84b73

7 years agoMerge "Address code review comments"
Glenn Kasten [Tue, 18 Oct 2016 01:08:29 +0000 (01:08 +0000)]
Merge "Address code review comments"

7 years agoMove audio_effects_conf.h to system/audio_effects
Mikhail Naganov [Tue, 18 Oct 2016 01:03:56 +0000 (18:03 -0700)]
Move audio_effects_conf.h to system/audio_effects

This file is not really related to HAL.

Also removed executable bit from it, thanks to gkasten@

Change-Id: I4f4fb2bb6c3792b06dfad2ecdd5e07428acbc351
Test: make

7 years agoMerge "Change struct timeout * to const struct timeout *"
Glenn Kasten [Tue, 18 Oct 2016 00:51:26 +0000 (00:51 +0000)]
Merge "Change struct timeout * to const struct timeout *"

7 years agoMove parameters that are used by framework to system/audio.h
Mikhail Naganov [Tue, 18 Oct 2016 00:14:23 +0000 (17:14 -0700)]
Move parameters that are used by framework to system/audio.h

Note that it is preferred to use the constants from AudioParameter
instead of directly using preprocessor defines.

Change-Id: I072448d06ec6dbbc760519004576bc4fe1438062
Test: make

7 years agoMerge "Split audio effects headers"
Mikhail Naganov [Mon, 17 Oct 2016 22:22:49 +0000 (22:22 +0000)]
Merge "Split audio effects headers"

7 years agoChange struct timeout * to const struct timeout *
Glenn Kasten [Sun, 16 Oct 2016 21:51:15 +0000 (14:51 -0700)]
Change struct timeout * to const struct timeout *

Test: builds OK
Change-Id: I8372ab83a50d527dffbfbb5014ac93ee4692f577

7 years agoSplit audio effects headers
Mikhail Naganov [Fri, 14 Oct 2016 22:33:43 +0000 (15:33 -0700)]
Split audio effects headers

There can be different use cases with the code that imports
headers from audio_effects (each subsequent case is a more
specialized version of the previous one):

  1. The code only needs access to general structures
     like effect_descriptor_t:
     ==> include system/audio_effect.h
     Example: AudioSystem in libmedia

  2. The code that needs access to effect UUID and parameter
     enums:
     ==> include system/audio_effects/effect_foo.h
     Examples: media framework effects interfaces, libwilhelm

  3. The code that needs to call into HAL:
     ==> include hardware/audio_effect.h
     Examples: libaudiohal (implementation part) and libeffects

  4. The code that implements a particular effect:
     ==> include audio_effects/effect_foo.h
     Examples: cts/.../CTSTestEffect.cpp
               stuff in hardware/, vendor/

Change-Id: Iee601a7a4d485ea35ff5c16ed595b219911585f7
Test: make

7 years agoAddress code review comments
Glenn Kasten [Fri, 14 Oct 2016 15:49:02 +0000 (08:49 -0700)]
Address code review comments

Change INT_MAX to INT32_MAX.
Document iovec == NULL.
Strengthen TODO about re-architecting futex code.
Rename getSize() to size().
Simplify error handling for mFifo.diff().
Rename masked to offset.

Test: re-run tests/*
Change-Id: I51f0c457399ac12b282eee726d13c3ca9a58ed1a

7 years agoFix build
Glenn Kasten [Fri, 14 Oct 2016 17:05:26 +0000 (10:05 -0700)]
Fix build

Test: build for sdk_phone_mips-sdk (mac) works
Change-Id: Ifc839975d1fc994beeb1651280e2d94e8b7a3199

7 years agoMerge "fifo: improve blocking and hysteresis"
Glenn Kasten [Fri, 14 Oct 2016 16:31:25 +0000 (16:31 +0000)]
Merge "fifo: improve blocking and hysteresis"

7 years agoRemove dependencies on hardware/audio_effects.h
Mikhail Naganov [Thu, 13 Oct 2016 19:56:00 +0000 (12:56 -0700)]
Remove dependencies on hardware/audio_effects.h

Also remove some outstanding dependencies on hardware/audio.h.

Most of the time, only constants and structs from audio_effects.h
are used, and no actual calls into HAL are made. Move these
definitions into system/audio_effect.h, and generate constants
from TREBLE HAL definition.

Test: make

Change-Id: Ib28eca67f40bf8285d3352407f1ee82b6c77ad54

7 years agoaudio_route: add check on enum values am: ff3e6f401e am: e12085b0c5
Eric Laurent [Thu, 13 Oct 2016 00:35:00 +0000 (00:35 +0000)]
audio_route: add check on enum values am: ff3e6f401e am: e12085b0c5
am: 95f7f2c505

Change-Id: I09f7d7f0547b2970231fe2e12babcc1f3041cc8c

7 years agoaudio_route: add check on enum values am: ff3e6f401e
Eric Laurent [Thu, 13 Oct 2016 00:27:11 +0000 (00:27 +0000)]
audio_route: add check on enum values am: ff3e6f401e
am: e12085b0c5

Change-Id: Ib2155fab97702c791c58ad2f27f5f5d6e0f790ba

7 years agoaudio_route: add check on enum values
Eric Laurent [Thu, 13 Oct 2016 00:19:40 +0000 (00:19 +0000)]
audio_route: add check on enum values
am: ff3e6f401e

Change-Id: I4a9cfe96aac7472dde381cbb8756353d3cd128f2

7 years agofifo: improve blocking and hysteresis
Glenn Kasten [Sun, 2 Oct 2016 20:00:19 +0000 (13:00 -0700)]
fifo: improve blocking and hysteresis

Work-in-progress to eventually allow the application to independently
specify whether or not each index (both front and rear) is also treated
as a futex, and if so whether it is single-process or multi-process.
This involves replacing mIsPrivate by an enum for futex types.
Still to do:
 - provide an API to configure this
 - better testing

Continued work on the setHysteresis() API.
Still to do:
 - better testing and debugging, especially for the read side.
 - do the right thing based on data currently in the buffer

Added available() API to return the number of frames that could
be obtain()ed.  For reader, this is the fill level.

Miscellaneous:
 - renamed sharedRear to writerRear
 - improved Doxygen comments
 - address code review comments by explaining why some paramters are
   passed by reference and some as pointers
 - updated tests
 - fixed bug: iovec was not being clear on error
 - changed default value of throttlesWriter to true

Test: tests/fifo_*
Change-Id: I0e19052abc90453ca48a0299d2c2de62468de6cb

7 years agoaudio_route: add check on enum values
Eric Laurent [Wed, 12 Oct 2016 17:38:12 +0000 (10:38 -0700)]
audio_route: add check on enum values

Bug: 31906753
Bug: 32064030
Change-Id: Id57ad136b2c314040e6cbf62a3319ecef2c2114b

7 years agoRemove redundant prefixes from enums in audio common types and effects HAL
Mikhail Naganov [Tue, 11 Oct 2016 00:20:51 +0000 (17:20 -0700)]
Remove redundant prefixes from enums in audio common types and effects HAL

Re-generated audio-base.h from updated files. No changes
in effective constant values, only in source mapping comments.

Bug: 31800672
Change-Id: I28ed14a0f5cfa53ada105258cd196fa86b401857
Test: make

7 years agoaudio: add constants to audio-base.h
Eric Laurent [Fri, 7 Oct 2016 01:36:52 +0000 (18:36 -0700)]
audio: add constants to audio-base.h

move some constants to audio-base.h to avoid double
definitions with audio::common::2_0::types.h

Change-Id: I6ef18a2fbb173ae183cf2cd07c9758b2efd57752

7 years agoMerge "Removes gnu designated initializers." am: 594952f2a2 am: e72d1d1206 am: 9e36579d55
Colin Cross [Fri, 7 Oct 2016 00:10:37 +0000 (00:10 +0000)]
Merge "Removes gnu designated initializers." am: 594952f2a2 am: e72d1d1206 am: 9e36579d55
am: cb5d4c6038

Change-Id: Ibc603eaa5413040eb5bf090c21f88132836ba624

7 years agoMerge "Removes gnu designated initializers." am: 594952f2a2 am: e72d1d1206
Colin Cross [Thu, 6 Oct 2016 23:46:28 +0000 (23:46 +0000)]
Merge "Removes gnu designated initializers." am: 594952f2a2 am: e72d1d1206
am: 9e36579d55

Change-Id: I935317b76902e6f7554108d817226be32c5e87d8

7 years agoMerge "Removes gnu designated initializers." am: 594952f2a2
Colin Cross [Thu, 6 Oct 2016 23:42:58 +0000 (23:42 +0000)]
Merge "Removes gnu designated initializers." am: 594952f2a2
am: e72d1d1206

Change-Id: Ib38b93b0c35ec8c0ca7e452b283a4059b220e423

7 years agoMerge "Removes gnu designated initializers."
Colin Cross [Thu, 6 Oct 2016 23:39:33 +0000 (23:39 +0000)]
Merge "Removes gnu designated initializers."
am: 594952f2a2

Change-Id: I9b6cf8060c2725d00e61ae282c049a668b699c17

7 years agoMerge "Removes gnu designated initializers."
Colin Cross [Thu, 6 Oct 2016 23:36:34 +0000 (23:36 +0000)]
Merge "Removes gnu designated initializers."

7 years agoRemoves gnu designated initializers.
Ryan Haining [Thu, 8 Sep 2016 01:04:33 +0000 (18:04 -0700)]
Removes gnu designated initializers.

C99 has the '.field = value' syntax, C++ has neither. The only ISO way
to write this is without designating.

Test: m -j
Bug: 31997134
Change-Id: I66d5c8ac65be379865018ac88b09020524293d99

7 years agoAudio constants are now automatically extracted from .hal interface
Andreas Huber [Mon, 3 Oct 2016 19:59:12 +0000 (12:59 -0700)]
Audio constants are now automatically extracted from .hal interface

android.hardware.audio.common@2.0 and made available to system/audio.h through
auto-generated "audio-base.h".

Bug: 31800672
Change-Id: I515f97638b499c83cae98de335ed2be830ad22cf
Test: make

7 years agoMerge "fifo: Add test for multi-process"
Glenn Kasten [Tue, 4 Oct 2016 22:58:05 +0000 (22:58 +0000)]
Merge "fifo: Add test for multi-process"

7 years agoMerge "Convert to Android.bp" am: e6be5fc431 am: 481030b1e2 am: 48dadcacc3
Dan Willemsen [Tue, 4 Oct 2016 02:22:51 +0000 (02:22 +0000)]
Merge "Convert to Android.bp" am: e6be5fc431 am: 481030b1e2 am: 48dadcacc3
am: e9988801e9

Change-Id: I17c32b5201c7edff637214f106ee8a390496d3f3

7 years agoMerge "Convert to Android.bp" am: e6be5fc431 am: 481030b1e2
Dan Willemsen [Tue, 4 Oct 2016 02:20:52 +0000 (02:20 +0000)]
Merge "Convert to Android.bp" am: e6be5fc431 am: 481030b1e2
am: 48dadcacc3

Change-Id: Ib90430a1bfd5f8a62907cc954a697b9827047a2e

7 years agoMerge "Convert to Android.bp" am: e6be5fc431
Dan Willemsen [Tue, 4 Oct 2016 02:17:19 +0000 (02:17 +0000)]
Merge "Convert to Android.bp" am: e6be5fc431
am: 481030b1e2

Change-Id: I0455356090a92249e669de99d7e963fa4268e0e8

7 years agoMerge "Convert to Android.bp"
Dan Willemsen [Tue, 4 Oct 2016 02:15:20 +0000 (02:15 +0000)]
Merge "Convert to Android.bp"
am: e6be5fc431

Change-Id: I8bb50a33ec0a1213d37201f0fb6dc4390190d117

7 years agoMerge "Convert to Android.bp"
Dan Willemsen [Tue, 4 Oct 2016 02:09:59 +0000 (02:09 +0000)]
Merge "Convert to Android.bp"

7 years agoConvert to Android.bp
Dan Willemsen [Thu, 22 Sep 2016 23:05:13 +0000 (16:05 -0700)]
Convert to Android.bp

See build/soong/README.md for more information.

Test: mma -j
Test: camera_metadata_test on flounder
Change-Id: I0f699a2a0d120783a5f543cf6d454109a5fc624b

7 years agofifo: Add test for multi-process
Glenn Kasten [Mon, 12 Sep 2016 16:35:05 +0000 (09:35 -0700)]
fifo: Add test for multi-process

Test: this is it
Change-Id: Iea4f6ee9f7ec4e1a2e3d49f0065493796aaeed20

7 years agofifo: Add support for multi-process
Glenn Kasten [Fri, 2 Sep 2016 20:54:59 +0000 (13:54 -0700)]
fifo: Add support for multi-process

For multi-process, the indices are allocated in separate shared memory.
This permits the buffer, write index, and throttling read index to each
have their own protection.

By default, the indices are allocated within the object to retain
API compatibility for the single-process case.

Test: in next CL
Change-Id: I5fae59169dbf73e8e38bf0eba0dcf907da2f8679

7 years agoMerge "Update escaping in Android.bp files" am: 1bfae98559 am: 8fce0b19ee am: 8cd8d232d3
Colin Cross [Fri, 30 Sep 2016 04:32:40 +0000 (04:32 +0000)]
Merge "Update escaping in Android.bp files" am: 1bfae98559 am: 8fce0b19ee am: 8cd8d232d3
am: d1b183b8c2

Change-Id: I1107003c146e023b95e6528b4e3cc1f090a24d0e

7 years agoMerge "Update escaping in Android.bp files" am: 1bfae98559 am: 8fce0b19ee
Colin Cross [Fri, 30 Sep 2016 04:27:00 +0000 (04:27 +0000)]
Merge "Update escaping in Android.bp files" am: 1bfae98559 am: 8fce0b19ee
am: 8cd8d232d3

Change-Id: I2f71c4c0296609caf48aa9a10a05154f5fa952d3

7 years agoMerge "Update escaping in Android.bp files" am: 1bfae98559
Colin Cross [Fri, 30 Sep 2016 04:24:30 +0000 (04:24 +0000)]
Merge "Update escaping in Android.bp files" am: 1bfae98559
am: 8fce0b19ee

Change-Id: Idecdefd6e64c44e7496d17cad5d76113799df874

7 years agoMerge "Update escaping in Android.bp files"
Colin Cross [Fri, 30 Sep 2016 04:21:33 +0000 (04:21 +0000)]
Merge "Update escaping in Android.bp files"
am: 1bfae98559

Change-Id: Iebdc04b6d38830c77f0b3e493b0a7f2487329804

7 years agoMerge "Update escaping in Android.bp files"
Treehugger Robot [Fri, 30 Sep 2016 04:17:57 +0000 (04:17 +0000)]
Merge "Update escaping in Android.bp files"

7 years agoUpdate escaping in Android.bp files
Colin Cross [Thu, 29 Sep 2016 21:08:28 +0000 (14:08 -0700)]
Update escaping in Android.bp files

Strings like cflags in Android.bp files are parsed by blueprint,
written to build.ninja files, parsed by ninja, and then passed to
/bin/sh -c.  This had resulted in a combination of blueprint
(\"), ninja ($$), and shell (\$) escaping being necessary.

Soong has been updated to automatically handle ninja and shell
escaping, remove extra escaping from Android.bp files.

Bug: 31221587
Test: m -j
Change-Id: Ib1deac0a236a2ad37fce394bbdefbf5a781a38a7

7 years agocamera_metadata: cleanup dependency
Zhijun He [Tue, 27 Sep 2016 22:26:53 +0000 (15:26 -0700)]
camera_metadata: cleanup dependency

camera_metadata doesn't depend on vendor tag header.

Bug: 30985004
Change-Id: Ib8939220801498a4427072b78efede7b08a7ffd3

7 years agoFix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da6...
rago [Tue, 20 Sep 2016 09:21:01 +0000 (09:21 +0000)]
Fix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da681a am: a5dddadec9 am: 960cba3e1b am: 902b06895f am: af1e40957a am: e1bc1ac318 am: 0fafbe88b5 am: 453066787b am: 1414a77d6a am: 48309eb29c am: b0b84bc962 am: bfab6fae72 am: 4eb2a5da1d
am: 7dba99edcf

Change-Id: I949ec2eb379cf4f586e0c7f6190a6ef9e3c055a5

7 years agoFix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da6...
rago [Tue, 20 Sep 2016 08:13:33 +0000 (08:13 +0000)]
Fix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da681a am: a5dddadec9 am: 960cba3e1b am: 902b06895f am: af1e40957a am: e1bc1ac318 am: 0fafbe88b5 am: 453066787b am: 1414a77d6a am: 48309eb29c am: b0b84bc962 am: bfab6fae72
am: 4eb2a5da1d

Change-Id: I7d08cfbf128556fa108ea6ad376f7cd10924cfc4

7 years agoFix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da6...
rago [Tue, 20 Sep 2016 07:15:42 +0000 (07:15 +0000)]
Fix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da681a am: a5dddadec9 am: 960cba3e1b am: 902b06895f am: af1e40957a am: e1bc1ac318 am: 0fafbe88b5 am: 453066787b am: 1414a77d6a am: 48309eb29c am: b0b84bc962
am: bfab6fae72

Change-Id: Iff2f2afb8ad109b9dfdfa4e80dde7ab06bea485f

7 years agoFix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da6...
rago [Tue, 20 Sep 2016 06:51:45 +0000 (06:51 +0000)]
Fix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da681a am: a5dddadec9 am: 960cba3e1b am: 902b06895f am: af1e40957a am: e1bc1ac318 am: 0fafbe88b5 am: 453066787b am: 1414a77d6a am: 48309eb29c am: 53c4169a75
am: 889c2d2231

Change-Id: I895cd36549acc2b95c42d01930477025ef87a261

7 years agoFix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da6...
rago [Tue, 20 Sep 2016 06:39:44 +0000 (06:39 +0000)]
Fix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da681a am: a5dddadec9 am: 960cba3e1b am: 902b06895f am: af1e40957a am: e1bc1ac318 am: 0fafbe88b5 am: 453066787b am: 1414a77d6a am: 48309eb29c
am: 53c4169a75

Change-Id: Id9194c967ebe648f523ce3dfc0918fd4ffeb2d56

7 years agoFix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da6...
rago [Tue, 20 Sep 2016 06:38:02 +0000 (06:38 +0000)]
Fix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da681a am: a5dddadec9 am: 960cba3e1b am: 902b06895f am: af1e40957a am: e1bc1ac318 am: 0fafbe88b5 am: 453066787b am: 1414a77d6a am: 48309eb29c
am: b0b84bc962

Change-Id: I042fd15d5349c48f7c5aa9a97d31dc66c9380b93

7 years agoFix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da6...
rago [Tue, 20 Sep 2016 06:05:28 +0000 (06:05 +0000)]
Fix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da681a am: a5dddadec9 am: 960cba3e1b am: 902b06895f am: af1e40957a am: e1bc1ac318 am: 0fafbe88b5 am: 453066787b am: 1414a77d6a
am: 48309eb29c

Change-Id: Ie6b3730caae23ff2d652475902d208f0db3063f5

7 years agoFix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da6...
rago [Tue, 20 Sep 2016 06:04:58 +0000 (06:04 +0000)]
Fix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da681a am: a5dddadec9 am: 960cba3e1b am: 902b06895f am: af1e40957a am: e1bc1ac318 am: 0fafbe88b5 am: 453066787b am: 1414a77d6a
am: 48309eb29c

Change-Id: I44be4c384bc84e9775c20e1ae6ac9574a025d7d1

7 years agoFix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da6...
rago [Tue, 20 Sep 2016 04:52:09 +0000 (04:52 +0000)]
Fix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da681a am: a5dddadec9 am: 960cba3e1b am: 902b06895f am: af1e40957a am: e1bc1ac318 am: 0fafbe88b5 am: 453066787b
am: 1414a77d6a

Change-Id: I6247298111aca3a0e3a1cfb6996d23a11b1795b0

7 years agoFix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da6...
rago [Tue, 20 Sep 2016 04:33:42 +0000 (04:33 +0000)]
Fix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da681a am: a5dddadec9 am: 960cba3e1b am: 902b06895f am: af1e40957a am: e1bc1ac318 am: 0fafbe88b5
am: 453066787b

Change-Id: I56ee2f6ae9366d1ec501a76519cab46cf3381046

7 years agoFix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da6...
rago [Tue, 20 Sep 2016 04:27:29 +0000 (04:27 +0000)]
Fix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da681a am: a5dddadec9 am: 960cba3e1b am: 902b06895f am: af1e40957a am: e1bc1ac318
am: 0fafbe88b5

Change-Id: I6cdeb5b4234c5e6fcb2882ab7a778fa0894a28ed

7 years agoFix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da6...
rago [Tue, 20 Sep 2016 04:24:41 +0000 (04:24 +0000)]
Fix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da681a am: a5dddadec9 am: 960cba3e1b am: 902b06895f am: af1e40957a
am: e1bc1ac318

Change-Id: Id679d6bcb437c23b4307eff166d3040ccf7aec48

7 years agoFix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da6...
rago [Tue, 20 Sep 2016 02:31:04 +0000 (02:31 +0000)]
Fix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da681a am: a5dddadec9 am: 960cba3e1b am: 902b06895f
am: af1e40957a

Change-Id: I574c3cf08bc48e3600321da4a00c21cb8bc32b09

7 years agoFix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da6...
rago [Tue, 20 Sep 2016 01:47:11 +0000 (01:47 +0000)]
Fix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da681a am: a5dddadec9 am: 960cba3e1b
am: 902b06895f

Change-Id: If84ad0268c76e0113d235e9ab026d634cae9f138

7 years agoFix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da6...
rago [Tue, 20 Sep 2016 01:28:00 +0000 (01:28 +0000)]
Fix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da681a am: a5dddadec9
am: 960cba3e1b

Change-Id: Ie001c2546d97cb913ad178427f5b283d58b80d38

7 years agoFix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da681a
rago [Tue, 20 Sep 2016 00:57:05 +0000 (00:57 +0000)]
Fix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da681a
am: a5dddadec9

Change-Id: I8fcbe5c0edfab078d4b86b6b6dd08d7c36b4dc91

7 years agoFix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f
rago [Tue, 20 Sep 2016 00:46:12 +0000 (00:46 +0000)]
Fix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f
am: 8682da681a

Change-Id: I2393804a8d234f7374a9e65fc358e10b3c2a3a88

7 years agoFix potential overflow in Visualizer effect am: 7bbd500874
rago [Tue, 20 Sep 2016 00:39:51 +0000 (00:39 +0000)]
Fix potential overflow in Visualizer effect am: 7bbd500874
am: 99589ed96f

Change-Id: I99309d36b1db752ed86d2b3f13456cd4f0cd6be1

7 years agoFix potential overflow in Visualizer effect
rago [Tue, 20 Sep 2016 00:35:06 +0000 (00:35 +0000)]
Fix potential overflow in Visualizer effect
am: 7bbd500874

Change-Id: I88bbbf8cfa578a86a692d75dd5a8cab00be0dcfc

7 years agoresolve merge conflicts of 1922726 to master
Dan Willemsen [Tue, 13 Sep 2016 04:34:12 +0000 (21:34 -0700)]
resolve merge conflicts of 1922726 to master

Change-Id: Ic5c6dd33569fbdae9e236fe2bf5bd30bea038cbf

7 years agoresolve merge conflicts of 99b39aa to nyc-mr1-dev-plus-aosp
Dan Willemsen [Tue, 13 Sep 2016 01:43:04 +0000 (18:43 -0700)]
resolve merge conflicts of 99b39aa to nyc-mr1-dev-plus-aosp

Change-Id: Ic05b48ec1ae8b1110c231d1bc28a0e05ff38ebc1

7 years agoMerge "Convert to Android.bp" am: 1cfc9bb140
Dan Willemsen [Tue, 13 Sep 2016 01:01:09 +0000 (01:01 +0000)]
Merge "Convert to Android.bp" am: 1cfc9bb140
am: f8a26b926d

Change-Id: I33df472d5ceb70aba32e25b283e8e4ade33aa637

7 years agoMerge "Convert to Android.bp"
Dan Willemsen [Tue, 13 Sep 2016 00:58:08 +0000 (00:58 +0000)]
Merge "Convert to Android.bp"
am: 1cfc9bb140

Change-Id: Ic30d6d9bf11dcd5f581010d3d838aa4141fff593

7 years agoMerge "Convert to Android.bp"
Treehugger Robot [Tue, 13 Sep 2016 00:47:39 +0000 (00:47 +0000)]
Merge "Convert to Android.bp"

7 years agoConvert to Android.bp
Dan Willemsen [Mon, 12 Sep 2016 23:15:40 +0000 (16:15 -0700)]
Convert to Android.bp

For more information about soong, see build/soong/README.md

Test: mma; Ran primitives_tests on flounder
Change-Id: I67db202775929e271a54c22d585f19cf6b1ef174

7 years agoRemoves gnu designated initializers.
Ryan Haining [Thu, 8 Sep 2016 01:04:33 +0000 (18:04 -0700)]
Removes gnu designated initializers.

C99 has the '.field = value' syntax, C++ has neither. The only ISO way
to write this is without designating.

Change-Id: I66d5c8ac65be379865018ac88b09020524293d99

7 years agoFix potential overflow in Visualizer effect
rago [Tue, 23 Aug 2016 18:09:52 +0000 (11:09 -0700)]
Fix potential overflow in Visualizer effect

Bug: 30229821
Change-Id: Ia07041a5a149d7d3e120aa6ea0345fb86da37c9b
(cherry picked from commit b61dd321d08b21a5629044eca7f96e2ecd348e5f)

7 years agoFix potential overflow in Visualizer effect
rago [Tue, 23 Aug 2016 18:09:52 +0000 (11:09 -0700)]
Fix potential overflow in Visualizer effect

Bug: 30229821
Change-Id: Ia07041a5a149d7d3e120aa6ea0345fb86da37c9b

7 years agoresolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834 am: 009bc279a2 am: 6f219...
Eino-Ville Talvala [Thu, 18 Aug 2016 00:52:09 +0000 (00:52 +0000)]
resolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834 am: 009bc279a2 am: 6f21973d99 am: ab159ee14e am: e0cb79f1bc am: 3197a71063 am: ac2655b5cb am: bf7bc974e5 am: 000c33c8eb am: 220505e6fe am: fc2cdc605b
am: 6c26438b34

Change-Id: If0237b95606d01f108a70eee7a59d9ac87eb17d9

7 years agoresolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834 am: 009bc279a2 am: 6f219...
Eino-Ville Talvala [Thu, 18 Aug 2016 00:52:08 +0000 (00:52 +0000)]
resolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834 am: 009bc279a2 am: 6f21973d99 am: ab159ee14e am: e0cb79f1bc am: 3197a71063 am: ac2655b5cb am: bf7bc974e5 am: 000c33c8eb am: 95c7dd6db4
am: a8ff345be5

Change-Id: I7727c60a4d4a2b0d78f95b6940cac76637bd744b

7 years agoresolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834 am: 009bc279a2 am: 6f219...
Eino-Ville Talvala [Wed, 17 Aug 2016 23:43:34 +0000 (23:43 +0000)]
resolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834 am: 009bc279a2 am: 6f21973d99 am: ab159ee14e am: e0cb79f1bc am: 3197a71063 am: ac2655b5cb am: bf7bc974e5 am: 000c33c8eb am: 220505e6fe
am: fc2cdc605b

Change-Id: I497fca7878c00aab9363f1d09f74375f5cac9ac4

7 years agoresolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834 am: 009bc279a2 am: 6f219...
Eino-Ville Talvala [Wed, 17 Aug 2016 23:40:49 +0000 (23:40 +0000)]
resolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834 am: 009bc279a2 am: 6f21973d99 am: ab159ee14e am: e0cb79f1bc am: 3197a71063 am: ac2655b5cb am: bf7bc974e5 am: 000c33c8eb
am: 95c7dd6db4

Change-Id: I2d98776730cbe9bb6feba8cb7ea67ec8b23ff012

7 years agoresolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834 am: 009bc279a2 am: 6f219...
Eino-Ville Talvala [Wed, 17 Aug 2016 23:37:48 +0000 (23:37 +0000)]
resolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834 am: 009bc279a2 am: 6f21973d99 am: ab159ee14e am: e0cb79f1bc am: 3197a71063 am: ac2655b5cb am: bf7bc974e5 am: 000c33c8eb
am: 220505e6fe

Change-Id: I15906d44b27b3e7513dcee541f25a239dbe54d04

7 years agoresolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834 am: 009bc279a2 am: 6f219...
Eino-Ville Talvala [Wed, 17 Aug 2016 23:34:48 +0000 (23:34 +0000)]
resolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834 am: 009bc279a2 am: 6f21973d99 am: ab159ee14e am: e0cb79f1bc am: 3197a71063 am: ac2655b5cb am: bf7bc974e5
am: 000c33c8eb

Change-Id: I5b4d1e7d07d2ebd5c2c488b3dd3d76e1dcb6d93a

7 years agoresolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834 am: 009bc279a2 am: 6f219...
Eino-Ville Talvala [Wed, 17 Aug 2016 23:34:48 +0000 (23:34 +0000)]
resolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834 am: 009bc279a2 am: 6f21973d99 am: ab159ee14e am: e0cb79f1bc am: 3197a71063 am: ac2655b5cb am: bf7bc974e5
am: 000c33c8eb

Change-Id: I3f37f5d805a8e8f145d5ef0efcfe4bc27a07f8fe

7 years agoresolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834 am: 009bc279a2 am: 6f219...
Eino-Ville Talvala [Wed, 17 Aug 2016 23:31:47 +0000 (23:31 +0000)]
resolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834 am: 009bc279a2 am: 6f21973d99 am: ab159ee14e am: e0cb79f1bc am: 3197a71063 am: ac2655b5cb
am: bf7bc974e5

Change-Id: I377dc993ede01f12a070ae01f4df0e90ac054ba4

7 years agoresolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834 am: 009bc279a2 am: 6f219...
Eino-Ville Talvala [Wed, 17 Aug 2016 23:28:47 +0000 (23:28 +0000)]
resolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834 am: 009bc279a2 am: 6f21973d99 am: ab159ee14e am: e0cb79f1bc am: 3197a71063
am: ac2655b5cb

Change-Id: I51396e87a67e735379249335e0c229f892db6412

7 years agoresolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834 am: 009bc279a2 am: 6f219...
Eino-Ville Talvala [Wed, 17 Aug 2016 23:25:48 +0000 (23:25 +0000)]
resolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834 am: 009bc279a2 am: 6f21973d99 am: ab159ee14e am: e0cb79f1bc
am: 3197a71063

Change-Id: Id1f6192897346ce3c6b71c28c7143a6c0cce658d

7 years agoresolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834 am: 009bc279a2 am: 6f219...
Eino-Ville Talvala [Wed, 17 Aug 2016 23:22:50 +0000 (23:22 +0000)]
resolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834 am: 009bc279a2 am: 6f21973d99 am: ab159ee14e
am: e0cb79f1bc

Change-Id: Ia82eb5aad072dc424a010b384019140ff05e792e