Merge "Update winscope proxy to version 1.0"
This commit is contained in:
@@ -46,8 +46,8 @@ LOG_LEVEL = logging.DEBUG
|
|||||||
|
|
||||||
PORT = 5544
|
PORT = 5544
|
||||||
|
|
||||||
# Keep in sync with WINSCOPE_PROXY_VERSION in Winscope DataAdb.vue
|
# Keep in sync with ProxyClient#VERSION in Winscope
|
||||||
VERSION = '0.8'
|
VERSION = '1.0'
|
||||||
|
|
||||||
WINSCOPE_VERSION_HEADER = "Winscope-Proxy-Version"
|
WINSCOPE_VERSION_HEADER = "Winscope-Proxy-Version"
|
||||||
WINSCOPE_TOKEN_HEADER = "Winscope-Token"
|
WINSCOPE_TOKEN_HEADER = "Winscope-Token"
|
||||||
@@ -200,8 +200,7 @@ class SurfaceFlingerTraceConfig:
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
# default config flags CRITICAL | INPUT | SYNC
|
self.flags = 0
|
||||||
self.flags = 1 << 0 | 1 << 1 | 1 << 6
|
|
||||||
|
|
||||||
def add(self, config: str) -> None:
|
def add(self, config: str) -> None:
|
||||||
self.flags |= CONFIG_FLAG[config]
|
self.flags |= CONFIG_FLAG[config]
|
||||||
@@ -260,10 +259,12 @@ class WindowManagerTraceSelectedConfig:
|
|||||||
|
|
||||||
|
|
||||||
CONFIG_FLAG = {
|
CONFIG_FLAG = {
|
||||||
|
"input": 1 << 1,
|
||||||
"composition": 1 << 2,
|
"composition": 1 << 2,
|
||||||
"metadata": 1 << 3,
|
"metadata": 1 << 3,
|
||||||
"hwc": 1 << 4,
|
"hwc": 1 << 4,
|
||||||
"tracebuffers": 1 << 5
|
"tracebuffers": 1 << 5,
|
||||||
|
"virtualdisplays": 1 << 6
|
||||||
}
|
}
|
||||||
|
|
||||||
#Keep up to date with options in DataAdb.vue
|
#Keep up to date with options in DataAdb.vue
|
||||||
|
|||||||
Reference in New Issue
Block a user