summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-11-14Merge cherrypicks of [9734155] into qt-aml-resolv-releaseandroid-mainline-10.0.0_r8android10-mainline-resolv-releaseandroid-build-team Robot
Change-Id: If526df5e745f0b0f6f3975355ac7cb3876af9271
2019-11-14libbinder_ndk: R system users can run on Q devicesLorenzo Colitti
This is in response to an awareness of a requirement that we compile client code of this library and run it on Q device and that code should also use R APIs when the same binary is used in R. Most likely this should result in new infrastructure, but it's not unlikely that infrastructure will be equivalent to weak pointers. This change makes AIBinder_markSystemStability as a weak pointer and only uses it when it is available (on R+ devices). Luckily, only system clients have this requirement now. Since there are no vendor clients, we can leave AIBinder_markVendorStability strong. These are the more important bits to set for stability purposes. Test: boot, test mapping, readelf: 6: 00000000 0 FUNC WEAK DEFAULT UND AIBinder_markSystemStability@LIBBINDER_NDK30 (4) Bug: 144465080 Change-Id: I3d76be2903433a6b180b46aea6592d446be1c076 (cherry picked from commit db685b1281e8c14df5f0a7dc0cd3b4884784164e)
2019-11-11Snap for 6001391 from b811c3c71002c994914dfcd2ef1fe50a5ae8b075 to ↵android-build-team Robot
qt-aml-resolv-release Change-Id: I8e22ef592bee62ea8783ef58dccc292200f3a956
2019-11-08Merge "Replace more -Weverything with -Wextra" am: 81a9b2c7e3Colin Cross
am: e2d1a47949 Change-Id: I7ce2cce274347e9fe2546c18bbf52cd0629c9d9f
2019-11-08Merge "Replace more -Weverything with -Wextra"Colin Cross
am: 81a9b2c7e3 Change-Id: I1c2fd60a67f0f964b98c3049de26501cdf271c73
2019-11-09Merge "Replace more -Weverything with -Wextra"Treehugger Robot
2019-11-09Replace more -Weverything with -WextraColin Cross
-Weverything is not recommended, use -Wextra. Bug: 143713277 Test: m native Change-Id: Ia3935fa155eac7777269ed3b97e74bc869fb58a4 Merged-In: Ia3935fa155eac7777269ed3b97e74bc869fb58a4
2019-11-08Merge "Replace -Weverything with -Wextra" am: 39a5c06ec8Colin Cross
am: cc888a22b9 Change-Id: I3df03e37b17e5c23d48da8bb08c6416c4d16798b
2019-11-08Merge "Replace -Weverything with -Wextra"Colin Cross
am: 39a5c06ec8 Change-Id: I62204af80b72abccbb3fa6c3012c2a600ad12889
2019-11-08Merge "Replace -Weverything with -Wextra"Treehugger Robot
2019-11-08Merge "Add a header lib for libarect" am: 037de11185Marco Nelissen
am: b72546c296 Change-Id: Ie36278ec0e448be4ba3701a260416092ffbbe3a3
2019-11-08Merge "Add a header lib for libarect"Marco Nelissen
am: 037de11185 Change-Id: Ic217fff72d5d13c9729f66cd46c5f11953b792cf
2019-11-08Merge "Add a header lib for libarect"Marco Nelissen
2019-11-07Merge "Use /data/media path when migrating legacy OBB data" am: 88aa295555Zim
am: f2be440895 Change-Id: I65b0151f6583bd7b7fb6e80e81ee79d4bc793228
2019-11-07Merge "Use /data/media path when migrating legacy OBB data"Zim
am: 88aa295555 Change-Id: Ic321f9dee1c9e6e9fddc16468a74d71b7415226c
2019-11-08Merge "Use /data/media path when migrating legacy OBB data"Treehugger Robot
2019-11-07Merge "Add comparison operators for ParcelFileDescriptor" am: ad425b4c2aJiyong Park
am: 250cdb3d80 Change-Id: I68dc6458e7c4abc60f561d6043a83299ded4a70f
2019-11-07Merge "Add comparison operators for ParcelFileDescriptor"Jiyong Park
am: ad425b4c2a Change-Id: I1de5fc812e472bfd89bc3ef4b23cd07c62c96c93
2019-11-08Merge "Add comparison operators for ParcelFileDescriptor"Treehugger Robot
2019-11-07[automerger skipped] Merge "EGL: Fix repeated extension lookups" into ↵Cody Northrop
qt-qpr1-dev am: e33b0ef0c8 -s ours am skip reason: change_id If75c1abdb69a4d82253f28a5a80687f546e33ee0 with SHA1 b2306edb48 is in history Change-Id: Ib1cb2759276ae4b0836ed6e0652d26e71fafe86a
2019-11-07Merge "EGL: Fix repeated extension lookups" into qt-qpr1-devCody Northrop
2019-11-07Merge "EGL: Fix repeated extension lookups" am: 712c4a1471Cody Northrop
am: 1b7e1e01fe Change-Id: I3c85a1af8a68223413fd00e18aec91f916dd55d9
2019-11-07Merge "EGL: Fix repeated extension lookups"Cody Northrop
am: 712c4a1471 Change-Id: Iaab253b07100589f349ec1241baea08008b751c7
2019-11-07Merge "EGL: Fix repeated extension lookups"Cody Northrop
2019-11-07Merge "update cas plugin interface for cas@1.2" am: 1d10c6f32dHenry Fang
am: 13d29565e7 Change-Id: Ib59cde66079d6d0780821d05508fbf5832650fcb
2019-11-07Merge "update cas plugin interface for cas@1.2"Henry Fang
am: 1d10c6f32d Change-Id: I1dcf54036ea1a43ac3e82454b8ee2ac89c4d63b5
2019-11-07Merge "update cas plugin interface for cas@1.2"Henry Fang
2019-11-07Add a header lib for libarectMarco Nelissen
This allows removing some actual link dependencies from things that really only needed the arect.h header (e.g. libRScpp.so was linking with libgui, but didn't need to). Test: build Change-Id: I3d95b9901333744bab3fd3e28bd00e87d536d769
2019-11-07Replace -Weverything with -WextraColin Cross
-Weverything is not recommended, use -Wextra. Requires adding a few more disabled warnings to libvulkan, -Weverything appears to not turn on warnings that were disabled by earlier command line arguments, while -Wextra does. Bug: 143713277 Test: m native Change-Id: I3997c2afe094deca66018e3cc43921aaecd82028
2019-11-07EGL: Fix repeated extension lookupsCody Northrop
When adding support for GLES layers, we refactored eglGetProcAddress to allow layers to intercept functions unknown to the Loader. During the cleanup, we broke slot tracking if an extension were looked up multiple times. Follow up queries would use an incremented slot that had not been initialized: eglGetProcAddress("foo1") = fptr0:0x77e2c2abd8 eglGetProcAddress("foo2") = fptr1:0x77e2c2abf4 eglGetProcAddress("foo3") = fptr2:0x77e2c2ac10 eglGetProcAddress("foo1") = fptr3:0x77e2c2ac2c <= wrong eglGetProcAddress("foo2") = fptr4:0x77e2c2ac2c <= repeated eglGetProcAddress("foo3") = fptr5:0x77e2c2ac2c <= repeated This CL tracks which slot was used for a given extension, and when it is queried a second time, we look up the correct slot using extensionSlotMap. eglGetProcAddress("foo1") = fptr0:0x77e2c2abd8 eglGetProcAddress("foo2") = fptr1:0x77e2c2abf4 eglGetProcAddress("foo3") = fptr2:0x77e2c2ac10 eglGetProcAddress("foo1") = fptr3:0x77e2c2abd8 <= correct eglGetProcAddress("foo2") = fptr4:0x77e2c2abf4 <= correct eglGetProcAddress("foo3") = fptr5:0x77e2c2ac10 <= correct It also refactors the code a bit to be more readable, and fixes a typo throughout the file. Bug: 143860847 Test: egl_api_test Change-Id: If75c1abdb69a4d82253f28a5a80687f546e33ee0 Merged-In: If75c1abdb69a4d82253f28a5a80687f546e33ee0
2019-11-07EGL: Fix repeated extension lookupsCody Northrop
When adding support for GLES layers, we refactored eglGetProcAddress to allow layers to intercept functions unknown to the Loader. During the cleanup, we broke slot tracking if an extension were looked up multiple times. Follow up queries would use an incremented slot that had not been initialized: eglGetProcAddress("foo1") = fptr0:0x77e2c2abd8 eglGetProcAddress("foo2") = fptr1:0x77e2c2abf4 eglGetProcAddress("foo3") = fptr2:0x77e2c2ac10 eglGetProcAddress("foo1") = fptr3:0x77e2c2ac2c <= wrong eglGetProcAddress("foo2") = fptr4:0x77e2c2ac2c <= repeated eglGetProcAddress("foo3") = fptr5:0x77e2c2ac2c <= repeated This CL tracks which slot was used for a given extension, and when it is queried a second time, we look up the correct slot using extensionSlotMap. eglGetProcAddress("foo1") = fptr0:0x77e2c2abd8 eglGetProcAddress("foo2") = fptr1:0x77e2c2abf4 eglGetProcAddress("foo3") = fptr2:0x77e2c2ac10 eglGetProcAddress("foo1") = fptr3:0x77e2c2abd8 <= correct eglGetProcAddress("foo2") = fptr4:0x77e2c2abf4 <= correct eglGetProcAddress("foo3") = fptr5:0x77e2c2ac10 <= correct It also refactors the code a bit to be more readable, and fixes a typo throughout the file. Bug: 143860847 Test: egl_api_test Change-Id: If75c1abdb69a4d82253f28a5a80687f546e33ee0 Merged-In: If75c1abdb69a4d82253f28a5a80687f546e33ee0
2019-11-07Add comparison operators for ParcelFileDescriptorJiyong Park
With I9f833d0c1a91c8ec72b1cd80007b2f2c09205435, the AIDL C++ compiler creates comparison operators for structured parcelables. That implies that each member of a structure parcelable should also has the comparison operators defined. That assumption breaks when ParcelFileDescriptor is used as a member, because ParcelFileDescriptor does not define the comparison operators. Fixing the issue by adding them, which delegates the comparisons to the internal unique_fd field. Bug: 143712561 Test: apply ag/9646381 and `m libincremental_aidl-cpp` Change-Id: Ibc11eafa268e03dc30f321d692f43c0a99a6af1c
2019-11-06Merge "libbinder: checkVintfService" am: 0b5ac42f5bSteven Moreland
am: 1f678c2408 Change-Id: Ie5b81752d9b0f967eb16c6bc11ced24c5bdd002a
2019-11-06Merge "libbinder_ndk: ScopedAResource, support move op=" am: 8f0bd5a090Steven Moreland
am: 2f78d9df0e Change-Id: I154b230c91021c6a47e6b1446f4ba92f04f7dc2b
2019-11-06Merge "libbinder: checkVintfService"Steven Moreland
am: 0b5ac42f5b Change-Id: I07c694a6c7b967de8c72189b7f23d300cb9b330b
2019-11-06Merge "libbinder_ndk: ScopedAResource, support move op="Steven Moreland
am: 8f0bd5a090 Change-Id: Ifc08e59f05c3a7b9f7d9621fdcb87a35b85c1d7e
2019-11-06Sensor: use FlattenableUtils::align am: dbd0eecfc7 am: 4c0d24b5c0 am: ↵Steven Moreland
fac4161cdf am: ddb9c9924c am: 56fcdad297 am: c3a040236c am: a0ae42b8d1 Change-Id: I85c977c9ac2cda3c57776aacfae33d3e2afe98b4
2019-11-06Sensor: use FlattenableUtils::align am: dbd0eecfc7 am: 4c0d24b5c0 am: ↵Steven Moreland
fac4161cdf am: ddb9c9924c am: 56fcdad297 am: c3a040236c Change-Id: I180f3d638a062a17701f87c9a6a14f5c52dfecd1
2019-11-06Sensor: use FlattenableUtils::align am: dbd0eecfc7 am: 4c0d24b5c0 am: ↵Steven Moreland
fac4161cdf am: ddb9c9924c am: 56fcdad297 Change-Id: I4f4fbaa6670c0be249e1fbf01681566d5271c267
2019-11-07Merge "libbinder: checkVintfService"Steven Moreland
2019-11-06Sensor: use FlattenableUtils::align am: dbd0eecfc7 am: 4c0d24b5c0 am: fac4161cdfSteven Moreland
am: ddb9c9924c Change-Id: I9d9d10df5ac5f90e84b715062c22faa7dc1ea4ce
2019-11-07Merge "libbinder_ndk: ScopedAResource, support move op="Steven Moreland
2019-11-06Sensor: use FlattenableUtils::align am: dbd0eecfc7 am: 4c0d24b5c0Steven Moreland
am: fac4161cdf Change-Id: I0a535325367f317aa27c02a39cdc654a832da173
2019-11-06Sensor: use FlattenableUtils::align am: dbd0eecfc7Steven Moreland
am: 4c0d24b5c0 Change-Id: I5ea52d7c950cc2d3ad4b72674bb638b3d1e93e8e
2019-11-06Sensor: use FlattenableUtils::alignSteven Moreland
am: dbd0eecfc7 Change-Id: If8a335380b5244315e792871a72c3d386b9cb4eb
2019-11-06update cas plugin interface for cas@1.2Henry Fang
Test: Manual bug: 141783130 Change-Id: I9d2a18cbe0ab2f0d94b2dd4f88815a8230b0548d Merged-In: I9d2a18cbe0ab2f0d94b2dd4f88815a8230b0548d
2019-11-06Merge "SurfaceFlinger: prevent division by 0 in Layer::fillInputInfo" am: ↵Ady Abraham
19143968d7 am: 3206a42d84 Change-Id: I2a0463ee6bca3c0062b49bf808ca7cbb24349469
2019-11-06Merge "Revert "SurfaceFlinger: debug layer bounds inset"" am: bfe7d2873aNick Desaulniers
am: 6c437f1058 Change-Id: Ie6708e4907daefedfdf7e19c35555e254a2e13c6
2019-11-06Merge "SurfaceFlinger: prevent division by 0 in Layer::fillInputInfo"Ady Abraham
am: 19143968d7 Change-Id: I2744f279869623fe3c9d77972853179f13993fb5
2019-11-06Merge "Revert "SurfaceFlinger: debug layer bounds inset""Nick Desaulniers
am: bfe7d2873a Change-Id: I2dfe076a5dcb0df4b2511a834414bd380b25ab5c