OSDN Git Service
Treehugger Robot [Tue, 18 Jul 2017 08:55:28 +0000 (08:55 +0000)]
Merge "Fix clang static anaylzer warnings."
Treehugger Robot [Tue, 18 Jul 2017 02:47:33 +0000 (02:47 +0000)]
Merge "Reference nativehelper/jni.h as jni.h"
Treehugger Robot [Mon, 17 Jul 2017 19:54:28 +0000 (19:54 +0000)]
Merge "Update the Khronos EGL and GLES* header files."
Steven Moreland [Mon, 17 Jul 2017 19:08:45 +0000 (12:08 -0700)]
Reference nativehelper/jni.h as jni.h
nativehelper will no longer export nativehelper/jni.h so that everywhere
can reference this file with the same name.
Bug:
63762847
Change-Id: Ifc3a3feb7578fd1352c25a3f55884ab75f337039
Ian Elliott [Thu, 6 Jul 2017 19:02:32 +0000 (13:02 -0600)]
Update the Khronos EGL and GLES* header files.
The latest Khronos header file contents are used. Some
not-yet-registered Android extensions are added in, along with a few
data types that were accidentally deleted from "GLES/gl.h". Note that
Khronos rearranged some of the content.
In addition, a repeat of a 2012 fix was required to avoid ANativeWindow
being declared twice during the compilation of source files which also
include "window.h". Both "window.h" and "native_window.h" contain the
following line: typedef struct ANativeWindow ANativeWindow;
I tested this by building Android as well as other source that includes
"window.h", and carefully compared diff's of the old and new content.
Bug: None
Test: Built Android
Merged-In: I5f908f88923378e4d121dfd5fbc11e4f210cbb2a
Change-Id: Ic40276fc8bc0b7120a11db34c3e59ebeec9c9f97
Colin Cross [Thu, 13 Jul 2017 19:41:25 +0000 (19:41 +0000)]
Merge "Add getBinderKernelReferences"
Colin Cross [Wed, 21 Jun 2017 00:48:33 +0000 (17:48 -0700)]
Add getBinderKernelReferences
Add a wrapper for the new BINDER_GET_NODE_DEBUG_INFO ioctl for use by
libmemunreachable.
Test: memunreachable_binder_test
Bug:
28275695
Change-Id: Ic112584fa05071bd336974b3a18869077a69389b
Merged-In: Ic112584fa05071bd336974b3a18869077a69389b
(cherry picked from commit
b869cc94704d1a3d6226f471984eb33ff1bac7d5)
Manoj Gupta [Wed, 12 Jul 2017 17:29:15 +0000 (10:29 -0700)]
Fix clang static anaylzer warnings.
Initialize the values in readBool, readChar and readByte functions.
Silences the following warnings:
frameworks/native/libs/binder/Parcel.cpp:1856:18: warning: The left
operand of '!=' is a garbage value.
frameworks/native/libs/binder/Parcel.cpp:1869:11: warning: Assigned
value is garbage or undefined.
frameworks/native/libs/binder/Parcel.cpp:1882:11: warning: Assigned
value is garbage or undefined.
Bug: b/
27101951
Test:Warnings are gone.
Change-Id: Iba8d242d4d9b1b48f7cafb901023133e21d9d732
Tom Cherry [Wed, 12 Jul 2017 00:49:35 +0000 (00:49 +0000)]
Merge "remove extraneous `using namespace android`"
Tom Cherry [Tue, 11 Jul 2017 21:25:01 +0000 (14:25 -0700)]
remove extraneous `using namespace android`
This namespace is not used by this file and its declaration is removed
in a separate CL from the only header that defines it, so remove this
extraneous line.
Test: Build
Change-Id: Ibec16b8889f4d886a9f9ec865d872e2437da034b
Treehugger Robot [Mon, 10 Jul 2017 14:19:19 +0000 (14:19 +0000)]
Merge "vulkan: update Vulkan headers to 1.0.53"
Hsin-Yi Chen [Mon, 10 Jul 2017 09:06:14 +0000 (09:06 +0000)]
Merge "Add target binderDriverInterfaceTest_IPC_32"
Hsin-Yi Chen [Wed, 7 Jun 2017 10:05:05 +0000 (18:05 +0800)]
Add target binderDriverInterfaceTest_IPC_32
Add the target binderDriverInterfaceTest_IPC_32 which tests 32-bit
kernel and is independent from product_variables.
Bug:
62124459
Test: vts-tradefed run commandAndExit vts -m VtsKernelBinderTest
Change-Id: Ifad9ef24c35060179650955e24d1f046af7b7385
Jesse Hall [Sat, 8 Jul 2017 00:13:23 +0000 (17:13 -0700)]
vulkan: update Vulkan headers to 1.0.53
Key changes since 1.0.49:
* Rename some extension enumerants to conform to naming style
* Add VK_EXT_sampler_filter_minmax
* Add VK_EXT_blend_operation_advanced
* Add VK_AMD_texture_gather_bias_lod
* Add VK_AMD_gpu_shader_int16
* Add VK_NV_fragment_coverage_to_color
* Add VK_NV_framebuffer_mixed_samples
* Add VK_NV_fill_rectangle
Test: build
Change-Id: I6b7931f4b7dfe4cae4fbc85fa961249534ccc11e
Treehugger Robot [Sat, 8 Jul 2017 05:08:30 +0000 (05:08 +0000)]
Merge "vulkan: update Vulkan headers to 1.0.49"
Treehugger Robot [Tue, 27 Jun 2017 00:35:48 +0000 (00:35 +0000)]
Merge "libbinder: really make it available to vendors"
Jiyong Park [Fri, 14 Apr 2017 04:19:48 +0000 (21:19 -0700)]
libbinder: really make it available to vendors
Fixed a bug that vendor variant of the lib is not built due to missing
global include path.
Bug:
36426473
Bug:
36079834
Test: BOARD_VNDK_VERSION=current m -j libbinder.vendor successful
Change-Id: Ice32a23023d7fd9b78c084c3bef455f7008fe4da
Treehugger Robot [Fri, 23 Jun 2017 19:18:41 +0000 (19:18 +0000)]
Merge "IWYU RegionHelper += <limits>"
Steven Moreland [Fri, 23 Jun 2017 17:23:41 +0000 (10:23 -0700)]
IWYU RegionHelper += <limits>
Test: compiles when transitive dependency is removed
Bug:
35363681
Change-Id: Ia405e41102e6ded07720e424167df7e4d080581e
Treehugger Robot [Wed, 21 Jun 2017 00:27:49 +0000 (00:27 +0000)]
Merge "Move include/binder to libs/binder/include"
Treehugger Robot [Tue, 20 Jun 2017 01:06:52 +0000 (01:06 +0000)]
Merge "Fix minor version bump reflected in lshal --init-vintf"
Treehugger Robot [Mon, 19 Jun 2017 22:51:52 +0000 (22:51 +0000)]
Merge "Fix incorrect bitness for lshal --init-vintf"
Yifan Hong [Mon, 19 Jun 2017 22:47:39 +0000 (15:47 -0700)]
Fix minor version bump reflected in lshal --init-vintf
Test: lshal --init-vintf has no warnings, and power@1.1 / vibrator@1.1
is shown in output.
Bug:
62675393
Change-Id: I1ffd8b6dc7fcadcf7228cf2b8838e918bb3afe6b
Merged-In: I1ffd8b6dc7fcadcf7228cf2b8838e918bb3afe6b
Yifan Hong [Mon, 19 Jun 2017 19:27:08 +0000 (12:27 -0700)]
Fix incorrect bitness for lshal --init-vintf
Test: lshal --init-vintf, graphics.mapper has 32+64.
Change-Id: Ic586c8333064cc5636679ce8ad4e1231307191f4
Merged-In: Ic586c8333064cc5636679ce8ad4e1231307191f4
Fixes:
62675393
Jiyong Park [Fri, 16 Jun 2017 06:16:33 +0000 (15:16 +0900)]
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: I266d5338677a92dd0563b311a479e7ad27bbaf55
Merged-In: I0a82b733353add589de26eb2db7af5a246e5c97f
Nicolas Geoffray [Tue, 6 Jun 2017 08:13:27 +0000 (08:13 +0000)]
Merge "Revert "Disable in-place vdex update""
Nicolas Geoffray [Mon, 5 Jun 2017 12:38:10 +0000 (12:38 +0000)]
Revert "Disable in-place vdex update"
Reverting to only apply this when doing dexlayout.
PS1 is a pure revert. PS2 contains the fix.
This reverts commit
e446fede9258359b61d4c8753d7e96477fa29388.
Change-Id: I04a7dbde142d59e8dcdf4e93ab0456c4aa3d02ab
Treehugger Robot [Fri, 2 Jun 2017 19:40:44 +0000 (19:40 +0000)]
Merge "correct value of TYPE_MAGNIFICATION_OVERLAY"
kenzyun_chen [Fri, 2 Jun 2017 05:36:21 +0000 (13:36 +0800)]
correct value of TYPE_MAGNIFICATION_OVERLAY
It should be sync to the same value in WindowManager.java
or the InputWindowInfo::isTrustedOverlay() function will fail
Change-Id: I11bb518049724252f2795a6400efc17ddd545fbb
Treehugger Robot [Thu, 1 Jun 2017 21:49:25 +0000 (21:49 +0000)]
Merge "Installd: deleteOdex's outputPath can be null"
Andreas Gampe [Wed, 31 May 2017 23:39:58 +0000 (16:39 -0700)]
Installd: deleteOdex's outputPath can be null
Add @nullable, as the outputPath can be null for system apps.
(cherry picked from commit
c523409f0fd03aa498cedc486f85e9a4b7257f3a)
Bug:
62236497
Test: m
Test: Fill up /data, apply OTA
Change-Id: I61d86721b485f85195b153d76ce25412dcb68be6
Treehugger Robot [Wed, 31 May 2017 22:00:43 +0000 (22:00 +0000)]
Merge "Disable in-place vdex update"
Narayan Kamath [Wed, 31 May 2017 11:55:47 +0000 (11:55 +0000)]
Merge "dumpstate: Track debuggerd API changes."
Narayan Kamath [Wed, 31 May 2017 09:33:28 +0000 (10:33 +0100)]
dumpstate: Track debuggerd API changes.
dump_backtrace_to_file_timeout now needs an additional argument
that specifies the dump type.
Bug:
36024548
Test: make; manual bug report capture
Change-Id: I6ce3c172dd571e296d9ced9c576b88ea487b2fbb
David Sehr [Fri, 26 May 2017 23:32:55 +0000 (16:32 -0700)]
Disable in-place vdex update
Vdex files can be corrupted by dexlayout or by previously dexlayout-ed
files being recompiled if they are used as both input and output.
Disable this feature.
Bug:
38113240
Test: OTA and dexopt
Change-Id: Iee2d9a6c1ba8cddda25290f68f50649d5288d588
Treehugger Robot [Fri, 26 May 2017 20:21:26 +0000 (20:21 +0000)]
Merge "Add pids for processes that dlopens implementations"
Yifan Hong [Thu, 25 May 2017 02:45:02 +0000 (19:45 -0700)]
Add pids for processes that dlopens implementations
Test: lshal -itrpc
Test: lshal
Test: lshal --init-vintf
Test: lshal_test
Bug:
37639822
Change-Id: Ia415e5f8dbcd10f24e9a5cfdd591eb829a1da89e
Nicolas Geoffray [Fri, 26 May 2017 10:21:25 +0000 (10:21 +0000)]
Merge "Delete vdex file in delete_odex."
Nicolas Geoffray [Thu, 25 May 2017 12:58:06 +0000 (13:58 +0100)]
Delete vdex file in delete_odex.
bug:
38513395
Test: unfortunately no unit test here, so after discussing
with agampe@ just relied on build.
Change-Id: I305ddaadc813673fb55473f5e8ca357f39cf98f3
Treehugger Robot [Thu, 25 May 2017 22:42:24 +0000 (22:42 +0000)]
Merge "Add thread usage output to lshal."
Treehugger Robot [Thu, 25 May 2017 00:59:58 +0000 (00:59 +0000)]
Merge "SF: Call makeCurrent after presenting each display"
Steven Moreland [Wed, 24 May 2017 18:23:08 +0000 (11:23 -0700)]
Add thread usage output to lshal.
This output shows how many threads are in use at a give time.
Test: lshal, manual
Bug:
35099601
Change-Id: I3a22bb131b828cdd77e73e7810229d9c68a496d3
Season Li [Thu, 4 Aug 2016 21:32:44 +0000 (14:32 -0700)]
SF: Call makeCurrent after presenting each display
HWC can change EGLContext in each present. Restore to
default EGLContext after commiting each display.
Test: see https://android-review.googlesource.com/#/c/372703/
Change-Id: I4abc84fb3d4b74964fabcad5a2568ff01a6c5dbb
Treehugger Robot [Wed, 24 May 2017 16:10:16 +0000 (16:10 +0000)]
Merge "Fix a anr bug caused by sendFinishedSignal logical error"
gaoshang [Wed, 17 May 2017 06:36:46 +0000 (14:36 +0800)]
Fix a anr bug caused by sendFinishedSignal logical error
Because of eliminate multiple benign overflow conditions see:
https://android-review.googlesource.com/#/c/172237/
Changed the do while loop resulting in a logical difference.
When the chainIndex-- to 0, the loop is not run.
It is the most important cycle, it will push head seq to mSeqChains.
If not run, will lead to a batch of seq can not corrected finish.
Eventually leading to the occurrence of anr.
Signed-off-by: gaoshang <gaoshang@xiaomi.com>
Test: Input dispatche process
Bug:
38366215
Change-Id: I87e609dfcb00ac7b8e82c6de789df094e7c25efd
Jesse Hall [Mon, 10 Apr 2017 15:09:19 +0000 (08:09 -0700)]
vulkan: update Vulkan headers to 1.0.49
Key changes since 1.0.46:
* Add VK_KHR_get_surface_capabilities2
* Add VK_KHR_shared_presentable_image
* Add VkObjectType enumeration to core API
The new commands added by VK_KHR_get_surface_capabilities2 are
commented out in vulkan.api since the current libvulkan template
doesn't handle them properly. They'll be uncommented along with the
corresponding template changes and implementation.
Test: mmm frameworks/native/vulkan
Merged-In: I1e4bd5d19f36af0d4e878b3971145a1ae1281dd6
Change-Id: I7aa110aa82735db4a82b631a60f875b5f1c96784
Howard Chen [Thu, 18 May 2017 02:50:48 +0000 (02:50 +0000)]
Merge "Support halt the trace when schd-dbg hit deadline"
Treehugger Robot [Wed, 17 May 2017 07:28:41 +0000 (07:28 +0000)]
Merge "Make the binder_lock category optional"
Howard Chen [Wed, 10 May 2017 08:32:11 +0000 (16:32 +0800)]
Make the binder_lock category optional
The binder_lock event type has been deprecated after binder
driver uses fine grained locking. This patch makes "binder_lock"
an optional category for atrace to support system w/ w/o FGL.
Bug:
37559846
Test: pixel phone with "atrace --async_start binder_lock"
Merged-In: I691efd355e903a26629f896a56a664502e5807f7
Change-Id: I691efd355e903a26629f896a56a664502e5807f7
Treehugger Robot [Mon, 15 May 2017 20:05:51 +0000 (20:05 +0000)]
Merge "Add lshal --neat option"
Yifan Hong [Fri, 12 May 2017 23:56:43 +0000 (16:56 -0700)]
Add lshal --neat option
... that doesn't output explanatory text and title line.
Test: lshal --neat
Test: lshal
Test: lshal --neat -itrpc
Change-Id: I269a5d284903dc0e9bc3be96379ed41aecea8ddb
Fixes:
38211518
Treehugger Robot [Sat, 13 May 2017 01:25:34 +0000 (01:25 +0000)]
Merge "Actually remove dead processes from lshal"
Yifan Hong [Fri, 12 May 2017 23:33:57 +0000 (16:33 -0700)]
Actually remove dead processes from lshal
Test: run lshal with and without the change
Change-Id: Id8c52a5be3253f5ff9c1cb851459a16e01ca5dda
Fixes:
35765788
Yifan Hong [Fri, 12 May 2017 22:21:25 +0000 (22:21 +0000)]
Merge changes from topic 'lshal_debug'
* changes:
Add tests to lshal.
Add `lshal debug` command.
Lshal: support commands.
Yifan Hong [Wed, 10 May 2017 21:33:05 +0000 (14:33 -0700)]
Add tests to lshal.
Test: lshal_test
Bug:
37954458
Change-Id: I1914e6274974ed5eb0ce2d655f1333d2344b49f5
Yifan Hong [Wed, 10 May 2017 02:33:08 +0000 (19:33 -0700)]
Add `lshal debug` command.
Supported command:
lshal debug android.hardware.foo@1.0::IFoo option option
Test: adb unroot && lshal --debug ; echo $?
Test: adb unroot && lshal debug android.hardware.nfc@1.0::INfc ; echo $?
Test: adb root && lshal --debug ; echo $?
Test: adb root && lshal debug android.hardware.nfc@1.0::INfc ; echo $?
Bug:
37954458
Change-Id: Ia2f4c9c0d3fb0a7bb26e76f01d02f49dc426e7f8
Yifan Hong [Wed, 10 May 2017 01:49:45 +0000 (18:49 -0700)]
Lshal: support commands.
Support the following commands:
lshal list
lshal list -itrpc
lshal help
lshal help list
lshal list -h
lshal list --help
Test: run these commands
Bug:
37725279
Change-Id: I970fbc8d250d43f57e92f783229e0645d7e8df4e
Nicolas Geoffray [Thu, 11 May 2017 09:42:23 +0000 (09:42 +0000)]
Merge "Remove obsolete DEXOPT_SAFEMODE."
Yifan Hong [Thu, 11 May 2017 00:23:58 +0000 (00:23 +0000)]
Merge "lshal: remove "// static" comments"
Treehugger Robot [Wed, 10 May 2017 23:35:33 +0000 (23:35 +0000)]
Merge "Add explicit default copy constructor"
Steven Moreland [Tue, 9 May 2017 23:43:46 +0000 (16:43 -0700)]
lshal: remove "// static" comments
Test: pass
Change-Id: I4d710c8aaad87cfcd7896800a5ab24f812775703
Yi Kong [Wed, 10 May 2017 21:27:39 +0000 (14:27 -0700)]
Add explicit default copy constructor
Definition of implicit copy constructor is deprecated if it has a
user-declared destructor. This triggers -Wdeprecated compiler warning
and breaks the build in latest Clang update.
Test: Build
Bug:
37752547
Change-Id: I467d5ff3b4cca4644c7ec8c99ae35556029ce509
Alex Klyubin [Wed, 10 May 2017 19:25:30 +0000 (19:25 +0000)]
Merge "Switch from libcrypto_static to libcrypto target"
Nicolas Geoffray [Fri, 5 May 2017 13:32:51 +0000 (14:32 +0100)]
Remove obsolete DEXOPT_SAFEMODE.
installd side of the change.
bug:
37929796
Test: build
(cherry picked from commit
bad623a225d0b3d94f30f8654bd4684969e90d4c)
Change-Id: Ice855d20184443a641e081efa4ec943326ccefdd
Nicolas Geoffray [Wed, 10 May 2017 08:52:29 +0000 (08:52 +0000)]
Merge "Always unlink the out_vdex_file."
Nicolas Geoffray [Tue, 9 May 2017 13:20:09 +0000 (14:20 +0100)]
Always unlink the out_vdex_file.
Even if we pass the same vdex file as input and output to
dex2oat, make sure we unlink it if dex2oat failed.
bug:
38113240
Test: manual, killing dex2oat invocation
Change-Id: I406014f97a2c3b2bd646e13b5d86dfa0eaa2692f
Alex Klyubin [Mon, 8 May 2017 21:12:57 +0000 (14:12 -0700)]
Switch from libcrypto_static to libcrypto target
libcrypto target offers the same static library as libcrypto_static.
Thus, there's no need to use libcrypto_static.
Test: make dumpstate
dumpstate binary unchanged by this commit
Bug:
26160319
Change-Id: I62ca775870482386f0bb7ce1e2f8c94cf6f0342a
Treehugger Robot [Sat, 6 May 2017 00:11:31 +0000 (00:11 +0000)]
Merge "Fix lshal --init-vintf may have empty <instance> tags."
Nicolas Geoffray [Fri, 5 May 2017 08:37:16 +0000 (08:37 +0000)]
Merge "Handle safe mode in PackageManager."
Yi Kong [Thu, 4 May 2017 22:13:17 +0000 (22:13 +0000)]
Merge "Add 'override' specifier to overridden destructor methods"
Yi Kong [Tue, 2 May 2017 23:55:24 +0000 (16:55 -0700)]
Add 'override' specifier to overridden destructor methods
Test: Build
Bug:
37752547
Change-Id: I157e1c2aa5d9d08fcab6055a3ca48c6ed8a050fc
Yi Kong [Thu, 4 May 2017 00:14:49 +0000 (00:14 +0000)]
Merge "Add const specifier to SortLayersByZ comparator"
Tom Cherry [Wed, 3 May 2017 23:42:58 +0000 (23:42 +0000)]
Merge "installd create_data_user_ce_path uses dir instead of symlink"
Yifan Hong [Wed, 3 May 2017 20:13:23 +0000 (13:13 -0700)]
Fix lshal --init-vintf may have empty <instance> tags.
Test: on bullhead, lshal --init-vintf | grep "<instance></instance>"
Change-Id: Ic6ab977adcdc5293015e9daba506b625629e5352
Fixes:
37311367
Yi Kong [Wed, 3 May 2017 20:26:48 +0000 (13:26 -0700)]
Add const specifier to SortLayersByZ comparator
No functionality change.
Test: build
Bug:
37752547
Change-Id: I33ffccbd7bc67031680e3fe7e9263de5402a9cde
Treehugger Robot [Wed, 3 May 2017 16:15:21 +0000 (16:15 +0000)]
Merge "Lshal: note debug in help"
Nicolas Geoffray [Wed, 3 May 2017 12:21:37 +0000 (13:21 +0100)]
Handle safe mode in PackageManager.
installd side of the change.
bug:
37929796
Test: manual OTA with a safemode app.
Change-Id: I1cdb034b9e27b72ad606a4935172d0040364c380
Treehugger Robot [Wed, 3 May 2017 02:00:25 +0000 (02:00 +0000)]
Merge "Remove warnings in Rect.h"
Steven Moreland [Wed, 3 May 2017 00:27:52 +0000 (17:27 -0700)]
Lshal: note debug in help
Test: pass
Bug:
37725279
Change-Id: I2f43628e42f2cb334083dcb4f7d174100021a745
Colin Cross [Tue, 2 May 2017 22:59:14 +0000 (15:59 -0700)]
Remove warnings in Rect.h
Fixes:
frameworks/native/include/ui/Rect.h:53:69: error: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Werror,-Wformat]
Bug:
31751828
Test: m -j checkbuild
Change-Id: Ic8a2ce741f550651f943805382adc035a8da1096
Treehugger Robot [Tue, 2 May 2017 13:23:17 +0000 (13:23 +0000)]
Merge "Revert "Disable input-vdex when doing speed-profile.""
Treehugger Robot [Mon, 1 May 2017 23:19:24 +0000 (23:19 +0000)]
Merge "Remove redundant dependencies"
Steven Moreland [Mon, 1 May 2017 17:19:17 +0000 (10:19 -0700)]
Remove redundant dependencies
android.hidl.base@1.0 and android.hidlmanager@1.0 are built into libhidltransport.
Test: links
Bug:
33276472
Change-Id: Ia22e134d3882f2e503e540dda332fc17213b6bb0
Nicolas Geoffray [Thu, 27 Apr 2017 11:40:05 +0000 (11:40 +0000)]
Merge "Update installd to new compiler filters."
Nicolas Geoffray [Mon, 24 Apr 2017 13:34:59 +0000 (13:34 +0000)]
Revert "Disable input-vdex when doing speed-profile."
https://android-review.googlesource.com/#/c/377754/ is fixing vdex and delayout.
bug:
37558732
Test: device boots, vdex works on OTA, input-vdex is passed
for speed-profile
This reverts commit
a2dbefc7a51482acb8d5d139c9e2f01306ef9ceb.
Change-Id: I8fcab30ec617b39769fbf7e5818e5d503d647fb4
Dan Albert [Wed, 26 Apr 2017 18:34:14 +0000 (18:34 +0000)]
Merge "Add missing stdbool.h to sensor.h."
Dan Albert [Tue, 25 Apr 2017 19:24:28 +0000 (12:24 -0700)]
Add missing stdbool.h to sensor.h.
This got hacked into the NDK headers ages ago, but never got
upstreamed to the frameworks.
Test: make checkbuild
Bug: https://github.com/android-ndk/ndk/issues/370
Merged-In: Id38cbc96633c1c61de36996c2dd9e6c2331bd6e7
Change-Id: Id38cbc96633c1c61de36996c2dd9e6c2331bd6e7
Nicolas Geoffray [Tue, 25 Apr 2017 11:28:28 +0000 (12:28 +0100)]
Update installd to new compiler filters.
bug:
34715556
Test: build and boot aosp bullhead
Change-Id: If10fb8cdfe34f109d4caa1df56a49304025da553
Steven Moreland [Fri, 21 Apr 2017 01:57:34 +0000 (01:57 +0000)]
Merge "Revert "(lib)?sensorservice: Android.mk -> Android.bp""
Steven Moreland [Fri, 21 Apr 2017 01:57:19 +0000 (01:57 +0000)]
Revert "(lib)?sensorservice: Android.mk -> Android.bp"
This reverts commit
f1b07d51ed6a11a0446115934fb75c22a1badb87.
Bad internal merge and other errors.
Change-Id: If9b812916223773ee98354d0805626cf759355fd
Merged-In: Ib3a3f249c278be582de04a583e18de3c0e502d5e
Steven Moreland [Fri, 21 Apr 2017 00:03:10 +0000 (00:03 +0000)]
Merge "(lib)?sensorservice: Android.mk -> Android.bp"
Steven Moreland [Thu, 20 Apr 2017 22:56:38 +0000 (15:56 -0700)]
(lib)?sensorservice: Android.mk -> Android.bp
Test: links
Change-Id: I2ddab32c12bf07044416f983b5cf0ae19cc12ba0
Treehugger Robot [Thu, 20 Apr 2017 17:59:45 +0000 (17:59 +0000)]
Merge "Convert inputflinger to Android.bp"
Colin Cross [Wed, 19 Apr 2017 23:56:46 +0000 (16:56 -0700)]
Convert inputflinger to Android.bp
See build/soong/README.md for more information.
Test: m -j checkbuild
Change-Id: Iebdc3f4d2d560b0fdf5447dde0ac06df64826bb5
Merged-In: Iebdc3f4d2d560b0fdf5447dde0ac06df64826bb5
(cherry picked from commit
45a1b9c95de619785b68ce51b1a3e271abc4ffd9)
Treehugger Robot [Thu, 20 Apr 2017 01:39:21 +0000 (01:39 +0000)]
Merge "libbinder: vendor_available"
Yifan Hong [Thu, 20 Apr 2017 00:51:48 +0000 (00:51 +0000)]
Merge "Fix lshal not to squash HAL entries incorrectly."
Treehugger Robot [Wed, 19 Apr 2017 22:22:32 +0000 (22:22 +0000)]
Merge "Fix passing --classpath-dir to dex2oat for split apks."
Steven Moreland [Fri, 14 Apr 2017 04:19:48 +0000 (21:19 -0700)]
libbinder: vendor_available
By setting vendor_available, the following may become true:
* a prebuilt library from this release may be used at runtime by
in a later releasse (by vendor code compiled against this release).
so this library shouldn't depend on runtime state that may change
in the future.
* this library may be loaded twice into a single process (potentially
an old version and a newer version). The symbols will be isolated
using linker namespaces, but this may break assumptions about 1
library in 1 process (your singletons will run twice).
Background:
This means that these modules may be built and installed twice --
once for the system partition and once for the vendor partition. The
system version will build just like today, and will be used by the
framework components on /system. The vendor version will build
against a reduced set of exports and libraries -- similar to, but
separate from, the NDK. This means that all your dependencies must
also mark vendor_available.
At runtime, /system binaries will load libraries from /system/lib*,
while /vendor binaries will load libraries from /vendor/lib*. There
are some exceptions in both directions -- bionic(libc,etc) and liblog
are always loaded from /system. And SP-HALs (OpenGL, etc) may load
/vendor code into /system processes, but the dependencies of those
libraries will load from /vendor until it reaches a library that's
always on /system. In the SP-HAL case, if both framework and vendor
libraries depend on a library of the same name, both versions will be
loaded, but they will be isolated from each other.
It's possible to compile differently -- reducing your source files,
exporting different include directories, etc. For details see:
https://android-review.googlesource.com/368372
None of this is enabled unless the device opts into the system/vendor
split with BOARD_VNDK_VERSION := current.
Bug:
36426473
Bug:
36079834
Test: m -j libbinder
Test: attempt to compile with BOARD_VNDK_VERSION := current
(cherry picked from commit
3aa761697b93dab3e4b1acf90d14502a79a49219)
Merged-In: Iec94a66adbc852f7f23352307cf36f49a79ee3a6
Change-Id: Iec94a66adbc852f7f23352307cf36f49a79ee3a6
Jeff Hao [Wed, 19 Apr 2017 20:50:15 +0000 (13:50 -0700)]
Fix passing --classpath-dir to dex2oat for split apks.
Merged wrong version of CL in by mistake. CL should have been
cherry-picked from
cc5c4e32637601432bc6359fb7ff34e4cadb6502.
Bug:
34169257
Test: cts-tradefed run singleCommand cts -d --module
CtsAppSecurityHostTestCases -t android.appsecurity.cts.SplitTests
Change-Id: Ibebcdce1c9ab0de3254727c8dfc3d0de18932f1c
Treehugger Robot [Wed, 19 Apr 2017 17:13:11 +0000 (17:13 +0000)]
Merge "Run dex2oat from the staged apk directory."