Commit Graph

4294 Commits

Author SHA1 Message Date
Kean Mariotti
0bf3266fca Merge "Prepare for typescript upgrade" into udc-dev 2023-04-14 10:36:41 +00:00
Kean Mariotti
85a32a7457 Prepare for typescript upgrade
Bug: b/277218358
Test: npm run build:all && npm run test:all
Change-Id: Ifb8b08daf2597f0d6ee46ad0f0ae24af51f86cd4
2023-04-13 20:44:01 +00:00
Pablo Gamito
c3dfefeae4 Expect transition trace to be loaded from bugreport
Bug: 277181336
Test: npm run test:e2e
Change-Id: I72f9362db272c59f030f78a2e30cb9140d2d44d6
2023-04-13 09:53:37 +00:00
Pablo Gamito
005cf18525 Fix formatting
Test: N/A
Change-Id: I5c0fa8d3f7697d81e62029b20345df192fb08f63
2023-04-12 09:26:24 +00:00
Pablo Gamito
883da85ea4 Support transition trace capturing in Winscope
Test: npm run build:all && npm run test:all
Bug: 265791162
Change-Id: Ie1d8604bbb362ee1940dc46291446cdbbeeeecda
2023-04-11 09:34:02 +00:00
Pablo Gamito
4dfbda2b42 Support Event Log capturing in Winscope
Test: npm run build:unit && npm run test:unit
Fixes: 258182396
Fixes: 262290862
Change-Id: Ia3b3d004555711a6ee418a4d6a47cd3f3579e901
2023-04-11 09:34:01 +00:00
Kean Mariotti
9b8e3f85bf Adapt transactions viewer to new proto definition (renamed fields)
Fix: b/277024052
Test: npm run build:all && npm run test:all
Change-Id: I787ee0a8f4574e367f3b578ff3ed51a57f8d7358
2023-04-05 09:10:26 +00:00
Kean Mariotti
50bb7a1e0c Merge changes I43412fc8,I23fb7418,Ia60ceb47,I5d3a1bc0,Ic434abc3, ... into udc-dev
* changes:
  Display progress bar while computing frame mapping
  Integrate "UI Traces API" with timeline components
  Integrate "UI Traces API" with viewers
  Integrate "UI Traces API" with parsers
  Integrate "UI Traces API" with Winscope App/Core
  Rename TraceData -> TracePipeline
  Add new "UI Traces API"
  Extend ArrayUtils
2023-04-02 08:53:18 +00:00
Treehugger Robot
b667e6e274 Merge changes I3e156afa,Id7e4f2eb am: 116fa3048f am: 864082db3d am: cf2761f253
Original change: https://android-review.googlesource.com/c/platform/development/+/2513461

Change-Id: Ib244c1e6d9586e52eff2285f3b42317c2debf891
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 19:33:11 +00:00
Treehugger Robot
cf2761f253 Merge changes I3e156afa,Id7e4f2eb am: 116fa3048f am: 864082db3d
Original change: https://android-review.googlesource.com/c/platform/development/+/2513461

Change-Id: I2eb813107b7d5d0ce105e8b6909d32aa6062da39
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 18:26:11 +00:00
Frederick Mayle
5a6dbaae7a cargo_embargo: detect and ignore harness-less tests
These currently cause cargo_embargo to fail. We should support them
eventually, but for now we'll ignore them to unblock crosvm merges.

Test: external/crosvm/android-merge-2-cargo-embargo.sh
Bug: 275386231
Change-Id: I3e156afa5672ddd6257c7caabd05346e060448fb
2023-03-29 15:25:57 -07:00
Frederick Mayle
04a1650a5f cargo_embargo: use enum for crate type
No behavior change intended.

This will make a following CL easier.

Test: external/crosvm/android-merge-2-cargo-embargo.sh
Bug: 275386231
Change-Id: Id7e4f2eb3f25fa12d867852a0ec95ce443949257
2023-03-29 15:24:21 -07:00
Kean Mariotti
0b2bfff758 Display progress bar while computing frame mapping
- Move duplicated trace load logic from TraceUploadComponent/TraceCollectionComponent into mediator
- Open snackbar messages from Mediator
- Change TraceUploadComponent's interface (FileDownloadListener -> ProgressListener)
- Notify TraceUploadComponent about frame mapping progress

Bug: b/256564627
Test: npm run build:all && npm run test:all
Change-Id: I43412fc8eba2806feb2170ea50702333cf1dd963
2023-03-24 13:31:54 +00:00
Kean Mariotti
297b641a04 Integrate "UI Traces API" with timeline components
Bug: b/256564627
Test: npm run build:all && npm run test:all
Change-Id: I23fb7418389cfe29f98cfe9706191a9032a4be92
2023-03-24 13:31:54 +00:00
Kean Mariotti
f54172dadd Integrate "UI Traces API" with viewers
Bug: b/256564627
Test: npm run build:all && npm run test:all
Change-Id: Ia60ceb479ced5c547579dc67336314c1d22d13fe
2023-03-24 13:31:54 +00:00
Kean Mariotti
8777d32f37 Integrate "UI Traces API" with parsers
Bug: b/256564627
Test: npm run build:all && npm run test:all
Change-Id: I5d3a1bc0a954b486225ff54bf219f6643aab69e3
2023-03-24 13:31:54 +00:00
Kean Mariotti
3a01939e03 Integrate "UI Traces API" with Winscope App/Core
Bug: b/256564627
Test: npm run build:all && npm run test:all
Change-Id: Ic434abc3031b9d53ddb6289fed747971e90c430e
2023-03-24 13:31:54 +00:00
Kean Mariotti
528f5b8f28 Rename TraceData -> TracePipeline
Bug: b/256564627
Test: npm run build:all && npm run test:all
Change-Id: Ic92ad03701f7a9ead1edc73bfbfd4ffbf44bc408
2023-03-24 13:31:54 +00:00
Kean Mariotti
7625c2f2dd Add new "UI Traces API"
Bug: b/256564627
Test: npm run test:unit
Change-Id: I28d881e23b2c444b94c5fb1c2bc71f92bc3a8690
2023-03-24 13:31:54 +00:00
Stephen Hines
604779d4be Merge "Remove unused variables" am: edab2ac359 am: 1f481b6f2f am: 0a9432abbb
Original change: https://android-review.googlesource.com/c/platform/development/+/2495416

Change-Id: I76c9b8437328d1ff6de12e08c2780ea7df495976
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-21 19:48:41 +00:00
Stephen Hines
0a9432abbb Merge "Remove unused variables" am: edab2ac359 am: 1f481b6f2f
Original change: https://android-review.googlesource.com/c/platform/development/+/2495416

Change-Id: Icc8ecf904d0eb5f079bce9ccf6a8033933ee9429
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-21 18:47:32 +00:00
Kean Mariotti
a644699eb5 Extend ArrayUtils
Provide only two binary search functions:
- Add binarySearchFirstGreaterOrEqual()
- Add binarySearchFirstGreater()

Note: other binary search variations can be built later on top of these functions.

Bug: b/256564627
Test: npm run test:unit
Change-Id: Icbd308923fe4b79dae29fb69176fa7276f5dd7cd
2023-03-21 14:09:59 +00:00
tanshanshan
16c7d86a81 Remove unused variables
Variables "bDecode" are not used in the function.

Test: mmm development/tools

Change-Id: Ic00ac4682b797c842c503cc5bc2cdbe22f68a94e
Signed-off-by: tanshanshan <tanshanshan@eswincomputing.com>
2023-03-17 15:57:27 +08:00
TreeHugger Robot
49c9477b42 Merge "Ensure changes in the values of selectedTraces triggers a redraw" into udc-dev 2023-03-07 13:06:41 +00:00
Pablo Gamito
7243008ea8 Merge "Make sure expanded timeline selected entries are in sync" into udc-dev 2023-03-07 12:44:42 +00:00
TreeHugger Robot
758e9677f5 Merge "Make sure node elements are properly tabbed out" into udc-dev 2023-03-07 11:00:37 +00:00
Pablo Gamito
ac287e3257 Ensure changes in the values of selectedTraces triggers a redraw
Fixes: 268175837
Test: npm run test:all
Change-Id: Idd4985b3e45bc3f39dbfc17de5e4559ba7c0152b
2023-03-07 10:59:54 +00:00
Pablo Gamito
6b4d9bf126 Make sure expanded timeline selected entries are in sync
Test: npm run test:all

Fixes: 263334911
Change-Id: I2cdcf0db7ff769c84907e128ddadf40e48b235f8
2023-03-07 10:59:53 +00:00
Pablo Gamito
94e10743ad Make sure node elements are properly tabbed out
Fixes: 271978118
Test: npm run test:all
Change-Id: I02a8347d1f05a2e3b34b1e3ba7d9003de071b1f6
2023-03-07 10:59:47 +00:00
Kean Mariotti
5f5acea2b8 Fix broken unit test
Bug: 269514648
Test: npm run test:unit
Change-Id: If1430830e6555b08bd49d68bf539a283f963e00e
2023-03-06 16:39:39 +00:00
Nataniel Borges
20417bc134 Add relevant window container info to WM proto
The complete object is not shown because of size (contains
children)

Also, add name ot WinToken instead of "WindowContainer"

Fixes: 269514648
Test: npm run test:all
Change-Id: I8d32d7092499a4940088787b4da1e31e99387922
2023-03-06 14:50:15 +00:00
Kean Mariotti
adeab4b47c Remove unused "src/assets" directory
Bug: b/256564627
Test: npm run build:all && npm run test:all
Change-Id: Ie9e833ae90f5f99f46038db5b2f4ac47b6bbbbea
2023-03-03 14:26:16 +00:00
Kean Mariotti
80348640b6 Update chrome driver for e2e tests
Bug: b/256564627
Test: npm run build:all && npm run test:e2e
Change-Id: I72abea63f0adec9ae2f0b1e165b2a4a438c6db30
2023-03-03 14:26:12 +00:00
Kean Mariotti
015b70d73b Fix format errors
Bug: b/256564627
Test: npm run format:check
Change-Id: I4ef3db86556c67b9ddacfe06708560ad2b8c84fa
2023-03-03 14:25:56 +00:00
Kean Mariotti
c07757789b [DO NOT MERGE] Remove redundant winscope_proxy.py
Test: use proxy under winscope/src/adb/winscope_proxy.py
Fix: b/256564627
Change-Id: I1e104e319efb05acf941fac19290b9a8e2556876
2023-02-28 15:19:50 +00:00
Nataniel Borges
271ab87fc4 Merge "[DO NOT MERGE] Compatibilize UDC dev to master" into udc-dev 2023-02-27 15:51:06 +00:00
Logan (Tzu-hsiang) Chien
28d35b9153 Merge "[repo-pull] Support curl hook" am: 3fe6f2d960 am: 4a1241d632 am: ec33f669f8
Original change: https://android-review.googlesource.com/c/platform/development/+/2433667

Change-Id: If8da6cfd65f30459ca880032345aa3f3b75043ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-25 01:05:58 +00:00
Logan (Tzu-hsiang) Chien
ec33f669f8 Merge "[repo-pull] Support curl hook" am: 3fe6f2d960 am: 4a1241d632
Original change: https://android-review.googlesource.com/c/platform/development/+/2433667

Change-Id: I7fed5e00ff9ec7cfb686ee3cd27de00877775f7b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-24 23:50:03 +00:00
Logan (Tzu-hsiang) Chien
4a1241d632 Merge "[repo-pull] Support curl hook" am: 3fe6f2d960
Original change: https://android-review.googlesource.com/c/platform/development/+/2433667

Change-Id: If14e4bfe5fa0afe6053aa84e4c097a2d0a526c5b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-24 23:06:10 +00:00
Logan Chien
5cf3c7b443 [repo-pull] Support curl hook
This commit adds a CURL command hook. This enables the Gerrit REST API
access through other authentication mechanisms.

Bug: b/269362063
Test: Run gerrit.py, repo_patch.py, repo_review.py with --use-curl=curl
Change-Id: I6dc4eb78760ee598df5065665c15d689916706f0
2023-02-23 08:32:41 -08:00
Nataniel Borges
9f7cf6fcac [DO NOT MERGE] Compatibilize UDC dev to master
Test: npm run test:all
Bug: 262369733
Change-Id: Iff807ae5ddb5dc1d075f4010319e899847f1aed5
2023-02-23 14:00:38 +00:00
Weston Carvalho
922bb43be3 Merge "gerrit.py: Support .googlesource.com credentials" am: dea943b670 am: f03c096970 am: 7f194c1ee3
Original change: https://android-review.googlesource.com/c/platform/development/+/2431492

Change-Id: I681515fd6e75080b0fe15f4f47b5aea69672943c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-17 22:26:13 +00:00
Weston Carvalho
7f194c1ee3 Merge "gerrit.py: Support .googlesource.com credentials" am: dea943b670 am: f03c096970
Original change: https://android-review.googlesource.com/c/platform/development/+/2431492

Change-Id: I47f2d85ded8bd4f6db0d18eacb46a725b57bc325
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-17 21:08:42 +00:00
Weston Carvalho
f03c096970 Merge "gerrit.py: Support .googlesource.com credentials" am: dea943b670
Original change: https://android-review.googlesource.com/c/platform/development/+/2431492

Change-Id: I8f36619d982619c717483463c5671c901d419494
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-17 20:12:00 +00:00
Weston Carvalho
bcf3bdf841 gerrit.py: Support .googlesource.com credentials
The scripts currently check that the requested domain exactly matches
one of the domains in the user's `.gitcookies` file, which causes
a "Cannot find the domain" error if the user's credentials are for all
of `googlesource.com`.

Change-Id: Ifed117e7d76c8678558720db1d518d59d986521d
2023-02-17 18:20:28 +00:00
Frederick Mayle
ca1a3c2b02 Merge "cargo_embargo: add option to set module visibility" am: 97f5616689 am: 5f1b7a1e59 am: 1f5b8d461c
Original change: https://android-review.googlesource.com/c/platform/development/+/2438516

Change-Id: I8767a89dc8dce8ca5ff754eae10f86094a5b4fe2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-16 22:14:32 +00:00
Frederick Mayle
1f5b8d461c Merge "cargo_embargo: add option to set module visibility" am: 97f5616689 am: 5f1b7a1e59
Original change: https://android-review.googlesource.com/c/platform/development/+/2438516

Change-Id: I98bb519b530f8a4fef09f8679aee278fd9ae3466
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-16 21:22:21 +00:00
Frederick Mayle
5f1b7a1e59 Merge "cargo_embargo: add option to set module visibility" am: 97f5616689
Original change: https://android-review.googlesource.com/c/platform/development/+/2438516

Change-Id: Ie066e264a0c3441824955c1ea1e535579641801c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-16 20:08:37 +00:00
Frederick Mayle
5b2ed7a0f5 cargo_embargo: add option to set module visibility
Bug: 269356487
Test: ran on crosvm repo
Change-Id: Ibcbdd26115c0e54d3b2825e26083ed74000b7563
2023-02-15 10:55:17 -08:00
Nataniel Borges
75b60a9443 Increase compiler heap size
Test: npm run build:kotlin and check if there's no OOM error
Bug: 262369733
Change-Id: I98f0f4b2a1457094e6299e8d6eaf707dcaf146e1
2023-02-14 11:27:07 +00:00