OSDN Git Service
Carmen Jackson [Wed, 19 Apr 2017 01:10:50 +0000 (01:10 +0000)]
Merge "atrace: Don't NPE if we can't access hal-related tracepoint files." into oc-dev
am:
638fc1f809
Change-Id: I5c6fa1f459c84c45d00f1047aee09fdf921cf345
TreeHugger Robot [Wed, 19 Apr 2017 01:06:26 +0000 (01:06 +0000)]
Merge "atrace: Don't NPE if we can't access hal-related tracepoint files." into oc-dev
Carmen Jackson [Tue, 18 Apr 2017 23:47:54 +0000 (23:47 +0000)]
Merge "Add atrace_userdebug.rc to enable some tracepoints for userdebug only." into oc-dev
am:
932dc64614
Change-Id: I944f3c8c0b1a1f4c191cf616ddff22f67d4f2b14
Carmen Jackson [Tue, 18 Apr 2017 23:37:48 +0000 (23:37 +0000)]
Merge "Add atrace_userdebug.rc to enable some tracepoints for userdebug only." into oc-dev
Carmen Jackson [Tue, 18 Apr 2017 22:37:57 +0000 (15:37 -0700)]
atrace: Don't NPE if we can't access hal-related tracepoint files.
This currently NPEs when Traceur attempts to start a trace.
Based on b/
34242478, this is currently expected and we should fail
gracefully instead.
Bug:
37281960
Test: Starting a trace using Traceur on a userdebug build succeeds.
Change-Id: I082d5750625dec0e1db4a1dd341dc332d8dd752f
Steven Thomas [Tue, 18 Apr 2017 22:43:22 +0000 (22:43 +0000)]
Merge "Fix query management in GpuProfiler" into oc-dev
am:
511544f212
Change-Id: I854ef8bf9424a06b36e98315237868d4263f0ce2
Steven Thomas [Tue, 18 Apr 2017 22:25:39 +0000 (22:25 +0000)]
Merge "Fix query management in GpuProfiler" into oc-dev
John Bates [Tue, 18 Apr 2017 22:21:26 +0000 (22:21 +0000)]
Merge "[vr] Add DVR API to get native handle for buffers" into oc-dev
am:
1ab06328bb
Change-Id: I3271aa728a4ed73469a7278dbcd51a0d3644db92
TreeHugger Robot [Tue, 18 Apr 2017 22:08:09 +0000 (22:08 +0000)]
Merge "[vr] Add DVR API to get native handle for buffers" into oc-dev
Rob Carr [Tue, 18 Apr 2017 20:24:21 +0000 (20:24 +0000)]
Merge "SurfaceFlinger: Inherit non-transform Scaling from parent." into oc-dev
am:
08260b881a
Change-Id: Ie65a136803007c3d8cde8e909f913399764de557
Rob Carr [Tue, 18 Apr 2017 20:10:44 +0000 (20:10 +0000)]
Merge "SurfaceFlinger: Inherit non-transform Scaling from parent." into oc-dev
Daniel Nicoara [Tue, 18 Apr 2017 19:52:11 +0000 (19:52 +0000)]
Merge "Move VR HWC HAL impl to vr/hardware_composer and cleanup deps" into oc-dev
am:
73fe6115e4
Change-Id: I468ed2fa3a4502b825c265a88c91dc00f0a9690c
Craig Donner [Tue, 18 Apr 2017 19:42:16 +0000 (19:42 +0000)]
Merge "Expose EGL_ANDROID_native_fence_sync." into oc-dev
am:
44f7bbe6d3
Change-Id: I7b6885fc66e9ae3f99015553842f18cc6f218e43
TreeHugger Robot [Tue, 18 Apr 2017 19:39:07 +0000 (19:39 +0000)]
Merge "Move VR HWC HAL impl to vr/hardware_composer and cleanup deps" into oc-dev
TreeHugger Robot [Tue, 18 Apr 2017 19:37:37 +0000 (19:37 +0000)]
Merge "Expose EGL_ANDROID_native_fence_sync." into oc-dev
John Bates [Tue, 18 Apr 2017 17:45:23 +0000 (10:45 -0700)]
[vr] Add DVR API to get native handle for buffers
This is required to support GPU late latching features in
VRCore. This can be removed once vendors support using
AHardwareBuffer instead of int fd for shared memory
buffer objects.
Bug: b/
37472908
Test: builds and runs
Change-Id: I2a957723c4025773181071491a45a53b83e5ba64
Robert Carr [Mon, 17 Apr 2017 21:56:57 +0000 (14:56 -0700)]
SurfaceFlinger: Inherit non-transform Scaling from parent.
When a Layer is fixed-size, we may apply additional scaling
to the buffer not accounted for in the transform. This means
that if the WindowManager calls setSize we will scale the parent
surface but not the child surfaces, breaking the contract that
the WM can treat the child surfaces as pixels in the parent.
Test: Included test in Transaction_test.
Bug:
36820947
Bug:
37344435
Change-Id: I5478bad176388fe8e5407379bc36cdfd6600ab97
Hendrik Wagenaar [Tue, 18 Apr 2017 17:44:33 +0000 (17:44 +0000)]
Merge "Dvr api usages should follow AHardwareBuffer" into oc-dev
am:
de47fabe1a
Change-Id: Ic5e1bbeac777ea5087538eea9fbe8e6514128e1d
TreeHugger Robot [Tue, 18 Apr 2017 17:36:18 +0000 (17:36 +0000)]
Merge "Dvr api usages should follow AHardwareBuffer" into oc-dev
Steven Thomas [Mon, 17 Apr 2017 18:55:34 +0000 (11:55 -0700)]
Fix query management in GpuProfiler
GL query objects were being used incorrectly in GpuProfiler across GL
context resets, which could cause endless creation of additional GL
query objects.
Have the compositor notify the GpuProfiler when the GL context is
created and destroyed, so it can reset its state appropriately.
Also impose a limit of 32 outstanding queries to help prevent endless
query object creation in the future. If we hit the limit we print a log,
reset everything, and start over.
Bug:
34256609
Test: Manually tested that: (a) we no longer get GL errors after
glGetQueryObjectiv() calls after a context destroy/create cycle, and (b)
the queue overflow handling works as expected.
Change-Id: I64905b766a3ea7cb62d543b776ac975d0762868e
Daniel Nicoara [Thu, 13 Apr 2017 19:19:15 +0000 (15:19 -0400)]
Move VR HWC HAL impl to vr/hardware_composer and cleanup deps
VR HWC is no longer built into VR WM, but in VR HWC, so update its
location. Also cleanup dead code.
Bug:
36051907
Test: Compiled
Change-Id: I15763234fa93bf3b95b8df6461428fe65fd5f611
Andreas Gampe [Tue, 18 Apr 2017 03:17:37 +0000 (03:17 +0000)]
OtaPreopt: Add version support
am:
c4ced4f015
Change-Id: I79b9057f781751623dc321f280e6b4680aa1f952
Craig Donner [Mon, 17 Apr 2017 22:31:06 +0000 (15:31 -0700)]
Expose EGL_ANDROID_native_fence_sync.
Bug:
37439141
Test: Manually tried to use function cross-process from user app
Change-Id: Ia260cb3d11d6667df9de34402c27adea7374c2bc
Hendrik Wagenaar [Mon, 17 Apr 2017 22:24:19 +0000 (15:24 -0700)]
Dvr api usages should follow AHardwareBuffer
* Since vrcore doesn't have access to gralloc1 usages
* Since gralloc1 may be replaced in the future
Bug:
37435415
Test: TestNamedBufferUsage
Change-Id: Iaa47396aca26460541d1b9031dce0b971b630555
Jammy Yu [Mon, 17 Apr 2017 23:43:04 +0000 (23:43 +0000)]
Merge "Fix error BufferQueue attaching flow." am:
0ffe45c2ed am:
4b0e77ab69
am:
77533ce953
Change-Id: Ic68cdb30579426ecd6e1f885cede30963a575f03
Yifan Hong [Mon, 17 Apr 2017 23:34:44 +0000 (23:34 +0000)]
Merge "Update to allow multiple HALs in a manifest." am:
dd315948db am:
f3e73b9f5f
am:
c8316072b6
Change-Id: Ie9767302013432944beadcf8794fd78fb6718ebd
Andreas Gampe [Mon, 17 Apr 2017 23:18:30 +0000 (23:18 +0000)]
Merge "Otapreopt: Remove param count checking in otapreopt_chroot" into oc-dev
am:
d537b474ee
Change-Id: I7e5c65821858225b0ff818e8c45409e5703fd2cd
Andreas Gampe [Sat, 15 Apr 2017 03:39:56 +0000 (20:39 -0700)]
OtaPreopt: Add version support
Add versioning to otapreopt:
Give up on having otapreopt being a mostly-ignorant frontend to a
blackbox dexopt function. Remove the dexopt helper taking a char*[], and
replace with a direct call to the typed signature.
Add support for a versioned dexopt command. The current version is
"2." An unversioned command string is either version "1" (N) or
version "2" (O pre-versioning).
Translate version 1 to version 2 by
* filter DEXOPT_OTA
* override dexopt_needed to DEX2OAT_FROM_SCRATCH
* add null se_info
Bug:
37256688
Test: m
Test: Manual OTA N (v1) -> O (v2)
Test: Manual OTA O (pre-versioning) -> O (v2)
Test: Manual OTA O (v2) -> O (v2)
Change-Id: I9fff673f3ba99833e88cf1c5c9625f42436ec150
TreeHugger Robot [Mon, 17 Apr 2017 23:05:46 +0000 (23:05 +0000)]
Merge "Otapreopt: Remove param count checking in otapreopt_chroot" into oc-dev
Jesse Hall [Mon, 17 Apr 2017 21:55:34 +0000 (21:55 +0000)]
Merge "Move AHardwareBuffer_getNativeHandle to VNDK" into oc-dev
am:
a2d92c5691
Change-Id: I3fe1cb33ac935cee490b169cc28264ea1e8f6387
Jesse Hall [Mon, 17 Apr 2017 21:52:20 +0000 (21:52 +0000)]
Merge "Move AHardwareBuffer_getNativeHandle to VNDK" into oc-dev
Jammy Yu [Mon, 17 Apr 2017 20:39:45 +0000 (20:39 +0000)]
Merge "Fix error BufferQueue attaching flow." am:
0ffe45c2ed
am:
4b0e77ab69
Change-Id: I48cb9d0af9e4853ebc1f60544e167e14965c2a18
Jammy Yu [Mon, 17 Apr 2017 20:35:15 +0000 (20:35 +0000)]
Merge "Fix error BufferQueue attaching flow."
am:
0ffe45c2ed
Change-Id: I5594453f6689d2b947109f51db4b9cab14b5a59a
Treehugger Robot [Mon, 17 Apr 2017 20:26:40 +0000 (20:26 +0000)]
Merge "Fix error BufferQueue attaching flow."
Jesse Hall [Mon, 17 Apr 2017 15:52:32 +0000 (08:52 -0700)]
Move AHardwareBuffer_getNativeHandle to VNDK
This was added to the NDK only because we didn't have a way to do
VNDK-only declarations. Now we do.
Bug:
34050596
Test: make checkbuild
Change-Id: I039fccfd9f29c5cc960e7691f0baa70101659949
Yifan Hong [Mon, 17 Apr 2017 18:36:03 +0000 (18:36 +0000)]
Merge "Update to allow multiple HALs in a manifest." am:
dd315948db
am:
f3e73b9f5f
Change-Id: Ia477327f1284271379b3a47cd8720ce4899812cb
Yifan Hong [Mon, 17 Apr 2017 18:27:10 +0000 (18:27 +0000)]
Merge "Update to allow multiple HALs in a manifest."
am:
dd315948db
Change-Id: I5eac918046ef39dce26276cf61bcc3db76912572
Yifan Hong [Mon, 17 Apr 2017 18:12:27 +0000 (18:12 +0000)]
Merge "Update to allow multiple HALs in a manifest."
Andreas Gampe [Fri, 14 Apr 2017 18:15:17 +0000 (11:15 -0700)]
Otapreopt: Remove param count checking in otapreopt_chroot
Pass on parameters without a check. This will simplify future updates.
Bug:
37256688
Test: m
Test: manual OTA
Change-Id: I9db3749856a1281a777136436ce255c5dd7f7f3c
Jeff Sharkey [Sat, 15 Apr 2017 22:51:59 +0000 (22:51 +0000)]
Merge "Fix use-after-free issue caught by ASAN." into oc-dev
am:
6e03e0e348
Change-Id: I0703e88bfc8b28268b6773b4f3da7c4c51ddd765
TreeHugger Robot [Sat, 15 Apr 2017 22:47:06 +0000 (22:47 +0000)]
Merge "Fix use-after-free issue caught by ASAN." into oc-dev
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
Jeff Sharkey [Sat, 15 Apr 2017 22:44:11 +0000 (22:44 +0000)]
Merge "Fix profile disk space accounting bugs." into oc-dev
am:
c729b02742
Change-Id: I0674abcd30ca457c438698e39a9c3473d313b999
Jeff Sharkey [Sat, 15 Apr 2017 22:43:59 +0000 (22:43 +0000)]
Merge "Hopefully fix funky SELinux labels." into oc-dev
am:
a4a729ebd0
Change-Id: I9d4f644acb310bcd45c0959e154799f474c1cb28
TreeHugger Robot [Sat, 15 Apr 2017 22:39:29 +0000 (22:39 +0000)]
Merge "Fix profile disk space accounting bugs." into oc-dev
TreeHugger Robot [Sat, 15 Apr 2017 22:39:04 +0000 (22:39 +0000)]
Merge "Hopefully fix funky SELinux labels." into oc-dev
Jeff Sharkey [Sat, 15 Apr 2017 18:09:22 +0000 (12:09 -0600)]
Hopefully fix funky SELinux labels.
We've seen reports of cases where DE storage cache directories are
missing the SELinux category information, so explicitly offer to
restorecon those directories to fix the labels.
This matches what we're already doing for CE storage.
Test: builds, boots
Bug:
35991539
Change-Id: I0eb6df801e933fbb005e3f8fdfe57a4e5ce3313d
Jeff Sharkey [Sat, 15 Apr 2017 18:03:31 +0000 (12:03 -0600)]
Fix profile disk space accounting bugs.
Profile data is only stored on internal storage (it doesn't move to
adoptable devices), so only count it when asking about internal
storage (which has a null UUID).
Also fix bug where "current" profile data was being double-counted
for apps.
Test: runtest -x frameworks/base/services/tests/servicestests/src/com/android/server/pm/InstallerTest.java
Bug:
36102172,
36101738
Change-Id: I22b82e8cfb3bf1be1155fb827a538c21f09d88eb
Jeff Sharkey [Sat, 15 Apr 2017 00:54:49 +0000 (18:54 -0600)]
Fix use-after-free issue caught by ASAN.
Keep strong references to std::string objects around while we're
actively using them in fts_open().
Test: builds, boots
Bug:
36975037
Change-Id: Icd7cba5852a01f0a1015e7d0d7dcd3087fa44ae8
Stephen Kiazyk [Sat, 15 Apr 2017 00:14:10 +0000 (00:14 +0000)]
Merge "Avoid a potential race condition on mDisplays" into oc-dev
am:
b87e75de61
Change-Id: I7e7e824df9ffee5f56bb6159ad5c2e7ca6dc7a88
TreeHugger Robot [Sat, 15 Apr 2017 00:08:31 +0000 (00:08 +0000)]
Merge "Avoid a potential race condition on mDisplays" into oc-dev
Justin Klaassen [Fri, 14 Apr 2017 22:44:10 +0000 (22:44 +0000)]
Merge "Add "android.software.preview_sdk" feature" into oc-dev
am:
dca76f971c
Change-Id: Ieb5718fa3a2cb83f6a8cfe731ca7ad3f8ac772a7
Justin Klaassen [Fri, 14 Apr 2017 22:39:58 +0000 (22:39 +0000)]
Merge "Add "android.software.preview_sdk" feature" into oc-dev
Carmen Jackson [Fri, 14 Apr 2017 18:58:58 +0000 (11:58 -0700)]
Add atrace_userdebug.rc to enable some tracepoints for userdebug only.
These tracepoints are currently approved by security for userdebug only
(see linked bug).
These are enabled for use in Traceur, which is currently only available
for userdebug builds.
Bug:
37110010
Test: Compiled and installed for userdebug and verified correct permissions
for a file in atrace.rc as well as a file in atrace_userdebug.rc:
(atrace_userdebug.rc)
$ adb shell ls -al /sys/kernel/debug/tracing/events/workqueue/enable
-rw-rw-rw- 1 root shell 0 1970-01-01 00:00 /sys/kernel/debug/tracing/events/workqueue/enable
(atrace.rc only)
$ adb shell ls -al /sys/kernel/debug/tracing/trace_clock
-rw-rw-r-- 1 root shell 0 1970-01-01 00:00 /sys/kernel/debug/tracing/trace_clock
Test: Compiled and installed a user build and verified correct
permissions for the file modified in atrace.rc, but that
atrace_userdebug.rc was not executed:
(atrace_userdebug.rc)
$ adb shell ls -al
/sys/kernel/debug/tracing/events/workqueue/enable
-rw-r--r-- 1 root root 0 1969-12-31 19:00
(atrace.rc
$ adb shell ls -al /sys/kernel/debug/tracing/trace_clock
-rw-rw-r-- 1 root shell 0 1969-12-31 19:00
/sys/kernel/debug/tracing/trace_clock
Change-Id: Ifb0ce9942a2e7a48f480b46bf944fcbc69c1707d
Peng Xu [Fri, 14 Apr 2017 20:35:58 +0000 (20:35 +0000)]
Merge "Fix gralloc direct channel bug and polish log messages" into oc-dev
am:
1742ede041
Change-Id: Iaecb231f7c8519fea1605d0fdb34e1025dc7331a
Peng Xu [Fri, 14 Apr 2017 20:29:47 +0000 (20:29 +0000)]
Merge "Fix gralloc direct channel bug and polish log messages" into oc-dev
Alex Sakhartchouk [Fri, 14 Apr 2017 20:15:31 +0000 (20:15 +0000)]
Merge "Release virtual display hwcId during vr mode transition." into oc-dev
am:
5d6d98a1df
Change-Id: Id7cc172bae46f53fabdf9b9520d417e951f3249f
TreeHugger Robot [Fri, 14 Apr 2017 20:11:41 +0000 (20:11 +0000)]
Merge "Release virtual display hwcId during vr mode transition." into oc-dev
Stephen Kiazyk [Wed, 5 Apr 2017 23:46:49 +0000 (16:46 -0700)]
Avoid a potential race condition on mDisplays
I've now run this on a HWC1 and HWC2 build. Both appear to be running
correctly.
Original Message:
The race could occur when transitioning in/out of VR flinger mode.
It is now avoided by ensuring that the primary |DisplayDevice| is always
created once |mStateLock| is released, and ensuring that all accesses
to the primary |DisplayDevice| are guarded by |mStateLock|.
Bug:
36194616
Bug:
37249613
Bug:
37288476
Test: Compiled, installed, and ran with both HWC1 and HWC2 variants.
HWC1 was tested on Nexus 6P. Was able to boot, install apps, run apps,
turn screen on/off, and reboot phone.
HWC2 was tested on sailfish. Was able to boot, install apps, run apps,
run VR apps using both N path, and O1 path, turn screen on/off, and
reboot phone.
Change-Id: I0e80c2553f40cce2116b718bbb0d2566679f794a
Albert Chaulk [Fri, 14 Apr 2017 19:50:11 +0000 (19:50 +0000)]
Merge "vrwm: Push all the properties to vr window manager" into oc-dev
am:
f15e6fdf55
Change-Id: If50ba778985a18dec6edcb1f41a648ff4cfdbd5d
TreeHugger Robot [Fri, 14 Apr 2017 19:45:06 +0000 (19:45 +0000)]
Merge "vrwm: Push all the properties to vr window manager" into oc-dev
Steven Moreland [Fri, 14 Apr 2017 18:03:15 +0000 (18:03 +0000)]
Merge "libbinder: vendor_available" into oc-dev
am:
80a50bdc3b
Change-Id: If99137a1ea7e4214b1ba705a38b894692e2778fc
Vijay Venkatraman [Fri, 14 Apr 2017 18:03:03 +0000 (18:03 +0000)]
Merge "Move include/binder to libs/binder/include" into oc-dev
am:
9451d0b8ce
Change-Id: I7384f2b19143e30ca524549fcd81b95a5aaa7beb
TreeHugger Robot [Fri, 14 Apr 2017 17:57:40 +0000 (17:57 +0000)]
Merge "libbinder: vendor_available" into oc-dev
TreeHugger Robot [Fri, 14 Apr 2017 17:57:36 +0000 (17:57 +0000)]
Merge "Move include/binder to libs/binder/include" into oc-dev
Hendrik Wagenaar [Fri, 14 Apr 2017 17:43:56 +0000 (17:43 +0000)]
Merge "Update optics" into oc-dev
am:
0a9e585fe2
Change-Id: I95636e962b9994bac5486f1b4f4706405e08ed79
TreeHugger Robot [Fri, 14 Apr 2017 17:31:15 +0000 (17:31 +0000)]
Merge "Update optics" into oc-dev
Iliyan Malchev [Fri, 14 Apr 2017 15:15:58 +0000 (15:15 +0000)]
Merge "binder: allow repeated invocations of initWithDriver" into oc-dev
am:
11c1acc33a
Change-Id: I44a4f3cb656c12eba9f506a5cb1299ca3faa985c
Iliyan Malchev [Fri, 14 Apr 2017 15:08:32 +0000 (15:08 +0000)]
Merge "binder: allow repeated invocations of initWithDriver" into oc-dev
Iliyan Malchev [Fri, 14 Apr 2017 07:34:57 +0000 (00:34 -0700)]
binder: allow repeated invocations of initWithDriver
As long as the driver name is the same, calls to
ProcessState::initWithDriver() will succeed, returning the
already-created object.
Test: marlin
Change-Id: I87d5ca2a105becd8d4fa6fa85c00b879360229b3
Signed-off-by: Iliyan Malchev <malchev@google.com>
PO HUNG CHEN [Fri, 14 Apr 2017 06:53:28 +0000 (06:53 +0000)]
Merge "Refine the binder latency test" into oc-dev
am:
f18f8fe8cb
Change-Id: I0bc0cac5fd11bb197addc382699b57d0b17d22b6
PO HUNG CHEN [Fri, 14 Apr 2017 06:42:50 +0000 (06:42 +0000)]
Merge "Refine the binder latency test" into oc-dev
Mathias Agopian [Fri, 14 Apr 2017 06:13:45 +0000 (06:13 +0000)]
get rid of IGraphicBufferAlloc
am:
0556d79eac
Change-Id: I9b76eac770fc7585ea73a8497ae04e22ad5b9eec
Mathias Agopian [Wed, 22 Mar 2017 22:49:32 +0000 (15:49 -0700)]
get rid of IGraphicBufferAlloc
Buffers can now be allocated directly through
the graphic allocator HAL.
Test: marlin: run full camera cts
Test: angler: take screenshot, take photo w/ and w/o HDR, video, panorama, refocus, slo-mo
Bug:
36462585
Bug:
36333314
Change-Id: Ie5222c53c3b9462e0ac7a41568718aad131eb328
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
Change-Id: Iec94a66adbc852f7f23352307cf36f49a79ee3a6
Hendrik Wagenaar [Tue, 4 Apr 2017 21:38:36 +0000 (14:38 -0700)]
Update optics
* Specify optics via system properties
Bug:
36039976
Test: Ran on device
Change-Id: I7a38e5a9eb3b8a861f1997d5011ec109f5e79cca
Howard Chen [Mon, 10 Apr 2017 10:51:20 +0000 (18:51 +0800)]
Refine the binder latency test
* limit the output line length be be under 80.
* fix the target service when pair > 2
Bug:
36705188
Test: sailfish with prebuilt kernel on oc-dev
Change-Id: I5ce2754418a669a61f9913a30dbeb7176796e230
Vijay Venkatraman [Fri, 24 Mar 2017 23:13:58 +0000 (16:13 -0700)]
Move include/binder to libs/binder/include
Also moved include/private/binder to libs/binder/include/private/binder.
This allows libbinder to be compiled without depending on global
headers.
Bug:
33241851
Test: Build, flash, and run sailfish.
Test: Try building with BOARD_VNDK_VERSION := current
Change-Id: I0a82b733353add589de26eb2db7af5a246e5c97f
Yifan Hong [Fri, 14 Apr 2017 00:20:58 +0000 (00:20 +0000)]
Merge "Update to allow multiple HALs in a manifest." into oc-dev
am:
1011062e1a
Change-Id: I3ed6dfa6daa5750a1c5262431fb876fa5203a824
Michael Spang [Fri, 14 Apr 2017 00:12:09 +0000 (00:12 +0000)]
Merge "Import broadcast_ring.h from GVR (reland)" into oc-dev
am:
afe7df1a3f
Change-Id: I6b136b5d754a7fda78140137db1c282495179d58
TreeHugger Robot [Fri, 14 Apr 2017 00:11:05 +0000 (00:11 +0000)]
Merge "Update to allow multiple HALs in a manifest." into oc-dev
TreeHugger Robot [Fri, 14 Apr 2017 00:07:42 +0000 (00:07 +0000)]
Merge "Import broadcast_ring.h from GVR (reland)" into oc-dev
Alex Vakulenko [Thu, 13 Apr 2017 22:30:25 +0000 (22:30 +0000)]
Merge "libpdx_uds: Handle EACCES error when connecting to PDX service" into oc-dev
am:
4df4202551
Change-Id: I02d1f307717c1628f6a6d54130d0bd5a2551bf84
TreeHugger Robot [Thu, 13 Apr 2017 22:21:03 +0000 (22:21 +0000)]
Merge "libpdx_uds: Handle EACCES error when connecting to PDX service" into oc-dev
Albert Chaulk [Mon, 10 Apr 2017 17:53:32 +0000 (13:53 -0400)]
vrwm: Push all the properties to vr window manager
Bug:
37204430
Test: Manual
Change-Id: I6cda2732f4aff2433152ffc3549677d23bc598b3
Craig Donner [Thu, 13 Apr 2017 21:28:12 +0000 (21:28 +0000)]
Merge "Use a separate heap size to receive buffer" into oc-dev
am:
ca0b8ccfc5
Change-Id: I7d4b6c6f6103d19d0ae12b9850eca33d4d956411
TreeHugger Robot [Thu, 13 Apr 2017 21:18:49 +0000 (21:18 +0000)]
Merge "Use a separate heap size to receive buffer" into oc-dev
Tomasz Wasilczyk [Thu, 13 Apr 2017 21:15:20 +0000 (21:15 +0000)]
Merge "Revert "Avoid a potential race condition on mDisplays"" into oc-dev
am:
c90e469393
Change-Id: I12fa7cabdc29dcc707756c8e849682b93ceee199
TreeHugger Robot [Thu, 13 Apr 2017 21:07:43 +0000 (21:07 +0000)]
Merge "Revert "Avoid a potential race condition on mDisplays"" into oc-dev
Justin Klaassen [Thu, 13 Apr 2017 20:51:29 +0000 (13:51 -0700)]
Add "android.software.preview_sdk" feature
Conditionally add the "android.software.preview_sdk" feature to any
targets that have a Build.VERSION.CODENAME != "REL". This allows clients
to filter out platforms that are not running official Android releases.
Bug:
31064561
Test: verified using PackageManager#getSystemAvailableFeatures()
Change-Id: I0c6a96d611df0823769feb12105b9669a2109358
Dan Stoza [Thu, 13 Apr 2017 20:44:49 +0000 (20:44 +0000)]
Merge changes Ica5f5f5c,Ifb7d2cec,Ia402b4bc,I9c3b6b7e,I36ba19c7, ... into oc-dev
am:
1b47dfd749
Change-Id: I9617b0192d649ac63bc7f1d587590000bae3cf86
TreeHugger Robot [Thu, 13 Apr 2017 20:30:48 +0000 (20:30 +0000)]
Merge changes Ica5f5f5c,Ifb7d2cec,Ia402b4bc,I9c3b6b7e,I36ba19c7, ... into oc-dev
* changes:
libgui: Make IGraphicBufferConsumer a SafeInterface
libbinder: Add vector<Parcelable> to SafeInterface
libbinder: Add sp<NativeHandle> to SafeInterface
libbinder: Support enums in SafeInterface
libbinder: Support sp<Flattenable> in SafeInterface
libbinder: Add int64_t/uint64_t to SafeInterface
libgui: Normalize IGraphicBufferConsumer methods
libgui: Format IGraphicBufferConsumer
Tomasz Wasilczyk [Thu, 13 Apr 2017 19:14:30 +0000 (19:14 +0000)]
Revert "Avoid a potential race condition on mDisplays"
This reverts commit
8d6c16dc3dc8b88a0046f53668a4e3be074507ff.
Bug: b/
37282502
Change-Id: Ibf64607f9e14ede201510e2c1b502c49a31e9f2a
Svetoslav Ganov [Thu, 13 Apr 2017 19:02:11 +0000 (19:02 +0000)]
Merge "Add autofill feature API" into oc-dev
am:
3a717993fa
Change-Id: I0bcd259aa5a3f688d29689585a3b5f60d5e0e7f8
Svetoslav Ganov [Thu, 13 Apr 2017 18:54:01 +0000 (18:54 +0000)]
Merge "Add autofill feature API" into oc-dev
Svet Ganov [Thu, 13 Apr 2017 18:51:44 +0000 (11:51 -0700)]
Add autofill feature API
bug:
35956220
Test: manual (requires a custom build)
Change-Id: I5d42919d9419ac34825709cd80affa705cce32ed
Calin Juravle [Thu, 13 Apr 2017 17:45:38 +0000 (17:45 +0000)]
Merge "Fix installd test" into oc-dev
am:
22651020b5
Change-Id: I6ce8ae2c3550786fe876ce59beb5f29214b05bba
Corey Tabaka [Thu, 13 Apr 2017 17:45:21 +0000 (17:45 +0000)]
Merge "libvrhwc: Fix dependency order because Soong." into oc-dev
am:
aaa1e1621e
Change-Id: If2d518091fe2e6b25bd7ae3f673890f942370b40
Michael Spang [Sat, 8 Apr 2017 00:22:17 +0000 (20:22 -0400)]
Import broadcast_ring.h from GVR (reland)
This will be used as a transport by the pose plumbing.
Remove host_supported=true from the blueprint. Although this library is
portable C++11, some of the tests aren't, and I don't know how to test
the various SDK targets in order to properly #ifdef them.
Bug:
37102512
Test: m -j32 broadcast_ring_tests; broadcast_ring_tests
Change-Id: Ib91387f2feba9030d2e892dc5145e353b88bad45
Craig Donner [Thu, 13 Apr 2017 01:38:07 +0000 (18:38 -0700)]
Use a separate heap size to receive buffer
Bug:
37216168
Bug:
37245884
Test: cts-tradefed run cts -m CtsNativeHardwareTestCases -t AHardwareBufferTest#AHardwareBuffer_SendAndRecv_Succeeds
Change-Id: I3bdf9c6a24ee1b07a14499f0987b0ac028bbae09