Commit Graph

31612 Commits

Author SHA1 Message Date
TreeHugger Robot
d9d4166e1a Merge "Fixed timeline for uploaded trace + dump files." 2021-07-20 11:49:24 +00:00
Priyanka
5062b341ae Fixed timeline for uploaded trace + dump files.
Now when uploading and opening trace and dump files at the same time, the timeline should be fully interactive in Global, Focused and Targeted modes. Timestamps should appear and change as you click along the timeline.

Test: Start a trace. Run a dump on another Winscope instance. End the first trace. Download the files from both instances, upload and open them on a separate instance. Check that the timestamp changes when selecting different parts of the timeline in different modes.
bottom of Winscope.

Bug: b/163105631
Change-Id: I979dfe5eea9937b64f17ab62b2c068fac507ec87
2021-07-20 10:30:28 +00:00
Treehugger Robot
df87d34410 Merge "Fix a bug in build library: the uploaded file cannot be shown in table." am: 9b339b3bc1 am: 7eb899863a am: 98a9756c95 am: f64f7c0173
Original change: https://android-review.googlesource.com/c/platform/development/+/1771647

Change-Id: Ic28d26b695df288831f6e2a6f197ff9519f67dcb
2021-07-19 23:15:55 +00:00
Treehugger Robot
f64f7c0173 Merge "Fix a bug in build library: the uploaded file cannot be shown in table." am: 9b339b3bc1 am: 7eb899863a am: 98a9756c95
Original change: https://android-review.googlesource.com/c/platform/development/+/1771647

Change-Id: Ib79af9f626f4223bb21bcb70924a4c7b6421e088
2021-07-19 23:01:15 +00:00
Treehugger Robot
98a9756c95 Merge "Fix a bug in build library: the uploaded file cannot be shown in table." am: 9b339b3bc1 am: 7eb899863a
Original change: https://android-review.googlesource.com/c/platform/development/+/1771647

Change-Id: Iccedafeeaa3efd0a6166f79919f84282b4420584
2021-07-19 22:43:10 +00:00
Treehugger Robot
a58abe8920 Merge "Move the '--partial' flag and output configuration to the backend." am: 52c76356a5 am: 8b0fdc9535 am: 295fe8afa2 am: 1f48aab063
Original change: https://android-review.googlesource.com/c/platform/development/+/1771645

Change-Id: I39b547d69d10b391202e59c1bff2c7f243d09b75
2021-07-19 22:33:29 +00:00
Treehugger Robot
7eb899863a Merge "Fix a bug in build library: the uploaded file cannot be shown in table." am: 9b339b3bc1
Original change: https://android-review.googlesource.com/c/platform/development/+/1771647

Change-Id: I79597a0f190243124a9ebd562639bb144f54e209
2021-07-19 22:26:25 +00:00
Treehugger Robot
1f48aab063 Merge "Move the '--partial' flag and output configuration to the backend." am: 52c76356a5 am: 8b0fdc9535 am: 295fe8afa2
Original change: https://android-review.googlesource.com/c/platform/development/+/1771645

Change-Id: Ibcd3622092529b658f83e07c2bdcb60502eb014f
2021-07-19 22:16:48 +00:00
Treehugger Robot
9b339b3bc1 Merge "Fix a bug in build library: the uploaded file cannot be shown in table." 2021-07-19 22:15:54 +00:00
Treehugger Robot
295fe8afa2 Merge "Move the '--partial' flag and output configuration to the backend." am: 52c76356a5 am: 8b0fdc9535
Original change: https://android-review.googlesource.com/c/platform/development/+/1771645

Change-Id: Ic2250c00e2de9a7fdaaef9c361b81a0495ab91d7
2021-07-19 21:59:23 +00:00
Treehugger Robot
71d68f4172 Merge "Let cargo2android.py generate data properties for tests." am: d832c85b2e am: fd8d202caa am: 5fffe99068 am: 96c3826a4f
Original change: https://android-review.googlesource.com/c/platform/development/+/1771789

Change-Id: I6ef9eb4d840fcd0287ad136322059385767845b9
2021-07-19 21:49:38 +00:00
Treehugger Robot
8b0fdc9535 Merge "Move the '--partial' flag and output configuration to the backend." am: 52c76356a5
Original change: https://android-review.googlesource.com/c/platform/development/+/1771645

Change-Id: If1334d52db4dcb0aaee24567af348a098fe086a3
2021-07-19 21:46:28 +00:00
Treehugger Robot
96c3826a4f Merge "Let cargo2android.py generate data properties for tests." am: d832c85b2e am: fd8d202caa am: 5fffe99068
Original change: https://android-review.googlesource.com/c/platform/development/+/1771789

Change-Id: I1ad52574d31c350279bb01bd44297d449dfa95ef
2021-07-19 21:39:52 +00:00
Treehugger Robot
52c76356a5 Merge "Move the '--partial' flag and output configuration to the backend." 2021-07-19 21:27:55 +00:00
Treehugger Robot
5fffe99068 Merge "Let cargo2android.py generate data properties for tests." am: d832c85b2e am: fd8d202caa
Original change: https://android-review.googlesource.com/c/platform/development/+/1771789

Change-Id: I9bbc027d3b84addb5b368395fda530932c74c596
2021-07-19 21:22:31 +00:00
Treehugger Robot
fd8d202caa Merge "Let cargo2android.py generate data properties for tests." am: d832c85b2e
Original change: https://android-review.googlesource.com/c/platform/development/+/1771789

Change-Id: If002743ffbde27ca5938de61050a64224bb9475a
2021-07-19 21:05:54 +00:00
Treehugger Robot
d832c85b2e Merge "Let cargo2android.py generate data properties for tests." 2021-07-19 20:53:36 +00:00
lishutong
b9d9f55657 Fix a bug in build library: the uploaded file cannot be shown in table.
Previously, the newly uploaded file cannot be shown immediately in the
datatable, unless refresh the page. Now the bug is fixed.

Similar bug is also fixed in OTAJobTable.vue.

Test: mannual tested.
Change-Id: Ia0531db884a7e1675b2cf51aeb8ca0847694c63c
2021-07-19 20:45:46 +00:00
Treehugger Robot
f977ef3864 Merge "Add VAB, VABC state checker to OTA_analyzer." am: 8cfacd4509 am: 00a74639a1 am: 9dd7474b0f am: 95c881191b
Original change: https://android-review.googlesource.com/c/platform/development/+/1771646

Change-Id: Ib50491323152bf961b8c09d883709f26be1cb7d0
2021-07-19 20:20:11 +00:00
Treehugger Robot
95c881191b Merge "Add VAB, VABC state checker to OTA_analyzer." am: 8cfacd4509 am: 00a74639a1 am: 9dd7474b0f
Original change: https://android-review.googlesource.com/c/platform/development/+/1771646

Change-Id: I9adbafdc8c633d48bd2d2e802cbadb8f000f9e4d
2021-07-19 20:05:24 +00:00
Treehugger Robot
9dd7474b0f Merge "Add VAB, VABC state checker to OTA_analyzer." am: 8cfacd4509 am: 00a74639a1
Original change: https://android-review.googlesource.com/c/platform/development/+/1771646

Change-Id: Ibc3c22bcd108c3c8e369df2eace8f231c28cc2e1
2021-07-19 19:52:07 +00:00
Treehugger Robot
00a74639a1 Merge "Add VAB, VABC state checker to OTA_analyzer." am: 8cfacd4509
Original change: https://android-review.googlesource.com/c/platform/development/+/1771646

Change-Id: I7cf47869327e2c37f3e7511a74d3bf465113228f
2021-07-19 19:38:03 +00:00
Treehugger Robot
bf93c5f49f Merge "Refactor the OTA configuration page using several components." am: c532190082 am: 5798a15596 am: b7d6e8d966 am: b03c9d25b6
Original change: https://android-review.googlesource.com/c/platform/development/+/1770745

Change-Id: Ifa8f85fd523837c24ddcb3f7cb258f3648d2ee9a
2021-07-19 19:37:34 +00:00
Treehugger Robot
b03c9d25b6 Merge "Refactor the OTA configuration page using several components." am: c532190082 am: 5798a15596 am: b7d6e8d966
Original change: https://android-review.googlesource.com/c/platform/development/+/1770745

Change-Id: I9b07e22aaf1e2c8f340f870fed0e37ae8bcf6800
2021-07-19 19:26:06 +00:00
Treehugger Robot
8cfacd4509 Merge "Add VAB, VABC state checker to OTA_analyzer." 2021-07-19 19:22:31 +00:00
Joel Galenson
e4f5388cf3 Let cargo2android.py generate data properties for tests.
Some tests load data from files.  These files thus need to be copied
to the correct location on the host/device so that the tests can
access them.  This adds an option to cargo2android.py so that it can
generate these data properties.

Bug: 171710847
Test: Use for a crate.
Change-Id: I14a1ad8aca4625cc5f09807d19ffd7499fcf3689
2021-07-19 12:18:21 -07:00
Treehugger Robot
b7d6e8d966 Merge "Refactor the OTA configuration page using several components." am: c532190082 am: 5798a15596
Original change: https://android-review.googlesource.com/c/platform/development/+/1770745

Change-Id: I01d876edbe173d7a83a9af4be0200d5000f5ef45
2021-07-19 19:07:15 +00:00
Treehugger Robot
5798a15596 Merge "Refactor the OTA configuration page using several components." am: c532190082
Original change: https://android-review.googlesource.com/c/platform/development/+/1770745

Change-Id: I3d28bfbb25b6c1020145a65ee7f5ff15d12ae108
2021-07-19 18:48:36 +00:00
Treehugger Robot
c532190082 Merge "Refactor the OTA configuration page using several components." 2021-07-19 18:31:32 +00:00
lishutong
029dbe681e Move the '--partial' flag and output configuration to the backend.
Previously, the front end will generate a string for '--partial' flag.
Now the front end will only record the partial partitions that are going
to be updated as an array, and the backend will convert the array into a
string for CLI tool.

The output now is also calculated in the backend,

Test: mannual tested.
Change-Id: Ib5604e52b0c0d0cdd2bf85c71479b3133479da74
2021-07-19 17:57:07 +00:00
Treehugger Robot
61a4f759bd Merge "cargo2android.py:vendor and vendor_ramdisk flags." am: 52a6dbe9d3 am: fe432ba9f7 am: 6da47720f9 am: 3665e6eeb5
Original change: https://android-review.googlesource.com/c/platform/development/+/1770108

Change-Id: I62f6c63e28c1ce2c1f70f7d304961318d83e947c
2021-07-19 17:44:14 +00:00
lishutong
f506b57791 Add VAB, VABC state checker to OTA_analyzer.
Add BasicInfo.vue to show some basic facts of the ota package,
including:
- is partial or not
- is incremental or not
- is VAB or not
- is VABC or not

Test: Mannual tested.
Change-Id: Ibc3e0a88ea03fc310b401ffe14c5b63d9e0f9452
2021-07-19 17:32:39 +00:00
Treehugger Robot
3665e6eeb5 Merge "cargo2android.py:vendor and vendor_ramdisk flags." am: 52a6dbe9d3 am: fe432ba9f7 am: 6da47720f9
Original change: https://android-review.googlesource.com/c/platform/development/+/1770108

Change-Id: Ie9cc67c9d12eb7b90fc11a00a8e4b9ac15a0e176
2021-07-19 17:21:53 +00:00
Treehugger Robot
6da47720f9 Merge "cargo2android.py:vendor and vendor_ramdisk flags." am: 52a6dbe9d3 am: fe432ba9f7
Original change: https://android-review.googlesource.com/c/platform/development/+/1770108

Change-Id: I6bf7eddb1b8aa2fe03ade627c860c036da432010
2021-07-19 16:55:42 +00:00
Treehugger Robot
fe432ba9f7 Merge "cargo2android.py:vendor and vendor_ramdisk flags." am: 52a6dbe9d3
Original change: https://android-review.googlesource.com/c/platform/development/+/1770108

Change-Id: I0a9495f9382a45d1985de8593df68947f212ed4c
2021-07-19 16:41:45 +00:00
Treehugger Robot
52a6dbe9d3 Merge "cargo2android.py:vendor and vendor_ramdisk flags." 2021-07-19 16:23:01 +00:00
lishutong
1ab3abb53a Refactor the OTA configuration page using several components.
The original code for OTA configuration in the frontend is tightly
coupled and hard to maintain. This CL decoupled the job configuration
component (OTAOptions.vue), build library (BuildLibrary.vue) and job
submission (JobSubmission.js).

The BuildLibrary.vue will present the
target build list and take selections. Selections will be sent to
OTAOptions.vue, where flags are set. Once the setting is complete, an
OTAOption object defined by JobSubmission.js will be sent to the
backend. This design can be viewed in go/ota-dashboard-doc : detailed
design - TASK CONFIGURATION.

This has several benefits: (a) easier for
future maintainence. (b) The original code cannot easily be reused for
batch OTA package generation. Now, only the OTAOptions.vue has to be
modified for this purpose.

Test: Mannual tested. Unit tests will be added in following CLs.

Change-Id: I846d0c242cd6ed51478dd4d1a3e4c5fb8878aba1
2021-07-19 16:22:41 +00:00
Ivan Lozano
9192086c9c cargo2android.py:vendor and vendor_ramdisk flags.
Adds flags to emit vendor_available and vendor_ramdisk_available flags
to generated modules.

Bug: 194078853
Test: Calling script with new flags generates intended properties.
Change-Id: I4f7a6870b4f210b6627054c98962f50e98bc3e03
2021-07-19 15:18:11 +00:00
Treehugger Robot
b6b994bd5a Merge "Add responsive design to the UI." am: 1f1f1f7fed am: 67d67e64be am: fe8f41643b am: dc0f32c926
Original change: https://android-review.googlesource.com/c/platform/development/+/1770425

Change-Id: If99cff29921bf8e3fb159dbaa67fd5768be6cb33
2021-07-17 03:13:22 +00:00
Treehugger Robot
dc0f32c926 Merge "Add responsive design to the UI." am: 1f1f1f7fed am: 67d67e64be am: fe8f41643b
Original change: https://android-review.googlesource.com/c/platform/development/+/1770425

Change-Id: Ibb98e477d8d3aa4e5f20cfa886b7f0b7157d65aa
2021-07-17 02:55:00 +00:00
Treehugger Robot
fe8f41643b Merge "Add responsive design to the UI." am: 1f1f1f7fed am: 67d67e64be
Original change: https://android-review.googlesource.com/c/platform/development/+/1770425

Change-Id: I555e682cc3fbb40c2ea8fdee1d980b8c870e3c05
2021-07-17 02:40:09 +00:00
Treehugger Robot
67d67e64be Merge "Add responsive design to the UI." am: 1f1f1f7fed
Original change: https://android-review.googlesource.com/c/platform/development/+/1770425

Change-Id: I1a2f88cbe24417979f00d1e6f41f94f5e83b72ae
2021-07-17 02:24:16 +00:00
Treehugger Robot
1f1f1f7fed Merge "Add responsive design to the UI." 2021-07-17 02:05:27 +00:00
Treehugger Robot
8f9ce27953 Merge changes If4e8ff72,I53d861fb am: 91496f424d am: b797b91fca am: cf992360dc am: 95d5e86481
Original change: https://android-review.googlesource.com/c/platform/development/+/1770026

Change-Id: I1cb2f4f319018004d4bcfe306694bb9ed73e1578
2021-07-17 01:55:35 +00:00
Treehugger Robot
95d5e86481 Merge changes If4e8ff72,I53d861fb am: 91496f424d am: b797b91fca am: cf992360dc
Original change: https://android-review.googlesource.com/c/platform/development/+/1770026

Change-Id: Icd0279b6d8fe6627aea5897b76f0500d9c4beb99
2021-07-17 01:33:03 +00:00
Treehugger Robot
cf992360dc Merge changes If4e8ff72,I53d861fb am: 91496f424d am: b797b91fca
Original change: https://android-review.googlesource.com/c/platform/development/+/1770026

Change-Id: I19be31d438bfcb203a6369ccac9da7a3e1f97351
2021-07-17 01:23:07 +00:00
Treehugger Robot
b797b91fca Merge changes If4e8ff72,I53d861fb am: 91496f424d
Original change: https://android-review.googlesource.com/c/platform/development/+/1770026

Change-Id: I094abfbc7f674bff0b146a60b37193b9810040db
2021-07-17 01:09:28 +00:00
Treehugger Robot
91496f424d Merge changes If4e8ff72,I53d861fb
* changes:
  Add data table for build library.
  Fix few UI bugs.
2021-07-17 00:53:37 +00:00
lishutong
be609f5b31 Add responsive design to the UI.
Now the columns width can be adjusted according to the window size.

Test: Mannual tested.
Change-Id: I1e2911b757948ee95f487631bcdceb5ede1fa63e
2021-07-16 19:38:16 +00:00
Joel Galenson
59c9fcaf61 Merge "When merging tests, prefer non-blocklisted ones." am: 14b71a757b am: f6d0a0664a am: 8d835765f5 am: 58baa3c20b
Original change: https://android-review.googlesource.com/c/platform/development/+/1768885

Change-Id: Ic34d3dc365729fe64769191833619451f7855265
2021-07-16 18:44:49 +00:00