OSDN Git Service
Marco Nelissen [Wed, 21 Sep 2016 15:05:59 +0000 (15:05 +0000)]
Check mprotect result am:
866c800c06 am:
a0cfcf38d4 am:
638aca47be am:
e353ce4b3c am:
762b7a9b6e am:
db8cfb97c8 am:
dffa39ac23 am:
53b2b9eba3 am:
4073c59ac5 am:
093d164153
am:
0b001b52f9
Change-Id: I22af9732a7d15ab13dbf4994a0bc72d1716cc180
Marco Nelissen [Wed, 21 Sep 2016 15:02:33 +0000 (15:02 +0000)]
Check mprotect result am:
866c800c06 am:
a0cfcf38d4 am:
638aca47be am:
e353ce4b3c am:
762b7a9b6e am:
db8cfb97c8 am:
dffa39ac23 am:
53b2b9eba3 am:
4073c59ac5
am:
093d164153
Change-Id: I9457dccead8d6315483a12bcaa620d21f39135ed
Marco Nelissen [Wed, 21 Sep 2016 15:00:03 +0000 (15:00 +0000)]
Check mprotect result am:
866c800c06 am:
a0cfcf38d4 am:
638aca47be am:
e353ce4b3c am:
762b7a9b6e am:
db8cfb97c8 am:
dffa39ac23 am:
53b2b9eba3
am:
4073c59ac5
Change-Id: Id4369171977e5062bb66ac77f4cc7367d03c5e68
Marco Nelissen [Wed, 21 Sep 2016 14:57:02 +0000 (14:57 +0000)]
Check mprotect result am:
866c800c06 am:
a0cfcf38d4 am:
638aca47be am:
e353ce4b3c am:
762b7a9b6e am:
db8cfb97c8 am:
dffa39ac23
am:
53b2b9eba3
Change-Id: Ifd1146a5fa1f9ae7abe7ad559a946ca898a918ab
Marco Nelissen [Wed, 21 Sep 2016 14:54:32 +0000 (14:54 +0000)]
Check mprotect result am:
866c800c06 am:
a0cfcf38d4 am:
638aca47be am:
e353ce4b3c am:
762b7a9b6e am:
db8cfb97c8
am:
dffa39ac23
Change-Id: I7f6a1264beac4f08357a5e151ec00abc127e9338
Marco Nelissen [Wed, 21 Sep 2016 14:52:02 +0000 (14:52 +0000)]
Check mprotect result am:
866c800c06 am:
a0cfcf38d4 am:
638aca47be am:
e353ce4b3c am:
762b7a9b6e
am:
db8cfb97c8
Change-Id: I1f204b5117adb467d0883a59b3f1a90f4c10ba47
Marco Nelissen [Wed, 21 Sep 2016 14:49:00 +0000 (14:49 +0000)]
Check mprotect result am:
866c800c06 am:
a0cfcf38d4 am:
638aca47be am:
e353ce4b3c
am:
762b7a9b6e
Change-Id: I63e5846c6a21f03c9063c3d48e49dfe48fb22ea7
Marco Nelissen [Wed, 21 Sep 2016 14:46:30 +0000 (14:46 +0000)]
Check mprotect result am:
866c800c06 am:
a0cfcf38d4 am:
638aca47be
am:
e353ce4b3c
Change-Id: Iba3ac429600319f099276cc774eb8b3bb85e7b25
Marco Nelissen [Wed, 21 Sep 2016 14:44:02 +0000 (14:44 +0000)]
Check mprotect result am:
866c800c06 am:
a0cfcf38d4
am:
638aca47be
Change-Id: I337dd1d62a4cd52de051afd4d9b919a742ad20fe
Marco Nelissen [Wed, 21 Sep 2016 14:41:28 +0000 (14:41 +0000)]
Check mprotect result am:
866c800c06
am:
a0cfcf38d4
Change-Id: I0f188e2c717922689df42af21f6c47a865a8c390
Marco Nelissen [Wed, 21 Sep 2016 14:38:58 +0000 (14:38 +0000)]
Check mprotect result
am:
866c800c06
Change-Id: I7b20d72aafb9a95480c1a6b16f0cafc4d1749470
Marco Nelissen [Tue, 20 Sep 2016 20:36:40 +0000 (13:36 -0700)]
Check mprotect result
mprotect can theoretically fail, which could then let one exploit
a vulnerable codec if one exists on the device.
Bug:
31350239
Change-Id: I7b99c190619f0fb2eb93119596e6da0d2deb8ba5
Ricardo Garcia [Tue, 20 Sep 2016 04:52:05 +0000 (04:52 +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 am:
c37d5f55a5 am:
b028a26af0 am:
fa1019952f
am:
0dcde5355a
Change-Id: I733968e2343b87592174d8708d8f963bcda538a4
rago [Tue, 20 Sep 2016 04:51:52 +0000 (04:51 +0000)]
Fix potential overflow in Visualizer effect am:
46dc714d52 am:
8720f85196 am:
bad0250dcb am:
2feb9ce748 am:
fba2bd1372 am:
dddfa37ec9 am:
de6acc18bb am:
a0f7a7b07e am:
dd6ad5eba7 am:
be0844b573
am:
0710743c91
Change-Id: I142290d5735b028876eb9e5a974a4b0c8b910fef
Chong Zhang [Tue, 20 Sep 2016 04:51:28 +0000 (04:51 +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 am:
53de578e88 am:
295244de61 am:
17b0bdf4e8
am:
ea65b73f84
Change-Id: Ib5c4248b350758a4fdb097dfbf15ab66ae976f19
Ricardo Garcia [Tue, 20 Sep 2016 04:33:38 +0000 (04:33 +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 am:
c37d5f55a5 am:
b028a26af0
am:
fa1019952f
Change-Id: If2515ebded19353489155acca28acbbc8f123963
rago [Tue, 20 Sep 2016 04:33:25 +0000 (04:33 +0000)]
Fix potential overflow in Visualizer effect am:
46dc714d52 am:
8720f85196 am:
bad0250dcb am:
2feb9ce748 am:
fba2bd1372 am:
dddfa37ec9 am:
de6acc18bb am:
a0f7a7b07e am:
dd6ad5eba7
am:
be0844b573
Change-Id: I2b756489d87fdca61c681b8e02ace1b274dc942f
Chong Zhang [Tue, 20 Sep 2016 04:32:59 +0000 (04:32 +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 am:
53de578e88 am:
295244de61
am:
17b0bdf4e8
Change-Id: Ibcaca132ec79e508bdec391bd344d600cf112999
Ricardo Garcia [Tue, 20 Sep 2016 04:27:25 +0000 (04:27 +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 am:
c37d5f55a5
am:
b028a26af0
Change-Id: Iea6b3e4dd14d9efe2679496192662f9bc334bc41
rago [Tue, 20 Sep 2016 04:27:14 +0000 (04:27 +0000)]
Fix potential overflow in Visualizer effect am:
46dc714d52 am:
8720f85196 am:
bad0250dcb am:
2feb9ce748 am:
fba2bd1372 am:
dddfa37ec9 am:
de6acc18bb am:
a0f7a7b07e
am:
dd6ad5eba7
Change-Id: I07a32d9ac52c01603bfed43768d26debb1db2b2f
Chong Zhang [Tue, 20 Sep 2016 04:26:52 +0000 (04:26 +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 am:
53de578e88
am:
295244de61
Change-Id: Ibd2d0fec4c2cacbe0feb78224dce037f6e93c306
Ricardo Garcia [Tue, 20 Sep 2016 04:24:32 +0000 (04:24 +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
am:
c37d5f55a5
Change-Id: I42aa5141b6b586454385c748b120aa59a285913d
rago [Tue, 20 Sep 2016 04:24:17 +0000 (04:24 +0000)]
Fix potential overflow in Visualizer effect am:
46dc714d52 am:
8720f85196 am:
bad0250dcb am:
2feb9ce748 am:
fba2bd1372 am:
dddfa37ec9 am:
de6acc18bb
am:
a0f7a7b07e
Change-Id: I65c61bdb186ad6d83a94d1040d9266d2e08b2d64
Chong Zhang [Tue, 20 Sep 2016 04:23:49 +0000 (04:23 +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
am:
53de578e88
Change-Id: I1096e2aa34eb9b89495f8ef7d4648ded5ee6381f
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
rago [Tue, 20 Sep 2016 00:35:04 +0000 (00:35 +0000)]
Fix potential overflow in Visualizer effect
am:
46dc714d52
Change-Id: I61f5adb793d2c54c078211213b25fd7ea37a3895
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
Ricardo Garcia [Tue, 20 Sep 2016 00:27:26 +0000 (00:27 +0000)]
Merge "Fix potential overflow in Visualizer effect" into klp-dev
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
Wei Jia [Fri, 16 Sep 2016 00:41:34 +0000 (00:41 +0000)]
Merge "OMXNodeInstance: sanity check portIndex." into nyc-dev
Lajos Molnar [Thu, 15 Sep 2016 23:04:58 +0000 (23:04 +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 am:
50f8242ea5 am:
6b4e769b28 am:
0b6c4b9d41
am:
40507a5f92
Change-Id: If14dda2dfd313d001a4a6ca6981902c82d794d7b
Lajos Molnar [Thu, 15 Sep 2016 23:02:58 +0000 (23:02 +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 am:
50f8242ea5 am:
6b4e769b28
am:
0b6c4b9d41
Change-Id: I4a42cdd30116b81692b585d044ea9251f7d994d8
Lajos Molnar [Thu, 15 Sep 2016 22:59:57 +0000 (22:59 +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 am:
50f8242ea5
am:
6b4e769b28
Change-Id: I8741b06850362549afe987f924f373102f4242f0
Lajos Molnar [Thu, 15 Sep 2016 22:57:26 +0000 (22:57 +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
am:
50f8242ea5
Change-Id: Ib8572ca37d2b2e4517ae995bbcf80230d074cbca
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
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
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
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
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
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
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
Lajos Molnar [Thu, 15 Sep 2016 22:32:23 +0000 (22:32 +0000)]
IOMX: allow configuration after going to loaded state am:
e03b22839d am:
66b557b3a2 am:
59ae56a5ba
am:
860a1a25b5
Change-Id: I619d6cc0b70dc597796afe2c597e44c64e8f8bc3
Lajos Molnar [Thu, 15 Sep 2016 22:31:51 +0000 (22:31 +0000)]
IOMX: restrict conversion of ANWB to gralloc source in emptyBuffer am:
087ff38490 am:
d5e14dcd5d am:
38cd617b13
am:
7a93167447 -s ours
Change-Id: I8e7d0c9d0739590a205a20c01ba8a8b13d661a6c
Lajos Molnar [Thu, 15 Sep 2016 22:26:56 +0000 (22:26 +0000)]
IOMX: allow configuration after going to loaded state am:
e03b22839d am:
66b557b3a2
am:
59ae56a5ba
Change-Id: I46bb45426bf6152d6510385c3e5ddf7b954ad1c1
Lajos Molnar [Thu, 15 Sep 2016 22:26:50 +0000 (22:26 +0000)]
IOMX: restrict conversion of ANWB to gralloc source in emptyBuffer am:
087ff38490 am:
d5e14dcd5d
am:
38cd617b13
Change-Id: Ib6f1b6b7ff9d90f1013d6c62c92ade159282f80e
Lajos Molnar [Thu, 15 Sep 2016 22:23:56 +0000 (22:23 +0000)]
IOMX: allow configuration after going to loaded state am:
e03b22839d
am:
66b557b3a2
Change-Id: I9a82c1682fecc9ab5ad2c6f5f2240a2be3dd11d1
Lajos Molnar [Thu, 15 Sep 2016 22:23:50 +0000 (22:23 +0000)]
IOMX: restrict conversion of ANWB to gralloc source in emptyBuffer am:
087ff38490
am:
d5e14dcd5d
Change-Id: I0322aa56e3ef20e38fd08e304a1126897c026404
Lajos Molnar [Thu, 15 Sep 2016 22:21:25 +0000 (22:21 +0000)]
IOMX: allow configuration after going to loaded state
am:
e03b22839d
Change-Id: I7f5c90a48de98c2d936fc4eb975c550f5c7e9e47
Lajos Molnar [Thu, 15 Sep 2016 22:21:19 +0000 (22:21 +0000)]
IOMX: restrict conversion of ANWB to gralloc source in emptyBuffer
am:
087ff38490
Change-Id: I4ed801a106df30ff8bb897b5d714e69224794780
Ray Essick [Thu, 15 Sep 2016 21:34:54 +0000 (21:34 +0000)]
Merge "Fix free-after-use for MediaHTTP" into nyc-dev
Wei Jia [Tue, 13 Sep 2016 23:50:07 +0000 (16:50 -0700)]
OMXNodeInstance: sanity check portIndex.
Bug:
31385713
Change-Id: Ib91d00eb5cc8c51c84d37f5d36d6b7ca594d201f
Lajos Molnar [Thu, 15 Sep 2016 19:49:36 +0000 (19:49 +0000)]
Merge "IOMX: do not convert ANWB to gralloc source in emptyBuffer" into nyc-dev
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
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
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
Eric Laurent [Tue, 13 Sep 2016 23:33:13 +0000 (23:33 +0000)]
Merge "SoundTrigger: get service by value." into lmp-dev am:
d9288b85b3 am:
1382a3a869 am:
e18f3154be am:
867bfdd16f am:
38071a6902 am:
c4bcf57dc2 am:
ff43633d16
am:
e0de63ea41
Change-Id: Ie0309e8df1a27681702d735a95fb2376b75af423
Eric Laurent [Tue, 13 Sep 2016 23:33:12 +0000 (23:33 +0000)]
SoundTrigger: get service by value. am:
3b01b3019b am:
bd33d5672f am:
9b5b4abd82 am:
4a34d9fcd2 am:
35a9478b27 am:
f043ba1056 am:
658c93e6fe
am:
2db66851e0
Change-Id: I837c1b000f798cdac5c9958918b02800b89f6533
Eric Laurent [Tue, 13 Sep 2016 23:30:44 +0000 (23:30 +0000)]
Merge "SoundTrigger: get service by value." into lmp-dev am:
d9288b85b3 am:
1382a3a869 am:
e18f3154be am:
867bfdd16f am:
38071a6902 am:
c4bcf57dc2
am:
ff43633d16
Change-Id: Id61c35b5b91708fd78f53c31ef6b6b91bb86e223
Eric Laurent [Tue, 13 Sep 2016 23:30:43 +0000 (23:30 +0000)]
SoundTrigger: get service by value. am:
3b01b3019b am:
bd33d5672f am:
9b5b4abd82 am:
4a34d9fcd2 am:
35a9478b27 am:
f043ba1056
am:
658c93e6fe
Change-Id: Id3d7cc11da6ac2c105a680c5b800e5ebb36ea477
Eric Laurent [Tue, 13 Sep 2016 23:27:41 +0000 (23:27 +0000)]
Merge "SoundTrigger: get service by value." into lmp-dev am:
d9288b85b3 am:
1382a3a869 am:
e18f3154be am:
867bfdd16f am:
38071a6902
am:
c4bcf57dc2
Change-Id: I77ae8d4d53d5a0002b5866ece74dbb6aa277af58
Eric Laurent [Tue, 13 Sep 2016 23:27:40 +0000 (23:27 +0000)]
SoundTrigger: get service by value. am:
3b01b3019b am:
bd33d5672f am:
9b5b4abd82 am:
4a34d9fcd2 am:
35a9478b27
am:
f043ba1056
Change-Id: I0fb801c7832326b04320d38486007d9a30eaa45f
Eric Laurent [Tue, 13 Sep 2016 23:25:53 +0000 (23:25 +0000)]
Merge "SoundTrigger: get service by value." into lmp-dev am:
d9288b85b3 am:
1382a3a869 am:
e18f3154be am:
867bfdd16f
am:
38071a6902
Change-Id: Id132a3c878f05304ee58da132de254b8f8164e4f
Eric Laurent [Tue, 13 Sep 2016 23:25:53 +0000 (23:25 +0000)]
SoundTrigger: get service by value. am:
3b01b3019b am:
bd33d5672f am:
9b5b4abd82 am:
4a34d9fcd2
am:
35a9478b27
Change-Id: I25eef85b5ec1b4f6c4bb4afde0d5960a247030d9
Eric Laurent [Tue, 13 Sep 2016 23:22:22 +0000 (23:22 +0000)]
Radio: get service by value. am:
28a0e9ec74 am:
7488cb1283 am:
2d090ca6ab
am:
294a831ac8
Change-Id: I92f4a8447adce68190ce9f471c54002bebd8251c
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
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
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
Eric Laurent [Tue, 13 Sep 2016 23:19:09 +0000 (23:19 +0000)]
Radio: get service by value. am:
28a0e9ec74 am:
7488cb1283
am:
2d090ca6ab
Change-Id: Ia20f4462afed95ca3b5f902faaa1d310863d31c0
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
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
Eric Laurent [Tue, 13 Sep 2016 23:16:41 +0000 (23:16 +0000)]
Radio: get service by value. am:
28a0e9ec74
am:
7488cb1283
Change-Id: Ia96a12bfc1e89ca8dd6fde3562bb8fab47459968
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
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
Eric Laurent [Tue, 13 Sep 2016 23:13:40 +0000 (23:13 +0000)]
Radio: get service by value.
am:
28a0e9ec74
Change-Id: If9c934531b2c88edccf179911d8fa2aa4c05f82e
Eric Laurent [Tue, 13 Sep 2016 23:13:40 +0000 (23:13 +0000)]
SoundTrigger: get service by value.
am:
3b01b3019b
Change-Id: Ibb98c945e51fef6d21e91b1e9f670eb4f83c5663
Eric Laurent [Tue, 13 Sep 2016 23:04:34 +0000 (23:04 +0000)]
Merge "SoundTrigger: get service by value." into lmp-dev
Ray Essick [Tue, 13 Sep 2016 18:43:17 +0000 (11:43 -0700)]
Fix free-after-use for MediaHTTP
fix free-after-use when we reconnect to an HTTP media source.
Change-Id: I96da5a79f5382409a545f8b4e22a24523f287464
Tests: compilation and eyeballs
Bug:
31373622
Lajos Molnar [Mon, 12 Sep 2016 21:40:47 +0000 (14:40 -0700)]
IOMX: do not convert ANWB to gralloc source in emptyBuffer
Bug:
29422020
Bug:
31412859
Change-Id: If48e3e0b6f1af99a459fdc3f6f03744bbf0dc375
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
Lajos Molnar [Fri, 9 Sep 2016 18:30:58 +0000 (18:30 +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 am:
483c0d4053 am:
43d4b759f5 am:
8c02795ab6
am:
db39c9e711 -s ours
Change-Id: I6c93f11a67f94312b36418c33130bc88ce98a677
Lajos Molnar [Fri, 9 Sep 2016 18:30:55 +0000 (18:30 +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 am:
3b1730dd5d am:
825bf7bc32 am:
ca6191e9f3
am:
a8b097e78e -s ours
Change-Id: I5d79177c88b95e272e4208541c5d099e3e51cf46
Lajos Molnar [Fri, 9 Sep 2016 18:30:52 +0000 (18:30 +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 am:
0676b43165 am:
109a42f811 am:
809027b0bf
am:
fdd84ef103 -s ours
Change-Id: I0b902ceaa85f66b88cfa0126c64df9492130b62c