Fixes wayland trace visualization. Also adds a sample wayland trace to help future testing.
Fixes: 157097684
Test: Can see wayland windows in winscope
Change-Id: I906e557abeb5549dd6cb065d2b03c9e1d3a276f8
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
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
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)
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
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
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
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
Bug: 152954076
Change-Id: I22153aae9f6e75609a30d812a474d75f8ebc04e9
Test: N/A
Exempt-From-Owner-Approval: I will work with BoHu to get myself added as an owner
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
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
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)
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)
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
Makes these artifacts available for the update_prebuilts script.
Bug: 149293194
Test: m win_sdk dist && find out/dist -type f
Change-Id: Icd91da0976f24eb1b4ea1eeaebb96398990f760e
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
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
Test: open wm trace in winscope, check if properties of DC and DA are
visible.
Fixes: 149672519
Change-Id: Ib5181c655a84fec94307846333fc0b1cc29d38fc
Change-Id: Ib442c75f031ceb72aa00493e46d502944827121c