OSDN Git Service

android-x86/frameworks-native.git
7 years agoMerge "Add a retry mechanism to potentially allow recovery from HIDL failures."
Ashutosh Joshi [Thu, 16 Mar 2017 02:00:01 +0000 (02:00 +0000)]
Merge "Add a retry mechanism to potentially allow recovery from HIDL failures."

7 years agoMerge "[SF] Use presentTimeOffset from configStore"
TreeHugger Robot [Thu, 16 Mar 2017 01:07:51 +0000 (01:07 +0000)]
Merge "[SF] Use presentTimeOffset from configStore"

7 years agoMerge "Remove bad make rules causing system.img to rebuild every time"
TreeHugger Robot [Thu, 16 Mar 2017 00:21:10 +0000 (00:21 +0000)]
Merge "Remove bad make rules causing system.img to rebuild every time"

7 years agoMerge "Add a simple SurfaceFlinger stress test."
TreeHugger Robot [Thu, 16 Mar 2017 00:12:54 +0000 (00:12 +0000)]
Merge "Add a simple SurfaceFlinger stress test."

7 years agoAdd a retry mechanism to potentially allow recovery from HIDL failures.
Ashutosh Joshi [Wed, 15 Mar 2017 23:27:12 +0000 (16:27 -0700)]
Add a retry mechanism to potentially allow recovery from HIDL failures.

Retry a few times to see if HIDL failures persist.
Add some logging to track failures.

Bug: 36088202
Test: Ensure sensors stream normally after change.
Change-Id: I194eaffd455ba782fff041f03ef89da384e3a901

7 years ago[SF] Use presentTimeOffset from configStore
Fabien Sanglard [Tue, 14 Mar 2017 20:24:22 +0000 (13:24 -0700)]
[SF] Use presentTimeOffset from configStore

Change-Id: If9c872c565e68e8abe552ee11d2c7d48f44aec4b

7 years agoMerge "vulkan: Implement V7 of ANDROID_native_buffer in nulldrv"
TreeHugger Robot [Wed, 15 Mar 2017 22:44:46 +0000 (22:44 +0000)]
Merge "vulkan: Implement V7 of ANDROID_native_buffer in nulldrv"

7 years agoRemove bad make rules causing system.img to rebuild every time
Colin Cross [Wed, 15 Mar 2017 22:38:11 +0000 (15:38 -0700)]
Remove bad make rules causing system.img to rebuild every time

ALL_DEFAULT_INSTALLED_MODULES is supposed to contain paths, not
module names.  Module names are phony targets, which causes
anything that depends on it to be always dirty, resulting in
rebuilding system.img on every incremental build.

ALL_DEFAULT_INSTALLED_MODULES shouldn't be used anyways, use
PRODUCT_PACKAGES in a product makefile instead, and all_modules
isn't used at all any more, remove both of them.

Bug: 36274890
Test: builds
Change-Id: I2db49dcc27515357b0306d0c3e9b38026012b1ea

7 years agoMerge "Add uid and pid information into recent sensor registeration log"
Peng Xu [Wed, 15 Mar 2017 22:27:10 +0000 (22:27 +0000)]
Merge "Add uid and pid information into recent sensor registeration log"

7 years agoMerge "Use assignment instead of reset for profile unique_fd" am: fd695a61c1 am:...
Calin Juravle [Wed, 15 Mar 2017 22:26:32 +0000 (22:26 +0000)]
Merge "Use assignment instead of reset for profile unique_fd" am: fd695a61c1 am: 32d41fecc8
am: 621bc30864

Change-Id: I7635c11b945098d39ae6d557b3df27854ec19d42

7 years agoAdd a simple SurfaceFlinger stress test.
Robert Carr [Fri, 10 Mar 2017 21:09:00 +0000 (13:09 -0800)]
Add a simple SurfaceFlinger stress test.

Obviously such tests are always a little arbitrary but this one
seems pretty useful. It runs in ~2 seconds, I got 10 passes in a row with
the fix for 36117490 applied, and 3 system restarts in a row (before giving up)
without the fix applied. Clean up the other tests in preparation for presubmit enabling.

Test: Quis custodiet ipsos custodes?
Bug: 36117490
Change-Id: Ifef2ff4e51aa9af193ddf003fe4aba053b28738f

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 "Remove dvrDisplayManagerClientGetSurfaceBuffers"
TreeHugger Robot [Wed, 15 Mar 2017 22:11:32 +0000 (22:11 +0000)]
Merge "Remove dvrDisplayManagerClientGetSurfaceBuffers"

7 years agoMerge "Make IGraphicBufferProducer a hybrid interface."
TreeHugger Robot [Wed, 15 Mar 2017 20:55:40 +0000 (20:55 +0000)]
Merge "Make IGraphicBufferProducer a hybrid interface."

7 years agovulkan: Implement V7 of ANDROID_native_buffer in nulldrv
Chris Forbes [Wed, 15 Mar 2017 03:09:15 +0000 (16:09 +1300)]
vulkan: Implement V7 of ANDROID_native_buffer in nulldrv

Walks the struct chain in GPDP2, and claims support for shared
presentable image. This is enough to have libvulkan expose the
extension for us.

Change-Id: Id22593932cd567e79d18aae788935148d6278b3f
Test: setprop ro.hardware.vulkan default, observe extension exposed

7 years agoRemove dvrDisplayManagerClientGetSurfaceBuffers
Jiwen 'Steve' Cai [Fri, 10 Mar 2017 22:32:43 +0000 (14:32 -0800)]
Remove dvrDisplayManagerClientGetSurfaceBuffers

This should be replaced with BufferHubQueue

Bug: 36033302
Test: Build device targets
Change-Id: I658514e1b56b0bdbd523d3fa322f0f2b6a1fc7e8

Signed-off-by: Jiwen 'Steve' Cai <jwcai@google.com>
7 years agoMerge "Drop non-API headers from the NDK vulkan headers." am: c416f2eb23 am: 44e0f0a5a5
Dan Albert [Wed, 15 Mar 2017 20:28:15 +0000 (20:28 +0000)]
Merge "Drop non-API headers from the NDK vulkan headers." am: c416f2eb23 am: 44e0f0a5a5
am: d7cf69be63

Change-Id: I0eb74c0a12a39875b4e4d417b844f1bc287f87d0

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 agoMerge "[SF] Delete unused NEVER_DEFAULT_TO_ASYNC_MODE"
TreeHugger Robot [Wed, 15 Mar 2017 20:21:26 +0000 (20:21 +0000)]
Merge "[SF] Delete unused NEVER_DEFAULT_TO_ASYNC_MODE"

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 "BufferHubQueue: ClearAvailable on consumer import"
TreeHugger Robot [Wed, 15 Mar 2017 19:20:46 +0000 (19:20 +0000)]
Merge "BufferHubQueue: ClearAvailable on consumer import"

7 years ago[SF] Delete unused NEVER_DEFAULT_TO_ASYNC_MODE
Fabien Sanglard [Wed, 15 Mar 2017 18:26:30 +0000 (11:26 -0700)]
[SF] Delete unused NEVER_DEFAULT_TO_ASYNC_MODE

Test: AUPT
Change-Id: I0abbbdcbd2a7ccb2b60514b54e600eb9489dc6a4

7 years agoMerge "test-hwc2: fix build error from ui/mat4.h include"
TreeHugger Robot [Wed, 15 Mar 2017 18:35:14 +0000 (18:35 +0000)]
Merge "test-hwc2: fix build error from ui/mat4.h include"

7 years agoMerge "vrwm: Add support for multiple independent displays"
TreeHugger Robot [Wed, 15 Mar 2017 18:20:55 +0000 (18:20 +0000)]
Merge "vrwm: Add support for multiple independent displays"

7 years agoMerge "Add EGL_SCALE_METADATA enum"
TreeHugger Robot [Wed, 15 Mar 2017 17:55:36 +0000 (17:55 +0000)]
Merge "Add EGL_SCALE_METADATA enum"

7 years agoMerge "EGL: Grab relevant upstream colorspace changes"
TreeHugger Robot [Wed, 15 Mar 2017 17:40:26 +0000 (17:40 +0000)]
Merge "EGL: Grab relevant upstream colorspace changes"

7 years agovrwm: Add support for multiple independent displays
Albert Chaulk [Mon, 6 Mar 2017 18:24:51 +0000 (13:24 -0500)]
vrwm: Add support for multiple independent displays

This doesn't change much, just splits ShellView and shuffles code
around.

Display-related things go into DisplayView - everything related to
processing and drawing buffers, hit detection, visibility.

ShellView retains overall state management, touchpad, controller and
is the initial recipient of all incoming frames

The composer library is modified to accept and pass multiple displays

Bug: 35996499
Test: Works for the existing single-display output
Change-Id: Ied5061b4dad9e7d68bb187bf86c3d0f2f3b7a55e

7 years agoMerge "test-hwc2: fix build errors on other branches" am: ea8d46f1ab am: acfd2a846b
Marissa Wall [Wed, 15 Mar 2017 01:00:34 +0000 (01:00 +0000)]
Merge "test-hwc2: fix build errors on other branches" am: ea8d46f1ab am: acfd2a846b
am: 96074086df

Change-Id: Iac974deaf0c4a0df9512ff666ff382a18ad270b6

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 agoMerge "[SurfaceFlinger]Use configStore useContextPriority"
TreeHugger Robot [Tue, 14 Mar 2017 23:52:05 +0000 (23:52 +0000)]
Merge "[SurfaceFlinger]Use configStore useContextPriority"

7 years agoMerge "Use d=0.039 for Display P3 instead of sRGB's 0.04045"
Romain Guy [Tue, 14 Mar 2017 22:28:04 +0000 (22:28 +0000)]
Merge "Use d=0.039 for Display P3 instead of sRGB's 0.04045"

7 years agotest-hwc2: fix build error from ui/mat4.h include
Marissa Wall [Tue, 14 Mar 2017 20:06:04 +0000 (13:06 -0700)]
test-hwc2: fix build error from ui/mat4.h include

ui/mat4.h is located at math/mat4.h on internal master. Change
test cases to reflect that.

Test: run the test-hwc2 tests

Change-Id: I1d2fb59efc2fcea40dc901664dc43841c5454353

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 agoMerge "Add ANativeWindow_setBuffersTransform"
TreeHugger Robot [Tue, 14 Mar 2017 20:59:03 +0000 (20:59 +0000)]
Merge "Add ANativeWindow_setBuffersTransform"

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 agoAdd ANativeWindow_setBuffersTransform
Jesse Hall [Mon, 13 Mar 2017 18:36:05 +0000 (11:36 -0700)]
Add ANativeWindow_setBuffersTransform

Bug: 32634406
Test: build
Change-Id: I16080008187bd334e64917274fc86afe12dde8e7

7 years agoMerge "Preserve phones screen aspect ratio for VR Window Manager."
TreeHugger Robot [Tue, 14 Mar 2017 18:08:53 +0000 (18:08 +0000)]
Merge "Preserve phones screen aspect ratio for VR Window Manager."

7 years ago[SurfaceFlinger]Use configStore useContextPriority
Fabien Sanglard [Mon, 13 Mar 2017 20:02:42 +0000 (13:02 -0700)]
[SurfaceFlinger]Use configStore useContextPriority

Change-Id: I329b5da0e92822eb0878c8866c8ab87ea13f7e07

7 years agoPreserve phones screen aspect ratio for VR Window Manager.
Alex Sakhartchouk [Tue, 14 Mar 2017 15:27:57 +0000 (11:27 -0400)]
Preserve phones screen aspect ratio for VR Window Manager.

We are a portrait device rotated to landscape mode, adjust rendering
inside vr_wm accordingly.

Bug: 36201035
Test: Built, ran permissions gen, denied permission.
Change-Id: I27382ea6f5417a92791eafa9daaa81cc4af6db11

7 years agoMerge "Support multiple virtual touchpads."
TreeHugger Robot [Tue, 14 Mar 2017 14:12:52 +0000 (14:12 +0000)]
Merge "Support multiple virtual touchpads."

7 years agoMerge "vr_wm: Disable 2D mode until we can detect it correctly"
TreeHugger Robot [Tue, 14 Mar 2017 03:13:03 +0000 (03:13 +0000)]
Merge "vr_wm: Disable 2D mode until we can detect it correctly"

7 years agoMerge "Use unique_fd instead of fd_t when managing profiles" am: 02971e3348 am: 9f666...
Calin Juravle [Tue, 14 Mar 2017 02:31:57 +0000 (02:31 +0000)]
Merge "Use unique_fd instead of fd_t when managing profiles" am: 02971e3348 am: 9f6666ae1d
am: 0acbc6bb3c

Change-Id: I21f46a971ea164071ef80f9406ae63685bf8e671

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 agoMerge "Revert "Add a simple SurfaceFlinger stress test.""
Rob Carr [Tue, 14 Mar 2017 00:37:57 +0000 (00:37 +0000)]
Merge "Revert "Add a simple SurfaceFlinger stress test.""

7 years agoBufferHubQueue: ClearAvailable on consumer import
Jiwen 'Steve' Cai [Wed, 25 Jan 2017 01:05:12 +0000 (17:05 -0800)]
BufferHubQueue: ClearAvailable on consumer import

This fixes the issue that ConsumerQueue keeps receiving
|OnBufferAllocated| events when using UDS based libpdx. It also hardens
error handling during consumer imports.

Bug: 34690159
Test: Build, flash, buffer_hub_queue-test pases
Change-Id: I4f739a2869df851ed836f39122b3eba95697f3f6

7 years agoMerge "Rename typedef to dvr"
TreeHugger Robot [Mon, 13 Mar 2017 23:48:19 +0000 (23:48 +0000)]
Merge "Rename typedef to dvr"

7 years agoRevert "Add a simple SurfaceFlinger stress test."
Rob Carr [Mon, 13 Mar 2017 23:20:54 +0000 (23:20 +0000)]
Revert "Add a simple SurfaceFlinger stress test."

This reverts commit 2d906b41c0720ba90fab20fe4ddae2400f9bbbd7.

Reason for revert: Semantic conflict introduced build break...

Change-Id: I3dbd11a8f73ab2636a732693639edcf869be8033

7 years agoMerge "Revert "Extend hack to new driver version""
Steve Pfetsch [Mon, 13 Mar 2017 23:02:47 +0000 (23:02 +0000)]
Merge "Revert "Extend hack to new driver version""

7 years agoRevert "Extend hack to new driver version"
Steve Pfetsch [Mon, 13 Mar 2017 22:57:15 +0000 (22:57 +0000)]
Revert "Extend hack to new driver version"

Rolling back along with reverted driver drop

This reverts commit fc00a1d4275c9f6502d56e3e54f399e27e9a314b.

Change-Id: I58e23d7782254824d023ce4973a75ba5d0c1f367

7 years agoMerge "Add a simple SurfaceFlinger stress test."
Rob Carr [Mon, 13 Mar 2017 22:34:40 +0000 (22:34 +0000)]
Merge "Add a simple SurfaceFlinger stress test."

7 years agovr_wm: Disable 2D mode until we can detect it correctly
Albert Chaulk [Mon, 13 Mar 2017 21:03:29 +0000 (17:03 -0400)]
vr_wm: Disable 2D mode until we can detect it correctly

Bug: 36036583
Test: Test w/ permissionsgen

Change-Id: Ie3ea8b162a0c40db8ee9cccb934a2a580a558937

7 years agoRename typedef to dvr
Hendrik Wagenaar [Mon, 13 Mar 2017 22:14:45 +0000 (15:14 -0700)]
Rename typedef to dvr

Bug: b/36040550
Test: None
Change-Id: I489bf73289daa895c531ee6fd47a75537fb34eca

7 years agoMerge "get rid of the dependency on utils/CallStack.h"
TreeHugger Robot [Mon, 13 Mar 2017 21:31:43 +0000 (21:31 +0000)]
Merge "get rid of the dependency on utils/CallStack.h"

7 years agoUse d=0.039 for Display P3 instead of sRGB's 0.04045
Romain Guy [Mon, 13 Mar 2017 21:14:50 +0000 (14:14 -0700)]
Use d=0.039 for Display P3 instead of sRGB's 0.04045

Bug: 32984164
Test: ColorSpaceTest
Change-Id: I0db88e3b7342421567ba09be3e279e6d65a21ecc

7 years agoMerge "Revert "get rid of IGraphicBufferAlloc""
Chia-I Wu [Mon, 13 Mar 2017 21:02:24 +0000 (21:02 +0000)]
Merge "Revert "get rid of IGraphicBufferAlloc""

7 years agoRevert "get rid of IGraphicBufferAlloc"
Chia-I Wu [Mon, 13 Mar 2017 20:38:48 +0000 (20:38 +0000)]
Revert "get rid of IGraphicBufferAlloc"

This reverts commit 1da94dfed674e94edc37cdc8ef68530520edf169.

Bug: 36176799
Bug: 36175706
Change-Id: I6dd5fe8df564f0efa4392a800fb316e27a05076e

7 years agoget rid of the dependency on utils/CallStack.h
Mathias Agopian [Fri, 10 Mar 2017 02:50:05 +0000 (18:50 -0800)]
get rid of the dependency on utils/CallStack.h

this makes it more explicit that we depend on
libbacktrace (and therefore libbase, libunwind).

this also completely get rid of our direct
dependency on libutils

Test: compiled
Bug: treble
Change-Id: Ib7b9d6be4f08cef401afe0d3d347e0250924a94f

7 years agoMerge "Update vsync client c api"
TreeHugger Robot [Mon, 13 Mar 2017 18:46:47 +0000 (18:46 +0000)]
Merge "Update vsync client c api"

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 am: 92360b14a0
Marissa Wall [Mon, 13 Mar 2017 18:06:39 +0000 (18:06 +0000)]
Merge changes from topic 'test-hwc2' am: 29943c1971 am: 92360b14a0
am: d47b3c13da

Change-Id: I616fe5646001c45933d466ee77824dc435819c5b

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 agoUpdate vsync client c api
Hendrik Wagenaar [Sat, 11 Mar 2017 00:00:13 +0000 (16:00 -0800)]
Update vsync client c api

* Added a required function
* Removed unused functions

Bug: b/36031165
Test: None
Change-Id: I45e141dc627e7cfa541d637d697a553aebb7f480

7 years agoFix external manual calculation bug.
Jeff Sharkey [Sun, 12 Mar 2017 22:25:36 +0000 (16:25 -0600)]
Fix external manual calculation bug.

Ignore file extensions anywhere under "Android" since those files
belong to specific apps.  Don't depend on GID being set for those
directories.

Bug: 356849693544100634945234
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.StorageHostTest
Change-Id: Ifeb8d314cc2b803ac0d3595974daf91f51862061

7 years agoMerge "Finer-grained locking for size operations."
TreeHugger Robot [Sun, 12 Mar 2017 04:56:11 +0000 (04:56 +0000)]
Merge "Finer-grained locking for size operations."

7 years agoFiner-grained locking for size operations.
Jeff Sharkey [Sun, 12 Mar 2017 02:40:29 +0000 (19:40 -0700)]
Finer-grained locking for size operations.

Disk space measurements are read-only and don't perform mutations,
so other installd operations shouldn't block them.

If there's an ongoing parallel operation (such as a dexopt) that
could race and skew the results, that's no different than an actively
running app changing it's disk usage during the measurement.

This change also allows measurements to happen in parallel, so we can
no longer rely on getcwd() being stable, which means all fts(3) users
now need to use FTS_NOCHDIR.

Bug: 3603244435706513
Test: runtest -x frameworks/base/services/tests/servicestests/src/com/android/server/pm/InstallerTest.java
Change-Id: I67d303d3ecce148052d41444cef67381b1d34ab0

7 years agoMerge changes Ib6b72ca5,I8ea5dfb9,Iaf954877,I803bf9f4 am: 42f482e139 am: 3049198484
Jesse Hall [Sat, 11 Mar 2017 17:48:36 +0000 (17:48 +0000)]
Merge changes Ib6b72ca5,I8ea5dfb9,Iaf954877,I803bf9f4 am: 42f482e139 am: 3049198484
am: 68d8c8bd43  -s ours

Change-Id: I2aec7aa0354f553e826c57747c6f47792aefa41a

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 agoMerge changes Ib4fb6c27,I9c41b483,I40372758,Ic787ce17
Jesse Hall [Sat, 11 Mar 2017 16:42:08 +0000 (16:42 +0000)]
Merge changes Ib4fb6c27,I9c41b483,I40372758,Ic787ce17

* 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 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: de.saschawillems.vulkanGears
Change-Id: Ib4fb6c279349c821384f73991105218e14dd6a79

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

Change-Id: I21f7533d90919a4384f52a3bd5a4976a2cef1d00

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 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
Change-Id: I9c41b483fbf48a7404b54bfe405c40b58422ea74

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

Test: mmm frameworks/native/vulkan
Change-Id: I40372758fb7214a627ab686d8a3de6bf9beae205

7 years agovulkan: update Vulkan headers to 1.0.39
Jesse Hall [Sat, 11 Mar 2017 06:02:20 +0000 (22:02 -0800)]
vulkan: update Vulkan headers to 1.0.39

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

7 years agoMerge "Allow replacing of sensord"
TreeHugger Robot [Sat, 11 Mar 2017 02:36:02 +0000 (02:36 +0000)]
Merge "Allow replacing of sensord"

7 years agoMerge "Delete SurfaceFlinger CFlags (phase offset)"
TreeHugger Robot [Sat, 11 Mar 2017 01:45:50 +0000 (01:45 +0000)]
Merge "Delete SurfaceFlinger CFlags (phase offset)"

7 years agoMerge changes from topic 'blobcache'
TreeHugger Robot [Sat, 11 Mar 2017 01:32:41 +0000 (01:32 +0000)]
Merge changes from topic 'blobcache'

* changes:
  convert BlobCache to STL
  move BlobCache over (unmodified) to libEGL
  Remove dependency to most of libutils

7 years agoMerge changes from topic 'libutils-remove-string'
TreeHugger Robot [Sat, 11 Mar 2017 01:26:24 +0000 (01:26 +0000)]
Merge changes from topic 'libutils-remove-string'

* changes:
  RegionHelper.h: include <limits> directly.
  opengl egl_object.h: add <atomic> include.

7 years agoAdd uid and pid information into recent sensor registeration log
Peng Xu [Sat, 11 Mar 2017 00:57:27 +0000 (16:57 -0800)]
Add uid and pid information into recent sensor registeration log

Some legacy native client do not specify a package name. Making
tracking of sensor request difficult. This cl adds uid and pid
into the dumpsys print to help alleviate this issue.

Test: adb shell dumpsys sensorservice
Change-Id: I26c778a50927cc6c4f14284c3c6a09d38b2e4dd5

7 years agoAllow replacing of sensord
Luke Song [Thu, 9 Mar 2017 01:12:57 +0000 (17:12 -0800)]
Allow replacing of sensord

If a makefile variable is set.

Bug: None
Test: None
Change-Id: I416428efc0b6127048e3ef3860ed5ba7f94efe88

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

Change-Id: I6ad63a777811dbc5e5d74870441d8c76dc3273af

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