Commit Graph

3641 Commits

Author SHA1 Message Date
Pablo Gamito
7cdea29458 Highlight parent treeview line on node hover
Test: Visual
Change-Id: I2ea762dc8184e6a150cf2c477a834bdafd7462a1
2020-07-23 18:20:18 +01:00
Pablo Gamito
c4405d0a09 Add filter for origin PID and UID
Test: Try out the filter in the UI
Change-Id: I1fbff572fd7a5e2761664fa97bed58a18955997c
2020-07-23 10:51:57 +01:00
Pablo Gamito
80a493d391 Use layerName for surface name filter rather than obj name
Obj name is not always set but layerName is so will make filter results for accurate

Test: Check if surface name filter finds all relevant transactions
Change-Id: Ie2f46bfc678d567c1420630d47174a148a451e27
2020-07-23 10:51:57 +01:00
Pablo Gamito
98cf1968c7 Display information about applied from main thread
Test: N/A
Change-Id: Ie9acdbc8a991f4726249f0d7fa9db9b853a870f1
2020-07-23 10:51:57 +01:00
Pablo Gamito
108b5eb44a Merge changes I6c36b715,Ib0c7a93e,Ia2f5d7ba,Id8bfdcfb,I2af03ef4
* changes:
  Ignore files decoded as empty transaction files
  Add snackbar dismiss button
  Add warning if files are overriden on upload
  Scan through entire archive to find matching files
  Add snackbar messages for data input loading
2020-07-23 09:48:05 +00:00
Pablo Gamito
f77c452779 Ignore files decoded as empty transaction files
When uploading an archive files will fallback to being decoded as empty transaction files so we want to ignore these when decoding an archive.

Test: Upload bug report and see if any empty transaction file are loaded
Change-Id: I6c36b7155133f2c2b9ddfe96858e233c4c9f4176
2020-07-21 14:48:23 +01:00
Pablo Gamito
afbfa78477 Add snackbar dismiss button
Test: Click on button and seem if snackbar is dismissed
Change-Id: Ib0c7a93e8cbc2b8b1a71890b1fd0c2d3ba19dadc
2020-07-21 12:25:49 +01:00
Pablo Gamito
586756fff5 Add warning if files are overriden on upload
Test: Upload files of the same type and check that message appears
Change-Id: Ia2f5d7ba12dc03a36f42dc1debe7d35be98bfd67
2020-07-21 12:25:36 +01:00
Pablo Gamito
348275daec Scan through entire archive to find matching files
Test: Upload .zip and see if all relevant files are picked up
Change-Id: Id8bfdcfb969032a6d5cec7e20a89ff9ef3db2706
2020-07-21 10:37:22 +01:00
Pablo Gamito
8263930939 Add snackbar messages for data input loading
Test: Try loading file and see if the snackbar appears properly
Change-Id: I2af03ef4dedebc3c5e06efc318a5bc8afba1ab9a
2020-07-21 10:34:28 +01:00
Yo Chiang
0705d30583 Merge "repo_pull: Disable bare-except warning" am: 9520c3f968 am: 39c1b841a1 am: 6b7175ebba am: 5a206f0ecb am: 467b403abd
Original change: https://android-review.googlesource.com/c/platform/development/+/1363359

Change-Id: I1e1e7d707b720dab3b6f3405cc2a52566b881247
2020-07-20 09:40:26 +00:00
Yo Chiang
3c85d94ec7 Merge "repo_pull: Add missing import" am: 02006e0199 am: 129197815d am: b88712f60f am: 89c4133b54 am: 528b37a7cc
Original change: https://android-review.googlesource.com/c/platform/development/+/1363360

Change-Id: I279c94256ea8c9b0131b8500fd0dab926f903136
2020-07-20 09:40:19 +00:00
Yo Chiang
eedbb3f90e Merge "repo_pull: Fix ungrouped-imports warnings" am: 80e39b9d5c am: 8effe40083 am: a9ae82c091 am: 988e39e41c am: 3136cf4a51
Original change: https://android-review.googlesource.com/c/platform/development/+/1363357

Change-Id: Id376d708ca71b3ad5422eff56cb5df1d04d65171
2020-07-20 09:40:03 +00:00
Yo Chiang
6b7175ebba Merge "repo_pull: Disable bare-except warning" am: 9520c3f968 am: 39c1b841a1
Original change: https://android-review.googlesource.com/c/platform/development/+/1363359

Change-Id: Ib46c0efe1ea8bb160d9ceb7c45d622596fe82f79
2020-07-20 09:11:45 +00:00
Yo Chiang
b88712f60f Merge "repo_pull: Add missing import" am: 02006e0199 am: 129197815d
Original change: https://android-review.googlesource.com/c/platform/development/+/1363360

Change-Id: I436f7dbf9e5a0e9d80669cb22a598937b64f93ed
2020-07-20 09:11:39 +00:00
Yo Chiang
a9ae82c091 Merge "repo_pull: Fix ungrouped-imports warnings" am: 80e39b9d5c am: 8effe40083
Original change: https://android-review.googlesource.com/c/platform/development/+/1363357

Change-Id: Iac4ab79f1cf649eb3a861fd46bf63b9dc6c9ef61
2020-07-20 09:11:32 +00:00
Yo Chiang
9520c3f968 Merge "repo_pull: Disable bare-except warning" 2020-07-20 08:48:56 +00:00
Yo Chiang
02006e0199 Merge "repo_pull: Add missing import" 2020-07-20 08:48:22 +00:00
Yo Chiang
80e39b9d5c Merge "repo_pull: Fix ungrouped-imports warnings" 2020-07-20 08:48:07 +00:00
Pablo Gamito
cdbcfadd90 Disable diffs by default
Test: N/A
Change-Id: I0d249ba8411c6589f82f099728c5aa7154edf1f8
2020-07-17 10:44:30 +01:00
Yo Chiang
00302923aa Merge "repo_pull: Remove required -g param in repo_review" am: 781e401ba0 am: e893b04b75 am: 6f5993af4f am: c1645f11fd am: 785899b0d0
Original change: https://android-review.googlesource.com/c/platform/development/+/1363356

Change-Id: Id882df8413fc19c634b7b2a6c42b256fcf258995
2020-07-16 12:45:16 +00:00
Pablo Gamito
aea32f69b1 Merge "Translate property int flags to their respective string identifier" 2020-07-16 12:18:55 +00:00
Yo Chiang
6f5993af4f Merge "repo_pull: Remove required -g param in repo_review" am: 781e401ba0 am: e893b04b75
Original change: https://android-review.googlesource.com/c/platform/development/+/1363356

Change-Id: I37a77cdaf905fe0bf58ad8eebcdff36873aec71a
2020-07-16 12:08:36 +00:00
Luca Stefani
edc569c60c repo_pull: Disable bare-except warning
Change-Id: I6a4af635811dc5d807196812e7782070fe230990
2020-07-16 11:58:31 +00:00
Kensuke Miyagi
f8e77e2449 Merge "Support all the partitions in privapp_permissions.py" 2020-07-16 01:48:33 +00:00
Pablo Gamito
33d3e864d3 Translate property int flags to their respective string identifier
Test: Manual
Change-Id: I1e596652a5b690e115b8a9aeb8fa4c25af1d1007
2020-07-15 12:12:50 +01:00
Luca Stefani
a00ac2bad6 repo_pull: Add missing import
Change-Id: Ieaeb8524e9543ecb962236c009e62f6b8d89ffaf
2020-07-15 09:21:11 +00:00
Luca Stefani
5e45299741 repo_pull: Fix ungrouped-imports warnings
Change-Id: Ie34a8130e04cbfaa99beb6566cd07662011bdbc9
2020-07-15 09:20:36 +00:00
Pablo Gamito
0e6a8c157e Merge "Update ADB connect proxy box buttons" 2020-07-15 09:13:44 +00:00
Luca Stefani
37e6441478 repo_pull: Remove required -g param in repo_review
* Also add missing import
* Update README to reflect new parameters

Change-Id: I929b165430d9ad3585c86fe771b7838804b9d2ea
2020-07-15 08:59:01 +00:00
Pablo Gamito
606f429e24 Update ADB connect proxy box buttons
Test: N/A
Change-Id: Id023720927ca736539d9ebddd93644c5fbad58e3
2020-07-14 12:33:29 +01:00
Yo Chiang
132ff00ac9 Merge "repo_pull: Automatically extract gerrit instance from repo manifest" am: 9160fbc06f am: 4b1b426db2 am: b4d79d9975 am: 0bab7e477d am: b1d8896a08
Original change: https://android-review.googlesource.com/c/platform/development/+/1353903

Change-Id: I231ec4e29fed04b0cacd7f9b1ca510bce55e8bb6
2020-07-14 06:25:23 +00:00
Yo Chiang
b4d79d9975 Merge "repo_pull: Automatically extract gerrit instance from repo manifest" am: 9160fbc06f am: 4b1b426db2
Original change: https://android-review.googlesource.com/c/platform/development/+/1353903

Change-Id: If78c097df1649ea48a16dae2611934a45fc1bdf6
2020-07-14 05:48:47 +00:00
Luca Stefani
bd2e580b4d repo_pull: Automatically extract gerrit instance from repo manifest
Test: ./development/tools/repo_pull/repo_pull.py pull topic:hidl-vndk
Change-Id: I44974ec5df65e404591d35c39238d58207001110
2020-07-13 18:02:45 +00:00
Pablo Gamito
91472cd21c Merge "Simplify window, activity record, and layer names" 2020-07-13 17:04:58 +00:00
Pablo Gamito
265cbbc665 Simplify window, activity record, and layer names
Test: N/A
Change-Id: Ic7d4cfaf17f75eabf84fc1086b60eb56030432ec
2020-07-13 16:35:00 +01:00
Pablo Gamito
f1147d1c30 Prevent extra indentation from border
Test: Check if the diff visualization color highlight doesn't over indent in children due to borders
Change-Id: I4ffd4059a04bf06d3009ceffe06a4c729c76844f
2020-07-13 14:28:38 +01:00
Pablo Gamito
a8eeef8a7d Make diff toggle responsive
Makes sure that when show diff is toggled the UI tree responds to that change

Test: Toggle the diff in different TreeViews and check if the diff appears and disapears
Change-Id: I260bed717f2998c6b1a2d71a011e756f64a19990
2020-07-13 12:58:00 +01:00
Pablo Gamito
4c7d95cab7 Update transaction obj transformations to use ObjectTransformer
Test: N/A
Change-Id: I3b2edcc346d8316ca7dc5989ef5c5b5c6675bb41
2020-07-13 12:02:20 +01:00
Pablo Gamito
4c981a8634 Merge "Check TreeView node has children before getting length" 2020-07-13 10:47:18 +00:00
Pablo Gamito
7813a794b3 Check TreeView node has children before getting length
Test: Make sure error in console no longer appears.
Change-Id: Ie54f1cba52be4cd0d3da0a6ba44401930c884c3b
2020-07-13 10:44:58 +01:00
Pablo Gamito
42cef4babb Add log level filter
Test: Try out log filter and make sure only selected level are visible.
Change-Id: I38aeb0c4b0247c84a30565176c98ff2d43946f0f
2020-07-13 10:06:45 +01:00
Pablo Gamito
4d04640647 Add log level to protoLogs
Test: N/A
Change-Id: I9f0d90238e9e6598fe2b6d9ff1e886b8fb513c71
2020-07-13 10:06:11 +01:00
Pablo Gamito
bbc7a56874 Update log entries to scale better with window sizes and message lengths
Test: Resize window and look at different log messages to see if logs still look good.
Change-Id: I8dc967f3689d1d53091c23f672f26d339ae73759
2020-07-13 10:06:11 +01:00
Pablo Gamito
f0031c49ce Handle no protoLogs case better
Test: N/A
Change-Id: I43f0b266f142b50f0fe8a2ee7e0554b51e358c0e
2020-07-13 10:06:11 +01:00
Julien Desprez
03119f3354 Delete hosttestlib as it's a legacy approach
This shouldn't be used anymore.

Test: make
Bug: 160907589
Change-Id: Id4fbba95e09dc725721635b074aa264bac29193c
2020-07-09 14:57:56 -07:00
Kensuke Miyagi
dfa7971a16 Support all the partitions in privapp_permissions.py
Reference: https://source.android.com/devices/tech/config/perms-whitelist

Test: Tested the example scanarios in the usage description with and
without adb

Change-Id: I3098f67f7c36b11efc9e7e35db0d97a47d152a81
2020-07-06 22:03:15 -07:00
Pablo Gamito
b3231d070b Add navigation style options
Add options to specify which times lines you want to track in navigation

Test: Manually
Change-Id: I0879c09e844c9368245f6d5bac4c1f275ac3aaa3
2020-07-03 15:32:18 +01:00
Pablo Gamito
a1daf295c2 Make sure a timestamp is set as soon as files are available
Test: N/A
Change-Id: I1e7c63e79cc3775a145f7999689d64169f064d7f
2020-07-03 13:25:43 +01:00
Pablo Gamito
49a9918722 Allow timelines to be disabled
This makes it possible to exclude timelines from interfering with navigation if we want to focus on a single trace.

Test: Disable timelines in UI and see if when you navigate with the arrow those timeline are taken into account.
Change-Id: I330d0d88c1f88a0c520073c93b8bdfd119ded75c
2020-07-03 13:13:54 +01:00