Commit Graph

31660 Commits

Author SHA1 Message Date
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
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
lishutong
f084110dbe Fix a bug that job might not be able to be started properly.
A variable name was mispelled and it could lead to jobs unable to be
started.

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

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

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

Change-Id: Ie067ce8d4953d5e56eebedca290f2cafd1052a81
2021-07-20 17:57:43 +00:00
Logan Chien
277c298174 Merge "repo-review: Trim trailing slashes to avoid errors" am: 8ce5136cb5
Original change: https://android-review.googlesource.com/c/platform/development/+/1771795

Change-Id: I2e63ab9596a70f9247701a05f37d54fa9590df56
2021-07-20 17:57:01 +00:00
Kelvin Zhang
c37be89c82 Merge changes I1e45d3ef,I4117f5d9
* changes:
  Show the old and new partition infos in OTA analysis.
  Change the look of cross emoji.
2021-07-20 16:41:04 +00:00
Logan Chien
8ce5136cb5 Merge "repo-review: Trim trailing slashes to avoid errors" 2021-07-20 16:40:48 +00:00
lishutong
c0f6a27222 Show the old and new partition infos in OTA analysis.
Test: Mannual tested.
Change-Id: I1e45d3efaefc7368a72f1ed59d09fd48f01b4132
2021-07-20 16:33:49 +00:00
lishutong
85044ed571 Change the look of cross emoji.
Test: Mannual tested.
Change-Id: I4117f5d9986aece6da8c25757baed8f750cc438e
2021-07-20 15:46:13 +00:00
lishutong
fc0431fda1 Add all possible flags to the front end.
A complete set of flags for the CLI tool can be found in this script:
https://source.corp.google.com/android/build/make/tools/releasetools/ota_from_target_files.py

Now most of the flags are being added to the front end. However, there
are several TODOs:
1. flags that require extra arguements or file operations are not
supported yet.
2. the flags can depend or exclude on other flags. Dependency is
included in file 'JobSubmissions.js'-'OTAExtraFlags'. But the function
is not implemented yet.

Test: Mannual tested.
Change-Id: I3b6b76d48861cff81bfad86b549ff53f6536933b
2021-07-20 15:31:47 +00:00
TreeHugger Robot
fddfdf2a78 Merge "If only one trace is run, do not display navigation options for timeline." 2021-07-20 15:29:56 +00:00
TreeHugger Robot
283a321c3e Merge "Properties view expansion no longer tied to hierarchy view expansion." 2021-07-20 14:58:26 +00:00
TreeHugger Robot
8d1728a24d Merge "Add headers to Transactions and Log View tables." 2021-07-20 14:51:23 +00:00
Priyanka
1937a38275 If only one trace is run, do not display navigation options for
timeline.

Test: Run one trace. Check that there is no navigation drop down list to
the left of the timeline. Run multiple traces. Check that the navigation
drop down list now appears.

Bug: 162716882
Change-Id: Ic466dd6b5e9f5e08fad515d31122206b6bd9898f
2021-07-20 14:22:10 +00:00
Priyanka
81ed153564 Properties view expansion no longer tied to hierarchy view expansion.
If an element is selected in the hierarchy view, its properties are
displayed in the property view. If the element is subsequently collapsed
in the hierarchy, the properties remain expanded.

Test: Run a WM trace. Select an element in the hierarchy view. Check
its properties are visible. Collapse the element. The properties should
not collapse.

Bug: 187320866
Change-Id: I7b8fab7d5fa5e502ff1668381be42259a421431c
2021-07-20 14:15:20 +00:00
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