OSDN Git Service
Andy Hung [Tue, 14 Feb 2017 21:45:26 +0000 (13:45 -0800)]
VolumeShaper: Add to native IPlayer interface
Test: Check proper ducking
Bug:
31015569
Change-Id: I679b32a3adbf8ec56bafa20c8479c7645b3d59fa
Steven Moreland [Tue, 14 Feb 2017 03:57:19 +0000 (03:57 +0000)]
Merge "Revert "dumpsys: add option to list hardware services."" am:
9555a5d497 am:
d2390bea79 am:
8d3069503e
am:
36ec1bc76f
Change-Id: I5b16be2dae542e0becc114f36a2f75418e9911d5
Steven Moreland [Tue, 14 Feb 2017 03:54:22 +0000 (03:54 +0000)]
Merge "Revert "dumpsys: add option to list hardware services."" am:
9555a5d497 am:
d2390bea79
am:
8d3069503e
Change-Id: I6f4d5148e41181a4498fe1bcc3b2e9e0551785fb
Steven Moreland [Tue, 14 Feb 2017 03:52:21 +0000 (03:52 +0000)]
Merge "Revert "dumpsys: add option to list hardware services."" am:
9555a5d497
am:
d2390bea79
Change-Id: Ib70ddc0635bc3a502dbc9f7eb31c5716860e9833
Steven Moreland [Tue, 14 Feb 2017 03:50:21 +0000 (03:50 +0000)]
Merge "Revert "dumpsys: add option to list hardware services.""
am:
9555a5d497
Change-Id: I022d2e803e169907c32fc7e263090ec2896d94c5
Treehugger Robot [Tue, 14 Feb 2017 03:44:52 +0000 (03:44 +0000)]
Merge "Revert "dumpsys: add option to list hardware services.""
Steven Moreland [Mon, 13 Feb 2017 23:44:17 +0000 (23:44 +0000)]
Revert "dumpsys: add option to list hardware services."
This reverts commit
6270dd1bf7f4a6eaa0e36b2cbb0f9bdd4790b5d8.
Reason for revert: obsolete, removed in favor of lshal
Test: dumpsys_test
Change-Id: I06e256a5bd0995727a3d6f3f88f79a623b1474f3
Steven Thomas [Tue, 14 Feb 2017 02:14:19 +0000 (02:14 +0000)]
Merge "Ignore callbacks from the non-active hardware composer"
TreeHugger Robot [Tue, 14 Feb 2017 02:12:34 +0000 (02:12 +0000)]
Merge "Temporarily disable enumeration of VK_KHR_incremental_present"
Ian Elliott [Mon, 13 Feb 2017 23:27:02 +0000 (16:27 -0700)]
Temporarily disable enumeration of VK_KHR_incremental_present
Test: Ran the instrumented cube demo, which showed the extension not
enumerated.
Since the extension is not yet ratified, we can't enable it in the
upcoming DP1 release.
Change-Id: I8234c2d9510a0d31c309fb2c25fe6126fb021a59
Jiyong Park [Mon, 13 Feb 2017 23:12:37 +0000 (23:12 +0000)]
Merge "Remove TARGET_USES_QCOM_BSP from libvrflinger"
TreeHugger Robot [Mon, 13 Feb 2017 20:54:34 +0000 (20:54 +0000)]
Merge "Vibrates using 'cmd vibrator' instead of HAL vibrator."
Steven Thomas [Mon, 6 Feb 2017 20:29:30 +0000 (12:29 -0800)]
Ignore callbacks from the non-active hardware composer
Ignore callbacks from the non-active hardware composer so we don't get
e.g. duplicate vsync callbacks, one from each composer.
Bug: None
Test: Manually confirmed with logs we're now ignoring callbacks on the
non-active composer.
Change-Id: I8b475d6283d86c64ff96b41e78528bce8c6ff1d3
Yifan Hong [Mon, 13 Feb 2017 19:49:41 +0000 (19:49 +0000)]
Merge changes from topic 'lshal' am:
c9bc03729b am:
d99d31d5d3 am:
5581e229a6
am:
cd98373272
Change-Id: Ibea02dc9a1fc6e659992c746db3ef59ec5fc35aa
Yifan Hong [Mon, 13 Feb 2017 19:43:23 +0000 (19:43 +0000)]
Merge changes from topic 'lshal' am:
c9bc03729b am:
d99d31d5d3
am:
5581e229a6
Change-Id: I526b604879c5c5103a7d0f9a66471534383c6175
Yifan Hong [Mon, 13 Feb 2017 19:40:23 +0000 (19:40 +0000)]
Merge changes from topic 'lshal' am:
c9bc03729b
am:
d99d31d5d3
Change-Id: I615d885788739a2d3d2f11204ad23833a77d96d5
Yifan Hong [Mon, 13 Feb 2017 19:37:54 +0000 (19:37 +0000)]
Merge changes from topic 'lshal'
am:
c9bc03729b
Change-Id: I5051bdae873e53c21dcd6e949e7c47da4482a192
Yifan Hong [Mon, 13 Feb 2017 19:32:37 +0000 (19:32 +0000)]
Merge changes from topic 'lshal'
* changes:
Dump client PIDs for passthrough HALs.
Fix permissions for lshal
Chia-I Wu [Fri, 10 Feb 2017 22:53:12 +0000 (14:53 -0800)]
libui: add notes to registerBuffer(buffer_handle_t)
The method is semi-broken on gralloc0 devices. It calls down to
Gralloc1On0Adapter::managementHook, which will return
GRALLOC1_ERROR_BAD_HANDLE when the handle is received from a remote
process.
Test: make
Change-Id: Ia0ca2b51e38e8afe66a917ca7fe2282db3968f53
Jiyong Park [Sat, 11 Feb 2017 04:48:39 +0000 (13:48 +0900)]
Remove TARGET_USES_QCOM_BSP from libvrflinger
Removing TARGET_USES_QCOM_BSP because 1) it is broken:
hardware/qcom/display/libgralloc,libqdutils do not exist and 2)
conditional compilation must be eliminated from the framework-side code
so that we can build a generic system.img.
Bug:
34115514
Test: build & run
Change-Id: I1fd643003426c52353b608bc6053a4ad80c1676a
TreeHugger Robot [Sat, 11 Feb 2017 03:04:01 +0000 (03:04 +0000)]
Merge "Introduce an API to verify trusted caller apps by UID."
Yifan Hong [Fri, 3 Feb 2017 23:23:47 +0000 (15:23 -0800)]
Dump client PIDs for passthrough HALs.
* This is done with registerPassthroughClient in IServiceManager; when a
service is retrieved through the passthrough service manager, its PID
will be recoreded by the binderized service manager.
* The action of dumping all available dynamic libraries is now done by
dumpAllLibraries.
Bug:
34712252
Test: lshal
Change-Id: I7f08e3255ffed0f46435843504e0e225d0d9bbc9
Yifan Hong [Fri, 3 Feb 2017 21:40:04 +0000 (13:40 -0800)]
Fix permissions for lshal
Instead of IServiceManager::debugDump, lshal now relies
on list and get. lshal itself will call getDebugInfo
on each interface, so that each interface can check if
the call is from a root user, then decide to leak
addresses or not.
Bug:
34899586
Test: lshal
Change-Id: I8eb9168c3b071b8b1f27dbeaa0ac27d2067200d7
Leandro Gracia Gil [Sat, 28 Jan 2017 02:14:42 +0000 (18:14 -0800)]
Introduce an API to verify trusted caller apps by UID.
This CL introduces a new function to make sure only trusted packages
like VrCore can make use of APIs that are not intended for app use.
As a first example, this CL introduces a caller check for taking screenshots,
although any sensitive APIs should implement similar checks.
Package trust is defined by having the RESTRICTED_VR_ACCESS permission.
Bug:
34474022
Change-Id: Ib5a242d1a4e17f59b178fb1465064043613ac369
Mathias Agopian [Sat, 11 Feb 2017 00:15:34 +0000 (16:15 -0800)]
clean-ups, remove warnings, fix includes.
Test: built and run
Bug: none
Change-Id: I505df89e2263952d90fae432c5eaa7d00056c6f0
Felipe Leme [Fri, 10 Feb 2017 23:47:29 +0000 (15:47 -0800)]
Vibrates using 'cmd vibrator' instead of HAL vibrator.
Change-Id: I7959f08bcb9623d1dfe26e941ccd2623e8cdf278
Fixes:
34346796
Test: manual verification
Test: dumpstate_test passes
Jesse Hall [Fri, 10 Feb 2017 22:22:09 +0000 (22:22 +0000)]
Merge changes I5a8bb16f,I4555ba9d,Id1e3dd5e
* changes:
vulkan: Temporarily hack around loader/driver mismatch
vulkan: Add gralloc1 usage to VK_ANDROID_native_buffer
vulkan: Tolerate missing GetSwapchainGrallocUsageANDROID function
TreeHugger Robot [Fri, 10 Feb 2017 20:35:57 +0000 (20:35 +0000)]
Merge "Fix small child layer transparent region error"
Mathias Agopian [Fri, 10 Feb 2017 20:04:58 +0000 (20:04 +0000)]
Merge "Split view::Surface out of Surface.cpp"
Jesse Hall [Fri, 10 Feb 2017 06:13:02 +0000 (22:13 -0800)]
vulkan: Temporarily hack around loader/driver mismatch
A driver was built with an older declaration of
vkGetSwapchainGrallocUsage2KHR, and doesn't match what libvulkan
expects. This is a temporary workaround until the driver can be
rebuilt against the current header. When a new driver is available,
this change should be reverted.
Test: vulkanGears on affected device
Change-Id: I5a8bb16f0f9563e32314cff2a2a7a45760cfc356
Jesse Hall [Fri, 10 Feb 2017 05:45:51 +0000 (21:45 -0800)]
vulkan: Add gralloc1 usage to VK_ANDROID_native_buffer
Replaces the gralloc0-style 'int' usage in
vkGetSwapchainGrallocUsage2ANDROID and VkNativeBufferANDROID with a
gralloc1-style pair of uint64_t usages. A later change will plumb this
to and from ANativeWindow; for now we just collapse and expand from
32-bit usage.
Test: vulkanGears
Change-Id: I4555ba9d6ca1d15ed0791dc0bda01a1443890d02
Daniel Nicoara [Fri, 10 Feb 2017 15:44:08 +0000 (10:44 -0500)]
VR: Build VR Window Manager only on platforms supported by libgvr
Bug: None
Test: Verified build succeeds on aosp_mips-eng
lunch aosp_mips-eng
cd frameworks/native/services/vr/vr_window_manager
mma
Change-Id: Idf8c4cb842f5fd30f047e70fb1374bca6247eef9
TreeHugger Robot [Fri, 10 Feb 2017 04:24:58 +0000 (04:24 +0000)]
Merge "Fix boolean logic in SurfaceFlinger property read"
Chris Forbes [Fri, 10 Feb 2017 01:59:59 +0000 (14:59 +1300)]
vulkan: Tolerate missing GetSwapchainGrallocUsageANDROID function
Some drivers implementing ANDROID_native_buffer V6 have /removed/ the
old function. We shouldn't really mind if they do that -- we're never
going to call it anyway if they do expose the new
GetSwapchainGrallocUsage2ANDROID function.
V2: Fail at CreateDevice-time if neither function is exposed.
Change-Id: Id1e3dd5e2e71a9291dd610e908f9906acaaf0ad0
Related bugs: b/
34177594
Test: build
TreeHugger Robot [Fri, 10 Feb 2017 02:40:36 +0000 (02:40 +0000)]
Merge "Disable Virtual Display by default in SF"
TreeHugger Robot [Fri, 10 Feb 2017 01:05:34 +0000 (01:05 +0000)]
Merge "Allow surfaceflinger to run vrflinger"
Mathias Agopian [Thu, 9 Feb 2017 01:04:18 +0000 (17:04 -0800)]
Split view::Surface out of Surface.cpp
it’s moved into a new view/Surface.cpp, header in
gui/view/Surface.h
their entanglement also meant that code that needs
only view::Surface ended up with all of Surface
dependencies.
Test: built and booted device
Bug: treble
Change-Id: I1a350d258f124fbe0a7bc5a2ca165311dcb0d8e3
Mathias Agopian [Thu, 9 Feb 2017 23:01:35 +0000 (23:01 +0000)]
Merge "Break dependency of libui on libbinder"
TreeHugger Robot [Thu, 9 Feb 2017 22:43:30 +0000 (22:43 +0000)]
Merge "VR: Update VR HWC and VR WM to use GrallocMapper"
Ashutosh Joshi [Thu, 9 Feb 2017 22:28:17 +0000 (22:28 +0000)]
Merge "Revert "sensorservice: Remove ENABLE_TREBLE flag.""
TreeHugger Robot [Thu, 9 Feb 2017 22:27:23 +0000 (22:27 +0000)]
Merge "Fix bug in isEquivalent()"
Hendrik Wagenaar [Wed, 1 Feb 2017 20:10:46 +0000 (12:10 -0800)]
Allow surfaceflinger to run vrflinger
* Allows surface flinger to switch in and out of vr mode
Bug: None
Test: Manually ran various vr test programs.
Change-Id: I15fbba0eb67cbcffeef41be31429550448a1db9c
Fabien Sanglard [Thu, 9 Feb 2017 20:29:39 +0000 (12:29 -0800)]
Disable Virtual Display by default in SF
These should be enabled by default once b/
30022738 is resolved.
Change-Id: I70a48a0bcf98ca984a28aa130170270d16e708bf
Ashutosh Joshi [Thu, 9 Feb 2017 21:44:04 +0000 (21:44 +0000)]
Revert "sensorservice: Remove ENABLE_TREBLE flag."
This reverts commit
d333511e94afbcc6462dd9c81405f4a3e30ecac9.
Change-Id: I6812643a7d0265f3a64a03a35e4d5a2359ba87cf
quddusc [Thu, 9 Feb 2017 21:41:59 +0000 (21:41 +0000)]
Merge "NDK docs: Fixed in-line comments for A8 and ARGB444 bitmap configurations. Test: Verified changes with romainguy@. Related bugs: b/
26922523" am:
270fff6a7c am:
f9c7e2a002 am:
3d2dbf4d2f
am:
cc070b4ddd
Change-Id: Ia8e0c98670407a8218d1fe6522a46a5d51843a49
quddusc [Thu, 9 Feb 2017 21:38:47 +0000 (21:38 +0000)]
Merge "NDK docs: Fixed in-line comments for A8 and ARGB444 bitmap configurations. Test: Verified changes with romainguy@. Related bugs: b/
26922523" am:
270fff6a7c am:
f9c7e2a002
am:
3d2dbf4d2f
Change-Id: Ice33e4e60d90f303652d2a993e90e3c58f3e261f
quddusc [Thu, 9 Feb 2017 21:35:09 +0000 (21:35 +0000)]
Merge "NDK docs: Fixed in-line comments for A8 and ARGB444 bitmap configurations. Test: Verified changes with romainguy@. Related bugs: b/
26922523" am:
270fff6a7c
am:
f9c7e2a002
Change-Id: I228a0f7ed82d88e64ddade491f5aece700c9d9dd
quddusc [Thu, 9 Feb 2017 21:32:41 +0000 (21:32 +0000)]
Merge "NDK docs: Fixed in-line comments for A8 and ARGB444 bitmap configurations. Test: Verified changes with romainguy@. Related bugs: b/
26922523"
am:
270fff6a7c
Change-Id: Ibfc593ff8a9d913e083b8fda4341ca5110ba87a1
quddusc [Thu, 9 Feb 2017 21:26:19 +0000 (21:26 +0000)]
Merge "NDK docs: Fixed in-line comments for A8 and ARGB444 bitmap configurations. Test: Verified changes with romainguy@. Related bugs: b/
26922523"
Peng Xu [Thu, 9 Feb 2017 20:24:25 +0000 (12:24 -0800)]
Fix bug in isEquivalent()
Fix a bug in SensorService::SensorDirectConnection::isEquivalent()
that causes the check to unfairly judge two shared memory buffers.
Test: compiles
Change-Id: I8274b01f331dc958c8b0183aab32119f21a8c4ff
Quddus Chong [Wed, 8 Feb 2017 18:38:21 +0000 (10:38 -0800)]
NDK docs: Fixed in-line comments for A8 and ARGB444 bitmap configurations.
Test: Verified changes with romainguy@.
Related bugs: b/
26922523
Change-Id: Id51445b09896407e808b519f3ee2f4be90f5b7eb
Daniel Nicoara [Tue, 7 Feb 2017 22:27:25 +0000 (17:27 -0500)]
VR: Update VR HWC and VR WM to use GrallocMapper
Removes the gralloc hacks to access buffer internals and re-enables
building of VR Window Manager.
Bug: b/
34878847
Test: Compiled
Change-Id: I06aa5ec0428b2f282a36ee89dbc4da9838c25782
Hendrik Wagenaar [Wed, 8 Feb 2017 22:36:20 +0000 (14:36 -0800)]
Move pdx system/ paths to system/vr/
If PDX is used for non-vr stuff in the future, it will be clear
that system/vr/display is for vr and not general display
Test: compile and make sure the vr systems still work
Change-Id: I7f4331b51011574598ea3636f675be68d1ff49a0
Chia-I Wu [Wed, 4 Jan 2017 06:58:51 +0000 (14:58 +0800)]
surfaceflinger: cache HWC client targets and buffers
Remember HWC client targets and buffers, and make sure we send each
unique slot/handle pair only once. This allows the composer to
clone/register/retain each buffer only once.
Test: builds and boots
Change-Id: Ib485189043a9c132031e82d4d7380ace3bf9453d
Ashutosh Joshi [Thu, 9 Feb 2017 04:31:38 +0000 (04:31 +0000)]
Merge "sensorservice: Remove ENABLE_TREBLE flag."
TreeHugger Robot [Thu, 9 Feb 2017 02:04:50 +0000 (02:04 +0000)]
Merge "Explicitly sets Shell component on broadcast."
Robert Carr [Thu, 9 Feb 2017 01:43:36 +0000 (17:43 -0800)]
Fix small child layer transparent region error
Just turned transparent region back on in my SurfaceView port
and saw things were pretty broken.
Test: Manual
Change-Id: I3ab5520ecd226c86ef903767f6a562af7d7eb16d
Felipe Leme [Wed, 8 Feb 2017 17:46:08 +0000 (09:46 -0800)]
Explicitly sets Shell component on broadcast.
Change-Id: I11299885c300709d4b6c5a8b4d21bc31d96e2a62
Fixes:
34833915
Test: manual verification
Test: dumpstate_test passes
Mathias Agopian [Tue, 7 Feb 2017 00:34:41 +0000 (16:34 -0800)]
Break dependency of libui on libbinder
the dependency existed only because of
HdrCapabilities, which inherited from
Parcelable, instead of LightFlatenable<>.
An added benefit is that HdrCapabilities isn’t
virtual anymore.
Also, since the dtor is not trivial, move it to
the cpp, to avoid inlining.
Fix-up includes.
Test: built and booted device
Change-Id: Iaf9c4ef9dcc5cb28b29f79d9f7d8f21800223eb8
TreeHugger Robot [Wed, 8 Feb 2017 23:05:19 +0000 (23:05 +0000)]
Merge "vulkan: Disable shared present modes for now"
TreeHugger Robot [Wed, 8 Feb 2017 22:07:54 +0000 (22:07 +0000)]
Merge "Fix vr flinger deadlock and race condition"
Chris Forbes [Tue, 7 Feb 2017 20:59:36 +0000 (09:59 +1300)]
vulkan: Disable shared present modes for now
This extension is not yet ratified, and we shouldn't really be
unconditionally exposing the new present modes anyway.
Test: build
Change-Id: I0a9631a5079648c0d8981f07a9f704b7f8758ce3
Mathias Agopian [Wed, 8 Feb 2017 21:28:15 +0000 (21:28 +0000)]
Merge "Remove BoardConfig variables - BOARD_EGL_CFG"
Mathias Agopian [Wed, 8 Feb 2017 21:27:17 +0000 (21:27 +0000)]
Merge "move GraphicEnv from libgui to libui"
Mathias Agopian [Wed, 8 Feb 2017 21:26:40 +0000 (21:26 +0000)]
Merge "Fix include dependencies"
Steven Thomas [Wed, 8 Feb 2017 02:07:01 +0000 (18:07 -0800)]
Fix vr flinger deadlock and race condition
While investigating hangs when transitioning from 2d --> vr and back I
found a deadlock and race condition in the vr flinger pause/resume
handling. This CL should fix both issues.
Unfortunately there's still another deadlock related to multiple threads
trying to suspend/resume vr flinger, but considering how vr flinger is
currently used by surface flinger we shouldn't ever hit that scenario in
practice.
Bug: None
Test: I was able to reliably get a hang when starting/stopping vr
launcher a few times, but with this CL applied and another CL to remove
calls to SetPowerMode() applied (that CL will be submitted separately),
I no longer see any hangs.
Change-Id: Ie842bf9fb00e4e2937769ed7e1e2ec9cc47861f7
(cherry picked from commit
cf921a3919d68d8c8d1b8be39e03a372f6346f57)
Jiwen 'Steve' Cai [Wed, 8 Feb 2017 00:39:38 +0000 (16:39 -0800)]
Stop calling setPowerMode in VrFlinger
Seems that SetPowerMode from VrFlinger is causing the HIDL HWC service
(android.hardware.graphics.composer@2.1-service) to hang.
Bug: None
Test: Start particles, stop particles, start CubeSea; stop CubeSea
Change-Id: I074568fa0b04041d94dd76768ff27d467e699682
(cherry picked from commit
7fba71a24630bdf757bd4e8a28193a3995c133aa)
TreeHugger Robot [Wed, 8 Feb 2017 19:12:27 +0000 (19:12 +0000)]
Merge "Integrate binder service to vr window manager for controller input."
TreeHugger Robot [Wed, 8 Feb 2017 19:07:06 +0000 (19:07 +0000)]
Merge "Discard invisible surfaces"
TreeHugger Robot [Wed, 8 Feb 2017 18:13:53 +0000 (18:13 +0000)]
Merge "fix warning: dereference of a null pointer"
Leandro Gracia Gil [Tue, 7 Feb 2017 00:04:21 +0000 (16:04 -0800)]
Update the GVR platform library.
This CL renames the target for the GVR platform library and introduces
a new method in it to determine if this is an all-in-one device or a
Daydream-ready smartphone.
Bug:
34713987
Change-Id: I38067cb02fd805f3fbe1925250bddebfe82cce55
(cherry picked from commit
904762bdddd2ea5d386b1cf5fb7a35899fbc7a1e)
TreeHugger Robot [Wed, 8 Feb 2017 09:11:10 +0000 (09:11 +0000)]
Merge "batteryservice: expose battery status"
TreeHugger Robot [Wed, 8 Feb 2017 09:08:02 +0000 (09:08 +0000)]
Merge "Use 'cmd activity' instead 'am' to send a broadcast."
Craig Donner [Wed, 8 Feb 2017 01:47:01 +0000 (01:47 +0000)]
Merge "Adds support for more gralloc1 functions to GrallocMapper."
Craig Donner [Wed, 8 Feb 2017 01:42:31 +0000 (01:42 +0000)]
Merge "Add methods for allocating and locking GraphicBuffers via gralloc1 flags"
Mathias Agopian [Wed, 8 Feb 2017 01:36:19 +0000 (17:36 -0800)]
Fix include dependencies
Some headers included other headers they didn’t
need. This is trying to reduce the dependencies
of Surface.h / Surface.cpp on the rest of the
world.
Test: compiled
Bug: not applicable
Change-Id: Ibb5de1308a387394a1367638c3b7f26b5549ce6a
Hendrik Wagenaar [Tue, 7 Feb 2017 22:27:28 +0000 (14:27 -0800)]
Discard invisible surfaces
* Jiwen found that we would try to post invisible layers, and this
would cause a hang.
* Check to see if the surface is invisible, and if so, discard it
Test: Manually tested with particles
Change-Id: Id4a0813cb30bd48c3cfa4d13dcee59fcb5f58a8d
Alex Sakhartchouk [Sun, 29 Jan 2017 22:04:17 +0000 (17:04 -0500)]
Integrate binder service to vr window manager for controller input.
Bug:
34806399
Test: None
Change-Id: I4fadd3522082f27b053038fe65b61b1126a5a5f2
(cherry picked from commit
3bbfb1b46661439e618c13d9e0dac583edeb16fc)
Fabien Sanglard [Tue, 7 Feb 2017 22:06:39 +0000 (14:06 -0800)]
Fix boolean logic in SurfaceFlinger property read
Test: AUPT
Change-Id: Ib1db9198f470d62db1efa77193bf9e5f47b8a4b8
Fabien Sanglard [Tue, 7 Feb 2017 22:03:15 +0000 (22:03 +0000)]
Merge "Revert "Enable TripleBuffering on SF by default""
Fabien Sanglard [Tue, 7 Feb 2017 22:02:22 +0000 (22:02 +0000)]
Revert "Enable TripleBuffering on SF by default"
This reverts commit
f222b2e6f4a3c26d6d2d9e3dd9056e5c95d7bc9c.
Change-Id: I300e46c9e93840fde85471eed4e5f7d10dde9b43
Jin Qian [Fri, 3 Feb 2017 01:33:36 +0000 (17:33 -0800)]
batteryservice: expose battery status
Bug:
34198239
Change-Id: Iccd2d88efe4cfbfeb753dee866ded099cf445548
Mathias Agopian [Tue, 7 Feb 2017 21:04:44 +0000 (13:04 -0800)]
Remove BoardConfig variables - BOARD_EGL_CFG
Bug:
34693617
Test: compiled and booted a device
Change-Id: I9fcd5e4aa5e68dff2065bd7bffa1950b403a9185
Felipe Leme [Tue, 7 Feb 2017 17:19:01 +0000 (09:19 -0800)]
Use 'cmd activity' instead 'am' to send a broadcast.
'am' is a deprecated binary that calls the ActivityManager shell
command behind the scenes, so calling 'cmd activity' directly
eliminates a process fork.
Bug:
34833915
Test: manual verification
Change-Id: Ia156897d784aa1d64f60317f92828987d64936e3
TreeHugger Robot [Tue, 7 Feb 2017 15:16:35 +0000 (15:16 +0000)]
Merge "VR: Fail presentation without layers"
TreeHugger Robot [Tue, 7 Feb 2017 10:13:06 +0000 (10:13 +0000)]
Merge "ProcessInfoService: Add support for oom score query"
wyau [Tue, 7 Feb 2017 06:16:38 +0000 (06:16 +0000)]
Merge "SurfaceFlinger supports ClearClientTarget for Sideband" am:
6560727f37 am:
adde06b9e8 am:
1f94c41f83
am:
d7a4a56b37
Change-Id: I6be4ced0d5779f319976f8f24fc446c3473d0428
wyau [Tue, 7 Feb 2017 04:34:25 +0000 (04:34 +0000)]
Merge "SurfaceFlinger supports ClearClientTarget for Sideband" am:
6560727f37 am:
adde06b9e8
am:
1f94c41f83
Change-Id: I4a1819a3aa9f4c5aa7233225bdae29435272cade
wyau [Tue, 7 Feb 2017 04:16:12 +0000 (04:16 +0000)]
Merge "SurfaceFlinger supports ClearClientTarget for Sideband" am:
6560727f37
am:
adde06b9e8
Change-Id: I68e33ab1173bbae30e8d22ae86397ec081051f7f
wyau [Tue, 7 Feb 2017 04:13:40 +0000 (04:13 +0000)]
Merge "SurfaceFlinger supports ClearClientTarget for Sideband"
am:
6560727f37
Change-Id: Idfeaf9f6e29eda948b44a1110ae18a5099a0977e
wyau [Tue, 7 Feb 2017 04:07:15 +0000 (04:07 +0000)]
Merge "SurfaceFlinger supports ClearClientTarget for Sideband"
Mathias Agopian [Mon, 6 Feb 2017 21:51:32 +0000 (13:51 -0800)]
move GraphicEnv from libgui to libui
This breaks a circular dependency between libEGL
and libgui.
Test: compiled and booted a device
Change-Id: I78932bba07fb9ef310d8e1622bd3a47f57e89c45
Daniel Nicoara [Mon, 6 Feb 2017 18:21:15 +0000 (13:21 -0500)]
VR: Fail presentation without layers
Without any layers or a valid client target there is nothing to present.
Bug: None
Test: Compiled
Change-Id: Ib8b4b7ced628a38c69be726bf1c04dde2882c614
(cherry picked from commit
12da96889be17f1964681210d0f780fd70fefc33)
TreeHugger Robot [Mon, 6 Feb 2017 22:39:39 +0000 (22:39 +0000)]
Merge "Enable TripleBuffering on SF by default"
Gray Huang [Wed, 11 Jan 2017 05:41:09 +0000 (13:41 +0800)]
SurfaceFlinger supports ClearClientTarget for Sideband
When clearing the layer's intersection with the dirty region,
HWC2::Composition::Sideband layer needs to be cleared as well.
Bug:
33443134
Test: manual - enter PIP mode with Live Channel
Change-Id: I4fecc7b5db8a2bf220b681bd087264290d1a2443
TreeHugger Robot [Mon, 6 Feb 2017 21:13:30 +0000 (21:13 +0000)]
Merge "Report binder versions on failure"
Fabien Sanglard [Mon, 6 Feb 2017 20:21:21 +0000 (12:21 -0800)]
Enable TripleBuffering on SF by default
Change-Id: I5958534133799419fa77c00536c68cacd1ccb6a9
TreeHugger Robot [Mon, 6 Feb 2017 19:52:13 +0000 (19:52 +0000)]
Merge "Nullptr check for VSyncClient::Wait"
Greg Hartman [Wed, 4 Jan 2017 00:54:59 +0000 (16:54 -0800)]
Report binder versions on failure
BUG:
34053032
Test: foo
Change-Id: Ida43d037cc6cf70cd5f0e9f678db70d624c99285
TreeHugger Robot [Mon, 6 Feb 2017 18:56:37 +0000 (18:56 +0000)]
Merge "Add param null-check + error return"