OSDN Git Service

android-x86/frameworks-native.git
7 years agoMerge changes If756ad2a,I19aeb7ac am: 15feba03ae
neo.he [Tue, 28 Mar 2017 18:38:27 +0000 (18:38 +0000)]
Merge changes If756ad2a,I19aeb7ac am: 15feba03ae
am: 47609db709

Change-Id: I5a7ceb58874d4432d51342d275610dc46a539a61

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." am: 16175ca725
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

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 agobinder: remove cgroup interactions [ DO NOT MERGE ]
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

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

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 agobinder: remove cgroup interactions [ DO NOT MERGE ]
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

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

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" am: 86388dbc9a
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

7 years agoMerge "batteryservice: add scheduleUpdate binder method" am: e007716bc4
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

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." am: ed2debbb47
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

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" am: c12c6dca4e
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

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" am: da86f5aa93
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

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" am: cb2e477f14
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

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" am: fd695a61c1
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

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

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" am: ea8d46f1ab
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

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" am: 02971e3348
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

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' am: 29943c1971
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

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 am: 42f482e139
Jesse Hall [Sat, 11 Mar 2017 17:44:36 +0000 (17:44 +0000)]
Merge changes Ib6b72ca5,I8ea5dfb9,Iaf954877,I803bf9f4 am: 42f482e139
am: 3049198484

Change-Id: I562fc4e296a7e383ad48c4125397dab513d77b5e

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

7 years agovulkan: update Vulkan headers to 1.0.41
Jesse Hall [Tue, 7 Mar 2017 00:02:58 +0000 (16:02 -0800)]
vulkan: update Vulkan headers to 1.0.41

Includes some header reordering in generated code due to a new version
of clang-format.

Test: mmm frameworks/native/vulkan
Merged-In: I40372758fb7214a627ab686d8a3de6bf9beae205
Change-Id: Iaf9548776d3462fcd9bcc236be6966ecce265565

7 years agovulkan: update Vulkan headers to 1.0.39
Jesse Hall [Mon, 6 Mar 2017 23:22:17 +0000 (15:22 -0800)]
vulkan: update Vulkan headers to 1.0.39

Test: make ; mmm frameworks/native/vulkan
Merged-In: Ic787ce171633dce0d17b3ba838d0c3441ac728c3
Change-Id: I803bf9f4cd0ca4db8579a5c28495e8a66088bae2

7 years agoMerge "dumpsys: remove usage of String16::std_string" am: 561b4e5d89
Steven Moreland [Sat, 11 Mar 2017 09:03:11 +0000 (09:03 +0000)]
Merge "dumpsys: remove usage of String16::std_string" am: 561b4e5d89
am: a8f36c30d0

Change-Id: I5562e6daa4bd3989ec813c0941e483cab9f3ca82

7 years agoMerge "dumpsys: remove usage of String16::std_string"
Steven Moreland [Sat, 11 Mar 2017 08:59:41 +0000 (08:59 +0000)]
Merge "dumpsys: remove usage of String16::std_string"
am: 561b4e5d89

Change-Id: Ie64c773351594a8925d32b5513e912418bcf35d7

7 years agoMerge "dumpsys: remove usage of String16::std_string"
Treehugger Robot [Sat, 11 Mar 2017 08:55:09 +0000 (08:55 +0000)]
Merge "dumpsys: remove usage of String16::std_string"

7 years agoMerge "Use std::string for profile operations instead of const char" am: 7c7d888d94
Calin Juravle [Sat, 11 Mar 2017 01:00:07 +0000 (01:00 +0000)]
Merge "Use std::string for profile operations instead of const char" am: 7c7d888d94
am: ccaa1f3f78

Change-Id: If09e67000ca5818c27bbfe521554c22209c0d04f

7 years agoMerge "Use std::string for profile operations instead of const char"
Calin Juravle [Sat, 11 Mar 2017 00:56:07 +0000 (00:56 +0000)]
Merge "Use std::string for profile operations instead of const char"
am: 7c7d888d94

Change-Id: I44676d7bc0b9297ccb920066284f371fa2e40c3c

7 years agoMerge "Use std::string for profile operations instead of const char"
Calin Juravle [Sat, 11 Mar 2017 00:50:30 +0000 (00:50 +0000)]
Merge "Use std::string for profile operations instead of const char"

7 years agoUse std::string for profile operations instead of const char
Calin Juravle [Thu, 9 Mar 2017 21:19:42 +0000 (13:19 -0800)]
Use std::string for profile operations instead of const char

Will make things cleaner when adding secondary dex profile support.

Also, add tests to verify profile path creation.

Bug: 26719109
Test: /data/nativetest64/installd_utils_test/installd_utils_test
Change-Id: I8cb1a11cefee21f5001d2b729110696d52fc8323

7 years agoMerge changes I20d546fd,I15363803 am: 632dbe2c77
Calin Juravle [Fri, 10 Mar 2017 22:18:26 +0000 (22:18 +0000)]
Merge changes I20d546fd,I15363803 am: 632dbe2c77
am: dc9fcf4218

Change-Id: I6f091a21f326682deaec7527b40a235fecc4c267

7 years agoMerge changes I20d546fd,I15363803
Calin Juravle [Fri, 10 Mar 2017 22:15:00 +0000 (22:15 +0000)]
Merge changes I20d546fd,I15363803
am: 632dbe2c77

Change-Id: I5fe86348657aa5e7f733be63c2134af4fe4a5365

7 years agoMerge changes I20d546fd,I15363803
Calin Juravle [Fri, 10 Mar 2017 22:07:38 +0000 (22:07 +0000)]
Merge changes I20d546fd,I15363803

* changes:
  Allow "android" package name.
  Update is_valid_package_name() to match framework.

7 years agoAllow "android" package name.
Jeff Sharkey [Wed, 8 Mar 2017 19:39:46 +0000 (12:39 -0700)]
Allow "android" package name.

Test: /data/nativetest64/installd_utils_test/installd_utils_test
Bug: 36062649

(cherry picked from commit ab7ac8d5a04bd3f38b85ce20ae5bb382f2a26585)

Change-Id: I20d546fdd20813e96bcb5f061ca5b352dff44450

7 years agoUpdate is_valid_package_name() to match framework.
Jeff Sharkey [Wed, 8 Mar 2017 05:12:03 +0000 (22:12 -0700)]
Update is_valid_package_name() to match framework.

The framework has a new format for /data/app directory names in OC
to protect user privacy.  This change updates the validation logic
in installd to support the new format.

For consistency the logic now mirrors the package name validation
logic used by PackageParser.

Test: /data/nativetest64/installd_utils_test/installd_utils_test
Bug: 33705143

(cherry picked from commit 367ace2f77105f7a09b34a50bc875fd4fa591177)

Merged-In: I41d270942479c52e063c29a2cb9552d7b238b86e
Change-Id: I15363803fb45310697e29be810e800dc1b1902d0

7 years agodumpsys: remove usage of String16::std_string
Steven Moreland [Fri, 10 Mar 2017 06:59:32 +0000 (22:59 -0800)]
dumpsys: remove usage of String16::std_string

Test: pass

Change-Id: Ib74a126b91d25376a7235f73bbc12ada62ae7e69

7 years agoMerge "Disable input-vdex when doing speed-profile." am: 028ad63e80
Nicolas Geoffray [Thu, 9 Mar 2017 21:07:35 +0000 (21:07 +0000)]
Merge "Disable input-vdex when doing speed-profile." am: 028ad63e80
am: a5582c290c

Change-Id: I297b481892c75babde5b239bf6b1fe4e3701244e

7 years agoMerge "Disable input-vdex when doing speed-profile."
Nicolas Geoffray [Thu, 9 Mar 2017 21:04:06 +0000 (21:04 +0000)]
Merge "Disable input-vdex when doing speed-profile."
am: 028ad63e80

Change-Id: I3ec636cd526bcdb749fc3af87f2ac0d301fbcafd

7 years agoMerge "Disable input-vdex when doing speed-profile."
Nicolas Geoffray [Thu, 9 Mar 2017 20:56:53 +0000 (20:56 +0000)]
Merge "Disable input-vdex when doing speed-profile."

7 years agoDisable input-vdex when doing speed-profile.
Nicolas Geoffray [Thu, 9 Mar 2017 13:11:25 +0000 (13:11 +0000)]
Disable input-vdex when doing speed-profile.

input-vdex and dexlayout are incompatible with each other.

bug: 36084905
bug: 36076104
bug: 36059948
bug: 35872504

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

Change-Id: I194311041899399db422867670f5e788d6b9ceeb

7 years agoMerge changes from topic 'vintf_arch' am: 45370128a5
Yifan Hong [Thu, 9 Mar 2017 03:00:44 +0000 (03:00 +0000)]
Merge changes from topic 'vintf_arch' am: 45370128a5
am: c2b36f5696

Change-Id: Id6a10176042b63fcefe8298dae2df4c5ac4c5297

7 years agoMerge changes from topic 'vintf_arch'
Yifan Hong [Thu, 9 Mar 2017 02:57:48 +0000 (02:57 +0000)]
Merge changes from topic 'vintf_arch'
am: 45370128a5

Change-Id: Ia8e62d1a64e5a893b651c46e5872854e2f52034f

7 years agoMerge changes from topic 'vintf_arch'
Treehugger Robot [Thu, 9 Mar 2017 02:54:05 +0000 (02:54 +0000)]
Merge changes from topic 'vintf_arch'

* changes:
  Update to use bitness info in VINTF.
  Fix forEachTable will copy the table.

7 years agoUpdate to use bitness info in VINTF.
Yifan Hong [Wed, 8 Mar 2017 22:01:58 +0000 (14:01 -0800)]
Update to use bitness info in VINTF.

Bug: 35966597
Test: lshal -ir has bitness info for passthrough ref section
Test: lshal --init-vintf has bitness info in the manifest.
Change-Id: Ie9f52bb1ca30ce69856dbf44fab8287563014550

7 years agoFix forEachTable will copy the table.
Yifan Hong [Wed, 8 Mar 2017 22:01:11 +0000 (14:01 -0800)]
Fix forEachTable will copy the table.

std::initializer_list<T> has T deduced to Table, which will
copy the table. Use pointers instead.

Test: pass
Change-Id: I7da40eb0f5d0171244a9b9caacf37b41fe0af304

7 years agotest-hwc2: dump
Marissa Wall [Thu, 15 Dec 2016 20:42:07 +0000 (12:42 -0800)]
test-hwc2: dump

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
          frameworks/native/libs/gui/BufferQueueCore.cpp.
      Recompile and flash.
      Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
      Push test-hwc2 to device.
      Run "adb root && adb shell stop".
      Run test case. Ex: "./test-hwc2"

Change-Id: I0215fea464fd126b5f9041435bef7e00b46c6ac8

7 years agotest-hwc2: virtual displays
Marissa Wall [Tue, 21 Feb 2017 22:33:46 +0000 (14:33 -0800)]
test-hwc2: virtual displays

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
      frameworks/native/libs/gui/BufferQueueCore.cpp.
      Recompile and flash.
      Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
      Push test-hwc2 to device.
      Run "adb root && adb shell stop".
      Run test case. Ex: "./test-hwc2"

Change-Id: Ia10ec761712ee03f56782e3df2d6eabf7fb77760

7 years agotest-hwc2: color and hdr requests
Marissa Wall [Thu, 15 Dec 2016 20:41:06 +0000 (12:41 -0800)]
test-hwc2: color and hdr requests

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
          frameworks/native/libs/gui/BufferQueueCore.cpp.
      Recompile and flash.
      Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
      Push test-hwc2 to device.
      Run "adb root && adb shell stop".
      Run test case. Ex: "./test-hwc2"

Change-Id: Id515de0fac7e842724ae8f27e865fad4933256e6

7 years agotest-hwc2: present display
Marissa Wall [Tue, 21 Feb 2017 22:01:05 +0000 (14:01 -0800)]
test-hwc2: present display

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
      frameworks/native/libs/gui/BufferQueueCore.cpp.
      Recompile and flash.
      Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
      Push test-hwc2 to device.
      Run "adb root && adb shell stop".
      Run test case. Ex: "./test-hwc2"

Change-Id: I845320afdf635d1716310d1183bcb10515615517

7 years agotest-hwc2: add client target support
Marissa Wall [Tue, 21 Feb 2017 22:01:05 +0000 (14:01 -0800)]
test-hwc2: add client target support

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
      frameworks/native/libs/gui/BufferQueueCore.cpp.
      Recompile and flash.
      Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
      Push test-hwc2 to device.
      Run "adb root && adb shell stop".
      Run test case. Ex: "./test-hwc2"

Change-Id: I94c86795b2e334df0570c6c5a3cbbcb5a8ca2826

7 years agotest-hwc2: get and accept display changes
Marissa Wall [Thu, 15 Dec 2016 20:39:14 +0000 (12:39 -0800)]
test-hwc2: get and accept display changes

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
          frameworks/native/libs/gui/BufferQueueCore.cpp.
      Recompile and flash.
      Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
      Push test-hwc2 to device.
      Run "adb root && adb shell stop".
      Run test case. Ex: "./test-hwc2"

Change-Id: Ia1d1a0ee5fce43e7904ee49f13a86df0e7adc428

7 years agotest-hwc2: validate display
Marissa Wall [Fri, 27 Jan 2017 20:55:36 +0000 (12:55 -0800)]
test-hwc2: validate display

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
          frameworks/native/libs/gui/BufferQueueCore.cpp.
      Recompile and flash.
      Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
      Push test-hwc2 to device.
      Run "adb root && adb shell stop".
      Run test case. Ex: "./test-hwc2"

Change-Id: I9a9df2902213d99d4f043e3bdea1e5e2fc77b01d

7 years agotest-hwc2: set layer visible region
Marissa Wall [Thu, 15 Dec 2016 20:34:39 +0000 (12:34 -0800)]
test-hwc2: set layer visible region

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
          frameworks/native/libs/gui/BufferQueueCore.cpp.
      Recompile and flash.
      Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
      Push test-hwc2 to device.
      Run "adb root && adb shell stop".
      Run test case. Ex: "./test-hwc2"

Change-Id: I0e620fa6763d258d7875da9bf85d41c182e015d2

7 years agotest-hwc2: set layer buffer
Marissa Wall [Thu, 15 Dec 2016 20:34:06 +0000 (12:34 -0800)]
test-hwc2: set layer buffer

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
          frameworks/native/libs/gui/BufferQueueCore.cpp.
      Recompile and flash.
      Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
      Push test-hwc2 to device.
      Run "adb root && adb shell stop".
      Run test case. Ex: "./test-hwc2"

Change-Id: Ie42d1fd4c2d0248c4a3ecf09a9b5871d501f6172

7 years agotest-hwc2: set layer surface damage
Marissa Wall [Thu, 15 Dec 2016 20:32:24 +0000 (12:32 -0800)]
test-hwc2: set layer surface damage

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
          frameworks/native/libs/gui/BufferQueueCore.cpp.
      Recompile and flash.
      Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
      Push test-hwc2 to device.
      Run "adb root && adb shell stop".
      Run test case. Ex: "./test-hwc2"

Change-Id: Ie30032c7285d76d26e51b36b0cfded909f4c3480

7 years agotest-hwc2: set cursor position
Marissa Wall [Thu, 15 Dec 2016 20:31:37 +0000 (12:31 -0800)]
test-hwc2: set cursor position

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
          frameworks/native/libs/gui/BufferQueueCore.cpp.
      Recompile and flash.
      Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
      Push test-hwc2 to device.
      Run "adb root && adb shell stop".
      Run test case. Ex: "./test-hwc2"

Change-Id: I4b265826befcf33c3f71b52bfabc076c48efed5f