OSDN Git Service
Josh Gao [Wed, 12 Apr 2017 19:54:03 +0000 (19:54 +0000)]
Merge "atrace: don't use sendfile." am:
c1c9354ad8
am:
86504eb9e6
Change-Id: I1cdcf014bc7d5b40d1ecd20649d6b2c63777aa7a
Josh Gao [Wed, 12 Apr 2017 19:49:03 +0000 (19:49 +0000)]
Merge "atrace: don't use sendfile."
am:
c1c9354ad8
Change-Id: Ic42793ae6df11ac557e21cbd7a6d6bf758e2c3d8
Josh Gao [Wed, 12 Apr 2017 19:43:13 +0000 (19:43 +0000)]
Merge "atrace: don't use sendfile."
Dan Willemsen [Wed, 12 Apr 2017 19:37:31 +0000 (19:37 +0000)]
Merge "Mark as vendor_available" am:
d03d569f06
am:
b365ddfbf5
Change-Id: I52bf41fd520c08904c24ec63353f57e30b2eafe3
Dan Willemsen [Wed, 12 Apr 2017 19:32:31 +0000 (19:32 +0000)]
Merge "Mark as vendor_available"
am:
d03d569f06
Change-Id: I685b097e616aa605eaacc917d1de75e45555fc52
Treehugger Robot [Wed, 12 Apr 2017 19:21:34 +0000 (19:21 +0000)]
Merge "Mark as vendor_available"
Josh Gao [Tue, 11 Apr 2017 22:21:13 +0000 (15:21 -0700)]
atrace: don't use sendfile.
sendfile appears to have horrendous performance when used with the
ftrace output file, being up to 100x slower than the naive read/write
loop.
Switch to doing that instead, speeding up atrace from:
$ atrace --async_start sched freq; sleep 1; time atrace --async_stop > dummy
c apturing trace... 0m08.93s real 0m00.08s user 0m07.98s system
to:
$ atrace --async_start sched freq; sleep 1; time atrace --async_stop > dummy
capturing trace... 0m00.78s real 0m00.07s user 0m00.21s system
Bug: http://b/
37164190
Test: atrace --async_start sched freq; sleep 1; time atrace --async_stop > dummy
Change-Id: I22fe1871e263867f9ac54c8f5b474df824b4bc69
Dan Willemsen [Tue, 11 Apr 2017 17:06:30 +0000 (17:06 +0000)]
Merge "Remove .(ll)ndk suffix from (ll)ndk_library" am:
4e80c0077a
am:
cc18302254
Change-Id: I2f9d38d79b2907e0354140e7f6a80e32e2f6676b
Dan Willemsen [Tue, 11 Apr 2017 16:55:11 +0000 (16:55 +0000)]
Merge "Remove .(ll)ndk suffix from (ll)ndk_library"
am:
4e80c0077a
Change-Id: I7796091eae2ea72c27bf5b74e5c607dda355ca6a
Treehugger Robot [Tue, 11 Apr 2017 16:19:14 +0000 (16:19 +0000)]
Merge "Remove .(ll)ndk suffix from (ll)ndk_library"
Dan Willemsen [Fri, 7 Apr 2017 22:48:39 +0000 (15:48 -0700)]
Remove .(ll)ndk suffix from (ll)ndk_library
Soong handles these automatically now.
Bug:
33241851
Test: Android-aosp_arm.mk is the same before/after
Test: build.ninja is the same before/after
Test: build-aosp_arm.ninja is the same before/after
Merged-In: Ie1cd267564095c51e536b7a84d53e7aed9dca288
Change-Id: Ie1cd267564095c51e536b7a84d53e7aed9dca288
Dan Willemsen [Fri, 7 Apr 2017 21:14:08 +0000 (14:14 -0700)]
Mark as vendor_available
By setting vendor_available, the following may become true:
* a prebuilt library from this release may be used at runtime by
in a later releasse (by vendor code compiled against this release).
so this library shouldn't depend on runtime state that may change
in the future.
* this library may be loaded twice into a single process (potentially
an old version and a newer version). The symbols will be isolated
using linker namespaces, but this may break assumptions about 1
library in 1 process (your singletons will run twice).
Background:
This means that these modules may be built and installed twice --
once for the system partition and once for the vendor partition. The
system version will build just like today, and will be used by the
framework components on /system. The vendor version will build
against a reduced set of exports and libraries -- similar to, but
separate from, the NDK. This means that all your dependencies must
also mark vendor_available.
At runtime, /system binaries will load libraries from /system/lib*,
while /vendor binaries will load libraries from /vendor/lib*. There
are some exceptions in both directions -- bionic(libc,etc) and liblog
are always loaded from /system. And SP-HALs (OpenGL, etc) may load
/vendor code into /system processes, but the dependencies of those
libraries will load from /vendor until it reaches a library that's
always on /system. In the SP-HAL case, if both framework and vendor
libraries depend on a library of the same name, both versions will be
loaded, but they will be isolated from each other.
It's possible to compile differently -- reducing your source files,
exporting different include directories, etc. For details see:
https://android-review.googlesource.com/368372
None of this is enabled unless the device opts into the system/vendor
split with BOARD_VNDK_VERSION := current.
Bug:
36426473
Bug:
36079834
Test: Android-aosp_arm.mk is the same before/after
Test: build.ninja is the same before/after
Test: build-aosp_arm.ninja is the same before/after
Test: attempt to compile with BOARD_VNDK_VERSION := current
Change-Id: I875a75d785aa13b97751e1c145183d87add01845
Yifan Hong [Thu, 6 Apr 2017 06:43:09 +0000 (06:43 +0000)]
Merge "lshal --init-vintf stripped <impl> tag." am:
b7003ce5d4
am:
e0b65151d8
Change-Id: Ie7efd9f294713804a5210567d1a3a2e0ca14ce61
Yifan Hong [Thu, 6 Apr 2017 06:39:39 +0000 (06:39 +0000)]
Merge "lshal --init-vintf stripped <impl> tag."
am:
b7003ce5d4
Change-Id: I7f084b9041c6b6b4da9ed77798d570d4d7a4c176
Treehugger Robot [Thu, 6 Apr 2017 06:34:45 +0000 (06:34 +0000)]
Merge "lshal --init-vintf stripped <impl> tag."
Howard Chen [Thu, 6 Apr 2017 01:48:48 +0000 (01:48 +0000)]
Merge "This test is used to check if the kernel scheduler" am:
8039adad34
am:
0145ac08f0
Change-Id: Ib1e12e0ca70279127d89a336dbbdfcf1033694f6
Howard Chen [Thu, 6 Apr 2017 01:45:49 +0000 (01:45 +0000)]
Merge "This test is used to check if the kernel scheduler"
am:
8039adad34
Change-Id: I5d57ee904f1431384fabb89b893700e3a7731da0
Treehugger Robot [Thu, 6 Apr 2017 01:39:35 +0000 (01:39 +0000)]
Merge "This test is used to check if the kernel scheduler"
Yifan Hong [Tue, 4 Apr 2017 22:33:59 +0000 (15:33 -0700)]
lshal --init-vintf stripped <impl> tag.
<impl> tag is deprecated from the manifest.
Test: lshal --init-vintf
Change-Id: Ifa9336e3dfe7f1091ee61aa6a10df9629ad98b49
Howard Chen [Sat, 25 Mar 2017 09:12:59 +0000 (17:12 +0800)]
This test is used to check if the kernel scheduler
1. supports priority inheritance.
2. utilize the sync flag.
It also make statistic on average, best and worst latency
as well as number of deadline miss with a configurable
deadline specified in us.
The output is in json format hopefully to make it easy
to integrated with present test framework.
usage:
./schd-dbg # test and output json
./schd-dbg -i 1 # number of iterations
./schd-dbg -pair 4 # number of process pairs
./schd-dbg -deadline_us 2500 # deadline in us
./schd-dbg -v # debug
Test: pixel
Change-Id: Idccf0d402dcd7b81c639020364b5ee32075e18cb
Jesse Hall [Tue, 4 Apr 2017 23:14:19 +0000 (23:14 +0000)]
Merge "vulkan: update Vulkan headers to 1.0.46" am:
4cc7755c7c
am:
a867102e0c
Change-Id: I0769a81a5c324253886ee07ccd51fc0d8af15daa
Jesse Hall [Tue, 4 Apr 2017 23:12:19 +0000 (23:12 +0000)]
Merge "vulkan: update Vulkan headers to 1.0.46"
am:
4cc7755c7c
Change-Id: Id6997396c7a42517338bb36e24db1c50c600e248
Treehugger Robot [Tue, 4 Apr 2017 23:08:13 +0000 (23:08 +0000)]
Merge "vulkan: update Vulkan headers to 1.0.46"
Jesse Hall [Mon, 20 Mar 2017 20:09:19 +0000 (13:09 -0700)]
vulkan: update Vulkan headers to 1.0.46
- Add VK_EXT_swapchain_colorspace
- Add VK_KHR_incremental_present
Test: build aosp_arm64-eng
Change-Id: I6cd81baa2870bf436abab6191a05ebfd60ccbc46
Merged-In: I70ffd56a63da39301cd9706b1b91cf3643aab916
Dan Shi [Fri, 31 Mar 2017 17:16:00 +0000 (17:16 +0000)]
Merge "Add test config to dumpsys_test" am:
cf617abcb2
am:
c19f57f08e
Change-Id: Id7e21b0b4c5a182b24b229298a56f5508bedef31
Dan Shi [Fri, 31 Mar 2017 17:15:47 +0000 (17:15 +0000)]
Merge "Add test config to libgui_test" am:
7f1e92dc64
am:
ca8cc51273
Change-Id: Ie4d7224ff3677ac9df8cf5c33a14aea993b2de29
Dan Shi [Fri, 31 Mar 2017 17:13:30 +0000 (17:13 +0000)]
Merge "Add test config to dumpsys_test"
am:
cf617abcb2
Change-Id: I6257e48eeaf89e26ff4c46e69dd20941dae58392
Dan Shi [Fri, 31 Mar 2017 17:13:17 +0000 (17:13 +0000)]
Merge "Add test config to libgui_test"
am:
7f1e92dc64
Change-Id: Iaf39fdc5a6a9fb45cd0fb44504144d6eee66b909
Treehugger Robot [Fri, 31 Mar 2017 17:07:15 +0000 (17:07 +0000)]
Merge "Add test config to dumpsys_test"
Treehugger Robot [Fri, 31 Mar 2017 17:06:53 +0000 (17:06 +0000)]
Merge "Add test config to libgui_test"
Richard Uhler [Fri, 31 Mar 2017 07:52:46 +0000 (07:52 +0000)]
Merge "Remove obsolete and unused PATCHOAT_FOR_RELOCATION." am:
804b145356
am:
55cfd8607f
Change-Id: I473d7c32b9590d79a261c06b9616270737f58a8a
Richard Uhler [Fri, 31 Mar 2017 07:50:15 +0000 (07:50 +0000)]
Merge "Remove obsolete and unused PATCHOAT_FOR_RELOCATION."
am:
804b145356
Change-Id: I0c9a38e9be249bcb81f7b04b436a00d60b779fc5
Richard Uhler [Fri, 31 Mar 2017 07:46:45 +0000 (07:46 +0000)]
Merge "Remove obsolete and unused PATCHOAT_FOR_RELOCATION."
Richard Uhler [Thu, 30 Mar 2017 14:44:12 +0000 (15:44 +0100)]
Remove obsolete and unused PATCHOAT_FOR_RELOCATION.
Bug:
33192586
Test: m
Change-Id: I7868402804935c27e896229371480c7a120e2477
Dan Shi [Thu, 30 Mar 2017 06:09:37 +0000 (23:09 -0700)]
Add test config to libgui_test
Design doc:
Generalized Suites & the Unification of APCT & CTS Workflows Design/Roadmap
https://docs.google.com/document/d/1eabK3srlBLouMiBMrNP3xJPiRRdcoCquNxC8gBWPvx8/edit#heading=h.78vup5eivwzo
Details about test configs changes are tracked in doc
https://docs.google.com/document/d/1EWUjJ7fjy8ge_Nk0YQbFdRp8DSHo3z6GU0R8jLgrAcw/edit#
Bug:
35882476
Test: local test
Change-Id: Iff1d3b7166dfc217a4d57eb211467f87c5bf4c34
Dan Shi [Thu, 30 Mar 2017 06:06:00 +0000 (23:06 -0700)]
Add test config to dumpsys_test
Design doc:
Generalized Suites & the Unification of APCT & CTS Workflows Design/Roadmap
https://docs.google.com/document/d/1eabK3srlBLouMiBMrNP3xJPiRRdcoCquNxC8gBWPvx8/edit#heading=h.78vup5eivwzo
Details about test configs changes are tracked in doc
https://docs.google.com/document/d/1EWUjJ7fjy8ge_Nk0YQbFdRp8DSHo3z6GU0R8jLgrAcw/edit#
Bug:
35882476
Test: local test
Change-Id: Icfbf76319b42959a0a65c5f8666744420fd5266c
Elliott Hughes [Tue, 28 Mar 2017 23:56:46 +0000 (23:56 +0000)]
Merge "Remove references to property size limits." am:
8f8daca7ab
am:
75500cc6fd
Change-Id: Idb75e757f75f4f390a4ef596f37bbcc7c854e73e
Elliott Hughes [Tue, 28 Mar 2017 23:55:17 +0000 (23:55 +0000)]
Merge "Remove references to property size limits."
am:
8f8daca7ab
Change-Id: I146d719f51f6337abe13fc96b7e99fd7c4aebdcf
Treehugger Robot [Tue, 28 Mar 2017 23:49:51 +0000 (23:49 +0000)]
Merge "Remove references to property size limits."
Elliott Hughes [Tue, 28 Mar 2017 21:55:31 +0000 (14:55 -0700)]
Remove references to property size limits.
Bug: http://b/
33926793
Test: "python systrace.py"
Change-Id: Ia11c160935b8601bc9c4d867abc57ccf37f84082
neo.he [Tue, 28 Mar 2017 18:38:27 +0000 (18:38 +0000)]
Merge changes If756ad2a,I19aeb7ac am:
15feba03ae
am:
47609db709
Change-Id: I5a7ceb58874d4432d51342d275610dc46a539a61
neo.he [Tue, 28 Mar 2017 18:34:28 +0000 (18:34 +0000)]
Merge changes If756ad2a,I19aeb7ac
am:
15feba03ae
Change-Id: Ib1842ab89d245fb5bde291a26c4952e0fc262aba
Treehugger Robot [Tue, 28 Mar 2017 18:25:37 +0000 (18:25 +0000)]
Merge changes If756ad2a,I19aeb7ac
* changes:
Add alpha channel for the EGLConfig
Change the conditions of layer as translucent
Andreas Huber [Mon, 27 Mar 2017 21:10:09 +0000 (21:10 +0000)]
Merge "Enable --debug option for "lshal" command." am:
16175ca725
am:
674d3acd18
Change-Id: If87550eb68a9c8e280d8863063b4311a44ff6896
Andreas Huber [Mon, 27 Mar 2017 21:07:40 +0000 (21:07 +0000)]
Merge "Enable --debug option for "lshal" command."
am:
16175ca725
Change-Id: Ifa29afcb7677a3ec76a03d5f0365ba4de7ee4c9b
Andreas Huber [Mon, 27 Mar 2017 21:02:30 +0000 (21:02 +0000)]
Merge "Enable --debug option for "lshal" command."
Andreas Huber [Fri, 24 Mar 2017 20:14:11 +0000 (13:14 -0700)]
Enable --debug option for "lshal" command.
This calls into live binderized services and logs their "IBase::debug(...)"
output.
Bug:
36520620
Test: make, adb shell lshal, adb shell bugreport
Change-Id: Ida3b0c61eafd9f3de562a5df3af24bbaf383de22
Tim Murray [Thu, 23 Mar 2017 23:02:25 +0000 (23:02 +0000)]
binder: remove cgroup interactions [ DO NOT MERGE ]
am:
05f4679d03
Change-Id: Idba2f747151fc50866fb470681e50ba64b28b2d0
Fabien Sanglard [Thu, 23 Mar 2017 22:43:34 +0000 (22:43 +0000)]
Merge "Fix typo in Region to avoid unexpected values" am:
2cbfb0cda6
am:
7fc294e10e
Change-Id: I7feff39e1be80c69a744c4eefad835ba50796f4c
Fabien Sanglard [Thu, 23 Mar 2017 22:38:03 +0000 (22:38 +0000)]
Merge "Fix typo in Region to avoid unexpected values"
am:
2cbfb0cda6
Change-Id: I92a204fa492374c4c69a5d794d974b3cb8f454b3
Treehugger Robot [Thu, 23 Mar 2017 22:26:44 +0000 (22:26 +0000)]
Merge "Fix typo in Region to avoid unexpected values"
Tim Murray [Tue, 7 Mar 2017 17:31:09 +0000 (09:31 -0800)]
binder: remove cgroup interactions [ DO NOT MERGE ]
Having binder change cgroups on the fly is too expensive in the common case to be useful.
Test: builds
bug
34825105
Change-Id: Ia692c9d2ab261d852cb2fac8f27d6779d0e2b057
Steven Moreland [Thu, 23 Mar 2017 03:58:27 +0000 (03:58 +0000)]
Merge "lshal: --init-vintf exclude system hals" am:
8db626d2f3
am:
34206360f2
Change-Id: I21d0b37f6942204c748017e03e8c9a0e892a39dc
Steven Moreland [Thu, 23 Mar 2017 03:55:27 +0000 (03:55 +0000)]
Merge "lshal: --init-vintf exclude system hals"
am:
8db626d2f3
Change-Id: Ibe4636eb13c9439d09f51948ca49921a1e209747
Treehugger Robot [Thu, 23 Mar 2017 03:47:57 +0000 (03:47 +0000)]
Merge "lshal: --init-vintf exclude system hals"
Steven Moreland [Wed, 22 Mar 2017 21:22:55 +0000 (14:22 -0700)]
lshal: --init-vintf exclude system hals
--init-vintf is provided for convenience so that vendors can initialize
their vendor interface. Excluding system hals so that they aren't
included in the default vintf file that is generated. They are
maintained manually.
Test: Verified frameworks hals are no longer visible in init-vintf.
Bug:
34772739
Change-Id: Ie40c384334affcb3abee063d58000b808f04e234
Dmitry Shmidt [Thu, 23 Mar 2017 01:09:37 +0000 (01:09 +0000)]
Merge "dumpstate: Remove FWDUMP_bcmdhd support" am:
86388dbc9a
am:
2d71f97dfb
Change-Id: I1e3a7ae0e7855a8003f463586d368a81ad89be5f
Adam Lesinski [Thu, 23 Mar 2017 01:03:08 +0000 (01:03 +0000)]
Merge "batteryservice: add scheduleUpdate binder method" am:
e007716bc4
am:
799bb3501a
Change-Id: Ia1ef3d769c453bc58cc52b93df5d6f03e601d23e
Dmitry Shmidt [Thu, 23 Mar 2017 00:52:59 +0000 (00:52 +0000)]
Merge "dumpstate: Remove FWDUMP_bcmdhd support"
am:
86388dbc9a
Change-Id: Iadf37acb012f762919567354a7aede95f81b9eff
Adam Lesinski [Thu, 23 Mar 2017 00:48:42 +0000 (00:48 +0000)]
Merge "batteryservice: add scheduleUpdate binder method"
am:
e007716bc4
Change-Id: I8565c0502c3838d74fcd09ec75677e65cf85a0a9
Dmitry Shmidt [Thu, 23 Mar 2017 00:47:47 +0000 (00:47 +0000)]
Merge "dumpstate: Remove FWDUMP_bcmdhd support"
Treehugger Robot [Wed, 22 Mar 2017 23:53:59 +0000 (23:53 +0000)]
Merge "batteryservice: add scheduleUpdate binder method"
Adam Lesinski [Thu, 16 Feb 2017 02:45:23 +0000 (18:45 -0800)]
batteryservice: add scheduleUpdate binder method
Allows a caller to force an update to occur, instead of waiting
for an event or timer timeout.
Test: None (interface change)
Bug:
32645990
Change-Id: I1c94f1bed34d5f4cfe8e7d50cca4e5391dac2d62
Dmitry Shmidt [Wed, 22 Mar 2017 18:40:01 +0000 (11:40 -0700)]
dumpstate: Remove FWDUMP_bcmdhd support
Bug:
35983944
Test: Manual
Change-Id: Ia527bbe950b0f569a07e68805684d11ba2f71c66
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Steven Moreland [Tue, 21 Mar 2017 22:52:25 +0000 (22:52 +0000)]
Merge "Update re hwservicemanager debugDump semantics." am:
ed2debbb47
am:
eec11e4cf5
Change-Id: Ib6813604432530b9e09c1848f89d12dabd348b20
Steven Moreland [Tue, 21 Mar 2017 22:47:56 +0000 (22:47 +0000)]
Merge "Update re hwservicemanager debugDump semantics."
am:
ed2debbb47
Change-Id: Ibcac4fabedc0f3a1b310d02510785e4c46261a3b
Treehugger Robot [Tue, 21 Mar 2017 22:42:44 +0000 (22:42 +0000)]
Merge "Update re hwservicemanager debugDump semantics."
Tim Murray [Tue, 21 Mar 2017 22:25:35 +0000 (22:25 +0000)]
Merge "binder: remove cgroup interactions" am:
c12c6dca4e
am:
62f07e540f
Change-Id: I2d52ec71454f41500fb1fd2963b34984cfeb2e7d
Tim Murray [Tue, 21 Mar 2017 22:17:50 +0000 (22:17 +0000)]
Merge "binder: remove cgroup interactions"
am:
c12c6dca4e
Change-Id: I98cba352689749b2f5f4306453985dad83b98ed8
Treehugger Robot [Tue, 21 Mar 2017 22:09:50 +0000 (22:09 +0000)]
Merge "binder: remove cgroup interactions"
Steven Moreland [Tue, 21 Mar 2017 19:17:55 +0000 (12:17 -0700)]
Update re hwservicemanager debugDump semantics.
Test: internal boots, hidl_test, lshal works
Bug:
36414311
Change-Id: I572269a679dea3b6e985227f6727850f7dd33b58
Tim Murray [Tue, 7 Mar 2017 17:31:09 +0000 (09:31 -0800)]
binder: remove cgroup interactions
Having binder change cgroups on the fly is too expensive in the common case to be useful.
Test: builds
bug
34825105
Change-Id: Ia692c9d2ab261d852cb2fac8f27d6779d0e2b057
Andreas Gampe [Tue, 21 Mar 2017 15:52:26 +0000 (15:52 +0000)]
Merge "Installd: Clean up installd" am:
da86f5aa93
am:
3c8458247e
Change-Id: I73c250c360db22f7bb8a5e6d3c32c023a846cb39
Andreas Gampe [Tue, 21 Mar 2017 15:48:26 +0000 (15:48 +0000)]
Merge "Installd: Clean up installd"
am:
da86f5aa93
Change-Id: I17553e106659ede717e277d4836a12972ef6b2a0
Treehugger Robot [Tue, 21 Mar 2017 15:42:57 +0000 (15:42 +0000)]
Merge "Installd: Clean up installd"
neo.he [Tue, 21 Mar 2017 03:48:36 +0000 (11:48 +0800)]
Add alpha channel for the EGLConfig
If the alpha channel is not assigned,the framebuffer will be Opaque.
And it will mask the underlying video and make the video invisible
when play video width mediaplayer
Issue: 258684
Test: media player
Change-Id: If756ad2aaa789f6ddb178333b3e8854f52c8eac3
Andreas Gampe [Tue, 21 Mar 2017 01:36:54 +0000 (18:36 -0700)]
Installd: Clean up installd
Remove unnecessary includes.
Bug:
36336122
Test: m
Test: Device boots
Test: Can install apps
Change-Id: Iebbe049221d650667385efeac972956269bd53c2
Calin Juravle [Fri, 17 Mar 2017 00:01:15 +0000 (00:01 +0000)]
Merge "Support profile guided compilation for secondary dex files" am:
cb2e477f14
am:
f01cd5f89f
Change-Id: I5e012812cc71ed2030c5c06c151cfa68f89d6979
Calin Juravle [Thu, 16 Mar 2017 23:58:15 +0000 (23:58 +0000)]
Merge "Support profile guided compilation for secondary dex files"
am:
cb2e477f14
Change-Id: Ib763c8cf38a04243b1a4834a70b15a6533f7bf5d
Calin Juravle [Thu, 16 Mar 2017 23:53:55 +0000 (23:53 +0000)]
Merge "Support profile guided compilation for secondary dex files"
Calin Juravle [Thu, 9 Mar 2017 03:05:07 +0000 (19:05 -0800)]
Support profile guided compilation for secondary dex files
Test: adb shell cmd package bg-dexopt-job works for sercondary dex files
Bug:
26719109
Change-Id: I4011a780f65378c23a4631c07c37cdb4f5fee41e
Calin Juravle [Wed, 15 Mar 2017 22:24:01 +0000 (22:24 +0000)]
Merge "Use assignment instead of reset for profile unique_fd" am:
fd695a61c1
am:
32d41fecc8
Change-Id: I660b56126fc76dab6df9ac92b8f43d409b088a77
Calin Juravle [Wed, 15 Mar 2017 22:22:02 +0000 (22:22 +0000)]
Merge "Use assignment instead of reset for profile unique_fd"
am:
fd695a61c1
Change-Id: Ifcf742625e9c05379b063ba5480db406a9b81459
Calin Juravle [Wed, 15 Mar 2017 22:15:00 +0000 (22:15 +0000)]
Merge "Use assignment instead of reset for profile unique_fd"
Dan Albert [Wed, 15 Mar 2017 20:24:14 +0000 (20:24 +0000)]
Merge "Drop non-API headers from the NDK vulkan headers." am:
c416f2eb23
am:
44e0f0a5a5
Change-Id: I4894ca20c2ad52565490beb92a1a40efdb05496e
Calin Juravle [Wed, 15 Mar 2017 20:20:39 +0000 (13:20 -0700)]
Use assignment instead of reset for profile unique_fd
Using reset with a unique_fd will just convert the unique_fd to int
without releasing it.
Test: adb shell cmd package compile -m speed-profile com.google.android.googlequicksearchbox
Bug:
36234017
Change-Id: I577197ac4a147765191777a5ebc6ef150dea1027
Dan Albert [Wed, 15 Mar 2017 20:20:14 +0000 (20:20 +0000)]
Merge "Drop non-API headers from the NDK vulkan headers."
am:
c416f2eb23
Change-Id: I72c6dd7f474010b5410209efad69b0c3fbc88f85
Treehugger Robot [Wed, 15 Mar 2017 20:13:10 +0000 (20:13 +0000)]
Merge "Drop non-API headers from the NDK vulkan headers."
Marissa Wall [Wed, 15 Mar 2017 00:55:34 +0000 (00:55 +0000)]
Merge "test-hwc2: fix build errors on other branches" am:
ea8d46f1ab
am:
acfd2a846b
Change-Id: I7ed1e6c8de18111275a128d44a523edd02e9833d
Marissa Wall [Wed, 15 Mar 2017 00:50:33 +0000 (00:50 +0000)]
Merge "test-hwc2: fix build errors on other branches"
am:
ea8d46f1ab
Change-Id: I15fb43deec4eac3bb2867fa4dd101606cb593389
Treehugger Robot [Wed, 15 Mar 2017 00:45:27 +0000 (00:45 +0000)]
Merge "test-hwc2: fix build errors on other branches"
Dan Albert [Tue, 14 Mar 2017 21:22:05 +0000 (14:22 -0700)]
Drop non-API headers from the NDK vulkan headers.
The other headers in this directory are just for the platform and
shouldn't be in the NDK. Fortunately we never exposed the symbols in
the stub libraries so users couldn't actually do anything with the
other headers, but we shouldn't be exposing these headers anyway.
Test: make checkbuild
Bug: http://b/
36224616
Change-Id: I9e162964e349a256e7c7ad25eca3c33c5631e2c8
Marissa Wall [Tue, 14 Mar 2017 19:30:35 +0000 (12:30 -0700)]
test-hwc2: fix build errors on other branches
Currently, test-hwc2 does not build on other branches due to
differences in GraphicBufferAlloc. Switch to directly allocating
graphic buffers.
Test: run the test-hwc2 tests
Change-Id: I63a058a9b0bf48d1e3236f5e124ecaa1dfb4593a
Calin Juravle [Tue, 14 Mar 2017 02:27:28 +0000 (02:27 +0000)]
Merge "Use unique_fd instead of fd_t when managing profiles" am:
02971e3348
am:
9f6666ae1d
Change-Id: I77f6d375afbcb85a77b640a0d47ba741c08bd406
Calin Juravle [Tue, 14 Mar 2017 02:22:27 +0000 (02:22 +0000)]
Merge "Use unique_fd instead of fd_t when managing profiles"
am:
02971e3348
Change-Id: I81a72601fe2507db09dd23fdb3527c0ed0dd02df
Calin Juravle [Tue, 14 Mar 2017 02:17:44 +0000 (02:17 +0000)]
Merge "Use unique_fd instead of fd_t when managing profiles"
Calin Juravle [Thu, 9 Mar 2017 22:33:33 +0000 (14:33 -0800)]
Use unique_fd instead of fd_t when managing profiles
Long due code improvement...
This will make things cleaner when adding support for secondary dex
profiles.
Test: adb shell cmd package bg-dexopt-job
Bug:
26719109
Change-Id: I232759d76c285c9eed9885f8ee4b84431fd65d15
Marissa Wall [Mon, 13 Mar 2017 18:02:08 +0000 (18:02 +0000)]
Merge changes from topic 'test-hwc2' am:
29943c1971
am:
92360b14a0
Change-Id: Ia517fe617338161966a6ee389d18526e8e2c7bc5
Marissa Wall [Mon, 13 Mar 2017 17:58:32 +0000 (17:58 +0000)]
Merge changes from topic 'test-hwc2'
am:
29943c1971
Change-Id: I69fdf5bf2ff8f2c454e2e1a455e4d8d73b330aa3
Treehugger Robot [Mon, 13 Mar 2017 17:50:25 +0000 (17:50 +0000)]
Merge changes from topic 'test-hwc2'
* changes:
test-hwc2: dump
test-hwc2: virtual displays
test-hwc2: color and hdr requests
test-hwc2: present display
test-hwc2: add client target support
test-hwc2: get and accept display changes
test-hwc2: validate display
test-hwc2: set layer visible region
test-hwc2: set layer buffer
test-hwc2: set layer surface damage
test-hwc2: set cursor position
test-hwc2: set layer color
test-hwc2: set layer source crop
test-hwc2: set layer display frame
test-hwc2: set layer z order
test-hwc2: set layer transform
test-hwc2: set layer plane alpha
test-hwc2: set layer dataspace
test-hwc2: set layer blend mode
test-hwc2: set layer composition type
test-hwc2: get display name
test-hwc2: enable vsync
test-hwc2: power mode support
test-hwc2: get and set active config
test-hwc2: get display configs and attributes
test-hwc2: create and destroy layers
test-hwc2: display type support
test-hwc2: register callback functions
test-hwc2: open and close hwc2 device