OSDN Git Service

android-x86/frameworks-av.git
7 years agoMerge "Fix potential overflow in Visualizer effect" into klp-dev am: b602286952 am...
Ricardo Garcia [Tue, 20 Sep 2016 02:31:01 +0000 (02:31 +0000)]
Merge "Fix potential overflow in Visualizer effect" into klp-dev am: b602286952 am: f59ab362c5 am: d7822b3313 am: 9a5ec6b4c3 am: d959eb23c5 am: 5df594ca92
am: b2c00418d3

Change-Id: I4013cd1ddfabe63e01508ff16777b7abf68f6454

7 years agoFix potential overflow in Visualizer effect am: 46dc714d52 am: 8720f85196 am: bad0250...
rago [Tue, 20 Sep 2016 02:30:51 +0000 (02:30 +0000)]
Fix potential overflow in Visualizer effect am: 46dc714d52 am: 8720f85196 am: bad0250dcb am: 2feb9ce748 am: fba2bd1372 am: dddfa37ec9
am: de6acc18bb

Change-Id: I2f722a5271282192b08764a42f28d301be1e1835

7 years agoIOMX: do not clear buffer if it's allocated by component am: ea76573aa2 am: 86d9bb914...
Chong Zhang [Tue, 20 Sep 2016 02:30:29 +0000 (02:30 +0000)]
IOMX: do not clear buffer if it's allocated by component am: ea76573aa2 am: 86d9bb9141 am: dfe5b5193c am: b308b1a5d9 am: 87415a74ee am: 130eb563b8
am: 106a9050b9

Change-Id: Id244e1a1872462d64da300c0c461ee939a8f1f76

7 years agoMerge "Fix potential overflow in Visualizer effect" into klp-dev am: b602286952 am...
Ricardo Garcia [Tue, 20 Sep 2016 01:47:04 +0000 (01:47 +0000)]
Merge "Fix potential overflow in Visualizer effect" into klp-dev am: b602286952 am: f59ab362c5 am: d7822b3313 am: 9a5ec6b4c3 am: d959eb23c5
am: 5df594ca92

Change-Id: I25968f125f5fe1a801f23152d04d6d51ef5a322a

7 years agoFix potential overflow in Visualizer effect am: 46dc714d52 am: 8720f85196 am: bad0250...
rago [Tue, 20 Sep 2016 01:46:42 +0000 (01:46 +0000)]
Fix potential overflow in Visualizer effect am: 46dc714d52 am: 8720f85196 am: bad0250dcb am: 2feb9ce748 am: fba2bd1372
am: dddfa37ec9

Change-Id: If9c3e7f463b3d053d939f0ca9377dd99dcb5aa4b

7 years agoIOMX: do not clear buffer if it's allocated by component am: ea76573aa2 am: 86d9bb914...
Chong Zhang [Tue, 20 Sep 2016 01:46:17 +0000 (01:46 +0000)]
IOMX: do not clear buffer if it's allocated by component am: ea76573aa2 am: 86d9bb9141 am: dfe5b5193c am: b308b1a5d9 am: 87415a74ee
am: 130eb563b8

Change-Id: I8a6ee92a0077102d93f6c9e82b5f439f99e4749c

7 years agoMerge "Fix potential overflow in Visualizer effect" into klp-dev am: b602286952 am...
Ricardo Garcia [Tue, 20 Sep 2016 01:27:53 +0000 (01:27 +0000)]
Merge "Fix potential overflow in Visualizer effect" into klp-dev am: b602286952 am: f59ab362c5 am: d7822b3313 am: 9a5ec6b4c3
am: d959eb23c5

Change-Id: I9607061992408699810ee2e3da764b249fee5cf1

7 years agoFix potential overflow in Visualizer effect am: 46dc714d52 am: 8720f85196 am: bad0250...
rago [Tue, 20 Sep 2016 01:27:39 +0000 (01:27 +0000)]
Fix potential overflow in Visualizer effect am: 46dc714d52 am: 8720f85196 am: bad0250dcb am: 2feb9ce748
am: fba2bd1372

Change-Id: Ic9b0c82b5fa96866efe440d28ba5226c12fa6af1

7 years agoIOMX: do not clear buffer if it's allocated by component am: ea76573aa2 am: 86d9bb914...
Chong Zhang [Tue, 20 Sep 2016 01:27:13 +0000 (01:27 +0000)]
IOMX: do not clear buffer if it's allocated by component am: ea76573aa2 am: 86d9bb9141 am: dfe5b5193c am: b308b1a5d9
am: 87415a74ee

Change-Id: If59c75fcee406abe3a2afb1c3e601f7f4b5f8970

7 years agoMerge "Fix potential overflow in Visualizer effect" into klp-dev am: b602286952 am...
Ricardo Garcia [Tue, 20 Sep 2016 00:57:01 +0000 (00:57 +0000)]
Merge "Fix potential overflow in Visualizer effect" into klp-dev am: b602286952 am: f59ab362c5 am: d7822b3313
am: 9a5ec6b4c3

Change-Id: I9567b9e3dbd3107cb64ae96681fec0ebb775190f

7 years agoFix potential overflow in Visualizer effect am: 46dc714d52 am: 8720f85196 am: bad0250dcb
rago [Tue, 20 Sep 2016 00:56:50 +0000 (00:56 +0000)]
Fix potential overflow in Visualizer effect am: 46dc714d52 am: 8720f85196 am: bad0250dcb
am: 2feb9ce748

Change-Id: I6a251c81d4337113a863a5364c39006678cca066

7 years agoIOMX: do not clear buffer if it's allocated by component am: ea76573aa2 am: 86d9bb914...
Chong Zhang [Tue, 20 Sep 2016 00:56:26 +0000 (00:56 +0000)]
IOMX: do not clear buffer if it's allocated by component am: ea76573aa2 am: 86d9bb9141 am: dfe5b5193c
am: b308b1a5d9

Change-Id: I502080e16a7543aac4b6720283f27b365bac8d52

7 years agoMerge "Fix potential overflow in Visualizer effect" into klp-dev am: b602286952 am...
Ricardo Garcia [Tue, 20 Sep 2016 00:46:09 +0000 (00:46 +0000)]
Merge "Fix potential overflow in Visualizer effect" into klp-dev am: b602286952 am: f59ab362c5
am: d7822b3313

Change-Id: Iec66f66b4239b395253d757d57725ecd20320c13

7 years agoFix potential overflow in Visualizer effect am: 46dc714d52 am: 8720f85196
rago [Tue, 20 Sep 2016 00:46:03 +0000 (00:46 +0000)]
Fix potential overflow in Visualizer effect am: 46dc714d52 am: 8720f85196
am: bad0250dcb

Change-Id: I23660e1da14f232ff786f9ab78da3e26f301c1b2

7 years agoIOMX: do not clear buffer if it's allocated by component am: ea76573aa2 am: 86d9bb9141
Chong Zhang [Tue, 20 Sep 2016 00:45:37 +0000 (00:45 +0000)]
IOMX: do not clear buffer if it's allocated by component am: ea76573aa2 am: 86d9bb9141
am: dfe5b5193c

Change-Id: Ibd28b74deb652eb61b08e933a5e288d145841a14

7 years agoMerge "Fix potential overflow in Visualizer effect" into klp-dev am: b602286952
Ricardo Garcia [Tue, 20 Sep 2016 00:39:45 +0000 (00:39 +0000)]
Merge "Fix potential overflow in Visualizer effect" into klp-dev am: b602286952
am: f59ab362c5

Change-Id: I9b65bbed0946bb25b25772f24256dbe1f8fe022c

7 years agoFix potential overflow in Visualizer effect am: 46dc714d52
rago [Tue, 20 Sep 2016 00:39:33 +0000 (00:39 +0000)]
Fix potential overflow in Visualizer effect am: 46dc714d52
am: 8720f85196

Change-Id: I0803632824e6fc5a70ad6a1ba36743eb11cc3e7e

7 years agoIOMX: do not clear buffer if it's allocated by component am: ea76573aa2
Chong Zhang [Tue, 20 Sep 2016 00:39:03 +0000 (00:39 +0000)]
IOMX: do not clear buffer if it's allocated by component am: ea76573aa2
am: 86d9bb9141

Change-Id: Id27e600a2c500634cd56bb8367f8d7ce811d63e8

7 years agoMerge "Fix potential overflow in Visualizer effect" into klp-dev
Ricardo Garcia [Tue, 20 Sep 2016 00:35:07 +0000 (00:35 +0000)]
Merge "Fix potential overflow in Visualizer effect" into klp-dev
am: b602286952

Change-Id: Ic0cd9c82a5417e0281db38d806956876d95801fc

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

Change-Id: I61f5adb793d2c54c078211213b25fd7ea37a3895

7 years agoIOMX: do not clear buffer if it's allocated by component
Chong Zhang [Tue, 20 Sep 2016 00:29:11 +0000 (00:29 +0000)]
IOMX: do not clear buffer if it's allocated by component
am: ea76573aa2

Change-Id: Id77521c1d8a2e3c0f24b3467db0cea1907d5b934

7 years agoMerge "Fix potential overflow in Visualizer effect" into klp-dev
Ricardo Garcia [Tue, 20 Sep 2016 00:27:26 +0000 (00:27 +0000)]
Merge "Fix potential overflow in Visualizer effect" into klp-dev

7 years agoIOMX: do not clear buffer if it's allocated by component
Chong Zhang [Mon, 19 Sep 2016 22:29:04 +0000 (15:29 -0700)]
IOMX: do not clear buffer if it's allocated by component

The component might depends on their buffers to be initialized
in certain ways to work. Don't clear unless we're allocating it.

bug: 31586647
Change-Id: Ia0a125797e414998ef0cd8ce03672f5b1e0bbf7a

7 years agoIOMX: allow configuration after going to loaded state am: c13904014b am: 99accf6cdc...
Lajos Molnar [Thu, 15 Sep 2016 22:55:00 +0000 (22:55 +0000)]
IOMX: allow configuration after going to loaded state am: c13904014b am: 99accf6cdc am: 9a565c52b0 am: daa3b8e3fa am: c47a0e4c71 am: 1f05c699bd
am: 0520fa2f69  -s ours

Change-Id: Iea34d70edea6291c438ee8824dbac960592a57a3

7 years agoIOMX: allow configuration after going to loaded state am: c13904014b am: 99accf6cdc...
Lajos Molnar [Thu, 15 Sep 2016 22:49:25 +0000 (22:49 +0000)]
IOMX: allow configuration after going to loaded state am: c13904014b am: 99accf6cdc am: 9a565c52b0 am: daa3b8e3fa am: c47a0e4c71
am: 1f05c699bd

Change-Id: I9bd9cbf1623de997afddaff4503bc639b6fd158f

7 years agoIOMX: allow configuration after going to loaded state am: c13904014b am: 99accf6cdc...
Lajos Molnar [Thu, 15 Sep 2016 22:46:54 +0000 (22:46 +0000)]
IOMX: allow configuration after going to loaded state am: c13904014b am: 99accf6cdc am: 9a565c52b0 am: daa3b8e3fa
am: c47a0e4c71

Change-Id: I25b1252b6165bb815d6713ca3bce6a17dffdd640

7 years agoIOMX: allow configuration after going to loaded state am: c13904014b am: 99accf6cdc...
Lajos Molnar [Thu, 15 Sep 2016 22:44:54 +0000 (22:44 +0000)]
IOMX: allow configuration after going to loaded state am: c13904014b am: 99accf6cdc am: 9a565c52b0
am: daa3b8e3fa

Change-Id: I163ffc7bb0b794af540653614be05abfe2fb828e

7 years agoIOMX: allow configuration after going to loaded state am: c13904014b am: 99accf6cdc
Lajos Molnar [Thu, 15 Sep 2016 22:41:53 +0000 (22:41 +0000)]
IOMX: allow configuration after going to loaded state am: c13904014b am: 99accf6cdc
am: 9a565c52b0

Change-Id: If2465b5f16cc58d5d0d7cda3e117ad863dafd479

7 years agoIOMX: allow configuration after going to loaded state am: c13904014b
Lajos Molnar [Thu, 15 Sep 2016 22:39:55 +0000 (22:39 +0000)]
IOMX: allow configuration after going to loaded state am: c13904014b
am: 99accf6cdc

Change-Id: I2f80600bad65948b26e839d8588b98a574ffba9b

7 years agoIOMX: allow configuration after going to loaded state
Lajos Molnar [Thu, 15 Sep 2016 22:36:52 +0000 (22:36 +0000)]
IOMX: allow configuration after going to loaded state
am: c13904014b

Change-Id: Ibc6e43830d08890077691ebd55b1515554b94053

7 years agoIOMX: allow configuration after going to loaded state
Lajos Molnar [Wed, 14 Sep 2016 17:01:37 +0000 (10:01 -0700)]
IOMX: allow configuration after going to loaded state

This was disallowed recently but we still use it as MediaCodcec.stop
only goes to loaded state, and does not free component.

Bug: 31450460
Change-Id: I72e092e4e55c9f23b1baee3e950d76e84a5ef28d

7 years agoIOMX: restrict conversion of ANWB to gralloc source in emptyBuffer
Lajos Molnar [Mon, 12 Sep 2016 21:40:47 +0000 (14:40 -0700)]
IOMX: restrict conversion of ANWB to gralloc source in emptyBuffer

This is only allowed in-process (if backup and codec buffers are
connected.)

Bug: 29422020
Bug: 31412859
Change-Id: If48e3e0b6f1af99a459fdc3f6f03744bbf0dc375

7 years agoIOMX: allow configuration after going to loaded state
Lajos Molnar [Wed, 14 Sep 2016 17:01:37 +0000 (10:01 -0700)]
IOMX: allow configuration after going to loaded state

This was disallowed recently but we still use it as MediaCodcec.stop
only goes to loaded state, and does not free component.

Bug: 31450460
Change-Id: I72e092e4e55c9f23b1baee3e950d76e84a5ef28d

7 years agoMerge "SoundTrigger: get service by value." into lmp-dev am: d9288b85b3 am: 1382a3a86...
Eric Laurent [Tue, 13 Sep 2016 23:22:18 +0000 (23:22 +0000)]
Merge "SoundTrigger: get service by value." into lmp-dev am: d9288b85b3 am: 1382a3a869 am: e18f3154be
am: 867bfdd16f

Change-Id: I0fb6528090259961e22658dbada63eacf28f99aa

7 years agoSoundTrigger: get service by value. am: 3b01b3019b am: bd33d5672f am: 9b5b4abd82
Eric Laurent [Tue, 13 Sep 2016 23:22:18 +0000 (23:22 +0000)]
SoundTrigger: get service by value. am: 3b01b3019b am: bd33d5672f am: 9b5b4abd82
am: 4a34d9fcd2

Change-Id: I51848846811a770346189dcaed080f2cf350883a

7 years agoMerge "SoundTrigger: get service by value." into lmp-dev am: d9288b85b3 am: 1382a3a869
Eric Laurent [Tue, 13 Sep 2016 23:19:10 +0000 (23:19 +0000)]
Merge "SoundTrigger: get service by value." into lmp-dev am: d9288b85b3 am: 1382a3a869
am: e18f3154be

Change-Id: If45be58ebdc2378781bb2571ea748f2858a71e1d

7 years agoSoundTrigger: get service by value. am: 3b01b3019b am: bd33d5672f
Eric Laurent [Tue, 13 Sep 2016 23:19:09 +0000 (23:19 +0000)]
SoundTrigger: get service by value. am: 3b01b3019b am: bd33d5672f
am: 9b5b4abd82

Change-Id: I2574013b83d43208f07812dd4b3e431805e2a6e3

7 years agoMerge "SoundTrigger: get service by value." into lmp-dev am: d9288b85b3
Eric Laurent [Tue, 13 Sep 2016 23:16:41 +0000 (23:16 +0000)]
Merge "SoundTrigger: get service by value." into lmp-dev am: d9288b85b3
am: 1382a3a869

Change-Id: Iff9cdece93d788ec081e95d68b0470dd42d338ab

7 years agoSoundTrigger: get service by value. am: 3b01b3019b
Eric Laurent [Tue, 13 Sep 2016 23:16:40 +0000 (23:16 +0000)]
SoundTrigger: get service by value. am: 3b01b3019b
am: bd33d5672f

Change-Id: I02848bd715ac17b90728d867242889749ff39f61

7 years agoMerge "SoundTrigger: get service by value." into lmp-dev
Eric Laurent [Tue, 13 Sep 2016 23:13:41 +0000 (23:13 +0000)]
Merge "SoundTrigger: get service by value." into lmp-dev
am: d9288b85b3

Change-Id: Ic8cd8682688c8363420e768996c13af072f61182

7 years agoSoundTrigger: get service by value.
Eric Laurent [Tue, 13 Sep 2016 23:13:40 +0000 (23:13 +0000)]
SoundTrigger: get service by value.
am: 3b01b3019b

Change-Id: Ibb98c945e51fef6d21e91b1e9f670eb4f83c5663

7 years agoMerge "SoundTrigger: get service by value." into lmp-dev
Eric Laurent [Tue, 13 Sep 2016 23:04:34 +0000 (23:04 +0000)]
Merge "SoundTrigger: get service by value." into lmp-dev

7 years agoRadio: get service by value.
Eric Laurent [Wed, 7 Sep 2016 23:58:39 +0000 (16:58 -0700)]
Radio: get service by value.

Get strong pointer to service interface by value and not reference to
prevent race conditions where the service pointer can be cleared
by another thread while in use.

Bug: 30907212
Change-Id: Iae838b3b672562c1d0cd63968399a6bfdda7f5ab

7 years agoMerge "DO NOT MERGE: IOMX: work against metadata buffer spoofing" into klp-dev am...
Lajos Molnar [Fri, 9 Sep 2016 17:14:18 +0000 (17:14 +0000)]
Merge "DO NOT MERGE: IOMX: work against metadata buffer spoofing" into klp-dev am: 425cc025a1 am: 9c7f0824be am: 56100a30ba  -s ours am: 563b100957  -s ours am: 4636e7256a am: 44071d00a7
am: f95caa3506  -s ours

Change-Id: I0a92cd56f3a63f0eedc3667de098fef967fdd5c8

7 years agoDO NOT MERGE: IOMX: work against metadata buffer spoofing am: 807e827d4c am: ee9effab...
Lajos Molnar [Fri, 9 Sep 2016 17:14:18 +0000 (17:14 +0000)]
DO NOT MERGE: IOMX: work against metadata buffer spoofing am: 807e827d4c am: ee9effab3d am: c5251a627c  -s ours am: 18f84821f6  -s ours am: a6d4a2a14c am: 6048921526
am: 638ae0ac2c  -s ours

Change-Id: I0e6c25097a34af0f7881ce5a766d4583d3c3b9c0

7 years agoMerge "DO NOT MERGE: IOMX: work against metadata buffer spoofing" into klp-dev am...
Lajos Molnar [Fri, 9 Sep 2016 17:11:21 +0000 (17:11 +0000)]
Merge "DO NOT MERGE: IOMX: work against metadata buffer spoofing" into klp-dev am: 425cc025a1 am: 9c7f0824be am: 56100a30ba  -s ours am: 563b100957  -s ours am: 4636e7256a
am: 44071d00a7

Change-Id: I77cec5a8c8de37ea691fc0e2ba81a3dc641528d8

7 years agoDO NOT MERGE: IOMX: work against metadata buffer spoofing am: 807e827d4c am: ee9effab...
Lajos Molnar [Fri, 9 Sep 2016 17:11:20 +0000 (17:11 +0000)]
DO NOT MERGE: IOMX: work against metadata buffer spoofing am: 807e827d4c am: ee9effab3d am: c5251a627c  -s ours am: 18f84821f6  -s ours am: a6d4a2a14c
am: 6048921526

Change-Id: Idcb4748385bffd0dfa2913e8c738f5d27c50b3ed

7 years agoMerge "DO NOT MERGE: IOMX: work against metadata buffer spoofing" into klp-dev am...
Lajos Molnar [Fri, 9 Sep 2016 17:08:18 +0000 (17:08 +0000)]
Merge "DO NOT MERGE: IOMX: work against metadata buffer spoofing" into klp-dev am: 425cc025a1 am: 9c7f0824be am: 56100a30ba  -s ours am: 563b100957  -s ours
am: 4636e7256a

Change-Id: I8785b7aaee1c5d7b5061faa32c2b86b9f34f2339

7 years agoDO NOT MERGE: IOMX: work against metadata buffer spoofing am: 807e827d4c am: ee9effab...
Lajos Molnar [Fri, 9 Sep 2016 17:08:17 +0000 (17:08 +0000)]
DO NOT MERGE: IOMX: work against metadata buffer spoofing am: 807e827d4c am: ee9effab3d am: c5251a627c  -s ours am: 18f84821f6  -s ours
am: a6d4a2a14c

Change-Id: I5d20ea6b5fbbf2b1e3fb698a6f9ada8361b38f73

7 years agoMerge "DO NOT MERGE: IOMX: work against metadata buffer spoofing" into lmp-dev am...
Lajos Molnar [Fri, 9 Sep 2016 17:05:33 +0000 (17:05 +0000)]
Merge "DO NOT MERGE: IOMX: work against metadata buffer spoofing" into lmp-dev am: 6981afc6ac  -s ours am: efd392db1d am: d4b1c832c9
am: 0748e8945e  -s ours

Change-Id: Ief4bd9419931bd2a1158445d110b313c8a777af7

7 years agoDO NOT MERGE: IOMX: work against metadata buffer spoofing am: 86369364a0 -s ours...
Lajos Molnar [Fri, 9 Sep 2016 17:05:32 +0000 (17:05 +0000)]
DO NOT MERGE: IOMX: work against metadata buffer spoofing am: 86369364a0  -s ours am: 97f82679d8 am: 2815b127e0
am: 8eca7511cc  -s ours

Change-Id: I0f5df98f733c64d4e4ab6761c0f85574561aafd2

7 years agoMerge changes I801c77b8,I3d5bad4a into lmp-mr1-dev am: 7c36c95b19 am: 4e3aea6a85
Lajos Molnar [Fri, 9 Sep 2016 17:05:30 +0000 (17:05 +0000)]
Merge changes I801c77b8,I3d5bad4a into lmp-mr1-dev am: 7c36c95b19 am: 4e3aea6a85
am: 4390796eeb

Change-Id: If65018427bcdce6e6faec5c42f53d1ae9e99cc28

7 years agoDO NOT MERGE: IOMX: work against metadata buffer spoofing am: 9a4768f7bf am: da3cba194b
Lajos Molnar [Fri, 9 Sep 2016 17:05:24 +0000 (17:05 +0000)]
DO NOT MERGE: IOMX: work against metadata buffer spoofing am: 9a4768f7bf am: da3cba194b
am: 61bb7a0d99  -s ours

Change-Id: I3174f611aade730cbb2cbf9f4daaa01b5f665fc3

7 years agoMerge "DO NOT MERGE: IOMX: work against metadata buffer spoofing" into klp-dev am...
Lajos Molnar [Fri, 9 Sep 2016 17:05:18 +0000 (17:05 +0000)]
Merge "DO NOT MERGE: IOMX: work against metadata buffer spoofing" into klp-dev am: 425cc025a1 am: 9c7f0824be am: 56100a30ba  -s ours
am: 563b100957  -s ours

Change-Id: I00e5d507d17dbd98d04809e08d29f8b635a1642f

7 years agoDO NOT MERGE omx: check buffer port before using am: 0e2cc67785 am: 5dd07a6ef3
Wonsik Kim [Fri, 9 Sep 2016 17:05:18 +0000 (17:05 +0000)]
DO NOT MERGE omx: check buffer port before using am: 0e2cc67785 am: 5dd07a6ef3
am: beb7008c2e  -s ours

Change-Id: Ie44e05eea9e40d81de9f615422ced307282c9868

7 years agoDO NOT MERGE: IOMX: work against metadata buffer spoofing am: 807e827d4c am: ee9effab...
Lajos Molnar [Fri, 9 Sep 2016 17:05:17 +0000 (17:05 +0000)]
DO NOT MERGE: IOMX: work against metadata buffer spoofing am: 807e827d4c am: ee9effab3d am: c5251a627c  -s ours
am: 18f84821f6  -s ours

Change-Id: I6de1712821d83e87de98d3f7a16d1b73d658cf22

7 years agoMerge "DO NOT MERGE: IOMX: work against metadata buffer spoofing" into lmp-dev am...
Lajos Molnar [Fri, 9 Sep 2016 17:02:18 +0000 (17:02 +0000)]
Merge "DO NOT MERGE: IOMX: work against metadata buffer spoofing" into lmp-dev am: 6981afc6ac  -s ours am: efd392db1d
am: d4b1c832c9

Change-Id: I3a58ea5c113f24ca9d86a0d49d9bddff30be6a5c

7 years agoMerge "DO NOT MERGE: IOMX: work against metadata buffer spoofing" into klp-dev am...
Lajos Molnar [Fri, 9 Sep 2016 17:02:17 +0000 (17:02 +0000)]
Merge "DO NOT MERGE: IOMX: work against metadata buffer spoofing" into klp-dev am: 425cc025a1 am: 9c7f0824be
am: 56100a30ba  -s ours

Change-Id: Ia6831ce8b12461719321b444bd4475eb3eb6fa1c

7 years agoDO NOT MERGE: IOMX: work against metadata buffer spoofing am: 807e827d4c am: ee9effab3d
Lajos Molnar [Fri, 9 Sep 2016 17:02:16 +0000 (17:02 +0000)]
DO NOT MERGE: IOMX: work against metadata buffer spoofing am: 807e827d4c am: ee9effab3d
am: c5251a627c  -s ours

Change-Id: I356ac50c59cdfa23a67b6e2d7d508c0e02a28901

7 years agoDO NOT MERGE: IOMX: work against metadata buffer spoofing am: 86369364a0 -s ours...
Lajos Molnar [Fri, 9 Sep 2016 17:00:57 +0000 (17:00 +0000)]
DO NOT MERGE: IOMX: work against metadata buffer spoofing am: 86369364a0  -s ours am: 97f82679d8
am: 2815b127e0

Change-Id: I3a5e9d6c41982e0e0a8f8ca50202c6c45a92cf45

7 years agoMerge changes I801c77b8,I3d5bad4a into lmp-mr1-dev am: 7c36c95b19
Lajos Molnar [Fri, 9 Sep 2016 17:00:55 +0000 (17:00 +0000)]
Merge changes I801c77b8,I3d5bad4a into lmp-mr1-dev am: 7c36c95b19
am: 4e3aea6a85

Change-Id: Icae83108c9c067b5926178ef0e0150a287ac7d33

7 years agoDO NOT MERGE: IOMX: work against metadata buffer spoofing am: 9a4768f7bf
Lajos Molnar [Fri, 9 Sep 2016 17:00:44 +0000 (17:00 +0000)]
DO NOT MERGE: IOMX: work against metadata buffer spoofing am: 9a4768f7bf
am: da3cba194b

Change-Id: I018340e57d237e4d36d68e2cd118336242447b9c

7 years agoDO NOT MERGE omx: check buffer port before using am: 0e2cc67785
Wonsik Kim [Fri, 9 Sep 2016 17:00:38 +0000 (17:00 +0000)]
DO NOT MERGE omx: check buffer port before using am: 0e2cc67785
am: 5dd07a6ef3

Change-Id: I3b95ef380f380dac23aaf97be96630ca8bef552c

7 years agoMerge "DO NOT MERGE: IOMX: work against metadata buffer spoofing" into lmp-dev am...
Lajos Molnar [Fri, 9 Sep 2016 17:00:32 +0000 (17:00 +0000)]
Merge "DO NOT MERGE: IOMX: work against metadata buffer spoofing" into lmp-dev am: 6981afc6ac  -s ours
am: efd392db1d

Change-Id: I8281b233acd6ff226964b7d8b9a5702cf74d18cd

7 years agoMerge "DO NOT MERGE: IOMX: work against metadata buffer spoofing" into klp-dev am...
Lajos Molnar [Fri, 9 Sep 2016 17:00:31 +0000 (17:00 +0000)]
Merge "DO NOT MERGE: IOMX: work against metadata buffer spoofing" into klp-dev am: 425cc025a1
am: 9c7f0824be

Change-Id: Ibd31110a7191c39b09947f5026c2c50af3e0146c

7 years agoDO NOT MERGE: IOMX: work against metadata buffer spoofing am: 807e827d4c
Lajos Molnar [Fri, 9 Sep 2016 16:59:46 +0000 (16:59 +0000)]
DO NOT MERGE: IOMX: work against metadata buffer spoofing am: 807e827d4c
am: ee9effab3d

Change-Id: I64bd10fa5e5e5a020c129c0b77d813a2772376a0

7 years agoDO NOT MERGE: IOMX: work against metadata buffer spoofing am: 86369364a0 -s ours
Lajos Molnar [Fri, 9 Sep 2016 16:59:45 +0000 (16:59 +0000)]
DO NOT MERGE: IOMX: work against metadata buffer spoofing am: 86369364a0  -s ours
am: 97f82679d8

Change-Id: I135260d20085f49a9dd3dafd83d76e4408a8f33e

7 years agoMerge "DO NOT MERGE: IOMX: work against metadata buffer spoofing" into klp-dev
Lajos Molnar [Fri, 9 Sep 2016 16:56:46 +0000 (16:56 +0000)]
Merge "DO NOT MERGE: IOMX: work against metadata buffer spoofing" into klp-dev
am: 425cc025a1

Change-Id: I271b7657d85973bf745d3d099d36fc6858442f88

7 years agoMerge "DO NOT MERGE: IOMX: work against metadata buffer spoofing" into lmp-dev
Lajos Molnar [Fri, 9 Sep 2016 16:56:46 +0000 (16:56 +0000)]
Merge "DO NOT MERGE: IOMX: work against metadata buffer spoofing" into lmp-dev
am: 6981afc6ac  -s ours

Change-Id: I1987358c9b524bc1bd3863f0653947ba7d09407e

7 years agoDO NOT MERGE: IOMX: work against metadata buffer spoofing
Lajos Molnar [Fri, 9 Sep 2016 16:56:46 +0000 (16:56 +0000)]
DO NOT MERGE: IOMX: work against metadata buffer spoofing
am: 86369364a0  -s ours

Change-Id: Ic53907aae24e4238e64a269cd957a0947cc18491

7 years agoDO NOT MERGE: IOMX: work against metadata buffer spoofing
Lajos Molnar [Fri, 9 Sep 2016 16:56:45 +0000 (16:56 +0000)]
DO NOT MERGE: IOMX: work against metadata buffer spoofing
am: 807e827d4c

Change-Id: I514b6b8fce06d666799fcd5f41238e81598c0aa9

7 years agoMerge changes I801c77b8,I3d5bad4a into lmp-mr1-dev
Lajos Molnar [Fri, 9 Sep 2016 16:54:43 +0000 (16:54 +0000)]
Merge changes I801c77b8,I3d5bad4a into lmp-mr1-dev
am: 7c36c95b19

Change-Id: I6b2c80df71e7b131ada618141db3cdec37d9e587

7 years agoDO NOT MERGE: IOMX: work against metadata buffer spoofing
Lajos Molnar [Fri, 9 Sep 2016 16:54:42 +0000 (16:54 +0000)]
DO NOT MERGE: IOMX: work against metadata buffer spoofing
am: 9a4768f7bf

Change-Id: Ib611c8e1abdff62df4f8067c1bb7a5e2dd18c328

7 years agoDO NOT MERGE omx: check buffer port before using
Wonsik Kim [Fri, 9 Sep 2016 16:54:37 +0000 (16:54 +0000)]
DO NOT MERGE omx: check buffer port before using
am: 0e2cc67785

Change-Id: Ie5692f86d9cbb0b2c890517b6f5f1b0db1e7c281

7 years agoMerge "IOMX: work against metadata buffer spoofing" into mnc-dev
Lajos Molnar [Fri, 9 Sep 2016 16:52:15 +0000 (16:52 +0000)]
Merge "IOMX: work against metadata buffer spoofing" into mnc-dev

7 years agoMerge "DO NOT MERGE: IOMX: work against metadata buffer spoofing" into klp-dev
Lajos Molnar [Fri, 9 Sep 2016 16:52:06 +0000 (16:52 +0000)]
Merge "DO NOT MERGE: IOMX: work against metadata buffer spoofing" into klp-dev

7 years agoMerge "DO NOT MERGE: IOMX: work against metadata buffer spoofing" into lmp-dev
Lajos Molnar [Fri, 9 Sep 2016 16:51:52 +0000 (16:51 +0000)]
Merge "DO NOT MERGE: IOMX: work against metadata buffer spoofing" into lmp-dev

7 years agoMerge changes I801c77b8,I3d5bad4a into lmp-mr1-dev
Lajos Molnar [Fri, 9 Sep 2016 16:51:06 +0000 (16:51 +0000)]
Merge changes I801c77b8,I3d5bad4a into lmp-mr1-dev

* changes:
  DO NOT MERGE: IOMX: work against metadata buffer spoofing
  DO NOT MERGE omx: check buffer port before using

7 years agoSoundTrigger: get service by value.
Eric Laurent [Wed, 7 Sep 2016 23:58:39 +0000 (16:58 -0700)]
SoundTrigger: get service by value.

Get strong pointer to service interface by value and not reference to
prevent race conditions where the service pointer can be cleared
by another thread while in use.

Bug: 30907212
Change-Id: I6f02ec3fd1e6392b842b334e1cc4f9aa23916009

7 years agoFix stack content leak vulnerability in mediaserver
Jeff Tinker [Fri, 2 Sep 2016 18:36:46 +0000 (11:36 -0700)]
Fix stack content leak vulnerability in mediaserver

bug: 30875060
Change-Id: I03f4d08b7b31ac5b507cfc9e65e5607c73972d95

7 years agoMediaPlayerService: allow next player to be NULL am: 2828412787 am: f4e00a7c5a am...
Wei Jia [Wed, 31 Aug 2016 00:19:57 +0000 (00:19 +0000)]
MediaPlayerService: allow next player to be NULL am: 2828412787 am: f4e00a7c5a am: 0dd714e408 am: de97dbd662 am: a7549d3dce am: c6fdb3d696
am: 629e78c10f

Change-Id: I14c17d063743ca79f43f674c2d4cbcb57f90451e

7 years agoMediaPlayerService: allow next player to be NULL am: 2828412787 am: f4e00a7c5a am...
Wei Jia [Wed, 31 Aug 2016 00:16:56 +0000 (00:16 +0000)]
MediaPlayerService: allow next player to be NULL am: 2828412787 am: f4e00a7c5a am: 0dd714e408 am: de97dbd662 am: a7549d3dce
am: c6fdb3d696

Change-Id: I6e1cb16e9c281bda0375f552aab01b2ee069c14b

7 years agoMediaPlayerService: allow next player to be NULL am: 2828412787 am: f4e00a7c5a am...
Wei Jia [Wed, 31 Aug 2016 00:13:56 +0000 (00:13 +0000)]
MediaPlayerService: allow next player to be NULL am: 2828412787 am: f4e00a7c5a am: 0dd714e408 am: de97dbd662
am: a7549d3dce

Change-Id: I56c379ef39b1fd80493798de79a61db140646c50

7 years agoMediaPlayerService: allow next player to be NULL am: 2828412787 am: f4e00a7c5a am...
Wei Jia [Wed, 31 Aug 2016 00:10:56 +0000 (00:10 +0000)]
MediaPlayerService: allow next player to be NULL am: 2828412787 am: f4e00a7c5a am: 0dd714e408
am: de97dbd662

Change-Id: I758cf33ec36858a612efe6c412af3df9653f9229

7 years agoMediaPlayerService: allow next player to be NULL am: 2828412787 am: f4e00a7c5a
Wei Jia [Wed, 31 Aug 2016 00:08:25 +0000 (00:08 +0000)]
MediaPlayerService: allow next player to be NULL am: 2828412787 am: f4e00a7c5a
am: 0dd714e408

Change-Id: Ib620e8573ff6da861c101311143d266fd5086d7b

7 years agoMediaPlayerService: allow next player to be NULL am: 2828412787
Wei Jia [Wed, 31 Aug 2016 00:05:25 +0000 (00:05 +0000)]
MediaPlayerService: allow next player to be NULL am: 2828412787
am: f4e00a7c5a

Change-Id: I4b72afd20bbca69423d1be6ebf963ed41ded1a4e

7 years agoMediaPlayerService: allow next player to be NULL
Wei Jia [Wed, 31 Aug 2016 00:02:55 +0000 (00:02 +0000)]
MediaPlayerService: allow next player to be NULL
am: 2828412787

Change-Id: I54fad659721dde258259a503c5514d6327e521f7

7 years agoMediaPlayerService: allow next player to be NULL
Wei Jia [Tue, 30 Aug 2016 20:49:06 +0000 (13:49 -0700)]
MediaPlayerService: allow next player to be NULL

Bug: 31155917
Bug: 30204103
Change-Id: I9a2a59ddb900fc942e7c19b31b53a110d790474c

7 years agoFix potential overflow in Visualizer effect
rago [Tue, 23 Aug 2016 00:20:26 +0000 (17:20 -0700)]
Fix potential overflow in Visualizer effect

Bug: 30229821
Change-Id: Idd3c1563dc9d3261e6e168e945005bf133ab2cdb
(cherry picked from commit 099ab280775946e7c36c73fde47f2ee5a2579f53)

7 years agoMerge "DO NOT MERGE MediaPlayerService: avoid invalid static cast" into klp-dev am...
Robert Shih [Mon, 22 Aug 2016 18:48:21 +0000 (18:48 +0000)]
Merge "DO NOT MERGE MediaPlayerService: avoid invalid static cast" into klp-dev am: 4fb531e262 am: 24b2dba452 am: 7fa7052231  -s ours am: 91ec9a6fd3  -s ours am: a9c1e43d89 am: 82bc8c4511
am: 6f8e939c58  -s ours

Change-Id: I5373a4e935db09eb7a98f55cb5266f475b3dcd01

7 years agoDO NOT MERGE MediaPlayerService: avoid invalid static cast am: c159a5ae12 am: 2cee1de...
Robert Shih [Mon, 22 Aug 2016 18:48:20 +0000 (18:48 +0000)]
DO NOT MERGE MediaPlayerService: avoid invalid static cast am: c159a5ae12 am: 2cee1deec9 am: 48b3aca54b  -s ours am: 08eab78209  -s ours am: 081388d875 am: d6e7dcbb64
am: 47932efd3d  -s ours

Change-Id: Ibe7817e304f96d5f0e6fd00632c3d41833d65c14

7 years agoMerge "DO NOT MERGE MediaPlayerService: avoid invalid static cast" into klp-dev am...
Robert Shih [Mon, 22 Aug 2016 18:45:13 +0000 (18:45 +0000)]
Merge "DO NOT MERGE MediaPlayerService: avoid invalid static cast" into klp-dev am: 4fb531e262 am: 24b2dba452 am: 7fa7052231  -s ours am: 91ec9a6fd3  -s ours am: a9c1e43d89
am: 82bc8c4511

Change-Id: I3765b00a451793307c9d23431f8b354bbe71b7df

7 years agoDO NOT MERGE MediaPlayerService: avoid invalid static cast am: c159a5ae12 am: 2cee1de...
Robert Shih [Mon, 22 Aug 2016 18:45:12 +0000 (18:45 +0000)]
DO NOT MERGE MediaPlayerService: avoid invalid static cast am: c159a5ae12 am: 2cee1deec9 am: 48b3aca54b  -s ours am: 08eab78209  -s ours am: 081388d875
am: d6e7dcbb64

Change-Id: Id774e978b50314baf0511ea3271ae98039f6ad7f

7 years agoMerge "DO NOT MERGE MediaPlayerService: avoid invalid static cast" into klp-dev am...
Robert Shih [Mon, 22 Aug 2016 18:36:26 +0000 (18:36 +0000)]
Merge "DO NOT MERGE MediaPlayerService: avoid invalid static cast" into klp-dev am: 4fb531e262 am: 24b2dba452 am: 7fa7052231  -s ours am: 91ec9a6fd3  -s ours
am: a9c1e43d89

Change-Id: I4d35b92457c636f413ae03a992f71844028dfa90

7 years agoDO NOT MERGE MediaPlayerService: avoid invalid static cast am: c159a5ae12 am: 2cee1de...
Robert Shih [Mon, 22 Aug 2016 18:36:25 +0000 (18:36 +0000)]
DO NOT MERGE MediaPlayerService: avoid invalid static cast am: c159a5ae12 am: 2cee1deec9 am: 48b3aca54b  -s ours am: 08eab78209  -s ours
am: 081388d875

Change-Id: I685261698d0ecb4e77b5e78aab83b2b38b6a91fb

7 years agoMerge "DO NOT MERGE MediaPlayerService: avoid invalid static cast" into klp-dev am...
Robert Shih [Mon, 22 Aug 2016 18:32:20 +0000 (18:32 +0000)]
Merge "DO NOT MERGE MediaPlayerService: avoid invalid static cast" into klp-dev am: 4fb531e262 am: 24b2dba452 am: 7fa7052231  -s ours
am: 91ec9a6fd3  -s ours

Change-Id: I075a2bf350184ade7a96cb1e4846d9459695a630

7 years agoDO NOT MERGE MediaPlayerService: avoid invalid static cast am: c159a5ae12 am: 2cee1de...
Robert Shih [Mon, 22 Aug 2016 18:32:19 +0000 (18:32 +0000)]
DO NOT MERGE MediaPlayerService: avoid invalid static cast am: c159a5ae12 am: 2cee1deec9 am: 48b3aca54b  -s ours
am: 08eab78209  -s ours

Change-Id: I82a67d2a77c6cfa2e903e3ff8080ba4ed734f248

7 years agoMerge "DO NOT MERGE MediaPlayerService: avoid invalid static cast" into klp-dev am...
Robert Shih [Mon, 22 Aug 2016 18:28:19 +0000 (18:28 +0000)]
Merge "DO NOT MERGE MediaPlayerService: avoid invalid static cast" into klp-dev am: 4fb531e262 am: 24b2dba452
am: 7fa7052231  -s ours

Change-Id: I5dddb4aeffa111dfda64e335d7baf7758a1740ee

7 years agoMerge "MediaPlayerService: avoid invalid static cast" into lmp-dev am: e35213de2d...
Robert Shih [Mon, 22 Aug 2016 18:28:19 +0000 (18:28 +0000)]
Merge "MediaPlayerService: avoid invalid static cast" into lmp-dev am: e35213de2d am: 21cc1102b4 am: e13b8f2d61
am: 730c25e0dc

Change-Id: I37b4d338807a9a04393345b859ee9d2d5aff89f6

7 years agoDO NOT MERGE MediaPlayerService: avoid invalid static cast am: c159a5ae12 am: 2cee1deec9
Robert Shih [Mon, 22 Aug 2016 18:28:19 +0000 (18:28 +0000)]
DO NOT MERGE MediaPlayerService: avoid invalid static cast am: c159a5ae12 am: 2cee1deec9
am: 48b3aca54b  -s ours

Change-Id: I1f9d2549a454da70e62cf2cc997c045965ecea9a