OSDN Git Service

android-x86/frameworks-av.git
7 years agoMerge "DO NOT MERGE AudioFlinger: Check framecount overflow when creating track"...
Andy Hung [Fri, 10 Mar 2017 23:04:02 +0000 (23:04 +0000)]
Merge "DO NOT MERGE AudioFlinger: Check framecount overflow when creating track" into klp-dev am: e0da30dc57 am: 737754e97a am: de6072164a  -s ours am: 9fe1d60957  -s ours am: fe66ce6f1e am: 3995196b9d  -s ours am: b1c01ac1a0 am: 5a18b3d70d am: 2a381e6f2f
am: d331c1ec6a  -s ours

Change-Id: I002064f85d1b2f40f5f01e3327cfc9e7db70769d

7 years agoMerge "DO NOT MERGE AudioFlinger: Check framecount overflow when creating track"...
Andy Hung [Fri, 10 Mar 2017 23:00:32 +0000 (23:00 +0000)]
Merge "DO NOT MERGE AudioFlinger: Check framecount overflow when creating track" into klp-dev am: e0da30dc57 am: 737754e97a am: de6072164a  -s ours am: 9fe1d60957  -s ours am: fe66ce6f1e am: 3995196b9d  -s ours am: b1c01ac1a0 am: 5a18b3d70d
am: 2a381e6f2f

Change-Id: Id9435fdd365f1eb5f1cf759e47cd675549f83a20

7 years agoMerge "DO NOT MERGE AudioFlinger: Check framecount overflow when creating track"...
Andy Hung [Fri, 10 Mar 2017 22:56:31 +0000 (22:56 +0000)]
Merge "DO NOT MERGE AudioFlinger: Check framecount overflow when creating track" into klp-dev am: e0da30dc57 am: 737754e97a am: de6072164a  -s ours am: 9fe1d60957  -s ours am: fe66ce6f1e am: 3995196b9d  -s ours am: b1c01ac1a0
am: 5a18b3d70d

Change-Id: I90e4e976fd9a07f06a32233ae245134fe372d234

7 years agoMerge "DO NOT MERGE AudioFlinger: Check framecount overflow when creating track"...
Andy Hung [Fri, 10 Mar 2017 22:53:03 +0000 (22:53 +0000)]
Merge "DO NOT MERGE AudioFlinger: Check framecount overflow when creating track" into klp-dev am: e0da30dc57 am: 737754e97a am: de6072164a  -s ours am: 9fe1d60957  -s ours am: fe66ce6f1e am: 3995196b9d  -s ours
am: b1c01ac1a0

Change-Id: I271a41d905cafdb3f4fa2c9fc4fbd183fd0af08b

7 years agoMerge "AudioFlinger: Check framecount overflow when creating track" into lmp-dev...
Andy Hung [Fri, 10 Mar 2017 22:53:00 +0000 (22:53 +0000)]
Merge "AudioFlinger: Check framecount overflow when creating track" into lmp-dev am: 51a3483ec9 am: 5dc0e88cc1 am: 6d4b5fc334 am: 5562d70451 am: 3fb4149ed2 am: 78ec332732
am: 9262496af9

Change-Id: I8df7a4c1308afb39a1f1a37a588e70e049a868fa

7 years agoMerge "AudioFlinger: Check framecount overflow when creating track" into lmp-dev...
Andy Hung [Fri, 10 Mar 2017 22:49:30 +0000 (22:49 +0000)]
Merge "AudioFlinger: Check framecount overflow when creating track" into lmp-dev am: 51a3483ec9 am: 5dc0e88cc1 am: 6d4b5fc334 am: 5562d70451 am: 3fb4149ed2
am: 78ec332732

Change-Id: I50a7b9f86a494bff6aa43e719e5c819eb0c191ae

7 years agoMerge "DO NOT MERGE AudioFlinger: Check framecount overflow when creating track"...
Andy Hung [Fri, 10 Mar 2017 22:49:29 +0000 (22:49 +0000)]
Merge "DO NOT MERGE AudioFlinger: Check framecount overflow when creating track" into klp-dev am: e0da30dc57 am: 737754e97a am: de6072164a  -s ours am: 9fe1d60957  -s ours am: fe66ce6f1e
am: 3995196b9d  -s ours

Change-Id: I4fa4eb204b244593d03c8bfa7f1169ee047c6652

7 years agoMerge "AudioFlinger: Check framecount overflow when creating track" into lmp-dev...
Andy Hung [Fri, 10 Mar 2017 22:46:29 +0000 (22:46 +0000)]
Merge "AudioFlinger: Check framecount overflow when creating track" into lmp-dev am: 51a3483ec9 am: 5dc0e88cc1 am: 6d4b5fc334 am: 5562d70451
am: 3fb4149ed2

Change-Id: I9101bb9cc966e9d99c78427697b6c570a7da753d

7 years agoMerge "DO NOT MERGE AudioFlinger: Check framecount overflow when creating track"...
Andy Hung [Fri, 10 Mar 2017 22:46:29 +0000 (22:46 +0000)]
Merge "DO NOT MERGE AudioFlinger: Check framecount overflow when creating track" into klp-dev am: e0da30dc57 am: 737754e97a am: de6072164a  -s ours am: 9fe1d60957  -s ours
am: fe66ce6f1e

Change-Id: I1c49e3520b11aebc987242540b8a3047db72e269

7 years agoMerge "AudioFlinger: Check framecount overflow when creating track" into lmp-dev...
Andy Hung [Fri, 10 Mar 2017 22:42:59 +0000 (22:42 +0000)]
Merge "AudioFlinger: Check framecount overflow when creating track" into lmp-dev am: 51a3483ec9 am: 5dc0e88cc1 am: 6d4b5fc334
am: 5562d70451

Change-Id: Ia73c4a1d2911cf930700bf796fc7ee18d94500fe

7 years agoMerge "DO NOT MERGE AudioFlinger: Check framecount overflow when creating track"...
Andy Hung [Fri, 10 Mar 2017 22:42:59 +0000 (22:42 +0000)]
Merge "DO NOT MERGE AudioFlinger: Check framecount overflow when creating track" into klp-dev am: e0da30dc57 am: 737754e97a am: de6072164a  -s ours
am: 9fe1d60957  -s ours

Change-Id: I06683878d8e39e9d9dcae9f897124c36f6b968bf

7 years agoMerge "AudioFlinger: Check framecount overflow when creating track" into lmp-dev...
Andy Hung [Fri, 10 Mar 2017 22:39:59 +0000 (22:39 +0000)]
Merge "AudioFlinger: Check framecount overflow when creating track" into lmp-dev am: 51a3483ec9 am: 5dc0e88cc1
am: 6d4b5fc334

Change-Id: Ie47307f09c5fcb49f81a2d034c42d69b8417c9a6

7 years agoMerge "DO NOT MERGE AudioFlinger: Check framecount overflow when creating track"...
Andy Hung [Fri, 10 Mar 2017 22:39:58 +0000 (22:39 +0000)]
Merge "DO NOT MERGE AudioFlinger: Check framecount overflow when creating track" into klp-dev am: e0da30dc57 am: 737754e97a
am: de6072164a  -s ours

Change-Id: I33a81bea7f8e210dbadade3f9bd63a3decbfb478

7 years agoMerge "AudioFlinger: Check framecount overflow when creating track" into lmp-dev...
Andy Hung [Fri, 10 Mar 2017 22:36:28 +0000 (22:36 +0000)]
Merge "AudioFlinger: Check framecount overflow when creating track" into lmp-dev am: 51a3483ec9
am: 5dc0e88cc1

Change-Id: Id24ba3565e66b9e4e6e738d840ad3400ff133a4c

7 years agoMerge "DO NOT MERGE AudioFlinger: Check framecount overflow when creating track"...
Andy Hung [Fri, 10 Mar 2017 22:36:28 +0000 (22:36 +0000)]
Merge "DO NOT MERGE AudioFlinger: Check framecount overflow when creating track" into klp-dev am: e0da30dc57
am: 737754e97a

Change-Id: Ide9fb3f4955a31ade22f99c299f441d8413c1b88

7 years agoMerge "AudioFlinger: Check framecount overflow when creating track" into lmp-dev
Andy Hung [Fri, 10 Mar 2017 22:32:59 +0000 (22:32 +0000)]
Merge "AudioFlinger: Check framecount overflow when creating track" into lmp-dev
am: 51a3483ec9

Change-Id: I6fe5fb0a7142218b16c84bc1966a84ac920fd70a

7 years agoMerge "DO NOT MERGE AudioFlinger: Check framecount overflow when creating track"...
Andy Hung [Fri, 10 Mar 2017 22:32:59 +0000 (22:32 +0000)]
Merge "DO NOT MERGE AudioFlinger: Check framecount overflow when creating track" into klp-dev
am: e0da30dc57

Change-Id: Ia8aee821949f27b81e5c0ddca2e39aa9e478a432

7 years agoMerge "DO NOT MERGE AudioFlinger: Check framecount overflow when creating track"...
Andy Hung [Fri, 10 Mar 2017 22:29:51 +0000 (22:29 +0000)]
Merge "DO NOT MERGE AudioFlinger: Check framecount overflow when creating track" into klp-dev

7 years agoMerge "AudioFlinger: Check framecount overflow when creating track" into lmp-dev
Andy Hung [Fri, 10 Mar 2017 22:29:43 +0000 (22:29 +0000)]
Merge "AudioFlinger: Check framecount overflow when creating track" into lmp-dev

7 years agoDO NOT MERGE codecs: handle onReset() for a few encoders am: dd447c354e am: afaa43850...
Wonsik Kim [Thu, 16 Feb 2017 01:58:22 +0000 (01:58 +0000)]
DO NOT MERGE codecs: handle onReset() for a few encoders am: dd447c354e am: afaa438503 am: daaabdcaac  -s ours am: da9246fa5e  -s ours am: 1760d73fbc am: 55d8132edd  -s ours am: 292dc7e025 am: 1dfa590543 am: dbeeaf29d0
am: 3b57c387ed  -s ours

Change-Id: I1fa21c62180e7078289c291a58177cfb6adf6b00

7 years agoDO NOT MERGE codecs: handle onReset() for a few encoders am: dd447c354e am: afaa43850...
Wonsik Kim [Thu, 16 Feb 2017 01:54:52 +0000 (01:54 +0000)]
DO NOT MERGE codecs: handle onReset() for a few encoders am: dd447c354e am: afaa438503 am: daaabdcaac  -s ours am: da9246fa5e  -s ours am: 1760d73fbc am: 55d8132edd  -s ours am: 292dc7e025 am: 1dfa590543
am: dbeeaf29d0

Change-Id: I69aa294ccdcc83aa5da29a16368e7ecb7280ab61

7 years agoDO NOT MERGE codecs: handle onReset() for a few encoders am: dd447c354e am: afaa43850...
Wonsik Kim [Thu, 16 Feb 2017 01:51:21 +0000 (01:51 +0000)]
DO NOT MERGE codecs: handle onReset() for a few encoders am: dd447c354e am: afaa438503 am: daaabdcaac  -s ours am: da9246fa5e  -s ours am: 1760d73fbc am: 55d8132edd  -s ours am: 292dc7e025
am: 1dfa590543

Change-Id: I766507dac31afdee5755897fb201a961fba66793

7 years agocodecs: handle onReset() for a few encoders am: 5443b57cc5 am: 89f501d046 am: 4f428b7...
Wonsik Kim [Thu, 16 Feb 2017 01:47:52 +0000 (01:47 +0000)]
codecs: handle onReset() for a few encoders am: 5443b57cc5 am: 89f501d046 am: 4f428b7c02 am: a5e72ec799 am: 787a5136f0 am: 83485b615e
am: 58f7175ed4

Change-Id: Ib5d28de651178b0ab7cd3e44793a6078d904ff4c

7 years agoDO NOT MERGE codecs: handle onReset() for a few encoders am: dd447c354e am: afaa43850...
Wonsik Kim [Thu, 16 Feb 2017 01:47:51 +0000 (01:47 +0000)]
DO NOT MERGE codecs: handle onReset() for a few encoders am: dd447c354e am: afaa438503 am: daaabdcaac  -s ours am: da9246fa5e  -s ours am: 1760d73fbc am: 55d8132edd  -s ours
am: 292dc7e025

Change-Id: I50fda0957b316040f2dc4be9b3abe8818f02a3d5

7 years agoDO NOT MERGE codecs: handle onReset() for a few encoders am: dd447c354e am: afaa43850...
Wonsik Kim [Thu, 16 Feb 2017 01:44:50 +0000 (01:44 +0000)]
DO NOT MERGE codecs: handle onReset() for a few encoders am: dd447c354e am: afaa438503 am: daaabdcaac  -s ours am: da9246fa5e  -s ours am: 1760d73fbc
am: 55d8132edd  -s ours

Change-Id: Ib1c0af161a2113c2c5f47d091c024ee34cb389e5

7 years agocodecs: handle onReset() for a few encoders am: 5443b57cc5 am: 89f501d046 am: 4f428b7...
Wonsik Kim [Thu, 16 Feb 2017 01:44:21 +0000 (01:44 +0000)]
codecs: handle onReset() for a few encoders am: 5443b57cc5 am: 89f501d046 am: 4f428b7c02 am: a5e72ec799 am: 787a5136f0
am: 83485b615e

Change-Id: I3d18f79b2d7a22122756e0cf4af2b7d46dfe808b

7 years agoDO NOT MERGE codecs: handle onReset() for a few encoders am: dd447c354e am: afaa43850...
Wonsik Kim [Thu, 16 Feb 2017 01:41:21 +0000 (01:41 +0000)]
DO NOT MERGE codecs: handle onReset() for a few encoders am: dd447c354e am: afaa438503 am: daaabdcaac  -s ours am: da9246fa5e  -s ours
am: 1760d73fbc

Change-Id: Icecef8789c79bb5b61e05062a2839b2462653004

7 years agocodecs: handle onReset() for a few encoders am: 5443b57cc5 am: 89f501d046 am: 4f428b7...
Wonsik Kim [Thu, 16 Feb 2017 01:41:21 +0000 (01:41 +0000)]
codecs: handle onReset() for a few encoders am: 5443b57cc5 am: 89f501d046 am: 4f428b7c02 am: a5e72ec799
am: 787a5136f0

Change-Id: Ie4050fea30e11b772d6a60833ffcf6c000778461

7 years agoDO NOT MERGE codecs: handle onReset() for a few encoders am: dd447c354e am: afaa43850...
Wonsik Kim [Thu, 16 Feb 2017 01:38:20 +0000 (01:38 +0000)]
DO NOT MERGE codecs: handle onReset() for a few encoders am: dd447c354e am: afaa438503 am: daaabdcaac  -s ours
am: da9246fa5e  -s ours

Change-Id: I72b4c927264c5c796b7d52dfe961a5ed15a03fdb

7 years agocodecs: handle onReset() for a few encoders am: 5443b57cc5 am: 89f501d046 am: 4f428b7c02
Wonsik Kim [Thu, 16 Feb 2017 01:37:50 +0000 (01:37 +0000)]
codecs: handle onReset() for a few encoders am: 5443b57cc5 am: 89f501d046 am: 4f428b7c02
am: a5e72ec799

Change-Id: I3c4fc719cae8632fb7223db29ea035ed1a80616a

7 years agoDO NOT MERGE codecs: handle onReset() for a few encoders am: dd447c354e am: afaa438503
Wonsik Kim [Thu, 16 Feb 2017 01:34:50 +0000 (01:34 +0000)]
DO NOT MERGE codecs: handle onReset() for a few encoders am: dd447c354e am: afaa438503
am: daaabdcaac  -s ours

Change-Id: I20ff9fb7d3d5f3be5e9c21d0335ed15844a5dd15

7 years agocodecs: handle onReset() for a few encoders am: 5443b57cc5 am: 89f501d046
Wonsik Kim [Thu, 16 Feb 2017 01:34:50 +0000 (01:34 +0000)]
codecs: handle onReset() for a few encoders am: 5443b57cc5 am: 89f501d046
am: 4f428b7c02

Change-Id: Ia3e7fe8b1f39448f865508da3d5836b3159273cb

7 years agoDO NOT MERGE codecs: handle onReset() for a few encoders am: dd447c354e
Wonsik Kim [Thu, 16 Feb 2017 01:31:19 +0000 (01:31 +0000)]
DO NOT MERGE codecs: handle onReset() for a few encoders am: dd447c354e
am: afaa438503

Change-Id: Ife5d8803e38a6d62f820929c6eb83b93f8ec64c1

7 years agocodecs: handle onReset() for a few encoders am: 5443b57cc5
Wonsik Kim [Thu, 16 Feb 2017 01:31:19 +0000 (01:31 +0000)]
codecs: handle onReset() for a few encoders am: 5443b57cc5
am: 89f501d046

Change-Id: I81e3dbdd87d61a9d624d576458b4adcb8cf13fc1

7 years agoDO NOT MERGE codecs: handle onReset() for a few encoders
Wonsik Kim [Thu, 16 Feb 2017 01:28:51 +0000 (01:28 +0000)]
DO NOT MERGE codecs: handle onReset() for a few encoders
am: dd447c354e

Change-Id: I0f2bde22c3e3b19d364ffce46f2e7c67f4016d75

7 years agocodecs: handle onReset() for a few encoders
Wonsik Kim [Thu, 16 Feb 2017 01:28:50 +0000 (01:28 +0000)]
codecs: handle onReset() for a few encoders
am: 5443b57cc5

Change-Id: Ifd851c8840abc615eecf0da1f6b32f30cfb4e0b2

7 years agocodecs: handle onReset() for a few encoders
Wonsik Kim [Fri, 10 Feb 2017 05:29:40 +0000 (14:29 +0900)]
codecs: handle onReset() for a few encoders

Test: Run PoC binaries
Bug: 34749392
Bug: 34705519
Change-Id: I3356eb615b0e79272d71d72578d363671038c6dd

7 years agoDO NOT MERGE codecs: handle onReset() for a few encoders
Wonsik Kim [Fri, 10 Feb 2017 05:29:40 +0000 (14:29 +0900)]
DO NOT MERGE codecs: handle onReset() for a few encoders

Test: Run PoC binaries
Bug: 34749392
Bug: 34705519
Change-Id: I3356eb615b0e79272d71d72578d363671038c6dd

7 years agoDO NOT MERGE AudioFlinger: Check framecount overflow when creating track
Andy Hung [Tue, 14 Feb 2017 02:48:39 +0000 (18:48 -0800)]
DO NOT MERGE AudioFlinger: Check framecount overflow when creating track

Test: Native POC
Bug: 34749571
Change-Id: I7529658e52ac7e64d162eb5338f10fb25eaa8fe7

7 years agoAudioFlinger: Check framecount overflow when creating track
Andy Hung [Tue, 14 Feb 2017 02:48:39 +0000 (18:48 -0800)]
AudioFlinger: Check framecount overflow when creating track

Test: Native POC
Bug: 34749571
Change-Id: I7529658e52ac7e64d162eb5338f10fb25eaa8fe7
(cherry picked from commit 1883f69de5f2c4e71df58d5b71d7c39f9779b50c)

7 years agoEffectBundle: check nb channels to write speaker angles am: e5a54485e0 am: b0896dfc81...
Jean-Michel Trivi [Tue, 14 Feb 2017 21:07:02 +0000 (21:07 +0000)]
EffectBundle: check nb channels to write speaker angles am: e5a54485e0 am: b0896dfc81 am: b9e070af6a am: e5c0e7e10b am: 3ffe48ed29 am: 3db88c0f00
am: 9169ca1b88

Change-Id: I444281056ba5770276b76900055c6e27daaeba63

7 years agoEffectBundle: check nb channels to write speaker angles am: e5a54485e0 am: b0896dfc81...
Jean-Michel Trivi [Tue, 14 Feb 2017 21:04:05 +0000 (21:04 +0000)]
EffectBundle: check nb channels to write speaker angles am: e5a54485e0 am: b0896dfc81 am: b9e070af6a am: e5c0e7e10b am: 3ffe48ed29
am: 3db88c0f00

Change-Id: Iea1d0fd06e77bd7daafc85704206cb36fd2274e2

7 years agoEffectBundle: check nb channels to write speaker angles am: e5a54485e0 am: b0896dfc81...
Jean-Michel Trivi [Tue, 14 Feb 2017 21:01:34 +0000 (21:01 +0000)]
EffectBundle: check nb channels to write speaker angles am: e5a54485e0 am: b0896dfc81 am: b9e070af6a am: e5c0e7e10b
am: 3ffe48ed29

Change-Id: I8a948de8ac007e44edff58df707dc56cd483d4f3

7 years agoEffectBundle: check nb channels to write speaker angles am: e5a54485e0 am: b0896dfc81...
Jean-Michel Trivi [Tue, 14 Feb 2017 20:59:05 +0000 (20:59 +0000)]
EffectBundle: check nb channels to write speaker angles am: e5a54485e0 am: b0896dfc81 am: b9e070af6a
am: e5c0e7e10b

Change-Id: I8958232051fe10132f9cb44acb1c97685b169c09

7 years agoEffectBundle: check nb channels to write speaker angles am: e5a54485e0 am: b0896dfc81
Jean-Michel Trivi [Tue, 14 Feb 2017 20:56:27 +0000 (20:56 +0000)]
EffectBundle: check nb channels to write speaker angles am: e5a54485e0 am: b0896dfc81
am: b9e070af6a

Change-Id: I1676f829b5571abad93c9f4ce156811a55787024

7 years agoEffectBundle: check nb channels to write speaker angles am: e5a54485e0
Jean-Michel Trivi [Tue, 14 Feb 2017 20:53:56 +0000 (20:53 +0000)]
EffectBundle: check nb channels to write speaker angles am: e5a54485e0
am: b0896dfc81

Change-Id: I1996ca7d273dcf04729c8cc6ed7898899240b3c2

7 years agoEffectBundle: check nb channels to write speaker angles
Jean-Michel Trivi [Tue, 14 Feb 2017 20:51:25 +0000 (20:51 +0000)]
EffectBundle: check nb channels to write speaker angles
am: e5a54485e0

Change-Id: I131f8d196034854f562a175874bce19b29904664

7 years agoEffectBundle: check nb channels to write speaker angles
Jean-Michel Trivi [Tue, 14 Feb 2017 00:31:20 +0000 (16:31 -0800)]
EffectBundle: check nb channels to write speaker angles

When speaker angles are queried, the size of the array for the
  returned data is 3x the number of channels (where really it
  should be max(2, nbChannels)). The code assumed it was at
  least 3x2 (where 2 is the number of virtual speakers this
  effect supports) and would thus crash when called for a mono
  channel mask.

Test: see repro steps in bug
Bug: 32591350
Change-Id: I33d4bff6b2e19a9fc4284a85a446804878d3a410

7 years agoMerge "Fix overflow check and check read result" into klp-dev am: b6aa3901ce am:...
Marco Nelissen [Mon, 13 Feb 2017 23:18:54 +0000 (23:18 +0000)]
Merge "Fix overflow check and check read result" into klp-dev am: b6aa3901ce am: e541fa1764 am: 7f3980c0ca am: ea2023406b am: 3fc94bc146 am: 497f2ccce4 am: 917033735e am: 3b122332a1 am: 89cbb8482b
am: 3ce7b4ddca

Change-Id: I3d6ab417df4d0b58ebb8a0df4e5344d2cdf2d2c0

7 years agoresolve merge conflicts of 79cf158c51 to mnc-dev am: 50358a80b1 am: 86d5e962ce am...
Marco Nelissen [Mon, 13 Feb 2017 23:18:38 +0000 (23:18 +0000)]
resolve merge conflicts of 79cf158c51 to mnc-dev am: 50358a80b1 am: 86d5e962ce am: 24058e96b3
am: c9d4267bf0

Change-Id: I3c49d0414ac2d6db50dab923b9350daae96cdd1d

7 years agoMerge "Fix overflow check and check read result" into klp-dev am: b6aa3901ce am:...
Marco Nelissen [Mon, 13 Feb 2017 23:16:26 +0000 (23:16 +0000)]
Merge "Fix overflow check and check read result" into klp-dev am: b6aa3901ce am: e541fa1764 am: 7f3980c0ca am: ea2023406b am: 3fc94bc146 am: 497f2ccce4 am: 917033735e am: 3b122332a1
am: 89cbb8482b

Change-Id: Ice33011bc5fcd9bcdc87fbf1fab3c25cb65decb4

7 years agoresolve merge conflicts of 79cf158c51 to mnc-dev am: 50358a80b1 am: 86d5e962ce
Marco Nelissen [Mon, 13 Feb 2017 23:16:09 +0000 (23:16 +0000)]
resolve merge conflicts of 79cf158c51 to mnc-dev am: 50358a80b1 am: 86d5e962ce
am: 24058e96b3

Change-Id: Idb55e28f9cc23699d145f145c92e1c9c2e290d86

7 years agoMerge "Fix overflow check and check read result" into klp-dev am: b6aa3901ce am:...
Marco Nelissen [Mon, 13 Feb 2017 23:13:53 +0000 (23:13 +0000)]
Merge "Fix overflow check and check read result" into klp-dev am: b6aa3901ce am: e541fa1764 am: 7f3980c0ca am: ea2023406b am: 3fc94bc146 am: 497f2ccce4 am: 917033735e
am: 3b122332a1

Change-Id: I4d44954a3453c2a21e5b67aeea32d41fede01ba9

7 years agoresolve merge conflicts of 79cf158c51 to mnc-dev am: 50358a80b1
Marco Nelissen [Mon, 13 Feb 2017 23:13:36 +0000 (23:13 +0000)]
resolve merge conflicts of 79cf158c51 to mnc-dev am: 50358a80b1
am: 86d5e962ce

Change-Id: I59f1dc2a12d44018e3e8b74bcc6d9c775f896381

7 years agoMerge "Fix overflow check and check read result" into klp-dev am: b6aa3901ce am:...
Marco Nelissen [Mon, 13 Feb 2017 23:11:22 +0000 (23:11 +0000)]
Merge "Fix overflow check and check read result" into klp-dev am: b6aa3901ce am: e541fa1764 am: 7f3980c0ca am: ea2023406b am: 3fc94bc146 am: 497f2ccce4
am: 917033735e

Change-Id: Iacd7eff2b865515af5e29cc7fb5fb517f213aabc

7 years agoresolve merge conflicts of 79cf158c51 to mnc-dev
Marco Nelissen [Mon, 13 Feb 2017 23:11:07 +0000 (23:11 +0000)]
resolve merge conflicts of 79cf158c51 to mnc-dev
am: 50358a80b1

Change-Id: I9f0220c41cf629652329ed624469f6442186eca3

7 years agoMerge "Fix overflow check and check read result" into klp-dev am: b6aa3901ce am:...
Marco Nelissen [Mon, 13 Feb 2017 23:08:44 +0000 (23:08 +0000)]
Merge "Fix overflow check and check read result" into klp-dev am: b6aa3901ce am: e541fa1764 am: 7f3980c0ca am: ea2023406b am: 3fc94bc146
am: 497f2ccce4

Change-Id: I2df07a6aa02a7c56a47c777e0eacbc6d560055de

7 years agoresolve merge conflicts of 79cf158c51 to mnc-dev
Marco Nelissen [Mon, 13 Feb 2017 22:19:40 +0000 (14:19 -0800)]
resolve merge conflicts of 79cf158c51 to mnc-dev

Change-Id: Ied32e83215e386c801c02991a0b2fa4baa25b643

7 years agoMerge "Fix overflow check and check read result" into klp-dev am: b6aa3901ce am:...
Marco Nelissen [Mon, 13 Feb 2017 21:51:48 +0000 (21:51 +0000)]
Merge "Fix overflow check and check read result" into klp-dev am: b6aa3901ce am: e541fa1764 am: 7f3980c0ca am: ea2023406b
am: 3fc94bc146

Change-Id: Ic4fd03ad338902c15048dd32e8a2f27d162d6255

7 years agoMerge "stagefright: parseApp check data boundary conditions" into klp-dev am: 65433ff...
Marco Nelissen [Mon, 13 Feb 2017 21:51:31 +0000 (21:51 +0000)]
Merge "stagefright: parseApp check data boundary conditions" into klp-dev am: 65433ff04d am: 86bd734f58 am: 7902138f2e am: a23c9a47ab
am: f8a2e81bc4

Change-Id: I64518f5a3860f66d3e232589f8c9ef643e572053

7 years agoMerge "Fix overflow check and check read result" into klp-dev am: b6aa3901ce am:...
Marco Nelissen [Mon, 13 Feb 2017 21:49:17 +0000 (21:49 +0000)]
Merge "Fix overflow check and check read result" into klp-dev am: b6aa3901ce am: e541fa1764 am: 7f3980c0ca
am: ea2023406b

Change-Id: I68fa183d94f46f7578f8b0718da9a3efd9b4946c

7 years agoMerge "stagefright: parseApp check data boundary conditions" into klp-dev am: 65433ff...
Marco Nelissen [Mon, 13 Feb 2017 21:49:03 +0000 (21:49 +0000)]
Merge "stagefright: parseApp check data boundary conditions" into klp-dev am: 65433ff04d am: 86bd734f58 am: 7902138f2e
am: a23c9a47ab

Change-Id: I4cfef0f49e467337c36b9283d2959ddd68e41bd3

7 years agoMerge "Fix overflow check and check read result" into klp-dev am: b6aa3901ce am:...
Marco Nelissen [Mon, 13 Feb 2017 21:46:48 +0000 (21:46 +0000)]
Merge "Fix overflow check and check read result" into klp-dev am: b6aa3901ce am: e541fa1764
am: 7f3980c0ca

Change-Id: Iaa2a11e1924fdcfe83ca8c8e9a7925850ceb53be

7 years agoMerge "stagefright: parseApp check data boundary conditions" into klp-dev am: 65433ff...
Marco Nelissen [Mon, 13 Feb 2017 21:46:33 +0000 (21:46 +0000)]
Merge "stagefright: parseApp check data boundary conditions" into klp-dev am: 65433ff04d am: 86bd734f58
am: 7902138f2e

Change-Id: I2d9be870193a986d9cd21d7527c4069cd1f184ed

7 years agoMerge "Fix overflow check and check read result" into klp-dev am: b6aa3901ce
Marco Nelissen [Mon, 13 Feb 2017 21:43:48 +0000 (21:43 +0000)]
Merge "Fix overflow check and check read result" into klp-dev am: b6aa3901ce
am: e541fa1764

Change-Id: Ia2962471693b1c4302d4535a0f95dd8d914c3cb8

7 years agoMerge "stagefright: parseApp check data boundary conditions" into klp-dev am: 65433ff04d
Marco Nelissen [Mon, 13 Feb 2017 21:43:31 +0000 (21:43 +0000)]
Merge "stagefright: parseApp check data boundary conditions" into klp-dev am: 65433ff04d
am: 86bd734f58

Change-Id: I3729ea0064642ac10292561d450565ee735af369

7 years agoMerge "Fix overflow check and check read result" into klp-dev
Marco Nelissen [Mon, 13 Feb 2017 21:41:14 +0000 (21:41 +0000)]
Merge "Fix overflow check and check read result" into klp-dev
am: b6aa3901ce

Change-Id: I80ef33d8f0593fa723077e91a5ca406f27b0b746

7 years agoMerge "stagefright: parseApp check data boundary conditions" into klp-dev
Marco Nelissen [Mon, 13 Feb 2017 21:40:59 +0000 (21:40 +0000)]
Merge "stagefright: parseApp check data boundary conditions" into klp-dev
am: 65433ff04d

Change-Id: I6be526b6ed9df22c9699445efaa4f0ed2ae266b4

7 years agoMerge "Fix overflow check and check read result" into klp-dev
Marco Nelissen [Mon, 13 Feb 2017 21:36:48 +0000 (21:36 +0000)]
Merge "Fix overflow check and check read result" into klp-dev

7 years agoMerge "stagefright: parseApp check data boundary conditions" into klp-dev
Marco Nelissen [Mon, 13 Feb 2017 21:35:18 +0000 (21:35 +0000)]
Merge "stagefright: parseApp check data boundary conditions" into klp-dev

7 years agoFix overflow check and check read result
Marco Nelissen [Mon, 6 Feb 2017 22:12:30 +0000 (14:12 -0800)]
Fix overflow check and check read result

Bug: 33861560
Test: build
Change-Id: Ia85519766e19a6e37237166f309750b3e8323c4e

7 years agoMerge "Turn off overflow protection for various math functions" into nyc-dev
Marco Nelissen [Fri, 3 Feb 2017 23:40:14 +0000 (23:40 +0000)]
Merge "Turn off overflow protection for various math functions" into nyc-dev

7 years agoMerge "CameraBase: Don't return an sp<> by reference" into klp-dev am: fdf64bab96...
Eino-Ville Talvala [Fri, 3 Feb 2017 00:53:14 +0000 (00:53 +0000)]
Merge "CameraBase: Don't return an sp<> by reference" into klp-dev am: fdf64bab96 am: 4fca12e56f am: f0009384d8 am: 7a14d95270 am: 888f5bab6d am: a6b1816e16 am: 06f46cabd0 am: 31670090bf am: e1b8152064
am: dd062f9882

Change-Id: Ie56eca7f1f5a678c9065a4f3de6a869df2900d39

7 years agoCameraBase: Don't return an sp<> by reference am: 4b49489c12 am: 8c32699ceb am: 8806c...
Eino-Ville Talvala [Fri, 3 Feb 2017 00:53:07 +0000 (00:53 +0000)]
CameraBase: Don't return an sp<> by reference am: 4b49489c12 am: 8c32699ceb am: 8806c2a11d am: 99c4dd2fe8 am: dd82ab2377 am: 1dd068cd45 am: edf9d2f4d1 am: 6ddd08e3a9 am: 0dcc9bb368
am: b739918940  -s ours

Change-Id: I292f09d3408865d8eb1595a2cd0fd4d5d9cac7cd

7 years agoMerge "CameraBase: Don't return an sp<> by reference" into klp-dev am: fdf64bab96...
Eino-Ville Talvala [Fri, 3 Feb 2017 00:08:41 +0000 (00:08 +0000)]
Merge "CameraBase: Don't return an sp<> by reference" into klp-dev am: fdf64bab96 am: 4fca12e56f am: f0009384d8 am: 7a14d95270 am: 888f5bab6d am: a6b1816e16 am: 06f46cabd0 am: 31670090bf
am: e1b8152064

Change-Id: Iaf13b317fe79e26a84050913a4bfe9bbcbe07a8b

7 years agoCameraBase: Don't return an sp<> by reference am: 4b49489c12 am: 8c32699ceb am: 8806c...
Eino-Ville Talvala [Fri, 3 Feb 2017 00:08:33 +0000 (00:08 +0000)]
CameraBase: Don't return an sp<> by reference am: 4b49489c12 am: 8c32699ceb am: 8806c2a11d am: 99c4dd2fe8 am: dd82ab2377 am: 1dd068cd45 am: edf9d2f4d1 am: 6ddd08e3a9
am: 0dcc9bb368

Change-Id: I05eeb35f91513b4b9b9d0d696a1ed9b110eb2aef

7 years agoMerge "CameraBase: Don't return an sp<> by reference" into klp-dev am: fdf64bab96...
Eino-Ville Talvala [Fri, 3 Feb 2017 00:06:38 +0000 (00:06 +0000)]
Merge "CameraBase: Don't return an sp<> by reference" into klp-dev am: fdf64bab96 am: 4fca12e56f am: f0009384d8 am: 7a14d95270 am: 888f5bab6d am: a6b1816e16 am: 06f46cabd0
am: 31670090bf

Change-Id: I623d276cad5ce38f1ce3cd98d38f74683b2d5924

7 years agoCameraBase: Don't return an sp<> by reference am: 4b49489c12 am: 8c32699ceb am: 8806c...
Eino-Ville Talvala [Fri, 3 Feb 2017 00:06:32 +0000 (00:06 +0000)]
CameraBase: Don't return an sp<> by reference am: 4b49489c12 am: 8c32699ceb am: 8806c2a11d am: 99c4dd2fe8 am: dd82ab2377 am: 1dd068cd45 am: edf9d2f4d1
am: 6ddd08e3a9

Change-Id: Id948f785f4f68a043747c9df5f15ebf253985ad1

7 years agoMerge "CameraBase: Don't return an sp<> by reference" into klp-dev am: fdf64bab96...
Eino-Ville Talvala [Fri, 3 Feb 2017 00:04:08 +0000 (00:04 +0000)]
Merge "CameraBase: Don't return an sp<> by reference" into klp-dev am: fdf64bab96 am: 4fca12e56f am: f0009384d8 am: 7a14d95270 am: 888f5bab6d am: a6b1816e16
am: 06f46cabd0

Change-Id: I3f3c8855b33b89d055aa901e830b2a2419891884

7 years agoCameraBase: Don't return an sp<> by reference am: 4b49489c12 am: 8c32699ceb am: 8806c...
Eino-Ville Talvala [Fri, 3 Feb 2017 00:04:02 +0000 (00:04 +0000)]
CameraBase: Don't return an sp<> by reference am: 4b49489c12 am: 8c32699ceb am: 8806c2a11d am: 99c4dd2fe8 am: dd82ab2377 am: 1dd068cd45
am: edf9d2f4d1

Change-Id: Iae1d54c6444695074f722fce21e958ed687ef9c7

7 years agoMerge "CameraBase: Don't return an sp<> by reference" into klp-dev am: fdf64bab96...
Eino-Ville Talvala [Fri, 3 Feb 2017 00:00:06 +0000 (00:00 +0000)]
Merge "CameraBase: Don't return an sp<> by reference" into klp-dev am: fdf64bab96 am: 4fca12e56f am: f0009384d8 am: 7a14d95270 am: 888f5bab6d
am: a6b1816e16

Change-Id: I4a4a4f1d70012375d5772e97dd23301231734f6b

7 years agoCameraBase: Don't return an sp<> by reference am: 4b49489c12 am: 8c32699ceb am: 8806c...
Eino-Ville Talvala [Fri, 3 Feb 2017 00:00:02 +0000 (00:00 +0000)]
CameraBase: Don't return an sp<> by reference am: 4b49489c12 am: 8c32699ceb am: 8806c2a11d am: 99c4dd2fe8 am: dd82ab2377
am: 1dd068cd45

Change-Id: Ie5afd6dc9b89c0dc22a2cef6e0ca6a9921921538

7 years agoMerge "CameraBase: Don't return an sp<> by reference" into klp-dev am: fdf64bab96...
Eino-Ville Talvala [Thu, 2 Feb 2017 23:57:05 +0000 (23:57 +0000)]
Merge "CameraBase: Don't return an sp<> by reference" into klp-dev am: fdf64bab96 am: 4fca12e56f am: f0009384d8 am: 7a14d95270
am: 888f5bab6d

Change-Id: I6e99058d1122fad6a723662ad98d9e33c060e34c

7 years agoCameraBase: Don't return an sp<> by reference am: 4b49489c12 am: 8c32699ceb am: 8806c...
Eino-Ville Talvala [Thu, 2 Feb 2017 23:57:01 +0000 (23:57 +0000)]
CameraBase: Don't return an sp<> by reference am: 4b49489c12 am: 8c32699ceb am: 8806c2a11d am: 99c4dd2fe8
am: dd82ab2377

Change-Id: I068a2fbc0e5bf20adb92ac4e95817899a3d53298

7 years agoMerge "CameraBase: Don't return an sp<> by reference" into klp-dev am: fdf64bab96...
Eino-Ville Talvala [Thu, 2 Feb 2017 23:54:35 +0000 (23:54 +0000)]
Merge "CameraBase: Don't return an sp<> by reference" into klp-dev am: fdf64bab96 am: 4fca12e56f am: f0009384d8
am: 7a14d95270

Change-Id: I42cf5ca9442728273ff2d90095b6d1520c75762a

7 years agoCameraBase: Don't return an sp<> by reference am: 4b49489c12 am: 8c32699ceb am: 8806c...
Eino-Ville Talvala [Thu, 2 Feb 2017 23:54:31 +0000 (23:54 +0000)]
CameraBase: Don't return an sp<> by reference am: 4b49489c12 am: 8c32699ceb am: 8806c2a11d
am: 99c4dd2fe8

Change-Id: I7fd189d89b4a0ddb91a7f21485d97dabee9b784e

7 years agoMerge "CameraBase: Don't return an sp<> by reference" into klp-dev am: fdf64bab96...
Eino-Ville Talvala [Thu, 2 Feb 2017 23:52:04 +0000 (23:52 +0000)]
Merge "CameraBase: Don't return an sp<> by reference" into klp-dev am: fdf64bab96 am: 4fca12e56f
am: f0009384d8

Change-Id: I8efab658bd67af7eb85ac8cd6dc7d6d9fa61ef21

7 years agoCameraBase: Don't return an sp<> by reference am: 4b49489c12 am: 8c32699ceb
Eino-Ville Talvala [Thu, 2 Feb 2017 23:52:01 +0000 (23:52 +0000)]
CameraBase: Don't return an sp<> by reference am: 4b49489c12 am: 8c32699ceb
am: 8806c2a11d

Change-Id: I61be9ab0dbd9acde84811cd437304267b9544099

7 years agoMerge "CameraBase: Don't return an sp<> by reference" into klp-dev am: fdf64bab96
Eino-Ville Talvala [Thu, 2 Feb 2017 23:49:04 +0000 (23:49 +0000)]
Merge "CameraBase: Don't return an sp<> by reference" into klp-dev am: fdf64bab96
am: 4fca12e56f

Change-Id: I082c1ec76a3b05de211d169ee07a7a1f544081dc

7 years agoCameraBase: Don't return an sp<> by reference am: 4b49489c12
Eino-Ville Talvala [Thu, 2 Feb 2017 23:49:01 +0000 (23:49 +0000)]
CameraBase: Don't return an sp<> by reference am: 4b49489c12
am: 8c32699ceb

Change-Id: I6fac31b3eaa435a665643343c2a6d8a6959be107

7 years agoMerge "CameraBase: Don't return an sp<> by reference" into klp-dev
Eino-Ville Talvala [Thu, 2 Feb 2017 23:47:02 +0000 (23:47 +0000)]
Merge "CameraBase: Don't return an sp<> by reference" into klp-dev
am: fdf64bab96

Change-Id: Ied7016c8cfaaa0d7ed714f753b8827cf0179cb1a

7 years agoCameraBase: Don't return an sp<> by reference
Eino-Ville Talvala [Thu, 2 Feb 2017 23:47:01 +0000 (23:47 +0000)]
CameraBase: Don't return an sp<> by reference
am: 4b49489c12

Change-Id: I4befb08a206d22e71a6ab2bfd44fb90ddbd62915

7 years agoMerge "CameraBase: Don't return an sp<> by reference" into klp-dev
Eino-Ville Talvala [Thu, 2 Feb 2017 23:42:07 +0000 (23:42 +0000)]
Merge "CameraBase: Don't return an sp<> by reference" into klp-dev

7 years agoMerge "CameraBase: Don't return an sp<> by reference" into nyc-dev
Eino-Ville Talvala [Thu, 2 Feb 2017 23:42:07 +0000 (23:42 +0000)]
Merge "CameraBase: Don't return an sp<> by reference" into nyc-dev

7 years agoTurn off overflow protection for various math functions
Marco Nelissen [Wed, 1 Feb 2017 23:35:35 +0000 (15:35 -0800)]
Turn off overflow protection for various math functions

These functions also exist as arm assembly files, where the overflows
just wrap around, and this makes their plain C equivalents behave
the same.

Bug: 32577290
Bug: 33071964
Test: ran PoC for bug 32577290 using plain C source code
Change-Id: I73c2609589e7a89d36f6c44391548312259daf14
(cherry picked from commit cbf5e6915c42c691a6ccb9a5d249e450f9e67467)

7 years agoRevert "Turn off overflow protection for various math functions" am: 2dd1d5e02e am...
Marco Nelissen [Thu, 2 Feb 2017 21:46:21 +0000 (21:46 +0000)]
Revert "Turn off overflow protection for various math functions" am: 2dd1d5e02e am: aa5498018f am: ce9cab33b7 am: 4c1ad41c8b am: bd91a6540d am: 08ccbcc16f am: 9070697124 am: 9986938f08 am: 245b572340
am: d0bc460432

Change-Id: I28693f257be18393f0d5711f33ca0eb9260cd361

7 years agoRevert "Turn off overflow protection for various math functions" am: 2dd1d5e02e am...
Marco Nelissen [Thu, 2 Feb 2017 21:44:21 +0000 (21:44 +0000)]
Revert "Turn off overflow protection for various math functions" am: 2dd1d5e02e am: aa5498018f am: ce9cab33b7 am: 4c1ad41c8b am: bd91a6540d am: 08ccbcc16f am: 9070697124 am: 9986938f08
am: 245b572340

Change-Id: I4a6bc9c420277062d46d57e734c77f67ae861ac4

7 years agoRevert "Turn off overflow protection for various math functions" am: 2dd1d5e02e am...
Marco Nelissen [Thu, 2 Feb 2017 21:41:52 +0000 (21:41 +0000)]
Revert "Turn off overflow protection for various math functions" am: 2dd1d5e02e am: aa5498018f am: ce9cab33b7 am: 4c1ad41c8b am: bd91a6540d am: 08ccbcc16f am: 9070697124
am: 9986938f08

Change-Id: I9d46125d775350691fd30b79fc3672212ab463d3

7 years agoRevert "Turn off overflow protection for various math functions" am: 2dd1d5e02e am...
Marco Nelissen [Thu, 2 Feb 2017 21:38:51 +0000 (21:38 +0000)]
Revert "Turn off overflow protection for various math functions" am: 2dd1d5e02e am: aa5498018f am: ce9cab33b7 am: 4c1ad41c8b am: bd91a6540d am: 08ccbcc16f
am: 9070697124

Change-Id: Icc7f1e5688d39f1ed4d4ea3bafa1474ec55090aa

7 years agoRevert "Turn off overflow protection for various math functions" am: 2dd1d5e02e am...
Marco Nelissen [Thu, 2 Feb 2017 21:36:23 +0000 (21:36 +0000)]
Revert "Turn off overflow protection for various math functions" am: 2dd1d5e02e am: aa5498018f am: ce9cab33b7 am: 4c1ad41c8b am: bd91a6540d
am: 08ccbcc16f

Change-Id: I7e920284bf69cc450d36f813e7e001ae30f656ee