Commit Graph

32336 Commits

Author SHA1 Message Date
Nataniel Borges
bfefca1c6d Case insensitive filter on winscope
Property and element search should be case insensitive

Test: build winscope, open a trace, filter layer or property by name
Bug: 203240981
Change-Id: I91575d550b3812b6a893136e965b0f1672389ab7
2021-10-19 12:45:14 +00:00
Joel Galenson
b6dcd51bdb Merge "Do not generate empty Rust tests." am: 4506b51f47 am: 99f7bbcd14 am: 04ea9aa94a am: 188b30b20d am: 11bd577f8e
Original change: https://android-review.googlesource.com/c/platform/development/+/1858470

Change-Id: Ide51bad709c56e43a2c7890ca41abd2acee73634
2021-10-18 18:43:45 +00:00
Joel Galenson
11bd577f8e Merge "Do not generate empty Rust tests." am: 4506b51f47 am: 99f7bbcd14 am: 04ea9aa94a am: 188b30b20d
Original change: https://android-review.googlesource.com/c/platform/development/+/1858470

Change-Id: I68d3d5f89f6cc945bd7f37b064b1c02e5c93d6ab
2021-10-18 18:33:35 +00:00
Joel Galenson
188b30b20d Merge "Do not generate empty Rust tests." am: 4506b51f47 am: 99f7bbcd14 am: 04ea9aa94a
Original change: https://android-review.googlesource.com/c/platform/development/+/1858470

Change-Id: Ib9ee84101cd39556494442b72d1d61d953ce2b67
2021-10-18 18:19:11 +00:00
Joel Galenson
04ea9aa94a Merge "Do not generate empty Rust tests." am: 4506b51f47 am: 99f7bbcd14
Original change: https://android-review.googlesource.com/c/platform/development/+/1858470

Change-Id: I38d358fbbb45fa261b9b9e5a2a78f78162b6df54
2021-10-18 17:53:43 +00:00
Joel Galenson
99f7bbcd14 Merge "Do not generate empty Rust tests." am: 4506b51f47
Original change: https://android-review.googlesource.com/c/platform/development/+/1858470

Change-Id: Ic9098295ccd98a8fbbab74fba99bafbb0e506dae
2021-10-18 17:36:22 +00:00
Joel Galenson
4506b51f47 Merge "Do not generate empty Rust tests." 2021-10-18 17:21:43 +00:00
Anton Hansson
377c696b69 Merge "Use generated merged annotations.zip in SDK build" am: ed19ee5981 am: 6ca55f583c am: 247163d8fa am: 6f027103d2 am: 1718ea4476
Original change: https://android-review.googlesource.com/c/platform/development/+/1859259

Change-Id: I273a5b40ce6c72f7bccb02a8d2d2095c0b009aec
2021-10-18 11:09:10 +00:00
Anton Hansson
1718ea4476 Merge "Use generated merged annotations.zip in SDK build" am: ed19ee5981 am: 6ca55f583c am: 247163d8fa am: 6f027103d2
Original change: https://android-review.googlesource.com/c/platform/development/+/1859259

Change-Id: I151e9b08f84fa97a362dc86461cc3a490391a400
2021-10-18 10:53:24 +00:00
Anton Hansson
6f027103d2 Merge "Use generated merged annotations.zip in SDK build" am: ed19ee5981 am: 6ca55f583c am: 247163d8fa
Original change: https://android-review.googlesource.com/c/platform/development/+/1859259

Change-Id: If7bd94e7c0809f16308e841eefe94fb916a87a74
2021-10-18 10:35:38 +00:00
Anton Hansson
247163d8fa Merge "Use generated merged annotations.zip in SDK build" am: ed19ee5981 am: 6ca55f583c
Original change: https://android-review.googlesource.com/c/platform/development/+/1859259

Change-Id: Ib804d5b9a5e75f3b8952b7f7a10cbb9026ba489d
2021-10-18 10:17:45 +00:00
Anton Hansson
6ca55f583c Merge "Use generated merged annotations.zip in SDK build" am: ed19ee5981
Original change: https://android-review.googlesource.com/c/platform/development/+/1859259

Change-Id: I9f2bda05da53d9adab5c19f23a92f67eae74f2f7
2021-10-18 10:07:13 +00:00
Anton Hansson
ed19ee5981 Merge "Use generated merged annotations.zip in SDK build" 2021-10-18 09:54:05 +00:00
Treehugger Robot
6092c6e112 Merge "Remove sdk-linux-x86.atree as well" am: 9cf4face61 am: f9c6180263 am: c7fd992149 am: 337af225ba am: 05ec491fef
Original change: https://android-review.googlesource.com/c/platform/development/+/1860413

Change-Id: I3872ccd6fda534ee425409fbef9ca2a7ccd16040
2021-10-17 03:34:52 +00:00
Treehugger Robot
05ec491fef Merge "Remove sdk-linux-x86.atree as well" am: 9cf4face61 am: f9c6180263 am: c7fd992149 am: 337af225ba
Original change: https://android-review.googlesource.com/c/platform/development/+/1860413

Change-Id: I409517c44eb79b9d1d1600f03f594d40bf63d40b
2021-10-17 03:23:31 +00:00
Treehugger Robot
337af225ba Merge "Remove sdk-linux-x86.atree as well" am: 9cf4face61 am: f9c6180263 am: c7fd992149
Original change: https://android-review.googlesource.com/c/platform/development/+/1860413

Change-Id: I96e909a6ccd3c0945a7c053ea4ed0dc5da8f5d4a
2021-10-17 03:11:24 +00:00
Treehugger Robot
c7fd992149 Merge "Remove sdk-linux-x86.atree as well" am: 9cf4face61 am: f9c6180263
Original change: https://android-review.googlesource.com/c/platform/development/+/1860413

Change-Id: I81ec36ed87ab2fe3edd14908d1a69791a6d5836d
2021-10-17 02:57:13 +00:00
Treehugger Robot
f9c6180263 Merge "Remove sdk-linux-x86.atree as well" am: 9cf4face61
Original change: https://android-review.googlesource.com/c/platform/development/+/1860413

Change-Id: I5941e78a43b785d2d77c3d140cfbd13aa4fcfd33
2021-10-17 02:37:40 +00:00
Treehugger Robot
9cf4face61 Merge "Remove sdk-linux-x86.atree as well" 2021-10-17 02:21:46 +00:00
Dan Willemsen
836f968022 Remove sdk-linux-x86.atree as well
I missed this one in my last change.

Bug: 187222815
change-Id: Ibd2951f5b8d193295047a00bde2db21d81dabb89
2021-10-16 16:52:07 -07:00
Treehugger Robot
4d62817338 Merge "Remove old build-tools/platform-tools implementation" am: f3901792cd am: 2582be0659 am: 83ea68a3df am: c08309675a am: e6b552069c
Original change: https://android-review.googlesource.com/c/platform/development/+/1859740

Change-Id: I657f346603a2e1f907c551e3da1f4dffac474b93
2021-10-16 21:25:09 +00:00
Treehugger Robot
e6b552069c Merge "Remove old build-tools/platform-tools implementation" am: f3901792cd am: 2582be0659 am: 83ea68a3df am: c08309675a
Original change: https://android-review.googlesource.com/c/platform/development/+/1859740

Change-Id: I3458bcde76c6fca6b5b3b9be989e20e29f65b6e7
2021-10-16 21:13:40 +00:00
Treehugger Robot
c08309675a Merge "Remove old build-tools/platform-tools implementation" am: f3901792cd am: 2582be0659 am: 83ea68a3df
Original change: https://android-review.googlesource.com/c/platform/development/+/1859740

Change-Id: Ibd16afc1eaf292865f98e40dd8eb687a11377618
2021-10-16 20:59:15 +00:00
Treehugger Robot
83ea68a3df Merge "Remove old build-tools/platform-tools implementation" am: f3901792cd am: 2582be0659
Original change: https://android-review.googlesource.com/c/platform/development/+/1859740

Change-Id: I4782dcd6f571e6a82130004dd8dd48d4215bba97
2021-10-16 20:40:45 +00:00
Treehugger Robot
2582be0659 Merge "Remove old build-tools/platform-tools implementation" am: f3901792cd
Original change: https://android-review.googlesource.com/c/platform/development/+/1859740

Change-Id: I6c7ffc0df732ff5ee4d2066682bc8115497e89f2
2021-10-16 20:30:30 +00:00
Treehugger Robot
f3901792cd Merge "Remove old build-tools/platform-tools implementation" 2021-10-16 20:20:33 +00:00
Treehugger Robot
5d3cfd1694 Merge "Add Android.bp-based definitions for host sdk-repos" am: 036ddeba4c am: ea1db82614 am: 50fd203cf7 am: 2bd9535f87 am: 68e3c834bc
Original change: https://android-review.googlesource.com/c/platform/development/+/1827791

Change-Id: Iea75eade9da38a59af4e1efffb50b29e247add5c
2021-10-15 20:45:49 +00:00
Dan Willemsen
53052e34be Remove old build-tools/platform-tools implementation
These packages are now built with Soong. Since they were the only two
outputs of the windows SDK package, I've also removed that
implementation.

Bug: 187222815
Change-Id: Ib42687cfe79c40066a49d20980a0f6f75914406a
2021-10-15 13:39:11 -07:00
Joel Galenson
7cfc6fe5de Do not generate empty Rust tests.
cargo2android.py currently builds whatever cargo does, which includes
empty tests.  We can filter those out by parsing the output of "cargo
test" and looking for things with no tests.

Fixes: 159039990
Test: Run on a crate with empty integration tests, one with empty unit
tests, and one with no empty tests.

Change-Id: If8b1126d82ce6c2851b90de738ea24b129b81feb
2021-10-15 13:35:41 -07:00
Treehugger Robot
68e3c834bc Merge "Add Android.bp-based definitions for host sdk-repos" am: 036ddeba4c am: ea1db82614 am: 50fd203cf7 am: 2bd9535f87
Original change: https://android-review.googlesource.com/c/platform/development/+/1827791

Change-Id: I57fd2d9b5717fbb0315e53f3a940307a5f5ea3bd
2021-10-15 20:26:46 +00:00
Treehugger Robot
2bd9535f87 Merge "Add Android.bp-based definitions for host sdk-repos" am: 036ddeba4c am: ea1db82614 am: 50fd203cf7
Original change: https://android-review.googlesource.com/c/platform/development/+/1827791

Change-Id: I52fc1944441a89de6becce63f5fe56114552d24f
2021-10-15 20:10:31 +00:00
Treehugger Robot
50fd203cf7 Merge "Add Android.bp-based definitions for host sdk-repos" am: 036ddeba4c am: ea1db82614
Original change: https://android-review.googlesource.com/c/platform/development/+/1827791

Change-Id: I0d15354a0546da9b4e3beb4c3204d66575b40a57
2021-10-15 19:52:03 +00:00
Treehugger Robot
ea1db82614 Merge "Add Android.bp-based definitions for host sdk-repos" am: 036ddeba4c
Original change: https://android-review.googlesource.com/c/platform/development/+/1827791

Change-Id: I9d7ff70eadd9a27a7caed1eab88c651921c37d28
2021-10-15 19:28:10 +00:00
Treehugger Robot
036ddeba4c Merge "Add Android.bp-based definitions for host sdk-repos" 2021-10-15 19:21:43 +00:00
Anton Hansson
2918f63267 Use generated merged annotations.zip in SDK build
The framework-doc-stubs is being transitioned to use module jar stub
source as input, at which point it will stop producing correct
annotations.zip files. Replace the annotations zip file in the sdk
with the one generated from all the constituent parts.

Bug: 187397779
Test: diff sdk.zip before && after (only whitespace diffs in annotations)
Change-Id: I56b22bf4909105a2720221c8de35b517a6e66a3c
2021-10-15 14:50:56 +01:00
Priyanka
d20340c3fe [automerger skipped] Edit SF and WM config from winscope. am: 5284e5a483 am: 2b5b9d7919 -s ours
am skip reason: Merged-In I50ccc271bd2f90dba1d22c3e8c568490c4bf831f with SHA-1 9d3f674027 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/development/+/16047809

Change-Id: I65b013c67abad386a38681653a7deec51acacf6f
2021-10-13 17:01:14 +00:00
Priyanka
2b5b9d7919 Edit SF and WM config from winscope. am: 5284e5a483
Original change: https://googleplex-android-review.googlesource.com/c/platform/development/+/16047809

Change-Id: I2b50e786984ca93f5d5803522f9bf49b41caf30a
2021-10-13 16:46:53 +00:00
Priyanka
5284e5a483 Edit SF and WM config from winscope.
Can now set the buffer sizes for these two traces, as well as set
tracing level and type for WM. Tested for multiple combinations of
config settings, as well as if settings are left as
placeholders/selected as the name of the config.

Bug: b/200159899

Test: Run a SF/WM trace with arbitrary config settings and check that all loads as normal.

Merged-In: I50ccc271bd2f90dba1d22c3e8c568490c4bf831f
Change-Id: I50ccc271bd2f90dba1d22c3e8c568490c4bf831f
(cherry picked from commit 9d3f674027)
2021-10-13 15:20:22 +00:00
TreeHugger Robot
33c8c4a12b Merge "Add analytics for trace and properties" 2021-10-13 12:59:19 +00:00
Nataniel Borges
f707c8083a Add analytics for trace and properties
Add analytics in winscope to know which trace types are being used, and which properties/element types are being expanded, to obtain data about their relevance

Test: yarn run build and test winscope
Change-Id: Icc7b0558c44e7bac8dcd9b140321a5c5b2bee403
2021-10-13 08:54:17 +00:00
Dan Willemsen
17df46e334 Add Android.bp-based definitions for host sdk-repos
So that these can be built independently from the large sdk zip. The old
Make-based implementation created this as part of the large sdk zip,
then extracted it from that zip file.

This topic only adds the new definitions under a different filename,
full replacement will come in a follow-on CL.

Once we fully transitions to this mechanism, we'll be able to turn down
most modules on Macs, only building these and their dependencies.

Bug: 187222815
Change-Id: If6be8dd573a323ef8b343bc86116ffa3d43922a5
2021-10-12 20:45:15 -07:00
Huan Song
ca92a1b12f Merge "Enable "auto rotate" for resizable AVD" into sc-v2-dev am: 881e6d0264 am: e7a728a82e
Original change: https://googleplex-android-review.googlesource.com/c/platform/development/+/16029130

Change-Id: I2e070ceff764b954cb37184a576049fc338c98d2
2021-10-12 23:16:42 +00:00
Huan Song
e7a728a82e Merge "Enable "auto rotate" for resizable AVD" into sc-v2-dev am: 881e6d0264
Original change: https://googleplex-android-review.googlesource.com/c/platform/development/+/16029130

Change-Id: I1ffb923a21f0544b4c7ce3f3e96f973c2d04d931
2021-10-12 23:01:02 +00:00
Huan Song
881e6d0264 Merge "Enable "auto rotate" for resizable AVD" into sc-v2-dev 2021-10-12 22:43:41 +00:00
Huan Song
7085983d97 Enable "auto rotate" for resizable AVD
Bug: 202734687

Test: run resizable AVD
Change-Id: I3b104fe680e1c706ce11974473140dfbbb1a83ff
2021-10-11 13:00:28 -07:00
Ryo Okuda
4fc1cba254 Merge "Create and show Chrome Wayland logs for Winscope" 2021-10-11 08:02:02 +00:00
rokuda
0bc49f3628 Create and show Chrome Wayland logs for Winscope
This change is adding Chrome Wayland logs to Winscope. The logs are
created by Winscope and shown on it. Since Wayland logs have been
already compatible with Winscope, this change adds some configs to
existing ones. Also, "Wayland" option is only visible when we connect
ARC, so Android users don't need to pay attention to conflicts.

Bug: 201374806

Test: manual by follow steps
    1) Start tracing by choosing "Wayland" and clicking "START TRACE" on Winscope.
    2) End tracing by clicking "END TRACE".
    3) See if the insets logs are available.
    4) Check if "Wayland" option is only visible when we connect ARC.

Change-Id: Ibfb5564a32c75929b449915a75db23ae3cd6447e
2021-10-11 13:38:49 +09:00
Joel Galenson
abb545577e Merge "Do not generate cargo_pkg_version when --no-pkg-vers is passed" am: f78de4f942 am: 9bbb76e144 am: 3497b061cc am: 647214b144 am: c36927f3aa
Original change: https://android-review.googlesource.com/c/platform/development/+/1838728

Change-Id: I6567aef779e2db189e5a676deb62b775c5567fb4
2021-10-08 22:27:11 +00:00
Joel Galenson
c36927f3aa Merge "Do not generate cargo_pkg_version when --no-pkg-vers is passed" am: f78de4f942 am: 9bbb76e144 am: 3497b061cc am: 647214b144
Original change: https://android-review.googlesource.com/c/platform/development/+/1838728

Change-Id: I61da20fb5323f9763d0be42edb2fcd4f6bcbea5e
2021-10-08 22:12:03 +00:00
Joel Galenson
647214b144 Merge "Do not generate cargo_pkg_version when --no-pkg-vers is passed" am: f78de4f942 am: 9bbb76e144 am: 3497b061cc
Original change: https://android-review.googlesource.com/c/platform/development/+/1838728

Change-Id: I317342f66ebab949158f9d8480f57eacfa5c786d
2021-10-08 21:57:38 +00:00