Commit Graph

31680 Commits

Author SHA1 Message Date
Treehugger Robot
cd330b324f Merge "Add a demo page in OTA_analyzer." am: ceadd4cff1 am: 4c11f8c6e0 am: 0a461d9383 am: c0188deceb
Original change: https://android-review.googlesource.com/c/platform/development/+/1778765

Change-Id: I053dcb6f2d7152c9ca4b6399c98a652a844acd56
2021-07-26 21:48:52 +00:00
Treehugger Robot
c0188deceb Merge "Add a demo page in OTA_analyzer." am: ceadd4cff1 am: 4c11f8c6e0 am: 0a461d9383
Original change: https://android-review.googlesource.com/c/platform/development/+/1778765

Change-Id: I3c5b262dc3622c0c83835dd9c9f8e73d4b1455bf
2021-07-26 21:32:55 +00:00
Treehugger Robot
0a461d9383 Merge "Add a demo page in OTA_analyzer." am: ceadd4cff1 am: 4c11f8c6e0
Original change: https://android-review.googlesource.com/c/platform/development/+/1778765

Change-Id: I258169f4a44674e835ef8b1f38dec5f2b6249dbc
2021-07-26 21:14:57 +00:00
Treehugger Robot
4c11f8c6e0 Merge "Add a demo page in OTA_analyzer." am: ceadd4cff1
Original change: https://android-review.googlesource.com/c/platform/development/+/1778765

Change-Id: I4fc5c21fe6976afcd943bce4ff408f69b4441d3e
2021-07-26 20:53:37 +00:00
Treehugger Robot
ceadd4cff1 Merge "Add a demo page in OTA_analyzer." 2021-07-26 20:39:20 +00:00
Treehugger Robot
a1c3c9659b Merge "Add support for chain OTA generation." am: 4895d0a8b4 am: d5b6e875b0 am: da5830d990 am: e8e04e2b76
Original change: https://android-review.googlesource.com/c/platform/development/+/1776605

Change-Id: I9e8aa953790840346c16aa2aa17abead360aa60a
2021-07-26 17:53:33 +00:00
lishutong
cdf499330d Add a demo page in OTA_analyzer.
Please put an ota package and its target build as cf_x86_demo.zip and
cf_x86_target_file_demo into this directory: /public/files/

This OTA package and target build do not have to be complete - only the
manifest part in OTA package and .map files in target build are
necessary. The previous one can be generated using:
https://source.corp.google.com/android/vendor/google_tradefederation/contrib/src/com/google/android/tradefed/ota/util/PayloadUtil.java;l=196;bpv=1;bpt=1?q=PayloadUtil&sq=package:android
The following one can be generated by unzip and keep the .map files
only, zip again.

Add a demo page, now the user can view the complete function of
OTA_analyzer without uploading their own ota packages / android build.

Test: Mannual tested.
Change-Id: I7552e0222fc40e9a4b1aff9750f74cd3ed3f4feb
2021-07-26 17:51:51 +00:00
Treehugger Robot
e8e04e2b76 Merge "Add support for chain OTA generation." am: 4895d0a8b4 am: d5b6e875b0 am: da5830d990
Original change: https://android-review.googlesource.com/c/platform/development/+/1776605

Change-Id: If9c48597aae1d2da8f4d26668cd1ac375df6ff87
2021-07-26 17:42:07 +00:00
Treehugger Robot
da5830d990 Merge "Add support for chain OTA generation." am: 4895d0a8b4 am: d5b6e875b0
Original change: https://android-review.googlesource.com/c/platform/development/+/1776605

Change-Id: I629768bbec7e0d9f7ae4ad47c697c70ab3ab89d1
2021-07-26 17:29:50 +00:00
Treehugger Robot
d5b6e875b0 Merge "Add support for chain OTA generation." am: 4895d0a8b4
Original change: https://android-review.googlesource.com/c/platform/development/+/1776605

Change-Id: Idd6bf9445925ebb60df3cdebadb28fd873dcf50a
2021-07-26 17:12:58 +00:00
Treehugger Robot
4895d0a8b4 Merge "Add support for chain OTA generation." 2021-07-26 16:54:35 +00:00
Priyanka Patel
54abaae192 Merge "Property changes now show up on hierarchy view." 2021-07-26 08:33:17 +00:00
Treehugger Robot
cbb527debe Merge "Add batch generation to OTAGUI." am: 2e1cfae4fd am: 2f8719ccad am: b7b945a034 am: 90f26c90c1
Original change: https://android-review.googlesource.com/c/platform/development/+/1775726

Change-Id: I452e06108a30cc0c633141641fec0e282c7c21f8
2021-07-23 23:34:32 +00:00
Treehugger Robot
90f26c90c1 Merge "Add batch generation to OTAGUI." am: 2e1cfae4fd am: 2f8719ccad am: b7b945a034
Original change: https://android-review.googlesource.com/c/platform/development/+/1775726

Change-Id: I1a9e33977fb225538911cdbd49d4c7c94446401c
2021-07-23 23:24:54 +00:00
Treehugger Robot
b7b945a034 Merge "Add batch generation to OTAGUI." am: 2e1cfae4fd am: 2f8719ccad
Original change: https://android-review.googlesource.com/c/platform/development/+/1775726

Change-Id: I8a58ce94715ee7034827c6a4bf0b6e0a0f60edd7
2021-07-23 23:07:22 +00:00
Treehugger Robot
2f8719ccad Merge "Add batch generation to OTAGUI." am: 2e1cfae4fd
Original change: https://android-review.googlesource.com/c/platform/development/+/1775726

Change-Id: I230b943a2c54de6b052ee0de26ed73238ef7533f
2021-07-23 22:47:47 +00:00
Treehugger Robot
2e1cfae4fd Merge "Add batch generation to OTAGUI." 2021-07-23 22:17:19 +00:00
lishutong
bb3bc961d4 Add support for chain OTA generation.
To upgrade from the Android version A to Android version D, one could
directly generate an OTA package from A to D. But chances are (a) this
OTA package can be large and unstable (b) there are multiple other
devices are on version B or C. So generation of chain OTA packages
(A-->B-->C-->D) can help life easier.

Users will be able to select and sort the Android build in
`ChainOTAOptions.vue` component, and submit multiple jobs at the same
time using a OTAConfiguration from `JobSubmission.js`.

Test: Mannual tested.
Change-Id: I9f16f981af80900c18a571162146ce218ea96387
2021-07-23 19:52:28 +00:00
lishutong
c4b6c3a7dd Add batch generation to OTAGUI.
Batch generation of OTA packages is a important feature
requested by googler and partners: please refer to go/ota-dashboard-doc.
Given n incremental source builds and m target builds,
batch generation will generate n x m OTA packages in total.
If n=0, full OTA package will be generated.

The front end will be taking in the source/target lists and send the
request to backend one-by-one.

Test: mannual tested.

Change-Id: I769359ee69c7aa8c71704c4e119c374635554dfb
2021-07-23 19:18:52 +00:00
Yuntao Xu
bed3ca1d79 Merge "Convert HelloCompute/Android.mk to Android.bp" am: 287e52bff6 am: 1185764fe4 am: b8d0a3a9fa am: 41efa982cf
Original change: https://android-review.googlesource.com/c/platform/development/+/1711177

Change-Id: I7be35624009767ffc20808cb64f5c0a6895d5555
2021-07-23 18:54:39 +00:00
Treehugger Robot
1c64159b84 Merge "Refactor the frontend for batch generation." am: 89e47defef am: 8f08ab906f am: dd360e3272 am: 29fcd6e3de
Original change: https://android-review.googlesource.com/c/platform/development/+/1775725

Change-Id: I577539b29927b06f03f64b0456ad42d7fe7011f8
2021-07-23 18:54:26 +00:00
Yuntao Xu
41efa982cf Merge "Convert HelloCompute/Android.mk to Android.bp" am: 287e52bff6 am: 1185764fe4 am: b8d0a3a9fa
Original change: https://android-review.googlesource.com/c/platform/development/+/1711177

Change-Id: I8092b62cbbd6ebd57fd0e295db33d57596b4a941
2021-07-23 18:38:27 +00:00
Treehugger Robot
29fcd6e3de Merge "Refactor the frontend for batch generation." am: 89e47defef am: 8f08ab906f am: dd360e3272
Original change: https://android-review.googlesource.com/c/platform/development/+/1775725

Change-Id: Ia7570629a41ccde69538a7f1bc4c22eb618b0831
2021-07-23 18:38:10 +00:00
Yuntao Xu
b8d0a3a9fa Merge "Convert HelloCompute/Android.mk to Android.bp" am: 287e52bff6 am: 1185764fe4
Original change: https://android-review.googlesource.com/c/platform/development/+/1711177

Change-Id: Ic6fb03d83685ddf7103362f0100a65ec82cda9ab
2021-07-23 18:23:51 +00:00
Yuntao Xu
1185764fe4 Merge "Convert HelloCompute/Android.mk to Android.bp" am: 287e52bff6
Original change: https://android-review.googlesource.com/c/platform/development/+/1711177

Change-Id: Iedc1db6dab9081f7c3ba2896de1c058785e7f885
2021-07-23 18:18:02 +00:00
Treehugger Robot
dd360e3272 Merge "Refactor the frontend for batch generation." am: 89e47defef am: 8f08ab906f
Original change: https://android-review.googlesource.com/c/platform/development/+/1775725

Change-Id: I16cc34cf94fc78d7e0e5e741b7295aeb7dfc04a3
2021-07-23 18:17:50 +00:00
Yuntao Xu
287e52bff6 Merge "Convert HelloCompute/Android.mk to Android.bp" 2021-07-23 17:47:36 +00:00
Treehugger Robot
8f08ab906f Merge "Refactor the frontend for batch generation." am: 89e47defef
Original change: https://android-review.googlesource.com/c/platform/development/+/1775725

Change-Id: I0e9ccb6d87ced9b6bdf2d0f0035bbeb18a45ea29
2021-07-23 17:30:24 +00:00
Treehugger Robot
89e47defef Merge "Refactor the frontend for batch generation." 2021-07-23 16:49:11 +00:00
lishutong
aaf2c7a933 Refactor the frontend for batch generation.
Following part has been modified:

1. Add tabs for selection between single generation and batch
generation. (src/components/JobConfigure.vue)

2. Change the data structure of OTAConfiguration, now it only records
the flags. The source/target build will be provided when submit jobs.
(src/services/JobSubmission.js)

3. Seperate the OTAOptions as a single component, which only takes in
the flags for backend. The selection of source/target build will be in a
seperate component. (src/components/OTAOptions.vue,
src/components/SingleOTAOptions.vue).

4. Now the partition selection can takes in more than one build, but
only show the partition list of first one. Later on, this will be able
to show the intersection of the partition lists from all given builds.
(src/components/PartialCheckbox.vue)

Point 1 enables the possibility of the dynamical loading of single/batch
ota generation pages. Point 2,3,4 allow the OTAOptions components to
be reused for batch generation.

Test: Mannual tested.
Change-Id: I1a29fa7c605596d717d19da25d31b81ce5b8fcba
2021-07-23 15:09:31 +00:00
Shashwat Kansal
82755572da Merge "Fix [Object object] appearing on surfaceflinger trace" 2021-07-23 10:15:57 +00:00
Yuntao Xu
4945a032a0 Convert HelloCompute/Android.mk to Android.bp
1. converted the Make file to a Soong one;
2. handled the .rscript files by genrule (to include the same commands used when build
with the former .mk file);
3. the differences observed in the apks before and after the conversion
are the same as in http://b/186244109, which should not affect the
conversion here;
4. the same result was observed when run the two apks on a physical
phone(Pixel 3a XL (bonito));
5. test commands:
mma -j RsHelloCompute
adb install -r ~/aosp/out/target/product/bonito/system/app/RsHelloCompute/RsHelloCompute.apk
adb shell am start -S -n com.example.android.rs.hellocompute/.HelloCompute

Bug: 124261647
Test: compared the two apk files built by Make and Soong
Test: run two apks on a Pixel 3a XL (bonito) phone
Test: TreeHugger
Change-Id: I93a536ccedd9abe5ceb99d73d96668f0a861fb51
2021-07-22 16:25:28 -07:00
Priyanka
68ad98ea8d Property changes now show up on hierarchy view.
Entries that have a modification are now highlighted in cyan on the
hierarchy view.

Test: Find any entry, run a trace - if any properties change at a
particular timestamp they should be highlighted as cyan on the hierarchy
view.

Bug: b/162302603
Change-Id: I1d187ac669f1ff479b7f4e46903576380454a709
2021-07-22 16:50:15 +00:00
Shashwat
80ea554101 Fix [Object object] appearing on surfaceflinger trace
When traversing tree of the transformObject, _transform function with
some fields did not have a key and instead had a terminal class. This
has been updated to display the key string.

Bug: 190176285

Test: Using a pb file giving a object object previously and clicking
show diff on all, see that no object object appears now.

Change-Id: I7fa3db3a631209e1d5e1f771a93d7b3e57694309
2021-07-21 15:53:22 +00:00
Nataniel Borges
cccfe2697e Display transform on the SF traces
The transform flicker object doesn't have a "isNotEmpty" property
(return undefined) and was being ignored. Instead check if
object.isEmpty === true to allow objects without a isNotEmpty
property to be displayed

Bug: 176906864
Test: compile winscope, take a SF trace, check if the layers have a
trasnform property
Change-Id: Ia466dd6b5e9f5e08fad515d31122206b6bd9898a
2021-07-21 12:51:14 +02:00
Shashwat Kansal
5203d6b08d Merge "Update Snackbar to not allow text to overflow." 2021-07-21 08:20:48 +00:00
Treehugger Robot
341009106e Merge "Fix a bug that job might not be able to be started properly." am: c8c2db4db6 am: d46f1bf46a am: 5d51e2905e am: 193fe3bc48
Original change: https://android-review.googlesource.com/c/platform/development/+/1773226

Change-Id: I52fe2467a332b0e12fa9f498cd0ff88ea5febade
2021-07-20 22:13:31 +00:00
Treehugger Robot
193fe3bc48 Merge "Fix a bug that job might not be able to be started properly." am: c8c2db4db6 am: d46f1bf46a am: 5d51e2905e
Original change: https://android-review.googlesource.com/c/platform/development/+/1773226

Change-Id: Ib71b8874f06d1200b6c9155523ab30e1e3239c56
2021-07-20 21:55:53 +00:00
Treehugger Robot
5d51e2905e Merge "Fix a bug that job might not be able to be started properly." am: c8c2db4db6 am: d46f1bf46a
Original change: https://android-review.googlesource.com/c/platform/development/+/1773226

Change-Id: Ia97fc623290b246705bafb32e2d1579cd968bde9
2021-07-20 21:37:59 +00:00
Treehugger Robot
d46f1bf46a Merge "Fix a bug that job might not be able to be started properly." am: c8c2db4db6
Original change: https://android-review.googlesource.com/c/platform/development/+/1773226

Change-Id: Ice2b529d02ec3889c0728e41c5e1829453bab475
2021-07-20 21:28:42 +00:00
Treehugger Robot
c8c2db4db6 Merge "Fix a bug that job might not be able to be started properly." 2021-07-20 21:17:41 +00:00
Treehugger Robot
ca0ab0d4ed Merge "Add all possible flags to the front end." am: 2f5326c0d6 am: 0bfc59bfc4 am: ea8c89a7f0 am: 90d6eefbd8
Original change: https://android-review.googlesource.com/c/platform/development/+/1771648

Change-Id: Ieda1ac84a673229a258a2aa80828a4ceffc78b3a
2021-07-20 20:46:28 +00:00
Treehugger Robot
90d6eefbd8 Merge "Add all possible flags to the front end." am: 2f5326c0d6 am: 0bfc59bfc4 am: ea8c89a7f0
Original change: https://android-review.googlesource.com/c/platform/development/+/1771648

Change-Id: Iba9d4de7ba7466a4c830af075568cde9aa70bbd1
2021-07-20 20:31:12 +00:00
Treehugger Robot
ea8c89a7f0 Merge "Add all possible flags to the front end." am: 2f5326c0d6 am: 0bfc59bfc4
Original change: https://android-review.googlesource.com/c/platform/development/+/1771648

Change-Id: I563cf8d6fdbb5f19cc46547bb149271fa0bf562a
2021-07-20 20:07:28 +00:00
Treehugger Robot
0bfc59bfc4 Merge "Add all possible flags to the front end." am: 2f5326c0d6
Original change: https://android-review.googlesource.com/c/platform/development/+/1771648

Change-Id: Iddf63cf0216470053ed8ae03dab364379b4072b2
2021-07-20 19:48:25 +00:00
Treehugger Robot
2f5326c0d6 Merge "Add all possible flags to the front end." 2021-07-20 19:28:33 +00:00
Kelvin Zhang
c5781d850e Merge changes I1e45d3ef,I4117f5d9 am: c37be89c82 am: 48666960dd am: 13e7f84a1a am: 07f2f4b5d7
Original change: https://android-review.googlesource.com/c/platform/development/+/1772906

Change-Id: Idece32f2a0f37fdc4e5044797eaa4a561b1bd2bb
2021-07-20 18:52:24 +00:00
Logan Chien
b717d951d2 Merge "repo-review: Trim trailing slashes to avoid errors" am: 8ce5136cb5 am: 277c298174 am: 8416619ba9 am: eb9d88f5fa
Original change: https://android-review.googlesource.com/c/platform/development/+/1771795

Change-Id: I55262de521793e54b45186bb47fcd85c879e5c1a
2021-07-20 18:52:16 +00:00
Kelvin Zhang
07f2f4b5d7 Merge changes I1e45d3ef,I4117f5d9 am: c37be89c82 am: 48666960dd am: 13e7f84a1a
Original change: https://android-review.googlesource.com/c/platform/development/+/1772906

Change-Id: I19575fba56d4fb244e9646e46105a29242e59319
2021-07-20 18:36:07 +00:00
Logan Chien
eb9d88f5fa Merge "repo-review: Trim trailing slashes to avoid errors" am: 8ce5136cb5 am: 277c298174 am: 8416619ba9
Original change: https://android-review.googlesource.com/c/platform/development/+/1771795

Change-Id: I1b2b54c9ae00f453f278ca32359f8543bfa429b1
2021-07-20 18:35:29 +00:00