Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
adb_proxy/ | 23-Mar-2024 | - | 551 | 424 | ||
loaders/ | 23-Mar-2024 | - | 60 | 31 | ||
src/ | 23-Mar-2024 | - | 3,337 | 2,686 | ||
.babelrc | D | 23-Mar-2024 | 57 | 6 | 5 | |
README.md | D | 23-Mar-2024 | 753 | 20 | 15 | |
package.json | D | 23-Mar-2024 | 944 | 33 | 32 | |
trace.sh | D | 23-Mar-2024 | 2.4 KiB | 85 | 55 | |
webpack.config.js | D | 23-Mar-2024 | 3.6 KiB | 143 | 115 | |
yarn.lock | D | 23-Mar-2024 | 215.2 KiB | 5,471 | 4,723 |
README.md
1# Tool for visualizing window manager traces 2 3## Developing WinScope 4When the trace is enabled, Window Manager and Surface Flinger capture and 5save current state to a file at each point of interest. 6`frameworks/base/core/proto/android/server/windowmanagertrace.proto` 7and `frameworks/native/services/surfaceflinger/layerproto/layerstrace.proto` 8contain the proto definitions for their internal states. 9 10### Checking out code and setting up environment 11* Install [Yarn](https://yarnpkg.com), a JS package manager 12* [Download Android source](https://source.android.com/setup/build/downloading) 13* Navigate to `development/tools/winscope` 14* Run `yarn install` 15 16### Building & testing changes 17* Navigate to `development/tools/winscope` 18* Run `yarn run dev` 19 20