To monitor ninja inputs, generate ninja_inputs.pb as build metrics.
This will count the number of input files and required git projects,
with the number of files for each project.
Bug: 241033491
Test: $ cp .repo/manifests/default.xml out/dist/manifest_1.xml
$ development/multitree/build_vendor.sh -d vsoc_x86_64 \
-p cf_x86_64_phone -r out/dist -i 1
Change-Id: Ie185863f1c8fca313baba6135374d509e2d93937
With this change the exclude list file may have comments that start
with '#'
Test: Run collect_ninja_inputs.py with excluded file list that has
'#' comments
Change-Id: Ic2e3da8a34144426e00ebd45ee09ff9cb3b339bd
Window adb device contains a '\r' character,
translate string to integer comparing.
Bug: 232488036
Test: 1. Excute python.exe winscope_proxy.py on Window Powershell.
2. Launch winscope index.html and set the Winscope token.
3. Tablet connect adb and winscope select the device.
4. Tap the 'DUMP STATE' button.
Change-Id: I8c261da523763982ea4a4bfae6883694b221883c
Now, the proxy supports multiple phones connected.
For use with Wayland, only 1 device can be connected
Fixes: 219802355
Test: Collect trace with multiple devices connected
Change-Id: I8f43f2411af10292cf78e2c022a409497cbb69b5
Frozen objects don't trigger Vue's reactive Observers and are significantly faster. With this changes, winscope can now load traces with over 100mb
Bug: 211049519
Test: build winscope and open a large trace
Change-Id: Iec9f91e408db734ce884cf846d5c2826ff346484
This speeds up winscope by parsing each state only when necessary
Bug: 211049519
Test: build winscope and open a trace
Change-Id: I35e362ebcb7927887b2793697037984fa26de61c
Use new class to share device auth states, adb proxy
state and expose functions to talk to proxy.
This is the first step before adding new functionality to
winscope that will convert transaction traces to
layer traces. This functionality needs to be added in
DataInput.vue so this class will make it easier to read
the proxy state and use the proxy.
There should be no functional change in this cl.
Test: collect winscope traces via proxy
Bug: 200284593
Change-Id: Ic1f492ebec6c8dfd667d0828bb2d6779665b89c2
Merged-In: Ic1f492ebec6c8dfd667d0828bb2d6779665b89c2
(cherry picked from commit f89a0fbaa9)
Even if some failures occur.
For example, a zip file with an mp4 recorded via MediaProjection
doesn't include the winscope metadata (b/140855415), but the trace
files within the zip should be nevertheless readable
Bug: 209843622
Test: build winscope and open a zip trace
Change-Id: I897ae5e1e0ea3d524c67d90318f9e63f80c6ce54
Currently we print only 1 reason and this makes debugging issues harder
Bug: 210476324
Test: compile winscope and dump a trace, check if multiple reasons for
invisible layers appear
Change-Id: Ia755c001a32a8bdcae3d8a31365ff1cfde28bb2f
Push specific licenses down the tree toward the leaf directories.
Remove extra Apache 2.0 license texts--just use Android-Apache-2.0
Test: m nothing
Change-Id: Ibee25f75f5933699d6f43acdc192b2ada6823757
Traces take longer to be dumped and ready so we need to wait longer before the winscope_status is provided
Bug: 213372602
Test: Record a long trace and check that the proxy doesn't crash
Change-Id: I0a2aa9bfb667bdad3c909dabbc42b8e111cd3a16
Keep previous implementation as "transactions (legacy)"
The proxy is not yet able to generate traces because no
adb command is available at the moment.
Known issues:
- Enum fields are not translated into values in Winscope
(only IntDef support)
Prepare the codebase for the new SF transaction tracing
Bug: 167521734
Test: run winscope and collect a transactions trace
Change-Id: Ie489ee1a63056377c1699e14df8de975c2978085
There are 2 types of object whose properties can appear in the property
list: Flicker objects (WM/SF traces) and dictionaries
(IME/Accessibilty/Transactions).
While flicker objects have their properties directly in the main object,
those created by a call to the transform function have their properties
inside an obj property.
This CL makes flicker support both implementations
Bug: 167521734
Bug: 209452852
Test: run winscope and collect a transactions trace
Change-Id: I7103ef078cf62331fd45c45fd238173232993f47
Previously `false` and `0` were ignored even when "Show defaults"
checkbox was marked.
Bug: 176906864
Test: build winscope, take a trace, mark show defaults, check if false
values appear on the property list
Change-Id: Ia114eea91c677e92f0bf4edd4a9e9107e014d90e
Bug: 140855415
Test: build winscope, take a SF trace and check if the isVirtual flag
appears on the display
Change-Id: I5f6e5dba9f73f3464371166fb7ec8b589c3859c3
This filter previously removed the information from all objects,
including SF displays
Bug: 140855415
Test: build winscope, compile a trace, check if name is visible
Change-Id: I62563595298f70444333289a2a22635aca43c265
Make sure loading spinner is center aligned
Ensure the size of dropbox remains the same before and while loaded so it doesn't look like it's flickering
Make dropbox clickable to allow for intuitive clicking of dropbox area to open file viewer
Bug: 206214877
Change-Id: Icc5c2bdfce9fd26c3ff6f040f85a289859cfd3ca