Commit Graph

3641 Commits

Author SHA1 Message Date
Pablo Gamito
9d8d6e3f86 Update advance timeline for deterministic moves
Test: Move around the timeline and make sure all move are deterministic in both directions.
Change-Id: Icb3b88d9fb395c188ffddab850322a56fb201fc8
2020-07-03 13:13:54 +01:00
Pablo Gamito
f498b009dc Track focused dataview
Test: Scroll around UI can check the focused component is set as expected.
Change-Id: I98cc6872a92975c5fbeb7a9bad852801f2ff52c1
2020-07-03 13:13:51 +01:00
Pablo Gamito
5c7db1e8c7 Update structure of file storage to a file type map
This will make is easier to get a file of a specifc type and have ordering between files of different types either for timeline iteration or displaying.

Test: Make sure data views always show in the same order and everything else still works.
Change-Id: I5e3a728ee5e5eb1d56a72cffdd9203dcf2dfb347
2020-07-03 13:13:29 +01:00
Pablo Gamito
e33515dc07 Reposition video overlay toggle button
Test: N/A
Change-Id: If4f1ab1cf7e29c618479d8725f70f04b95bd5493
2020-07-03 13:13:29 +01:00
Pablo Gamito
c43429a23c Merge "Update UI to be more minimialistic" 2020-07-02 17:27:56 +00:00
Pablo Gamito
050e20b8a9 Update UI to be more minimialistic
Test: N/A
Change-Id: I922edcb62d9c8fd61e4dc5fb3499ba87351422fc
2020-07-02 15:27:05 +01:00
Pablo Gamito
7d8c7951af Merge "Show diff of children in collapsed nodes" 2020-07-02 14:09:54 +00:00
Jorim Jaggi
3cebeac9ef Merge changes from topic "diff-visualizer"
* changes:
  Add diff visualization toggle
  Add tag for moves in diff visualizaion
  Disable diff visualization if proto is incompatible
  Add tests for ObjectTransformer class
  Add tests for DiffGenerator class
  Add support for testing using Jasmine
  Implement diff for SurfaceFlinger and WindowManager hierarchy
  Implement diff transformation for properties
2020-07-02 13:49:30 +00:00
Pablo Gamito
1540ab4fcf Fix syntax error in constant declaration
Test: Make sure app compiles
Change-Id: Iae42c10bb7b9ca0e989db264f0fe5e0db15b3f3c
2020-07-01 18:22:26 +01:00
Pablo Gamito
6f22e815a6 Merge changes I0d9a68d9,I4a03c854
* changes:
  Add option to download all traces as zip
  Fetch files from ABT extension
2020-07-01 16:55:20 +00:00
Pablo Gamito
98f0ef1cb1 Add option to download all traces as zip
Test: Click button and then reupload them to see if traces are correctly downloaded
Change-Id: I0d9a68d92dbc7fd68ba07fa94892b86db3337f9a
2020-07-01 15:22:44 +01:00
Pablo Gamito
c2ff98494d Fetch files from ABT extension
Test: Open bug report in winscope from buganizer using extension and see if files load
Change-Id: I4a03c8549ae17152d37c44c16a98da2e298031ea
2020-07-01 15:21:28 +01:00
Pablo Gamito
fece76aa7c Merge "Add origin (PID & UID) to transactions" 2020-07-01 12:27:44 +00:00
Yo Chiang
305c88a619 Merge "Refine repo_pull.py" am: efc8981299 am: 9c80ee5a59 am: fcdbf586e3 am: 204220e892 am: bc805570d4
Original change: https://android-review.googlesource.com/c/platform/development/+/1345396

Change-Id: I3379235a6657dc506d50f4d7e6e7229ed3f0c2a0
2020-07-01 03:32:39 +00:00
Yo Chiang
fcdbf586e3 Merge "Refine repo_pull.py" am: efc8981299 am: 9c80ee5a59
Original change: https://android-review.googlesource.com/c/platform/development/+/1345396

Change-Id: I581558866bfa4453ce4d389bae7aeb36e56c8f65
2020-07-01 02:52:58 +00:00
Pablo Gamito
8c32c631e2 Show diff of children in collapsed nodes
If the tree is collapsed show that there has been a change inside the collapsed tree by highligthing the expansion ellispes.

Test: Manual
Change-Id: I250c8a5931b19209afbe82af13496c3e7ac7b4aa
2020-06-30 14:35:52 +01:00
Pablo Gamito
17f29095b4 Add diff visualization toggle
Test: N/A
Change-Id: I556bf9003970304762e8071f8bd962a83cec2625
2020-06-30 12:59:08 +01:00
Pablo Gamito
cd2e505523 Add tag for moves in diff visualizaion
Test: N/A
Change-Id: Ic01b3d8af99e3c34a5b554b010835f7efb6bbf77
2020-06-30 12:59:08 +01:00
Pablo Gamito
eac2e9220c Disable diff visualization if proto is incompatible
Test: N/A
Change-Id: I0c21943c60f72b34c78aeb0e6f80fe1a71e9e70c
2020-06-30 12:59:05 +01:00
Pablo Gamito
8980facbab Add tests for ObjectTransformer class
Test: N/A
Change-Id: If3b8e2fd74c8b7eb0234af1568c0d8cd5dd2e2ad
2020-06-30 12:59:02 +01:00
Pablo Gamito
2eddd105b2 Add tests for DiffGenerator class
Test: N/A
Change-Id: Ifa4103c37960af20248d4b3ce39b2a823d227518
(cherry picked from commit 12150c59585f490398f09e8e56a0a46c500a8e05)
2020-06-30 12:59:02 +01:00
Pablo Gamito
5ebda11b7a Add support for testing using Jasmine
Test: N/A
Change-Id: I923393cc41d4cec5b39b2213db5a9b56bddaef34
2020-06-30 12:59:00 +01:00
Pablo Gamito
e9ed4d5ca3 Implement diff for SurfaceFlinger and WindowManager hierarchy
Test: N/A
Change-Id: I3dea4f29de74a8754cf3164d41c7eb3d76c239a8
2020-06-30 12:58:53 +01:00
Pablo Gamito
aa2c1335ac Implement diff transformation for properties
Test: N/A
Change-Id: Ib231e617db3d87fe1abe20e95137d9af17572d19
2020-06-30 12:58:19 +01:00
Pablo Gamito
1b288ee538 Add origin (PID & UID) to transactions
Test: N/A
Change-Id: I891ad31a0d4c5ed35dd387c8e3f3539004dd09ca
2020-06-30 09:41:08 +01:00
Pablo Gamito
267b7ef1f7 Use virtual list for transactions log view
Test: N/A
Change-Id: Ie57b96e55a3022967455a40c2e2e3135cb3ce1e0
2020-06-30 09:41:08 +01:00
Pablo Gamito
1c383fda15 Collapse changes tree by default
Test: N/A
Change-Id: I65b9d8beff4bad34ffa3f8e82c9ce733126f81d1
2020-06-30 09:41:08 +01:00
Pablo Gamito
1d74cf96d8 Add support for named surfaces filters
Test: N/A
Change-Id: I0cc7385df06ad889845b78310360a66265a7af11
2020-06-24 16:22:03 +01:00
Pablo Gamito
996f8dfd8f Add surface name in transaction logs when available
Test: N/A
Change-Id: I911c7b162f887230a5550fff08f902101c37b2a2
2020-06-24 16:22:02 +01:00
Pablo Gamito
961db4a8ff Add property changed filter to transcationView
Test: N/A
Change-Id: Iee90ce316a1bb9bf7cda57ce6945480323eee112
2020-06-24 16:21:59 +01:00
Pablo Gamito
3114c7b669 Add surfaces affected column to transactions table
Test: N/A
Change-Id: I04469f07119ed1de8d3adf79ced1587f8ff94d08
2020-06-24 16:21:57 +01:00
Pablo Gamito
eeef9a0360 Use material table component slot option instead of v-for loop
Test: N/A
Change-Id: I1e1fb9e3d2e62122c178f705ed5a0ada5f31bf7c
2020-06-24 16:21:56 +01:00
Pablo Gamito
bd47ff7863 Add treeView to visualize changes in transaction
Test: N/A
Change-Id: Ida61733f1cc73b3bee4d3963b1bc17dfe2b626fc
2020-06-24 16:21:43 +01:00
Pablo Gamito
d07c46dc6b Implement type and id filters for transactions log
Test: N/A
Change-Id: Ie1a5f69dacbfafd6524cac6e16bf1491cfad48e4
2020-06-24 16:21:28 +01:00
Pablo Gamito
f5c5dfb578 Implement basic log-like transactions view
Test: N/A
Change-Id: I18ae9d5896e30a0ba26b4d30239cb04360dbaac8
2020-06-24 16:21:15 +01:00
Pablo Gamito
ac2e043ab3 Update transactions transformations to be log-like
Test: N/A
Change-Id: I7a82f4812980e559dcbea69854691534221030f5
2020-06-24 16:18:20 +01:00
Yo Chiang
8eb3d4fae0 Refine repo_pull.py
Use `repo manifest` command to retrieve manifest.
Change working directory to $ANDROID_BUILD_TOP before executing
commands.

Bug: 159346230
Test: ./repo_pull.py bash '<some commit query>' \
  -g https://android-review.googlesource.com
Change-Id: Ie5d29a4ae7b4b0e00c0900c8445e318dac807c77
2020-06-24 18:54:15 +08:00
Pablo Gamito
ed7094068f Support upload of bug report zip
Test: Manual
Change-Id: I6465f4d6761c5cf6cb7dd9fd2d86210e167a3b18
2020-06-22 09:33:25 +01:00
Pablo Gamito
3db5c7da07 Add support for uploading multiple files at once
Test: Manual
Change-Id: I9865ba87aa8c4dedd464af9b282c7d670f1c15fe
2020-06-22 09:33:25 +01:00
Pablo Gamito
09b3f56da5 Add @babel/polyfill to support async/await
Test: Manual
Change-Id: Ib46088efb9e3972c157001675fe739451eeaee6b
2020-06-22 09:33:23 +01:00
Pablo Gamito
bb31f2f5ab Add proto transformation tests to avoid regression
Test: Run the tests with yarn run test
Change-Id: Ic562bf24b4c4e2c6db77a75890ebf2f9753f9441
2020-06-19 17:50:08 +01:00
Pablo Gamito
21e49eb0e2 Add support for testing using Jasmine
Test: N/A
Change-Id: Ieb7c8b9470ec9bb7976a1732f34bda938d6859c3
2020-06-19 17:44:29 +01:00
Pablo Gamito
6a4a85f121 Merge "Add backwards compatibility for traces without bounds field" 2020-06-19 09:12:26 +00:00
Pablo Gamito
7d1561e4db Merge "Only show overlay if timeline exists" 2020-06-19 09:07:14 +00:00
Pablo Gamito
54bc0347b1 Merge "Only show bottom navigation resize if video is present" 2020-06-18 17:08:36 +00:00
Pablo Gamito
41ab448fbe Only show overlay if timeline exists
Test: N/A
Change-Id: Ia9e9c17a82244e76783acf2a2aa1ed73efd9f633
2020-06-18 18:04:56 +01:00
Pablo Gamito
cebad75077 Only show bottom navigation resize if video is present
Test: N/A
Change-Id: Ibef7ef93b5a542aa332b66e26d6ec22f71c15820
2020-06-17 19:04:44 +01:00
Pablo Gamito
2ee3932d23 Merge "Improve LogView performance with virtual list" 2020-06-17 16:24:12 +00:00
Pablo Gamito
e3e4780c0f Merge "Add tooltip description to pin button" 2020-06-17 09:58:24 +00:00
Pablo Gamito
7099c952af Improve LogView performance with virtual list
Drastically improves the performance of the LogView when there are lots of log entries by using the same concepts as Android's RecyclerView

Test: Manually
Change-Id: I87ae0a7b1f4e6881928a6893c0a114f879a987e9
2020-06-17 10:28:54 +01:00