OSDN Git Service
Fabien Sanglard [Thu, 2 Feb 2017 02:06:22 +0000 (02:06 +0000)]
Fabien Sanglard [Thu, 2 Feb 2017 02:06:07 +0000 (02:06 +0000)]
Fabien Sanglard [Thu, 2 Feb 2017 02:04:49 +0000 (02:04 +0000)]
Fix security vulnerability am:
2ae83f4f62 am:
11ab583834 am:
ac2b87ac0f am:
132d0f2aef am:
3995674f24 am:
c7892d9d0b am:
cca3b79c32 am:
ebbf8a6b5a am:
5ba227f96e am:
40cd915a54 am:
ded5521871 am:
0e0a258771 am:
6a5a220b48 am:
30ab1434c3
am:
81e84ad072
Change-Id: Ic9f4b09d2858ea09fc8587e0fbc162c49795d82f
Fabien Sanglard [Thu, 2 Feb 2017 02:03:35 +0000 (02:03 +0000)]
Fix security vulnerability am:
2ae83f4f62 am:
11ab583834 am:
ac2b87ac0f am:
132d0f2aef am:
3995674f24 am:
c7892d9d0b am:
cca3b79c32 am:
ebbf8a6b5a am:
5ba227f96e am:
40cd915a54 am:
ded5521871 am:
0e0a258771 am:
6a5a220b48 am:
30ab1434c3
am:
f6868443ef
Change-Id: I8faa4d9bc29bb2c8a9bae1f94f57e89e52a4b229
Fabien Sanglard [Thu, 2 Feb 2017 01:59:36 +0000 (01:59 +0000)]
Fix security vulnerability am:
2ae83f4f62 am:
11ab583834 am:
ac2b87ac0f am:
132d0f2aef am:
3995674f24 am:
c7892d9d0b am:
cca3b79c32 am:
ebbf8a6b5a am:
5ba227f96e am:
40cd915a54 am:
ded5521871 am:
0e0a258771 am:
6a5a220b48
am:
30ab1434c3
Change-Id: I4e08855d038ae114c6c6230288c6158115fe2f7f
Fabien Sanglard [Thu, 2 Feb 2017 01:59:36 +0000 (01:59 +0000)]
Fix security vulnerability am:
2ae83f4f62 am:
11ab583834 am:
ac2b87ac0f am:
132d0f2aef am:
3995674f24 am:
c7892d9d0b am:
cca3b79c32 am:
ebbf8a6b5a am:
5ba227f96e am:
40cd915a54 am:
ded5521871 am:
0e0a258771 am:
6a5a220b48
am:
30ab1434c3
Change-Id: Iaa4ffc3bca279f294a36df31823ec9a30a728fe7
Fabien Sanglard [Thu, 2 Feb 2017 01:57:08 +0000 (01:57 +0000)]
Fix security vulnerability am:
2ae83f4f62 am:
11ab583834 am:
ac2b87ac0f am:
132d0f2aef am:
3995674f24 am:
c7892d9d0b am:
cca3b79c32 am:
ebbf8a6b5a am:
5ba227f96e am:
40cd915a54 am:
ded5521871 am:
0e0a258771
am:
6a5a220b48
Change-Id: I47743cb142bdb4f21202dc51482fc52996f6b7a4
Fabien Sanglard [Thu, 2 Feb 2017 01:54:35 +0000 (01:54 +0000)]
Fix security vulnerability am:
2ae83f4f62 am:
11ab583834 am:
ac2b87ac0f am:
132d0f2aef am:
3995674f24 am:
c7892d9d0b am:
cca3b79c32 am:
ebbf8a6b5a am:
5ba227f96e am:
40cd915a54 am:
ded5521871
am:
0e0a258771
Change-Id: I4479a276592fc9d5d25378a5abee12473a2104ae
Fabien Sanglard [Thu, 2 Feb 2017 01:52:06 +0000 (01:52 +0000)]
Fix security vulnerability am:
2ae83f4f62 am:
11ab583834 am:
ac2b87ac0f am:
132d0f2aef am:
3995674f24 am:
c7892d9d0b am:
cca3b79c32 am:
ebbf8a6b5a am:
5ba227f96e am:
40cd915a54
am:
ded5521871
Change-Id: Ibf93b2a73caab87ee6c0b27234a8cdc05c0aa61e
Fabien Sanglard [Thu, 2 Feb 2017 01:49:06 +0000 (01:49 +0000)]
Fix security vulnerability am:
2ae83f4f62 am:
11ab583834 am:
ac2b87ac0f am:
132d0f2aef am:
3995674f24 am:
c7892d9d0b am:
cca3b79c32 am:
ebbf8a6b5a am:
5ba227f96e
am:
40cd915a54
Change-Id: Ib34c9d0e90e77565ab6d0d7fb805bb425964b5aa
Fabien Sanglard [Thu, 2 Feb 2017 01:46:34 +0000 (01:46 +0000)]
Fix security vulnerability am:
2ae83f4f62 am:
11ab583834 am:
ac2b87ac0f am:
132d0f2aef am:
3995674f24 am:
c7892d9d0b am:
cca3b79c32 am:
ebbf8a6b5a
am:
5ba227f96e
Change-Id: I9fc225ba640b4391d60380d7c588015c3e5516a7
Fabien Sanglard [Thu, 2 Feb 2017 01:43:34 +0000 (01:43 +0000)]
Fix security vulnerability am:
2ae83f4f62 am:
11ab583834 am:
ac2b87ac0f am:
132d0f2aef am:
3995674f24 am:
c7892d9d0b am:
cca3b79c32
am:
ebbf8a6b5a
Change-Id: Id8c91e714058b999805aa6da613a4343fecc1d6a
Fabien Sanglard [Thu, 2 Feb 2017 01:41:34 +0000 (01:41 +0000)]
Fix security vulnerability am:
2ae83f4f62 am:
11ab583834 am:
ac2b87ac0f am:
132d0f2aef am:
3995674f24 am:
c7892d9d0b
am:
cca3b79c32
Change-Id: I2e5da5ee33eb2757f360881e6ecc7dfd9fb67938
Fabien Sanglard [Thu, 2 Feb 2017 01:38:33 +0000 (01:38 +0000)]
Fix security vulnerability am:
2ae83f4f62 am:
11ab583834 am:
ac2b87ac0f am:
132d0f2aef am:
3995674f24
am:
c7892d9d0b
Change-Id: Ic59ba49542b907591f3e514ae0417ed82a5be7aa
Fabien Sanglard [Thu, 2 Feb 2017 01:36:33 +0000 (01:36 +0000)]
Fix security vulnerability am:
2ae83f4f62 am:
11ab583834 am:
ac2b87ac0f am:
132d0f2aef
am:
3995674f24
Change-Id: I979af2b40c8ee1b3820204cee5fa7e21e4906bf9
Fabien Sanglard [Thu, 2 Feb 2017 01:34:03 +0000 (01:34 +0000)]
Fix security vulnerability am:
2ae83f4f62 am:
11ab583834 am:
ac2b87ac0f
am:
132d0f2aef
Change-Id: If2aa999ec1f261ea34a6aa725241ea50226083ad
Fabien Sanglard [Thu, 2 Feb 2017 01:31:32 +0000 (01:31 +0000)]
Fix security vulnerability am:
2ae83f4f62 am:
11ab583834
am:
ac2b87ac0f
Change-Id: I3b249a9ec1820917dc015c72bd093535927c9ed6
Fabien Sanglard [Thu, 2 Feb 2017 01:29:02 +0000 (01:29 +0000)]
Fix security vulnerability am:
2ae83f4f62
am:
11ab583834
Change-Id: I09ec85b9f83e1f4458940415cd07f6fca725c552
Fabien Sanglard [Thu, 2 Feb 2017 01:27:03 +0000 (01:27 +0000)]
Fix security vulnerability
am:
2ae83f4f62
Change-Id: Ie0590dbb8429b5b289f3095055abdc8d29b95a7f
Steven Thomas [Tue, 31 Jan 2017 03:10:26 +0000 (19:10 -0800)]
Add gvr_is_feature_supported()
A new gvr function gvr_is_feature_supported() was added in
https://critique.corp.google.com/#review/
145712807.
Implement the function to bring our gvr library up to date.
Bug:
34742071
Test: Confirmed I can once again load TreasureHunt built from google3.
Change-Id: Ib6a9802812a514ee54564f8572be9f6f4820ed01
Yifan Hong [Wed, 1 Feb 2017 21:29:50 +0000 (21:29 +0000)]
Merge "Do not -1 for lshal." am:
50752b732e am:
bd4cc238fb am:
44a6d5a5eb
am:
035fa3eb6b
Change-Id: I0547c8b71e2709c19f30db457d881ee7d2986cc7
Yifan Hong [Wed, 1 Feb 2017 21:27:19 +0000 (21:27 +0000)]
Merge "Do not -1 for lshal." am:
50752b732e am:
bd4cc238fb
am:
44a6d5a5eb
Change-Id: Icfd5998fd5a6cc558cc26addf0e89ccd0b61bb5f
Yifan Hong [Wed, 1 Feb 2017 21:24:49 +0000 (21:24 +0000)]
Merge "Do not -1 for lshal." am:
50752b732e
am:
bd4cc238fb
Change-Id: I1dd676e1d50b68913578890c5d5096a8d81480b9
Yifan Hong [Wed, 1 Feb 2017 21:20:38 +0000 (21:20 +0000)]
Merge "Do not -1 for lshal."
am:
50752b732e
Change-Id: I8e0f285f5b17b11f32b504dda3a4c31da770653f
Treehugger Robot [Wed, 1 Feb 2017 21:15:42 +0000 (21:15 +0000)]
Merge "Do not -1 for lshal."
Evgenii Stepanov [Wed, 1 Feb 2017 19:35:37 +0000 (19:35 +0000)]
Merge "Disable integer sanitization on host." am:
b79d9f9d49 am:
e81efc5036 am:
49cfd967de
am:
eb14cbfedc
Change-Id: I26be24d20912d990b1c4945ff634e91113755e60
Evgenii Stepanov [Wed, 1 Feb 2017 19:33:08 +0000 (19:33 +0000)]
Merge "Disable integer sanitization on host." am:
b79d9f9d49 am:
e81efc5036
am:
49cfd967de
Change-Id: I85c053b519fba0915076800cbc7314f45ea7a9cd
Evgenii Stepanov [Wed, 1 Feb 2017 19:31:10 +0000 (19:31 +0000)]
Merge "Disable integer sanitization on host." am:
b79d9f9d49
am:
e81efc5036
Change-Id: Ifc9e92b6c39b9dc08066f051da263171bef1ee06
Evgenii Stepanov [Wed, 1 Feb 2017 19:28:31 +0000 (19:28 +0000)]
Merge "Disable integer sanitization on host."
am:
b79d9f9d49
Change-Id: I517a019007bcf12b0884c22234abf25482d50cca
Evgenii Stepanov [Wed, 1 Feb 2017 19:24:10 +0000 (19:24 +0000)]
Merge "Disable integer sanitization on host."
TreeHugger Robot [Wed, 1 Feb 2017 16:56:22 +0000 (16:56 +0000)]
Merge "Remove makefiles for vr_window_manager"
Alex Vakulenko [Wed, 1 Feb 2017 05:27:41 +0000 (21:27 -0800)]
Remove makefiles for vr_window_manager
This is temporary until we figure out what to do with vendor-specific
gralloc calls in vr_window_manager
Bug:
34819414
Test: `make checkbuild -j32` succeeds
Change-Id: I9e37af1e5fce50acc4930ea241ce7208e5ce6a52
TreeHugger Robot [Wed, 1 Feb 2017 09:01:50 +0000 (09:01 +0000)]
Merge "Push mapping from file extension to GID."
George Burgess IV [Wed, 1 Feb 2017 07:32:37 +0000 (07:32 +0000)]
Merge "Fix a use-of-uninitialized-value warning" am:
d047e10558 am:
f9e9c5bc2e am:
dfadb2a1da
am:
491b616e1d
Change-Id: I147fb87e62e93a54d40f701076463420ed50105e
George Burgess IV [Wed, 1 Feb 2017 07:27:27 +0000 (07:27 +0000)]
Merge "Fix a use-of-uninitialized-value warning" am:
d047e10558 am:
f9e9c5bc2e
am:
dfadb2a1da
Change-Id: I47059e2f25361093fdff1743ccc0c3682b0827b3
George Burgess IV [Wed, 1 Feb 2017 07:22:02 +0000 (07:22 +0000)]
Merge "Fix a use-of-uninitialized-value warning" am:
d047e10558
am:
f9e9c5bc2e
Change-Id: Iff659ffdf206f94e88fcec2a27a1518357fecead
George Burgess IV [Wed, 1 Feb 2017 07:13:44 +0000 (07:13 +0000)]
Merge "Fix a use-of-uninitialized-value warning"
am:
d047e10558
Change-Id: I4bd31c59331b6ef26e36bfff3fe57becf9b5ecc2
Jeff Sharkey [Wed, 1 Feb 2017 07:09:11 +0000 (00:09 -0700)]
Push mapping from file extension to GID.
An upcoming sdcardfs change will offer to automatically change the
GID of files on external storage based on the extension, but we need
to tell the kernel the mapping that we'd like to see.
Test: build, boots
Bug:
34733702
Change-Id: I15d4db5423d18c4da17e198c0e45a8adb381fed2
Treehugger Robot [Wed, 1 Feb 2017 07:09:50 +0000 (07:09 +0000)]
Merge "Fix a use-of-uninitialized-value warning"
TreeHugger Robot [Wed, 1 Feb 2017 05:36:09 +0000 (05:36 +0000)]
Merge "dumpstate: dump list of hardware hals on device"
Jiyong Park [Wed, 1 Feb 2017 04:23:11 +0000 (04:23 +0000)]
Merge "configstore: remove build flags from surfaceflinger"
Steven Moreland [Wed, 1 Feb 2017 03:50:46 +0000 (19:50 -0800)]
dumpstate: dump list of hardware hals on device
lshal is a binary on the device that lists all registered and
passthrough hardware hals that are currently running.
Fixes:
34809346
Test: bugreport includes lshal dump
Change-Id: Ia1340d1b94ac4c902a81b709924ebf45462435cc
Yifan Hong [Tue, 31 Jan 2017 23:54:39 +0000 (15:54 -0800)]
Do not -1 for lshal.
Test: compiles
Change-Id: I99e6306a6b82ec85bc84f9572f3e4f2f8cdf2847
George Burgess IV [Wed, 1 Feb 2017 03:49:11 +0000 (03:49 +0000)]
Merge "Fix -Wdouble-promotion warnings" am:
7920557287 am:
f2528e2dad am:
c05e232ee8
am:
62b3f36949 -s ours
Change-Id: I21afd8f781eda6c8114870bffda4613f31688acd
George Burgess IV [Wed, 1 Feb 2017 03:40:12 +0000 (03:40 +0000)]
Merge "Fix -Wdouble-promotion warnings" am:
7920557287 am:
f2528e2dad
am:
c05e232ee8
Change-Id: Ic9efe4849e9b88e2340ff8fb4fa57cc8ed3388d6
George Burgess IV [Wed, 1 Feb 2017 03:33:00 +0000 (03:33 +0000)]
Merge "Fix -Wdouble-promotion warnings" am:
7920557287
am:
f2528e2dad
Change-Id: I002b3954932af2c13b81b6f5d2e46b157f730e1e
George Burgess IV [Wed, 1 Feb 2017 03:21:30 +0000 (03:21 +0000)]
Merge "Fix -Wdouble-promotion warnings"
am:
7920557287
Change-Id: I2b7a8f6c24990220f90cb3d2f9221228ec330be5
Treehugger Robot [Wed, 1 Feb 2017 03:14:59 +0000 (03:14 +0000)]
Merge "Fix -Wdouble-promotion warnings"
Evgenii Stepanov [Wed, 1 Feb 2017 00:37:44 +0000 (16:37 -0800)]
Disable integer sanitization on host.
Test: NFC until https://android-review.googlesource.com/#/c/329510
Change-Id: I0183556d5b945c689934664fe7f15caa18a0997d
George Burgess IV [Wed, 1 Feb 2017 00:21:25 +0000 (16:21 -0800)]
Fix a use-of-uninitialized-value warning
Caught by clang's static analyzer:
frameworks/base/core/jni/com_google_android_gles_jni_GLImpl.cpp:190:30:
warning: The right operand of '+' is a garbage value
buf = (char*)buf + offset;
This is because getPointer doesn't always set `offset` to a value. We
could fix it locally by initializing `offset`, but it seems to be less
error-prone to just fix getPointer instead.
Bug: None
Test: Still builds; warning is now gone.
Change-Id: I90bea0c94cf8d7f92a0d9a4db4e64e7e563bfb09
Calin Juravle [Wed, 1 Feb 2017 00:02:53 +0000 (00:02 +0000)]
Merge "DEXOPT_FORCE may be passed for primary apk as well."
TreeHugger Robot [Tue, 31 Jan 2017 23:34:27 +0000 (23:34 +0000)]
Merge "Set cache dirty on layer creation/destruction"
TreeHugger Robot [Tue, 31 Jan 2017 23:22:08 +0000 (23:22 +0000)]
Merge "Refactor how layer metadata for use by VR is propagated from WindowManager based on feedback in frameworks/base."
TreeHugger Robot [Tue, 31 Jan 2017 22:49:13 +0000 (22:49 +0000)]
Merge "Fix -Wdouble-promotion warnings"
TreeHugger Robot [Tue, 31 Jan 2017 21:58:05 +0000 (21:58 +0000)]
Merge "Fix unitialized field in HWC2on1Adapter"
Calin Juravle [Tue, 31 Jan 2017 21:53:00 +0000 (13:53 -0800)]
DEXOPT_FORCE may be passed for primary apk as well.
Remove the check that DEXOPT_FORCE is not set for primary apks. PM will
set it when forcing compilation.
Bug:
32871170
Test: adb shell cmd package compile -f m speed pkgname
Change-Id: I690608c48a2c486230ca7d2328ac5c6181427328
Albert Chaulk [Fri, 27 Jan 2017 19:21:34 +0000 (14:21 -0500)]
Refactor how layer metadata for use by VR is propagated
from WindowManager based on feedback in frameworks/base.
Since windowType and ownerUid are immutable, they are sent
on creation instead of separate IPC.
Bug:
30984984
Test: built locally
Change-Id: I380b3cdcf6aec471fc23f1e27846ab80492e8add
Fabien Sanglard [Tue, 31 Jan 2017 20:14:57 +0000 (12:14 -0800)]
Set cache dirty on layer creation/destruction
The adapter misses an edge cases where a transaction both destroys and
creates a layer. Under these conditions, assignHwc1LayerIds() is not
called. mHwc1LayerMap contains reference to destroyed layers
and ultimately lead to segfault.
Test: Angler eng device and AUPT.
Change-Id: I96bcbabf74a80cc87df796c0bc84b84e2bda8614
Fabien Sanglard [Tue, 31 Jan 2017 20:12:10 +0000 (12:12 -0800)]
Fix unitialized field in HWC2on1Adapter
Layer acquire fence file descriptor was not always initialized. In
the case of a SolidColor layer, the file descriptor was left set to
value 0 (stdin) which after call to set would be closed by the
adapter leading to system unstability.
Test: Angler eng devices and AUPT
Change-Id: Ic931d8cf9b0c6ca8d56c7a0ed7a7f586bf072505
TreeHugger Robot [Tue, 31 Jan 2017 19:51:48 +0000 (19:51 +0000)]
Merge "Do not fade pointer icon on every key press."
Vladislav Kaznacheev [Tue, 31 Jan 2017 18:03:35 +0000 (10:03 -0800)]
Do not fade pointer icon on every key press.
Bug:
34203295
Test: focus on a text input widget, move mouse around,
type something: mouse pointer stays visible.
Change-Id: I29028233e8d919b91c49a24b9e9c0cf4bdd38fe1
TreeHugger Robot [Tue, 31 Jan 2017 17:35:33 +0000 (17:35 +0000)]
Merge "Add ColorSpace::createLUT"
Chris Forbes [Tue, 31 Jan 2017 04:51:19 +0000 (04:51 +0000)]
Merge "vulkan: Add missing IMAGE_LAYOUT_SHARED_PRESENT_KHR enum"
TreeHugger Robot [Tue, 31 Jan 2017 04:14:29 +0000 (04:14 +0000)]
Merge "libbinder: Fix for using default constructor on IpPrefix class"
George Burgess IV [Tue, 31 Jan 2017 03:40:14 +0000 (03:40 +0000)]
Merge "Add permission bits to open calls with O_CREAT" am:
9dc2e6bc43 am:
3e240c81be am:
417c546404
am:
b941ea5b2f
Change-Id: If2239057cb266f40fd2deb086eeec25903a7f075
George Burgess IV [Tue, 31 Jan 2017 03:37:43 +0000 (03:37 +0000)]
Merge "Add permission bits to open calls with O_CREAT" am:
9dc2e6bc43 am:
3e240c81be
am:
417c546404
Change-Id: I35421a4b17751fb04e9b0532d40c822812ad0cb8
George Burgess IV [Tue, 31 Jan 2017 03:35:13 +0000 (03:35 +0000)]
Merge "Add permission bits to open calls with O_CREAT" am:
9dc2e6bc43
am:
3e240c81be
Change-Id: Id28d9cdc5b4862b7c62b4d5dd2da6fde13f8dd9c
George Burgess IV [Tue, 31 Jan 2017 03:32:44 +0000 (03:32 +0000)]
Merge "Add permission bits to open calls with O_CREAT"
am:
9dc2e6bc43
Change-Id: Ifa1d1607751dc89cb341a97c1b737bf2ee7bc260
Treehugger Robot [Tue, 31 Jan 2017 03:29:05 +0000 (03:29 +0000)]
Merge "Add permission bits to open calls with O_CREAT"
Chris Forbes [Tue, 31 Jan 2017 02:37:03 +0000 (15:37 +1300)]
vulkan: Add missing IMAGE_LAYOUT_SHARED_PRESENT_KHR enum
This was missing from the Khronos header & XML at the time of the
previous renames.
Test: build
Change-Id: I20e34987be495fe99ef066d3b3911ac72bace497
Robert Quattlebaum [Tue, 31 Jan 2017 02:45:52 +0000 (18:45 -0800)]
libbinder: Fix for using default constructor on IpPrefix class
We were missing the default constructor on our internal union,
which prevented the default constructor on the main class from
being functional. This change fixes the problem by specifying a
default constructor for the internal union.
Change-Id: I6d296aa27b3a2b6d43aa7accccb9c25ccccfb0a6
Romain Guy [Tue, 31 Jan 2017 01:31:58 +0000 (17:31 -0800)]
Add ColorSpace::createLUT
Generates a 3D LUT of a specified size. The generated LUT is meant to
be used as a 3D OpenGL texture for fast color space conversions in
shaders. This will be used to convert from P3 bitmaps to scRGB.
Bug:
32984164
Test: colorspace_test
Change-Id: I01f7276f885c71bde480e79260013d62786b377c
TreeHugger Robot [Tue, 31 Jan 2017 01:53:13 +0000 (01:53 +0000)]
Merge "libbinder: Add support for Value, Map, and IpPrefix types"
Chris Forbes [Tue, 31 Jan 2017 01:23:16 +0000 (01:23 +0000)]
Merge changes I380512a6,I88b11b47
* changes:
vulkan: Adjust ANDROID_native_buffer to match new shared image naming
vulkan: KHR_swapchain_front_buffered -> KHR_shared_presentable_image
Ecco Park [Tue, 31 Jan 2017 00:36:48 +0000 (00:36 +0000)]
Merge "dumpstate: add the property(ro.radio.log_loc) for modem_logs"
Robert Quattlebaum [Wed, 4 Jan 2017 21:25:14 +0000 (13:25 -0800)]
libbinder: Add support for Value, Map, and IpPrefix types
Change-Id: I4cd06c7c65f69e6b787111573b29c4ff22f57981
Chris Forbes [Mon, 30 Jan 2017 22:48:50 +0000 (11:48 +1300)]
vulkan: Adjust ANDROID_native_buffer to match new shared image naming
Rename the SWAPCHAIN_IMAGE_USAGE_FRONT_BUFFER_BIT to
SWAPCHAIN_IMAGE_USAGE_SHARED_BIT, to match Khronos renames.
Change-Id: I380512a66221c8cfcc650cd7e8259a185d61604d
Test: build
Courtney Goeltzenleuchter [Mon, 30 Jan 2017 22:21:29 +0000 (22:21 +0000)]
Merge "Add support for VK_EXT_swapchain_colorspace"
Chris Forbes [Mon, 30 Jan 2017 21:17:01 +0000 (10:17 +1300)]
vulkan: KHR_swapchain_front_buffered -> KHR_shared_presentable_image
Tracking Khronos naming churn
V2: More churn, no longer shared_image_swapchain.
Test: build
Change-Id: I88b11b47f2fd2f96e1f27f900a65b599aec470af
Calin Juravle [Mon, 30 Jan 2017 20:00:12 +0000 (20:00 +0000)]
Merge "[Installd] Clean up logic for secondary dex oat files"
Calin Juravle [Mon, 30 Jan 2017 19:47:40 +0000 (19:47 +0000)]
Merge "Add installd logic for compiling secondary dex files"
TreeHugger Robot [Mon, 30 Jan 2017 19:26:59 +0000 (19:26 +0000)]
Merge "frameworks/native: Add VR command-line tools"
Courtney Goeltzenleuchter [Mon, 30 Jan 2017 18:53:14 +0000 (18:53 +0000)]
Merge "Add support for EGL_EXT_pixel_format_float"
Alex Vakulenko [Fri, 27 Jan 2017 22:41:25 +0000 (14:41 -0800)]
frameworks/native: Add VR command-line tools
Bug: None
Test: `m -j32` succeeds
Change-Id: Ia83c71875eb0f207f63a168c88a138daeea42d5d
Jiwen 'Steve' Cai [Sun, 29 Jan 2017 19:37:16 +0000 (11:37 -0800)]
Fix libgvr related build issue on mips
Bug:
34787305
Test: make -j109 PRODUCT-aosp_mips-eng dist checkbuild
Change-Id: Ib1d41a70a50b2b34fc2b46dcfd3b49da07dc2495
Jiwen 'Steve' Cai [Sun, 29 Jan 2017 04:44:35 +0000 (20:44 -0800)]
Pull in X86 targets for GVR prebuilts CL@
144004555
Also updates the build_gvr_prebuilts.sh script for future prebuilt pull in.
Bug:
34787305
Test: m -j PRODUCT-sdk_google_phone_x86_64-sdk_addon
Test: m -j PRODUCT-sdk_google_phone_mips-sdk_addon
Change-Id: Iba4c4edbdb97f8c2e0e3e6bf054366c2648884fd
Alex Vakulenko [Fri, 27 Jan 2017 22:41:04 +0000 (14:41 -0800)]
Add DaydreamVR native libraries and services
Upstreaming the main VR system components from master-dreamos-dev
into goog/master.
Bug: None
Test: `m -j32` succeeds. Sailfish boots and basic_vr sample app works
Change-Id: I853015872afc443aecee10411ef2d6b79184d051
TreeHugger Robot [Sat, 28 Jan 2017 07:05:30 +0000 (07:05 +0000)]
Merge "Add color space connection"
TreeHugger Robot [Sat, 28 Jan 2017 05:40:34 +0000 (05:40 +0000)]
Merge "Add various vector functions"
Romain Guy [Sat, 28 Jan 2017 05:23:14 +0000 (21:23 -0800)]
Add color space connection
This will be used to generate a 3D LUT to convert wide gamut bitmaps
to the render target's color space at draw time.
Bug:
32984164
Test: colorspace_test
Change-Id: I1ea8d2b3129dfc8b994c8abc926b24e7e097558c
Romain Guy [Sat, 28 Jan 2017 04:04:01 +0000 (20:04 -0800)]
Add various vector functions
- map()
- Bool vectors
- any(), all(), comparison functions
Example:
all(lessThan(abs(v1 - v0), epsilon))
Bug:
32984164
Test: vec_test
Change-Id: I7d030387f5a280a499ea480015b69138cef38459
Calin Juravle [Wed, 25 Jan 2017 09:17:17 +0000 (01:17 -0800)]
[Installd] Clean up logic for secondary dex oat files
Add a new method to installd, reconcileSecondaryOdex, which checks if
the given dex files still exist and if not, deletes the oat files that
were generated for it.
Test: devices bots
adb shell cmd package reconcile-secondary-dex
com.android.google.gms (after artificially/temporarily renaming some
dex files)
Bug:
32871170
Change-Id: I8465a7be9fd4e44e191ad40f7bd0f41c8b2d6f73
Calin Juravle [Tue, 17 Jan 2017 22:43:25 +0000 (14:43 -0800)]
Add installd logic for compiling secondary dex files
Secondary dex compilation takes almost the same path as primary apk
compilation.
The main difference is in the fact that for secondary dex files we
create the oat dir on the fly and execute dexoptanalyzer (the equivalent
of GetDexOptNeeded) to check if we really need to perform the
compilation.
Test: adb shell cmd package compile -f -m speed --secondary-dex com.google.android.gms
Bug:
32871170
Change-Id: I2c56d57322899968a338ccabffca575d66f8ee08
Ecco Park [Fri, 27 Jan 2017 23:07:35 +0000 (15:07 -0800)]
dumpstate: add the property(ro.radio.log_loc) for modem_logs
For temporary solution for not saving modem logs in bugreport,
I created the property(ro.radio.log_loc) to indicate the place
where modem_logs are saved.
During transition to hal dump of telephony, we will keep the property in
device configuration.
Bug:
33820081
Change-Id: I7712ce095686a54ea7f097f190611aec7a64d79c
Signed-off-by: Ecco Park <eccopark@google.com>
Robert Carr [Wed, 21 Dec 2016 20:58:51 +0000 (12:58 -0800)]
SurfaceFlinger: Add support for non-privileged clients.
Allow clients without privilege to create child layers through scoped
connections. We enable this in preparation for allowing SurfaceView
to bypass the WindowManager. We include support for reparenting of
all of a layer's children for the WindowManager to use in cases where
one surface is replacing another (while keeping its children around).
Test: Tested with corresponding SurfaceView modifications.
Change-Id: I9920e6730d719113522a68788e63fb59f70d3406
George Burgess IV [Wed, 25 Jan 2017 19:36:12 +0000 (11:36 -0800)]
Add permission bits to open calls with O_CREAT
Open needs a third argument if you pass it O_CREAT:
https://linux.die.net/man/3/open
This turns into a compile-time error with FORITFY, so we need this fixed
before our unbroken FORTIFY can go in.
(The TEMP_FAILURE_RETRY open isn't detected by clang FORTIFY, but I
noticed that open_reference_profile potentially passes in O_CREAT as an
open_flag.)
Bug:
32073964
Test: Now builds with clang FORTIFY; CtsCompilationTestCases passes;
manually verified that /data/misc/profiles/ref/*/primary.prof has rw
permissions after a successful `cmd package compile -m speed-profile`.
Change-Id: Ie707d5ad403d2f86c769277b3e0f147c45000a6b
TreeHugger Robot [Fri, 27 Jan 2017 00:17:20 +0000 (00:17 +0000)]
Merge changes from topic 'vr_wm'
* changes:
VR: Add ability to pass layer info through SurfaceFlinger
VR: Create VR implementation for HWC HIDL interface
Ian Elliott [Thu, 26 Jan 2017 22:58:26 +0000 (22:58 +0000)]
Merge "Fix VK_KHR_SWAPCHAIN_FRONT_BUFFERED_SPEC_VERSION, it's actually 1"
Ian Elliott [Thu, 26 Jan 2017 21:04:17 +0000 (14:04 -0700)]
Fix VK_KHR_SWAPCHAIN_FRONT_BUFFERED_SPEC_VERSION, it's actually 1
Test: Visually compare the spec with the source.
Change-Id: I1bbadf9e618e1704aaa53e77738540e807a05e80
George Burgess IV [Thu, 26 Jan 2017 20:47:55 +0000 (20:47 +0000)]
Merge "Replace strlen with arraysize in array bounds." am:
70a5f12045 am:
5f186d057a am:
d427837d32
am:
c4aaa479ba
Change-Id: Ie73ddfcbf564778b7a3d085773ef6fba3ad66977