Commit Graph

27889 Commits

Author SHA1 Message Date
TreeHugger Robot
29c2fdac5e Merge "Parse all children in wm dump" into rvc-dev 2020-05-19 20:58:47 +00:00
Hsin-Yi Chen
d9869c2a42 Merge "Support repacking super image with virtual AB" into rvc-dev 2020-05-18 05:14:56 +00:00
Hsin-Yi Chen
0071b427e4 Support repacking super image with virtual AB
Bug: 155702857
Test: repack_super_image --ota-tools ./otatools.zip \
      --misc-info ./misc_info.txt ./super.img product= \
      system=system.img
Change-Id: I03f33969d3c033a47cf123f94d875a4b56d2d343
Merged-In: I03f33969d3c033a47cf123f94d875a4b56d2d343
(cherry picked from commit 3e8b7f96d8)
2020-05-18 01:21:29 +08:00
Vishnu Nair
68f08011ad Parse all children in wm dump
Fixes: 156533443
Test: open wm proto dump in winscope
Change-Id: I8bb500b726ae01ebc686da06399aa612f4bb6f82
2020-05-13 14:48:58 -07:00
Vishnu Nair
9c93e69a4f Look up proto type definitions separately
Creating nested types will cause type collisions. Instead search
for the type separately. Also fixes an issue parsing sf traces
from Q.

Fixes: 156034870
Test: yarn run dev
Test: open sf trace from q
Change-Id: I3c2a283e56985bfee56633a5e914b83ac2a0cf3b
2020-05-12 17:09:04 +00:00
Raju Kulkarni
414b7cf9e0 Bumping Emulator image version number for Beta1. Target release: 6/3
Bug: 155595371
Test: N/A

Change-Id: Ia4391b2ca1194afc9ddf8235491db3d875cf7552
2020-05-04 06:18:22 +00:00
Raju Kulkarni
ab8e4655dd Updating platform SDK version for R
* Reset package versions
  * Update VNDK lib list

Bug:152953870

Test: N/A

Change-Id: I765b1467af5a7a32a48e0d78a29486f320266577
Merged-In: I765b1467af5a7a32a48e0d78a29486f320266577
2020-05-03 09:47:21 -07:00
bohu
e3c06cb247 emulator: package ramdisk-qemu.img to image zip
BUG: 149826779
Test: build
Change-Id: I7949daa15edafeeb51e80d320bcbb5a450cd0a49
Merged-In: I7949daa15edafeeb51e80d320bcbb5a450cd0a49
2020-05-01 20:01:53 +00:00
David Gross
940757220e Place a dummy file at the location of each (previously removed) old GNU linker
Previously, old GNU linkers were removed, in favor of the LLVM linker
lld.  However, old versions of AGP consider the absence of those linkers
to mean that the build tools are corrupted.  To solve this problem, we
provide a (non-executable) dummy file in place of each old GNU linker to
keep AGP satisfied.  A compatibility mode RenderScript build by those
old versions of AGP will fail (as it would have without the dummy
files), but everything else should work.

Bug: 153685081
Bug: 144040336
Bug: 142590626

Test: (gLinux) m TARGET_PRODUCT=sdk_phone_armv7 TARGET_BUILD_VARIANT=userdebug sdk dist sdk_repo
      (gLinux) m TARGET_PRODUCT=sdk_phone_armv7 TARGET_BUILD_VARIANT=userdebug win_sdk dist sdk_repo
Change-Id: I7574c850bfb593df5bcb9131ea8915061b0083e1
2020-04-29 14:26:10 -07:00
Feng Cao
0c501136ca Update sample IME and autofill provider to use the new support lib APIs
* refactor the autofill provider code
* keyboard now uses wrap_content when inflating

Test: manual
Bug: 154178486

Change-Id: Ie540178d8f063e3a8e9afb76284b15ab40ada344
2020-04-28 00:04:20 -07:00
TreeHugger Robot
44b11dd142 Merge "Fix NPE when run the testing in IntentPlayground" into rvc-dev 2020-04-24 02:34:41 +00:00
Colin Cross
18b3f5f895 Package core-current-stubs-for-system-modules into the SDK
core-current-stubs-for-system-modules needs to be distributed
in the SDK to allow apps to be built with javac -source 9 -target 9.

Bug: 143209928
Test: m TARGET_PRODUCT=sdk_phone_x86 TARGET_BUILD_VARIANT=userdebug sdk sdk_repo dist
Change-Id: I9d67344f159f9482567323f27c5a8e4e060e1f1a
Merged-In: I9d67344f159f9482567323f27c5a8e4e060e1f1a
(cherry picked from commit 89c5517a28)
2020-04-22 08:59:03 -07:00
Ady Abraham
ea7685211d remove obsolete path from frameworks/native
ag/11038755 removed some tests from SurfaceFlinger, so we need
to update CMakeLists.txt as well.

Test: Open CLion on fameworks/native project
Bug: b/77585359
Change-Id: Ide31716c85dca3c80979221577b444ecaffb6b32
2020-04-21 13:45:44 -07:00
Jeff Chang
6275634b9e Fix NPE when run the testing in IntentPlayground
StartActivity with a null intent lead to the NPE when execute
the Intent testing.

This CL make sure the intent is good before run the testing

Bug: 154568140
Test: Manual to run the intent tesing.
Change-Id: I8d8bc8e1347ae5f095e01f4a718f2ab936574fcc
2020-04-21 10:34:53 +00:00
TreeHugger Robot
d9dc576a2a Merge "Fix reading SurfaceFlinger dump in winscope" into rvc-dev 2020-04-14 21:43:48 +00:00
Vishnu Nair
691c104193 Fix reading SurfaceFlinger dump in winscope
Test: open sf dump in bug
Fixes: 153760658
Change-Id: Ie2f83afaa5dc33b0c78bb6c2407588c8dd73e89d
2020-04-10 16:33:33 -07:00
Vishnu Nair
4b8e9f9b1f Fix is_opaque calculations in winscope
Test: open trace in bug and confirm app is visible behind screenshot
Fixes: 153694172
Change-Id: I60141afc3a28a5e51177d37fd20155c06dcf5882
2020-04-09 18:32:05 -07:00
Svet Ganov
f34c6275f1 Update the sample keyboard to showcase scroll, clip, toggle
The keyboard now showcases how one can implement a suggestion
strip with some pinned suggestions on the left and the right
of the strip and the strip suggestions are scrollable and well
as clipped to the scroll are's bounds. Also this showcases
how to toggle the layering of the suggestions to temporary
amimate on top of them. Fun, fun fun :)

bug:1234567

Change-Id: I7f2a6ea148de31be7cd0f13f56d72f6e5246a5f8
2020-04-08 03:10:53 +00:00
TreeHugger Robot
12623eba4c Merge "Add occlusion state for surface flinger trace" into rvc-dev 2020-04-07 16:23:49 +00:00
Vishnu Nair
126be5111f Add occlusion state for surface flinger trace
If composition state is not available, calculate the occlusion state otherwise
continue to use the visible region.

Bug: b/140854698
Test: open sf trace w/ & w/o composition state
Change-Id: I599fe9a4082af650e14fcd184d0204c1c3f29a95
2020-04-02 16:25:27 -07:00
David Gross
fe73bf13e1 Merge "Remove old GNU linkers from SDK." into rvc-dev 2020-04-02 22:39:56 +00:00
TreeHugger Robot
a4a12d8f08 Merge "Bumping Emulator image version number for Beta1. Target release date for Beta1 is May 12 Bug: 152954076 Change-Id: I22153aae9f6e75609a30d812a474d75f8ebc04e9 Test: N/A Exempt-From-Owner-Approval: I will work with BoHu to get myself added as an owner" into rvc-dev 2020-04-02 22:23:08 +00:00
Raju Kulkarni
71a7a92ba9 Bumping Emulator image version number for Beta1. Target release date for Beta1 is May 12
Bug: 152954076
Change-Id: I22153aae9f6e75609a30d812a474d75f8ebc04e9
Test: N/A
Exempt-From-Owner-Approval: I will work with BoHu to get myself added as an owner
2020-04-02 22:22:39 +00:00
Raju Kulkarni
1dfc5daa1b Bumping SDK Platform and Build tools revision number for Android R Beta1 release
Bug: 152955730
Test: N/A

Change-Id: Ie22af9d6c6d421d31f96141d3ce315462a354fd5
2020-04-01 17:51:21 +00:00
Hsin-Yi Chen
97f5e861a1 Merge "Create ABI reference dumps for libraries with multiple tags" into rvc-dev 2020-03-31 12:31:07 +00:00
TreeHugger Robot
e871962f81 Merge "Add layer filter to winscope" into rvc-dev 2020-03-31 01:21:56 +00:00
David Gross
cb255acf77 Remove old GNU linkers from SDK.
Linkers aarch64-linux-android-ld and x86_64-linux-android-ld were built
with a minimum macOS deployment target lower than 10.9, so they cannot
be signed and notarized.  Rather than try to produce newer versions of
these linkers (which are obsolete in the SDK anyway), we remove them (so
that all of the SDK can be signed and notarized).  Rather than introduce
an inconsistency among the linkers for a particular host (there are
three other GNU linkers that don't have this problem) or across hosts
(there are no issues on linux or windows), we remove all of the GNU
linkers, not just the two problematic ones.

Only newer gradle plugins (those that look for the clang linker lld)
will work with the new SDK from which those old linkers have been
removed.

Bug: 152337684

Test: (gLinux) m TARGET_PRODUCT=sdk_phone_armv7 TARGET_BUILD_VARIANT=userdebug sdk dist sdk_repo
      (gLinux) m TARGET_PRODUCT=sdk_phone_armv7 TARGET_BUILD_VARIANT=userdebug win_sdk dist sdk_repo
      Inspect sdk-repo-{linux,windows}-build-tools-eng.*.zip
Change-Id: Iccfa870a826de3f12c99175e0761ea00fe2876ed
2020-03-30 11:08:31 -07:00
Adam He
6028bb1a49 Merge "Migrate to new APIs utilizing android.widget.inline.InlinePreesntationSpecs." into rvc-dev 2020-03-30 06:53:35 +00:00
Vishnu Nair
c778b9bdb7 Add layer filter to winscope
Uses the same semantics as property filter but is applied to the
hierarchy. If a filter is matches, the nodes children will be shown.

Example: filter by layer ids: 12,14,15
filter by layer name: Wallpaper

Test: open transaction trace and layer trace in winscope
Fixes: 152647597
Change-Id: I2bee5bbf5e4b14efb6aadee5775b46499e8f2ec9
2020-03-27 22:40:38 +00:00
Hsin-Yi Chen
7c05fbc7a2 Create ABI reference dumps for libraries with multiple tags
A library may have both VNDK variant and stubs. The variants are tagged
with VNDK and PLATFORM in lsdump_paths.txt. create_reference_dumps.py
should generate the ABI dumps for both.

Bug: 152277104
Test: ./create_reference_dumps.py
Test: ./create_reference_dumps.py -libs libselinux
Change-Id: I2ee43d70efcdee43de821c93c31cdb628c36ecb1
Merged-In: I2ee43d70efcdee43de821c93c31cdb628c36ecb1
(cherry picked from commit ae54edc536)
2020-03-27 16:19:07 +08:00
Adam He
d60f629802 Migrate to new APIs utilizing
android.widget.inline.InlinePreesntationSpecs.

Bug: 151262653
Test: manual verification
Change-Id: Ia03d463d6e7b18c34de95a9cde639bb307c301ef
2020-03-26 15:49:14 -07:00
Hsin-Yi Chen
4b8b6fce68 Merge "Revert "header-checker: Remove aosp_{arm64,x86}_ab"" into rvc-dev 2020-03-26 04:31:59 +00:00
Hsin-Yi Chen
5e9ca65a56 Revert "header-checker: Remove aosp_{arm64,x86}_ab"
This reverts commit 17ec995b11.

Test: ./create_reference_dumps.py
Bug: 152080301
Reason for revert: aosp_arm_ab and aosp_x86_ab are still supported.

Change-Id: I7a80931e8bc60fc86083d6fc55daa53e3ed9a4db
Merged-In: I7a80931e8bc60fc86083d6fc55daa53e3ed9a4db
(cherry picked from commit ec315367d5)
2020-03-25 16:56:59 +08:00
Aurimas Liutikas
3219aad274 Move to framework-doc-stubs module for versions xml and annotations
api-versions.xml and annotations.zip will now be taken from framework-doc-stubs
module so that api-stubs-docs can stop generating them.

Test: lunch sdk; make sdk
Bug: 151160048
Change-Id: I35fdba553318098a09249f47d7d78cdef79f3898
Merged-in: I35fdba553318098a09249f47d7d78cdef79f3898
2020-03-23 18:53:17 +00:00
Yabin Cui
0a5ba81e61 Merge "Switch to clang-r377782c" into rvc-dev 2020-03-21 03:37:02 +00:00
Yabin Cui
321d7774dc Switch to clang-r377782c
Bug: 149849077
Test: run build-prebuilts.sh.
Change-Id: I394897b515cb8cd968671e8e48e198c49038d01c
(cherry picked from commit cf892fc776)
2020-03-20 11:13:20 -07:00
TreeHugger Robot
69939a60d2 Merge "Calculate max bounds correctly in winscope" into rvc-dev 2020-03-20 17:41:50 +00:00
Vishnu Nair
cd7c4662e4 Calculate max bounds correctly in winscope
Fixes: 143083963
Test: open banana.pb from bug in winscope, notice its not cut off
Change-Id: I6443426d8e540d5757aad41ac60ceb361768bb68
2020-03-19 18:39:44 -07:00
Anton Hansson
b4aca10721 Add module_lib and system-server artifacts to sdk dist
Makes these artifacts available for the update_prebuilts script.

Bug: 149293194
Test: m win_sdk dist && find out/dist -type f
Change-Id: Icd91da0976f24eb1b4ea1eeaebb96398990f760e
2020-03-19 19:20:32 +00:00
TreeHugger Robot
7c7f5093c7 Merge "Sample app: Use authentication instead of inline actions" into rvc-dev 2020-03-19 01:10:39 +00:00
Feng Cao
c7ed6af6be Sample app: Use authentication instead of inline actions
Test: manual
Bug: 150499490

Change-Id: Ifc827cd1d633bf26a3450c392cc7da1211d02cfa
2020-03-18 14:16:20 -07:00
TreeHugger Robot
37ede275a6 Merge "Move wayland support from default build" into rvc-dev 2020-03-18 18:23:10 +00:00
Colin Cross
359ef3d028 Fix lld prebuilts locations
prebuilts/sdk/tools is updated from the zip file built by the SDK.
The lld binaries are copied from the prebuilts to the zip file, and
were moved in the zip file, which meant the next time the prebuilts
were updated the wrong files were copied.

Fixes: 151729229
Test: m TARGET_PRODUCT=sdk_phone_armv7 TARGET_BUILD_VARIANT=userdebug out/host/linux-x86/sdk/sdk_phone_armv7/repo-sys-img.xml sdk sdk_repo
Change-Id: I2de182f3cbf739dbd9c6a5287e1416ea37d2899f
2020-03-17 16:23:55 -07:00
Raju Kulkarni
f4debc7358 Bumping revision numbers for DP3
Bug: 150711640
Test: N/A
2020-03-17 00:54:53 +00:00
Vishnu Nair
cbddf0ad6c Move wayland support from default build
Wayland trace files are not available in AOSP so building Winscope will
break. Instead, pick up stub files by default and provide an option via
env args to pick up Wayland support.

Also removes obsolete protolog stubs which are no longer needed.

Test: Remove wayland trace from path and check if winscope still builds
Test: Build winscope with WAYLAND=true and confirm it pick up waylandproto file

Fixes: 151239942
Change-Id: Ie5b237725cd656c478a2ea99d469963956399714
2020-03-16 23:35:12 +00:00
Vishnu Nair
7264ef5848 Show properties for DisplayAreas and DisplayContent
Test: open wm trace in winscope, check if properties of DC and DA are
visible.
Fixes: 149672519
Change-Id: Ib5181c655a84fec94307846333fc0b1cc29d38fc

Change-Id: Ib442c75f031ceb72aa00493e46d502944827121c
2020-03-16 11:03:49 -07:00
Feng Cao
259361a4ad Merge "Update sample app to listen to clicks on chip" into rvc-dev 2020-03-13 18:25:48 +00:00
Automerger Merge Worker
25954b3b8f [automerger skipped] For darwin, add lib64/libc++abi.1.dylib. am: 6f16baeea9 am: 6a35354abd -s ours
am skip reason: Change-Id Ifd5b2db7b18a29c1b58b408118951792733649b7 with SHA-1 f879b7a53c is in history

Change-Id: I7663da9ba1957e47e398b1355e3a5e30bb8e1b92
2020-03-12 20:31:38 +00:00
Automerger Merge Worker
6a35354abd For darwin, add lib64/libc++abi.1.dylib. am: 6f16baeea9
Change-Id: I80cd25c48793a0f34db97b93a3da76d8a9fb12f8
2020-03-12 20:18:10 +00:00
Automerger Merge Worker
efb3d9f582 [automerger skipped] Move lld.exe (windows) and add dependent library libwinpthread-1.dll am: 7fe8024a20 am: c41cd4595c -s ours
am skip reason: Change-Id Ice6710ed204a25d09ac596207c02b8b99ca95b8b with SHA-1 24e52959d7 is in history

Change-Id: Icd9b0ea6a99c25501ec9e0781440c05a7c198f00
2020-03-12 18:09:29 +00:00