Commit Graph

34833 Commits

Author SHA1 Message Date
Pablo Gamito
166b11bcb5 Add transaction ids to viewer and a filter for them
Fixes: 284264724
Test: npm run test:all
Change-Id: I8e33f72f0ae35c232f3efc251c5371f895112345
2023-06-09 12:54:29 +00:00
Kean Mariotti
09a1c31019 Merge changes Ieddaf47c,Ia96c58d5,I89e03fff into udc-dev
* changes:
  Add 'npm run test:presubmit' script
  Change displayed trace descriptors
  Optimize bugreport loading
2023-06-02 18:00:48 +00:00
Treehugger Robot
aaa8dcd1f7 Merge "Add CUJ trace parser to Winscope" into udc-dev 2023-06-02 12:26:57 +00:00
Kean Mariotti
24965f613d Add 'npm run test:presubmit' script
Fix: b/285562786
Test: npm run test:presubmit
Change-Id: Ieddaf47c6737fe49d485bf4d81d2b711e4334cd2
2023-06-02 12:25:23 +00:00
Kean Mariotti
d1c80891d9 Change displayed trace descriptors
Descriptor before:
'Transitions (wm_transition_trace.winscope (bugreport.zip), shell_transition_trace.winscope (bugreport.zip))'

Descriptor after:
'wm_transition_trace.winscope (bugreport.zip), shell_transition_trace.winscope (bugreport.zip)'

Fix: b/285561971
Test: load trace and check the displayed descriptor
Change-Id: Ia96c58d563036c68e2d9ab428a94051a23a6a5b9
2023-06-02 12:25:09 +00:00
Kean Mariotti
bc966c455c Optimize bugreport loading
Fix: b/269342535
Test: npm run test:all
Change-Id: I89e03fff08fe1c7e7169a6eeb08efeda04d098d0
2023-06-02 12:08:00 +00:00
TreeHugger Robot
c4808fc1d2 Merge "Add pre-upload hook to run Winscope tests" into udc-dev 2023-06-02 10:31:48 +00:00
Pablo Gamito
9336f610f0 Add CUJ trace parser to Winscope
Bug: 265791272
Test: npm run test:all
Change-Id: Ibb62236c405ab44caf94c9ac66ef34cbef4a0111
2023-06-02 09:31:57 +00:00
Pablo Gamito
70c6fb8c88 Add pre-upload hook to run Winscope tests
Test: make a change and repo upload -c .
Fixes: 282179210
Change-Id: I70fdf3f17f8d539d00e42e528d1c7d4091696372
2023-06-02 09:31:57 +00:00
Kean Mariotti
35e2e69f95 Fix broken tests
Test: npm run test:all
Change-Id: I6f064dc8846b2e65dfb002d002aee80d8422c537
2023-05-31 09:37:16 +00:00
Pablo Gamito
daa40dbd3f Fix winscope test
Meant to be amended to ag/23466728 but was auto-merged before I could

Test: npm run test:all
Bug: 23466728
Change-Id: I2cfb1ba7214ec0b316b489ef84a138861d878321
2023-05-30 15:08:02 +00:00
Pablo Gamito
115ed2f243 Add tooltips to icons
And add icon next to the trace name in more places for better association of icon to trace

Fixes: 284100487
Test: npm run test:all
Change-Id: I2cfb1ba7214ec0b316b489ef84a138861d878345
2023-05-30 10:31:12 +00:00
Pablo Gamito
8ee2c132b6 Make sure upload traces responds to changes in tracePipeline
Otherwise clearing or removing loaded traces has no effect on the UI.

Test: load traces in winscope, delete some, clear all and make sure UI responds to those changes
Fixes: 283976269
Change-Id: I7eb981367191a47d3b50b31ee68492809275833a
2023-05-24 10:42:16 +00:00
Pablo Gamito
9b0562b4d7 Format transition viewer timestamps to the right type
Bug: 277181336
Test: npm run test:all
Change-Id: I7eb981367191a47d3b50b31ee68492848572833a
2023-05-23 16:41:25 +00:00
Pablo Gamito
c12b72ac70 Add status to transition rows
Bug: 277181336
Test: npm run test:all
Change-Id: I7eb981367191a47d3b50b31ee68492844936923a
2023-05-23 15:24:55 +00:00
Pablo Gamito
fa6d593ca2 Update Long parameters in WmTransitionData to Strings
For JS compatibility in Winscope

Test: load transition trace and make sure we have transaction ids
Bug: 277181336
Change-Id: I174222b90ecc9b6a82d48c0e469104bd857387e5
2023-05-23 13:27:35 +00:00
Pablo Gamito
1e01280f59 Rename getLoadedTraceFiles to getLoadedTraces
Bug: 277181336
Test: npm run test:all
Change-Id: I7eb981367191a47d3b50b31ee66f14774936923a
2023-05-23 12:57:30 +00:00
Pablo Gamito
deee75f952 Fix typo
Bug: 277181336
Test: npm run test:all
Change-Id: I7eb176367191a47d3b50b31ee66f147ff1d6923a
2023-05-23 12:56:37 +00:00
Pablo Gamito
8317c066aa Update e2e tests
Bug: 277181336
Test: npm run test:all
Change-Id: I7eb923367191a47d3b50b31ee66f147ff1d6923a
2023-05-22 16:40:57 +00:00
Pablo Gamito
4d49b499a9 Update protractor config
Test: npm run test:e2e
Change-Id: I7eb981367191c47d3b50b31ee66f147ff1d1223c
2023-05-22 14:30:23 +00:00
Pablo Gamito
ac6415277c Add transition trace viewer
Bug: 277181336
Test: npm run test:all
Change-Id: I7eb981367191a47d3b50b31ee66f147ff1d6923a
2023-05-22 14:30:23 +00:00
Pablo Gamito
a735b202f7 Add transition traces parser
Bug: 277181336
Test: npm run test:all
Change-Id: I7eb981367191c47d3b50b31ee66f147ff1d6923c
2023-05-22 14:29:56 +00:00
Pablo Gamito
99afc1013b Support multiple files for a single trace
Bug: 277181336
Test: npm run build:all && npm run test:all
Change-Id: I7eb981367191c47d3b50b31ee66f147ff1d69431
2023-05-22 14:20:39 +00:00
Pablo Gamito
28c77be00f Add WM & Shell side transitions parsers
Bug: 277181336
Test: npm run test:all

Change-Id: I7eb981367191c47d3b50b31ee66f147ff1d6943d
2023-05-22 08:29:03 +00:00
Pablo Gamito
b6eb4bb828 Strip bugreport
Test: npm run test:e2e

Bug: 277181336
Change-Id: I241450fca4b6950ca0e41ff7f62adb85cf37af5f
2023-05-16 08:58:36 +00:00
Hongwei Wang
8f10bb853f Add moveTaskToBack to PiP demo
Bug: 281452335
Test: m -j ApiDemos
Change-Id: I00a46f578171d248ccc7311c0f25cbb80de6a3ea
2023-05-09 10:18:00 -07:00
Pablo Gamito
edd0219c54 Update Winscope proxy to collect both transition trace files
Bug: 277181336
Test: npm run build:all && npm run test:all
Change-Id: I6697812fe929efe0927358fe14dc0ea155199631
2023-05-04 10:33:08 +00:00
Treehugger Robot
811195d460 Merge "Generate license module from the vendor snapshot update.py" into udc-dev 2023-04-29 14:22:50 +00:00
Kean Mariotti
7d26ddf5ba Merge "Improve logging in winscope_proxy.py" into udc-dev 2023-04-26 10:22:49 +00:00
Justin Yun
f6878cc645 Generate license module from the vendor snapshot update.py
`notice` property is removed from the soong. The update.py script
will generate `license` module, instead.
It will use the information included in the snapshot json files.

Bug: 271539873
Test: generate all kinds of snapshots and build against them
Merged-In: I7bbbf8bcec2a8c6d16ec1e04888dd5adf24ae4c7
Change-Id: I7bbbf8bcec2a8c6d16ec1e04888dd5adf24ae4c7
(cherry picked from commit fc27ecc025)
2023-04-26 11:28:43 +09:00
Alex Buynytskyy
21162116f9 Correct the minor version.
Bug: 275409981
Test: presubmit
Change-Id: I19000336a8dfcd50ee300694b611137faefdb42b
2023-04-25 01:38:07 +00:00
Alex Buynytskyy
117db136ae Resetting Platform SDK and Build tools Version Numbers
for Final Android-U SDK release post SDK Finalization. These version
numbers are used by Studio to trigger updates

Bug: 275409981
Test: N/A
Change-Id: I940e0e57170445861049ffb92ca6988b4c30bc3a
2023-04-24 21:01:31 +00:00
Kean Mariotti
1e9651a0b5 Improve logging in winscope_proxy.py
Bug: b/278881845
Test: python3 src/adb/winscope_proxy.py and check that go/winscope can capture traces
Change-Id: I45b9eaf49bd21e691666e5132fb50cfc62629618
2023-04-21 16:35:27 +00:00
Treehugger Robot
8b561c24b7 Merge "Show default transaction values" into udc-dev 2023-04-21 14:45:49 +00:00
Shaju Mathew
e5c0858307 Conflict from tm-qpr-dev-plus-aosp to udc-dev
Bug: 279076938

Change-Id: Ie36e3dc4d63115462d12136be5a7a68eb00dd672
2023-04-21 05:23:41 +00:00
Inseob Kim
8738432db0 Merge "Add min_sdk_version prop to snapshots" am: 02b3862cda am: 520456adc1 am: 8992d6a493
Original change: https://android-review.googlesource.com/c/platform/development/+/2542490

Change-Id: Iafb740501cb54bd40d45868c6d8b561581d806fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-20 09:45:27 +00:00
Pablo Gamito
15460462e4 Show default transaction values
If we don't show the values it can be confusing to users what the value has changed to.

Test: NA
Change-Id: I8c19f2654dc5110fd35156545ff490998ae28b8b
2023-04-20 09:39:28 +00:00
Inseob Kim
8992d6a493 Merge "Add min_sdk_version prop to snapshots" am: 02b3862cda am: 520456adc1
Original change: https://android-review.googlesource.com/c/platform/development/+/2542490

Change-Id: If2eb25fc91b683cb71a2f672a74cca127ec66848
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-20 09:04:58 +00:00
Inseob Kim
520456adc1 Merge "Add min_sdk_version prop to snapshots" am: 02b3862cda
Original change: https://android-review.googlesource.com/c/platform/development/+/2542490

Change-Id: I277302b4c37c9a0d6264629318df12a55c3955d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-20 08:24:24 +00:00
Inseob Kim
02b3862cda Merge "Add min_sdk_version prop to snapshots" 2023-04-20 07:36:58 +00:00
Junghoon Jang
25dd9a2691 Merge "repo-pull: Introduce --ignore-unknown-changes arg" am: e4f118be6f am: 055ae89408 am: d1a1bdc184
Original change: https://android-review.googlesource.com/c/platform/development/+/2544230

Change-Id: I3fbdaaecb4d28eb4c5433614056e492ae5891315
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-19 13:03:52 +00:00
Junghoon Jang
d1a1bdc184 Merge "repo-pull: Introduce --ignore-unknown-changes arg" am: e4f118be6f am: 055ae89408
Original change: https://android-review.googlesource.com/c/platform/development/+/2544230

Change-Id: Ie3ed911284c55e5fa46af95a51015b3e9ab47e94
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-19 12:18:55 +00:00
Junghoon Jang
055ae89408 Merge "repo-pull: Introduce --ignore-unknown-changes arg" am: e4f118be6f
Original change: https://android-review.googlesource.com/c/platform/development/+/2544230

Change-Id: I1a893e625817888e3c576de68c509387d3c47cb0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-19 11:38:51 +00:00
Junghoon Jang
e4f118be6f Merge "repo-pull: Introduce --ignore-unknown-changes arg" 2023-04-19 10:55:11 +00:00
Junghoon Jang
ac6afae3d6 repo-pull: Introduce --ignore-unknown-changes arg
In the case of pulling changes of a topic which is shared by multiple
repos, if the target source tree doesn't contain all of those repos,
the script will fail to apply changes.

Introduce a new argument, --ignore-unknown-changes, which ignores
changes whose repo is not in the manifest.xml.

Test: Pulling changes of a topic which is shared by multiple repos to
  the source tree which contains part of those repos was done
  successfully with the newly introduce argument.
Change-Id: Ie999121415bc1888b714d023ca251ad89701df11
Signed-off-by: Junghoon Jang <junghoonjang@google.com>
2023-04-18 15:52:07 +00:00
Pablo Gamito
8830d53dab Merge "Implement Transition trace parser in Winscope" into udc-dev 2023-04-18 08:04:04 +00:00
Inseob Kim
46628fff98 Add min_sdk_version prop to snapshots
Bug: 277403349
Test: build vndk/vendor snapshot and build
Change-Id: I460c69cbc5820132690c9d3fb325c5eb504f5366
2023-04-18 16:50:20 +09:00
Treehugger Robot
45f93a6d2a Merge "VNDK snapshot tool generates license information from json" am: c973f68913 am: b7e7077c5e am: d8a0e2be23
Original change: https://android-review.googlesource.com/c/platform/development/+/2539710

Change-Id: Idbeab2efd67c98cea8280960028d2f0415b608b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-18 07:33:13 +00:00
Treehugger Robot
d8a0e2be23 Merge "VNDK snapshot tool generates license information from json" am: c973f68913 am: b7e7077c5e
Original change: https://android-review.googlesource.com/c/platform/development/+/2539710

Change-Id: I98d372acda2b5eab1a59e6eef58fb96f39668a6e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-18 06:52:57 +00:00
Treehugger Robot
b7e7077c5e Merge "VNDK snapshot tool generates license information from json" am: c973f68913
Original change: https://android-review.googlesource.com/c/platform/development/+/2539710

Change-Id: I305a66da391ecd89d16b32edc54446ff8a5d140e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-18 06:10:03 +00:00