Commit Graph

34824 Commits

Author SHA1 Message Date
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
Treehugger Robot
c973f68913 Merge "VNDK snapshot tool generates license information from json" 2023-04-18 05:33:10 +00:00
Justin Yun
9e48f54e06 VNDK snapshot tool generates license information from json
VNDK snapshot zip file includes license information in json files.
Instead of parsing the license text files, read the information from
the json files.
VNDK snapshot v33 and older do not include this information and must
parse the license text files as before.

Bug: 277317599
Test: generate snapshots with/without json information && m nothing
Change-Id: Ibdbc571c9effe6c17f5d82a7a0894ad2d800711f
2023-04-17 15:47:24 +09:00
Junghoon Jang
b00f5581b6 Merge changes Iff3cdebe,I9d1add4f am: 40e23904e3 am: 8e297e0ad6 am: e139706c90
Original change: https://android-review.googlesource.com/c/platform/development/+/2530760

Change-Id: I0656f355424b58339b0554f608ddb9b26e40bede
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-17 06:43:41 +00:00
Junghoon Jang
e139706c90 Merge changes Iff3cdebe,I9d1add4f am: 40e23904e3 am: 8e297e0ad6
Original change: https://android-review.googlesource.com/c/platform/development/+/2530760

Change-Id: I015fc43fde135a8cdc680ad7ebfa82b36d3dc260
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-17 06:13:18 +00:00
Junghoon Jang
8e297e0ad6 Merge changes Iff3cdebe,I9d1add4f am: 40e23904e3
Original change: https://android-review.googlesource.com/c/platform/development/+/2530760

Change-Id: I22dea55d2aef31490cf57801f0d88cce0ef98082
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-17 05:44:09 +00:00
Junghoon Jang
40e23904e3 Merge changes Iff3cdebe,I9d1add4f
* changes:
  repo-pull: Introduce --current-branch argument
  repo-pull: Consider branch of repo
2023-04-17 05:15:57 +00:00
Hsin-Yi Chen
54d28c13a0 Merge "Fix the internal type of enum values" am: 74e23a1ec1 am: ad092ec244 am: 273704a169
Original change: https://android-review.googlesource.com/c/platform/development/+/2530761

Change-Id: I8f1df1d1d40df0625ed9574176037d876cd1fe42
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-17 04:12:10 +00:00
Hsin-Yi Chen
273704a169 Merge "Fix the internal type of enum values" am: 74e23a1ec1 am: ad092ec244
Original change: https://android-review.googlesource.com/c/platform/development/+/2530761

Change-Id: Ifed9a82579b1348a3a1e6627beb3137ecc5c9f5c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-17 03:41:45 +00:00
Hsin-Yi Chen
ad092ec244 Merge "Fix the internal type of enum values" am: 74e23a1ec1
Original change: https://android-review.googlesource.com/c/platform/development/+/2530761

Change-Id: I6b5df899cf359e4898bf87d583012898f9832766
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-17 03:12:21 +00:00