Check that |workspace| is not a sub-directory of an Android tree, so
that we don't `repo init` to a directory outside of |workspace|.
Test: mkdir /tmp/test && cd /tmp/test && repo init [AOSP]
Test: ./repo_diff_android.py # Should fail to repo-init
Test: rm -rf .repo/ && ./repo_diff_android.py # Should success
Change-Id: I3e1b94e8e3664cc50ab790aaa7e27b2a8d3feef0
This is not going to exactly match the view on devsite since that goes
through a different layer of tooling and is themed differently, but
it's a decent approximation for checking most formatting issues.
Longer term, we need to get prebuilts for doxygen into the tree so we
can revive `m ndk-docs`.
Test: ./build_ndk_docs.py
Bug: http://b/115644359
Change-Id: Ib1533a8f45731a1ae2fbec79d463d17e9124beaa
urllib.error.HTTPError works as a http response object (same type that
urlopen() returns). Handle the exception by reading and parsing the
response body of the error.
Test: ./repo_review.py --add-reviewer [invalid username] [query]
Test: ./repo_review.py --add-reviewer [ambiguous username] [query]
Change-Id: Ibfc261d83f2f9efd7873835f74ce8d5e980821c9
If composition state is not available, calculate the occlusion state otherwise
continue to use the visible region.
Bug: b/140854698
Test: open sf trace w/ & w/o composition state
Change-Id: I599fe9a4082af650e14fcd184d0204c1c3f29a95
Uses the same semantics as property filter but is applied to the
hierarchy. If a filter is matches, the nodes children will be shown.
Example: filter by layer ids: 12,14,15
filter by layer name: Wallpaper
Test: open transaction trace and layer trace in winscope
Fixes: 152647597
Change-Id: I2bee5bbf5e4b14efb6aadee5775b46499e8f2ec9
Wayland trace files are not available in AOSP so building Winscope will
break. Instead, pick up stub files by default and provide an option via
env args to pick up Wayland support.
Also removes obsolete protolog stubs which are no longer needed.
Test: Remove wayland trace from path and check if winscope still builds
Test: Build winscope with WAYLAND=true and confirm it pick up waylandproto file
Fixes: 151239942
Change-Id: Ie5b237725cd656c478a2ea99d469963956399714
Test: open wm trace in winscope, check if properties of DC and DA are
visible.
Fixes: 149672519
Change-Id: Ib5181c655a84fec94307846333fc0b1cc29d38fc
Change-Id: Ib442c75f031ceb72aa00493e46d502944827121c
ag/10181371 changed the formart of the protolog dump so mirroring the
changes in winscope
Bug:151140114
Change-Id: Ic9a53303e94d3924017c42b1c37a4a069b383118
(cherry picked from commit 758f832e36)
Bug: 151091744
Test: open pip and splitscreen trace in winscope check to see colors
and shadows are marked as visible
Change-Id: I1083df1c85c85beb9ad93e39a136a61a4359ca62
* permission whitelists need to get placed on the same partition as the apps themselves
* check product and system individually and generate XMLs accordingly
Test: Verify missing entries for system and product get generated on hotdog
Test: Verify missing entries for system and system/product get generated on taimen and maple
Change-Id: I37bd5c7b738caaab93019688c6a944dc6bbffa75
When the layer has the flag isRelativeOf but the relativeOf is -1, that
means the relativeOf layer has been removed. This would prevent the
layer from showing up on screen, but still be in memory. Added this
reason to list of reasons why layer wouldn't be visible.
Also added fix for BufferLayer check to instead check for BufferQueueLayer
and BufferStateLayer.
Test: winscope shows "RelativeOf layer has been removed"
Change-Id: Id1d59bd71a5aac7a011204ba345d694f67c28a29
Merged-In: Id1d59bd71a5aac7a011204ba345d694f67c28a29
ColorTransform is a 4x4 matrix so formated the values to be more
readable.
Also changed code where determines if the buffer is null to check if the
layer type is BufferStateLayer or BufferQueueLayer
Test: go/winscope with color transform
Change-Id: Ief46f2f3260e0736ffced8c233ab375e162d4228
Merged-In: Ief46f2f3260e0736ffced8c233ab375e162d4228
Winscope side changes for ag/9225809 and ag/9447040.
Bug:
Test: yarn run dev
Change-Id: I2e34edd244996124fa894ee5ee5a57f554fe771e
Merged-In: I29db4770065ffc5bcced5d4cb17a51d2b9924f06
Added a download file button to DataView.
Bug:
Test: yarn run dev
Change-Id: I203f3f19168c43a0dbefb3ec00237c021380f89f
Merged-In: I203f3f19168c43a0dbefb3ec00237c021380f89f
Added a new view for displaying logs, ProtoLog decoding and tracing
with ADB Connect.
Fixed a vertical scrolling bug.
Bug:
Test: yarn run dev
Change-Id: I756b596c10242ff919c0d7053813fa0b9f1f88fd
Merged-In: I756b596c10242ff919c0d7053813fa0b9f1f88fd
Added support for capturing WindowManager and SurfaceFlinger dumps
directly from the browser.
Fixed DataFilter errors on non-transaction data files.
Fixed Timeline behaviour on empty data list.
Bug: 140374376
Test: yarn run dev & python3 adb_proxy/winscope_proxy.py
Change-Id: I0d47ec36e1e769b856365d2a36c91bfb1f831b71
Merged-In: I0d47ec36e1e769b856365d2a36c91bfb1f831b71