OSDN Git Service

android-x86/frameworks-native.git
7 years agoMerge "Lshal: note debug in help"
Treehugger Robot [Wed, 3 May 2017 16:15:21 +0000 (16:15 +0000)]
Merge "Lshal: note debug in help"

7 years agoMerge "Remove warnings in Rect.h"
Treehugger Robot [Wed, 3 May 2017 02:00:25 +0000 (02:00 +0000)]
Merge "Remove warnings in Rect.h"

7 years agoLshal: note debug in help
Steven Moreland [Wed, 3 May 2017 00:27:52 +0000 (17:27 -0700)]
Lshal: note debug in help

Test: pass
Bug: 37725279
Change-Id: I2f43628e42f2cb334083dcb4f7d174100021a745

7 years agoRemove warnings in Rect.h
Colin Cross [Tue, 2 May 2017 22:59:14 +0000 (15:59 -0700)]
Remove warnings in Rect.h

Fixes:
frameworks/native/include/ui/Rect.h:53:69: error: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Werror,-Wformat]

Bug: 31751828
Test: m -j checkbuild
Change-Id: Ic8a2ce741f550651f943805382adc035a8da1096

7 years agoMerge "Revert "Disable input-vdex when doing speed-profile.""
Treehugger Robot [Tue, 2 May 2017 13:23:17 +0000 (13:23 +0000)]
Merge "Revert "Disable input-vdex when doing speed-profile.""

7 years agoMerge "Remove redundant dependencies"
Treehugger Robot [Mon, 1 May 2017 23:19:24 +0000 (23:19 +0000)]
Merge "Remove redundant dependencies"

7 years agoRemove redundant dependencies
Steven Moreland [Mon, 1 May 2017 17:19:17 +0000 (10:19 -0700)]
Remove redundant dependencies

android.hidl.base@1.0 and android.hidlmanager@1.0 are built into libhidltransport.

Test: links
Bug: 33276472
Change-Id: Ia22e134d3882f2e503e540dda332fc17213b6bb0

7 years agoMerge "Update installd to new compiler filters."
Nicolas Geoffray [Thu, 27 Apr 2017 11:40:05 +0000 (11:40 +0000)]
Merge "Update installd to new compiler filters."

7 years agoRevert "Disable input-vdex when doing speed-profile."
Nicolas Geoffray [Mon, 24 Apr 2017 13:34:59 +0000 (13:34 +0000)]
Revert "Disable input-vdex when doing speed-profile."

https://android-review.googlesource.com/#/c/377754/ is fixing vdex and delayout.

bug: 37558732
Test: device boots, vdex works on OTA, input-vdex is passed
      for speed-profile

This reverts commit a2dbefc7a51482acb8d5d139c9e2f01306ef9ceb.

Change-Id: I8fcab30ec617b39769fbf7e5818e5d503d647fb4

7 years agoMerge "Add missing stdbool.h to sensor.h."
Dan Albert [Wed, 26 Apr 2017 18:34:14 +0000 (18:34 +0000)]
Merge "Add missing stdbool.h to sensor.h."

7 years agoAdd missing stdbool.h to sensor.h.
Dan Albert [Tue, 25 Apr 2017 19:24:28 +0000 (12:24 -0700)]
Add missing stdbool.h to sensor.h.

This got hacked into the NDK headers ages ago, but never got
upstreamed to the frameworks.

Test: make checkbuild
Bug: https://github.com/android-ndk/ndk/issues/370
Merged-In: Id38cbc96633c1c61de36996c2dd9e6c2331bd6e7
Change-Id: Id38cbc96633c1c61de36996c2dd9e6c2331bd6e7

7 years agoUpdate installd to new compiler filters.
Nicolas Geoffray [Tue, 25 Apr 2017 11:28:28 +0000 (12:28 +0100)]
Update installd to new compiler filters.

bug:34715556
Test: build and boot aosp bullhead
Change-Id: If10fb8cdfe34f109d4caa1df56a49304025da553

7 years agoMerge "Revert "(lib)?sensorservice: Android.mk -> Android.bp""
Steven Moreland [Fri, 21 Apr 2017 01:57:34 +0000 (01:57 +0000)]
Merge "Revert "(lib)?sensorservice: Android.mk -> Android.bp""

7 years agoRevert "(lib)?sensorservice: Android.mk -> Android.bp"
Steven Moreland [Fri, 21 Apr 2017 01:57:19 +0000 (01:57 +0000)]
Revert "(lib)?sensorservice: Android.mk -> Android.bp"

This reverts commit f1b07d51ed6a11a0446115934fb75c22a1badb87.

Bad internal merge and other errors.

Change-Id: If9b812916223773ee98354d0805626cf759355fd
Merged-In: Ib3a3f249c278be582de04a583e18de3c0e502d5e

7 years agoMerge "(lib)?sensorservice: Android.mk -> Android.bp"
Steven Moreland [Fri, 21 Apr 2017 00:03:10 +0000 (00:03 +0000)]
Merge "(lib)?sensorservice: Android.mk -> Android.bp"

7 years ago(lib)?sensorservice: Android.mk -> Android.bp
Steven Moreland [Thu, 20 Apr 2017 22:56:38 +0000 (15:56 -0700)]
(lib)?sensorservice: Android.mk -> Android.bp

Test: links
Change-Id: I2ddab32c12bf07044416f983b5cf0ae19cc12ba0

7 years agoMerge "Convert inputflinger to Android.bp"
Treehugger Robot [Thu, 20 Apr 2017 17:59:45 +0000 (17:59 +0000)]
Merge "Convert inputflinger to Android.bp"

7 years agoConvert inputflinger to Android.bp
Colin Cross [Wed, 19 Apr 2017 23:56:46 +0000 (16:56 -0700)]
Convert inputflinger to Android.bp

See build/soong/README.md for more information.

Test: m -j checkbuild
Change-Id: Iebdc3f4d2d560b0fdf5447dde0ac06df64826bb5
Merged-In: Iebdc3f4d2d560b0fdf5447dde0ac06df64826bb5
(cherry picked from commit 45a1b9c95de619785b68ce51b1a3e271abc4ffd9)

7 years agoMerge "libbinder: vendor_available"
Treehugger Robot [Thu, 20 Apr 2017 01:39:21 +0000 (01:39 +0000)]
Merge "libbinder: vendor_available"

7 years agoMerge "Fix lshal not to squash HAL entries incorrectly."
Yifan Hong [Thu, 20 Apr 2017 00:51:48 +0000 (00:51 +0000)]
Merge "Fix lshal not to squash HAL entries incorrectly."

7 years agoMerge "Fix passing --classpath-dir to dex2oat for split apks."
Treehugger Robot [Wed, 19 Apr 2017 22:22:32 +0000 (22:22 +0000)]
Merge "Fix passing --classpath-dir to dex2oat for split apks."

7 years agolibbinder: vendor_available
Steven Moreland [Fri, 14 Apr 2017 04:19:48 +0000 (21:19 -0700)]
libbinder: 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: m -j libbinder
Test: attempt to compile with BOARD_VNDK_VERSION := current
(cherry picked from commit 3aa761697b93dab3e4b1acf90d14502a79a49219)
Merged-In: Iec94a66adbc852f7f23352307cf36f49a79ee3a6
Change-Id: Iec94a66adbc852f7f23352307cf36f49a79ee3a6

7 years agoFix passing --classpath-dir to dex2oat for split apks.
Jeff Hao [Wed, 19 Apr 2017 20:50:15 +0000 (13:50 -0700)]
Fix passing --classpath-dir to dex2oat for split apks.

Merged wrong version of CL in by mistake. CL should have been
cherry-picked from cc5c4e32637601432bc6359fb7ff34e4cadb6502.

Bug: 34169257
Test: cts-tradefed run singleCommand cts -d --module
CtsAppSecurityHostTestCases -t android.appsecurity.cts.SplitTests

Change-Id: Ibebcdce1c9ab0de3254727c8dfc3d0de18932f1c

7 years agoMerge "Run dex2oat from the staged apk directory."
Treehugger Robot [Wed, 19 Apr 2017 17:13:11 +0000 (17:13 +0000)]
Merge "Run dex2oat from the staged apk directory."

7 years agoFix lshal not to squash HAL entries incorrectly.
Yifan Hong [Tue, 18 Apr 2017 21:19:40 +0000 (14:19 -0700)]
Fix lshal not to squash HAL entries incorrectly.

Bug: 37311367
Test: lshal --init-vintf
Change-Id: I693b53f5f342c7600e4031d020792fd347e3ae83

7 years agoRun dex2oat from the staged apk directory.
Jeff Hao [Thu, 6 Apr 2017 00:11:39 +0000 (17:11 -0700)]
Run dex2oat from the staged apk directory.

The frameworks/base change makes the PackageManager pass relative paths
of previous code paths as shared library paths. This change passes the
base directory for these relative paths to dex2oat using the new switch
--base-dir.

Part of a multi-project change.

Bug: 34169257
Test: cts-tradefed run singleCommand cts -d --module
CtsAppSecurityHostTestCases -t android.appsecurity.cts.SplitTests

Merged-In: Ic20aa0b6a80104d0759ac84df3eb89570604e53f
(cherry-picked from commit cc5c4e32637601432bc6359fb7ff34e4cadb6502)

Change-Id: I29e6e7365654cc1a538272591356e2253d6ec0e4

7 years agoMerge "Fix error BufferQueue attaching flow."
Treehugger Robot [Mon, 17 Apr 2017 20:26:40 +0000 (20:26 +0000)]
Merge "Fix error BufferQueue attaching flow."

7 years agoMerge "Update to allow multiple HALs in a manifest."
Yifan Hong [Mon, 17 Apr 2017 18:12:27 +0000 (18:12 +0000)]
Merge "Update to allow multiple HALs in a manifest."

7 years agoUpdate to allow multiple HALs in a manifest.
Yifan Hong [Thu, 13 Apr 2017 08:00:12 +0000 (01:00 -0700)]
Update to allow multiple HALs in a manifest.

Test: libvintf_test
Test: lshal --init_vintf

Bug: 37294247
Change-Id: I202787d7856db6e06e595bd52c644f6a0eefcb66

7 years agoMerge "atrace: don't use sendfile."
Josh Gao [Wed, 12 Apr 2017 19:43:13 +0000 (19:43 +0000)]
Merge "atrace: don't use sendfile."

7 years agoMerge "Mark as vendor_available"
Treehugger Robot [Wed, 12 Apr 2017 19:21:34 +0000 (19:21 +0000)]
Merge "Mark as vendor_available"

7 years agoatrace: don't use sendfile.
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

7 years agoMerge "Remove .(ll)ndk suffix from (ll)ndk_library"
Treehugger Robot [Tue, 11 Apr 2017 16:19:14 +0000 (16:19 +0000)]
Merge "Remove .(ll)ndk suffix from (ll)ndk_library"

7 years agoRemove .(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

7 years agoMark as vendor_available
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

7 years agoMerge "lshal --init-vintf stripped <impl> tag."
Treehugger Robot [Thu, 6 Apr 2017 06:34:45 +0000 (06:34 +0000)]
Merge "lshal --init-vintf stripped <impl> tag."

7 years agoMerge "This test is used to check if the kernel scheduler"
Treehugger Robot [Thu, 6 Apr 2017 01:39:35 +0000 (01:39 +0000)]
Merge "This test is used to check if the kernel scheduler"

7 years agolshal --init-vintf stripped <impl> tag.
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

7 years agoThis test is used to check if the kernel scheduler
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

7 years agoMerge "vulkan: update Vulkan headers to 1.0.46"
Treehugger Robot [Tue, 4 Apr 2017 23:08:13 +0000 (23:08 +0000)]
Merge "vulkan: update Vulkan headers to 1.0.46"

7 years agovulkan: 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

7 years agoMerge "Add test config to dumpsys_test"
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

7 years agoMerge "Add test config to libgui_test"
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

7 years agoMerge "Add test config to dumpsys_test"
Treehugger Robot [Fri, 31 Mar 2017 17:07:15 +0000 (17:07 +0000)]
Merge "Add test config to dumpsys_test"

7 years agoMerge "Add test config to libgui_test"
Treehugger Robot [Fri, 31 Mar 2017 17:06:53 +0000 (17:06 +0000)]
Merge "Add test config to libgui_test"

7 years agoMerge "Remove obsolete and unused PATCHOAT_FOR_RELOCATION."
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

7 years agoMerge "Remove obsolete and unused PATCHOAT_FOR_RELOCATION."
Richard Uhler [Fri, 31 Mar 2017 07:46:45 +0000 (07:46 +0000)]
Merge "Remove obsolete and unused PATCHOAT_FOR_RELOCATION."

7 years agoRemove 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

7 years agoAdd test config to libgui_test
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

7 years agoAdd test config to dumpsys_test
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

7 years agoMerge "Remove references to property size limits."
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

7 years agoMerge "Remove references to property size limits."
Treehugger Robot [Tue, 28 Mar 2017 23:49:51 +0000 (23:49 +0000)]
Merge "Remove references to property size limits."

7 years agoRemove 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

7 years agoMerge changes If756ad2a,I19aeb7ac
neo.he [Tue, 28 Mar 2017 18:34:28 +0000 (18:34 +0000)]
Merge changes If756ad2a,I19aeb7ac
am: 15feba03ae

Change-Id: Ib1842ab89d245fb5bde291a26c4952e0fc262aba

7 years agoMerge changes If756ad2a,I19aeb7ac
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

7 years agoMerge "Enable --debug option for "lshal" command."
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

7 years agoMerge "Enable --debug option for "lshal" command."
Andreas Huber [Mon, 27 Mar 2017 21:02:30 +0000 (21:02 +0000)]
Merge "Enable --debug option for "lshal" command."

7 years agoEnable --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

7 years agoMerge "Fix typo in Region to avoid unexpected values"
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

7 years agoMerge "Fix typo in Region to avoid unexpected values"
Treehugger Robot [Thu, 23 Mar 2017 22:26:44 +0000 (22:26 +0000)]
Merge "Fix typo in Region to avoid unexpected values"

7 years agoMerge "lshal: --init-vintf exclude system hals"
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

7 years agoMerge "lshal: --init-vintf exclude system hals"
Treehugger Robot [Thu, 23 Mar 2017 03:47:57 +0000 (03:47 +0000)]
Merge "lshal: --init-vintf exclude system hals"

7 years agolshal: --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

7 years agoMerge "dumpstate: Remove FWDUMP_bcmdhd support"
Dmitry Shmidt [Thu, 23 Mar 2017 00:52:59 +0000 (00:52 +0000)]
Merge "dumpstate: Remove FWDUMP_bcmdhd support"
am: 86388dbc9a

Change-Id: Iadf37acb012f762919567354a7aede95f81b9eff

7 years agoMerge "batteryservice: add scheduleUpdate binder method"
Adam Lesinski [Thu, 23 Mar 2017 00:48:42 +0000 (00:48 +0000)]
Merge "batteryservice: add scheduleUpdate binder method"
am: e007716bc4

Change-Id: I8565c0502c3838d74fcd09ec75677e65cf85a0a9

7 years agoMerge "dumpstate: Remove FWDUMP_bcmdhd support"
Dmitry Shmidt [Thu, 23 Mar 2017 00:47:47 +0000 (00:47 +0000)]
Merge "dumpstate: Remove FWDUMP_bcmdhd support"

7 years agoMerge "batteryservice: add scheduleUpdate binder method"
Treehugger Robot [Wed, 22 Mar 2017 23:53:59 +0000 (23:53 +0000)]
Merge "batteryservice: add scheduleUpdate binder method"

7 years agobatteryservice: 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

7 years agodumpstate: Remove FWDUMP_bcmdhd support
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>
7 years agoMerge "Update re hwservicemanager debugDump semantics."
Steven Moreland [Tue, 21 Mar 2017 22:47:56 +0000 (22:47 +0000)]
Merge "Update re hwservicemanager debugDump semantics."
am: ed2debbb47

Change-Id: Ibcac4fabedc0f3a1b310d02510785e4c46261a3b

7 years agoMerge "Update re hwservicemanager debugDump semantics."
Treehugger Robot [Tue, 21 Mar 2017 22:42:44 +0000 (22:42 +0000)]
Merge "Update re hwservicemanager debugDump semantics."

7 years agoMerge "binder: remove cgroup interactions"
Tim Murray [Tue, 21 Mar 2017 22:17:50 +0000 (22:17 +0000)]
Merge "binder: remove cgroup interactions"
am: c12c6dca4e

Change-Id: I98cba352689749b2f5f4306453985dad83b98ed8

7 years agoMerge "binder: remove cgroup interactions"
Treehugger Robot [Tue, 21 Mar 2017 22:09:50 +0000 (22:09 +0000)]
Merge "binder: remove cgroup interactions"

7 years agoUpdate re hwservicemanager debugDump semantics.
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

7 years agobinder: remove cgroup interactions
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

7 years agoMerge "Installd: Clean up installd"
Andreas Gampe [Tue, 21 Mar 2017 15:48:26 +0000 (15:48 +0000)]
Merge "Installd: Clean up installd"
am: da86f5aa93

Change-Id: I17553e106659ede717e277d4836a12972ef6b2a0

7 years agoMerge "Installd: Clean up installd"
Treehugger Robot [Tue, 21 Mar 2017 15:42:57 +0000 (15:42 +0000)]
Merge "Installd: Clean up installd"

7 years agoAdd alpha channel for the EGLConfig
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

7 years agoInstalld: Clean up installd
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

7 years agoMerge "Support profile guided compilation for secondary dex files"
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

7 years agoMerge "Support profile guided compilation for secondary dex files"
Calin Juravle [Thu, 16 Mar 2017 23:53:55 +0000 (23:53 +0000)]
Merge "Support profile guided compilation for secondary dex files"

7 years agoSupport 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

7 years agoMerge "Use assignment instead of reset for profile unique_fd"
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

7 years agoMerge "Use assignment instead of reset for profile unique_fd"
Calin Juravle [Wed, 15 Mar 2017 22:15:00 +0000 (22:15 +0000)]
Merge "Use assignment instead of reset for profile unique_fd"

7 years agoUse assignment instead of reset for profile unique_fd
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

7 years agoMerge "Drop non-API headers from the NDK vulkan headers."
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

7 years agoMerge "Drop non-API headers from the NDK vulkan headers."
Treehugger Robot [Wed, 15 Mar 2017 20:13:10 +0000 (20:13 +0000)]
Merge "Drop non-API headers from the NDK vulkan headers."

7 years agoMerge "test-hwc2: fix build errors on other branches"
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

7 years agoMerge "test-hwc2: fix build errors on other branches"
Treehugger Robot [Wed, 15 Mar 2017 00:45:27 +0000 (00:45 +0000)]
Merge "test-hwc2: fix build errors on other branches"

7 years agoDrop non-API headers from the NDK vulkan headers.
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

7 years agotest-hwc2: fix build errors on other branches
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

7 years agoMerge "Use unique_fd instead of fd_t when managing profiles"
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

7 years agoMerge "Use unique_fd instead of fd_t when managing profiles"
Calin Juravle [Tue, 14 Mar 2017 02:17:44 +0000 (02:17 +0000)]
Merge "Use unique_fd instead of fd_t when managing profiles"

7 years agoUse 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

7 years agoMerge changes from topic 'test-hwc2'
Marissa Wall [Mon, 13 Mar 2017 17:58:32 +0000 (17:58 +0000)]
Merge changes from topic 'test-hwc2'
am: 29943c1971

Change-Id: I69fdf5bf2ff8f2c454e2e1a455e4d8d73b330aa3

7 years agoMerge changes from topic 'test-hwc2'
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

7 years agoMerge changes Ib6b72ca5,I8ea5dfb9,Iaf954877,I803bf9f4
Jesse Hall [Sat, 11 Mar 2017 17:40:42 +0000 (17:40 +0000)]
Merge changes Ib6b72ca5,I8ea5dfb9,Iaf954877,I803bf9f4
am: 42f482e139

Change-Id: I777ac0dd59147dd8aa28d2093e6baab4d199be42

7 years agoMerge changes Ib6b72ca5,I8ea5dfb9,Iaf954877,I803bf9f4
Treehugger Robot [Sat, 11 Mar 2017 17:37:15 +0000 (17:37 +0000)]
Merge changes Ib6b72ca5,I8ea5dfb9,Iaf954877,I803bf9f4

* changes:
  vulkan: update Vulkan headers to 1.0.43
  vulkan: update Vulkan headers to 1.0.42
  vulkan: update Vulkan headers to 1.0.41
  vulkan: update Vulkan headers to 1.0.39

7 years agovulkan: update Vulkan headers to 1.0.43
Jesse Hall [Sat, 11 Mar 2017 05:01:57 +0000 (21:01 -0800)]
vulkan: update Vulkan headers to 1.0.43

Test: mmm frameworks/native/vulkan
Merged-In: Ib4fb6c279349c821384f73991105218e14dd6a79
Change-Id: Ib6b72ca50bff647552f1cad1e726d5398104ffe1

7 years agovulkan: update Vulkan headers to 1.0.42
Jesse Hall [Sat, 11 Mar 2017 02:35:38 +0000 (18:35 -0800)]
vulkan: update Vulkan headers to 1.0.42

Test: mmm frameworks/native/vulkan
Merged-In: I9c41b483fbf48a7404b54bfe405c40b58422ea74
Change-Id: I8ea5dfb9ad79fee64032e9d90b21ee087e4e5baa