Pablo Gamito
ac8a2b42ea
Strip bugreport am: b6eb4bb828
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/development/+/23214101
Change-Id: I849cfcb777c95be73ece1355541eeeef8f6047e9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-16 12:19:17 +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
Treehugger Robot
95c7350314
Merge "cargo_embargo: dedup output modules" am: 32be457c7a am: c1058e7efc am: fa52117f71
...
Original change: https://android-review.googlesource.com/c/platform/development/+/2583718
Change-Id: I87f4f442a85ba0f84c7f14ee910a0a36764174f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-16 01:46:03 +00:00
Treehugger Robot
c1058e7efc
Merge "cargo_embargo: dedup output modules" am: 32be457c7a
...
Original change: https://android-review.googlesource.com/c/platform/development/+/2583718
Change-Id: Ic3fe6b120fa34e1be3b41ca09fa5200591b84b45
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-16 00:19:15 +00:00
Frederick Mayle
3d6e609f03
cargo_embargo: dedup output modules
...
This is needed because of https://crrev.com/c/4517945 . The new resolver
causes there to be multiple `rustc` invocations for some libraries. They
are only trivially different though, so dedup'ing the final output is
sufficient for now.
Bug: 280489895
Test: m cargo_embargo && ./android-merge-2-cargo-embargo.sh
Change-Id: If4a36e4f3847d18d03f76bad63bab6c45a9aef97
2023-05-10 14:57:13 -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
Kean Mariotti
7d26ddf5ba
Merge "Improve logging in winscope_proxy.py" into udc-dev
2023-04-26 10:22:49 +00:00
Xin Li
9e96ca15ed
Merge "Merge Android 13 QPR3 tm-qpr-dev-plus-aosp-without-vendor@9936994" into stage-aosp-master
2023-04-21 17:40:07 +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
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
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
Xin Li
fa48b40c3b
Merge Android 13 QPR3 tm-qpr-dev-plus-aosp-without-vendor@9936994
...
Bug: 275386652
Merged-In: I7aaaef7eb2ae6166bc914db81ffa1f557d4d62e1
Change-Id: I948361782cc4d58a5c2b7528bfadfa0e5d97dcd7
2023-04-18 16:31:54 -07: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
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
Pablo Gamito
4cb72593d0
Implement Transition trace parser in Winscope
...
Bug: 265791162
Test: npm run build:all && npm run test:all
Change-Id: Ib37d722079ed75f7c1b75cba506757b6c41f41aa
2023-04-14 15:18:40 +00:00
Junghoon Jang
108c36c52b
repo-pull: Introduce --current-branch argument
...
To make the script can be used from automatic scripts, introduce
`--current-branch` argument which allows pulling commits to the current
branch without creating a local branch. It will skip the prompt which
asking about the creation of a local branch.
Test: With --current-branch argument, the script doesn't ask setting
local branch name.
Change-Id: Iff3cdebe6338bb2be738e60047d5c4dd81cde4f0
Signed-off-by: Junghoon Jang <junghoonjang@google.com >
2023-04-14 12:25:29 +00:00
Junghoon Jang
172ccfe52d
repo-pull: Consider branch of repo
...
In the case of one source tree containing multiple repos with the same
project, but different branches, the script won't sync them properly.
To fix it, make it consider the branch along with the project.
Test: Tested syncing well in the directory which contains multiple repos
with the same project, but different branches.
Change-Id: I9d1add4ffe85f80f8f9d6a3ae2c046473d7c4631
Signed-off-by: Junghoon Jang <junghoonjang@google.com >
2023-04-14 12:24:51 +00:00
Pablo Gamito
d27b1735e6
Implement Eventlog parser in Winscope
...
Test: atest npm run build:all && npm run test:all
Fixes: 258182396
Fixes: 262290862
Change-Id: I2081e462669f4d4b4e92674d397030974b7f34c4
2023-04-14 12:13:46 +00:00
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