Commit Graph

27425 Commits

Author SHA1 Message Date
Automerger Merge Worker
4ff901fdde Merge "Add a module for extra VNDK library lists" am: 7890f3b315
Change-Id: I4f769dccc984f233fb40fb4cf79fdf23a9a649b4
2020-02-20 02:22:25 +00:00
Hsin-Yi Chen
7890f3b315 Merge "Add a module for extra VNDK library lists" 2020-02-20 02:09:44 +00:00
Automerger Merge Worker
b0852730cb Merge "Switch to clang-r377782b" am: 1fac2a9434
Change-Id: I41b3eb32eb62d6f1d86dcf824d838b254c6a9193
2020-02-19 18:15:05 +00:00
Chih-hung Hsieh
1fac2a9434 Merge "Switch to clang-r377782b" 2020-02-19 17:58:18 +00:00
Hsin-Yi Chen
cdfca90059 Add a module for extra VNDK library lists
This commit adds a file group which consists of all extra VNDK library
lists. VTS depends on the file group.

Bug: 147454897
Test: make vts_vndk_dependency_test
Change-Id: I9b456a1180f76b34a0039090e1648596260e66b4
2020-02-19 16:56:22 +08:00
Chih-Hung Hsieh
4faa6c77bf Switch to clang-r377782b
Bug: 149509676
Test: make
Change-Id: I2bf35cf4e96fd6048a124d653389a6c7384b3e43
2020-02-19 00:13:15 -08:00
Treehugger Robot
3318aa8224 Merge "Switch to clang-r377782" am: e73d499e47
Change-Id: I20cf94cf8fe45555339a17d1640a96a10f162d15
2020-02-14 03:02:34 +00:00
Treehugger Robot
e73d499e47 Merge "Switch to clang-r377782" 2020-02-14 02:44:27 +00:00
Chih-Hung Hsieh
4780976679 Switch to clang-r377782
* replace CodegenNameGenerator with ASTNameGenerator
* use new ClassTemplateDecl::Create signature

Bug: 145916209
Test: make
Change-Id: I2bc6228b8ef1d78665bffa587f60bf82ceab459d
2020-02-13 16:09:56 -08:00
Automerger Merge Worker
9f44dfcd38 Merge "Add script to install vendor snapshot" am: 267e88052f
Change-Id: If49b0c40510b538d8c1dedde33c55443b1387bd1
2020-02-10 23:52:53 +00:00
Treehugger Robot
267e88052f Merge "Add script to install vendor snapshot" 2020-02-10 23:40:50 +00:00
Automerger Merge Worker
ad209cdcb6 Merge "Increment platform-tools version to 29.0.6." am: 5a2498ede5
Change-Id: I068ae9e9890dea0f8dd8a639f5a0c538f6e89800
2020-02-08 00:22:25 +00:00
Josh Gao
5a2498ede5 Merge "Increment platform-tools version to 29.0.6." 2020-02-08 00:13:12 +00:00
Josh Gao
da12f59a15 Increment platform-tools version to 29.0.6.
Test: none
Change-Id: Iee5df0798932d023f66b73865405dcbbeacfb9cd
2020-02-07 13:15:59 -08:00
Automerger Merge Worker
8950e7c37f Merge "Add error messages for wrong library names" am: 4068c3f8f6
Change-Id: Ib25e0955556cbfe9f8068b12642ba4a11092a745
2020-02-04 04:06:58 +00:00
Hsin-Yi Chen
4068c3f8f6 Merge "Add error messages for wrong library names" 2020-02-04 03:51:32 +00:00
Hsin-Yi Chen
c396520b78 Add error messages for wrong library names
Test: ./create_reference_dumps.py -libs libc.so
Test: ./create_reference_dumps.py -libs abc
Bug: 148697867
Change-Id: I621eb01289ba142c85b19eea9be4ef99f32fcdbe
2020-02-03 14:29:43 +08:00
Automerger Merge Worker
bb097ecb70 Merge "Include anonymous enum in ABI dumps" am: d4f7efc0c5
Change-Id: I8792c0e040f731e9fb2524dd2a1e0677a1bd4aba
2020-02-01 05:02:14 +00:00
Treehugger Robot
d4f7efc0c5 Merge "Include anonymous enum in ABI dumps" 2020-02-01 04:54:27 +00:00
Automerger Merge Worker
dc6db11f99 Merge "Add support for xxx.so!xxx.so lines." am: 197cd3d795
Change-Id: I160f03cf654ddeb1db6490e5f9ec859644591308
2020-02-01 04:32:36 +00:00
Christopher Ferris
197cd3d795 Merge "Add support for xxx.so!xxx.so lines." 2020-02-01 04:20:06 +00:00
Christopher Ferris
5e4b37213d Add support for xxx.so!xxx.so lines.
When seeing a line like:
  #01 pc 0012ea14  /system/lib/libart.so!libart.so (offset 0x134000)

Treat it like this line instead:
  #01 pc 0012ea14  /system/lib/libart.so

This will allow the symbolizer to properly figure out the line numbers.

Bug: 148657674

Test: Ran lines with xxx.so!xxx.so lines and verified that they decode.
Change-Id: Ieea516b46a00b414c740d0b4302a5cc73da2b0a8
2020-01-31 14:38:07 -08:00
Inseob Kim
7295caa166 Add script to install vendor snapshot
This script installs Android.bp under prebuilts/vendor/v{version}. This
script only supports basic operations, so artifacts from "m dist
vendor-snapshot" must be unzipped under the directory before running
this script; features including automatic un-zipping, fetching artifacts
from server, etc. are to be supported in later versions.

Bug: 65377115
Test: m dist vendor-snapshot && run update.py
Change-Id: I1e0ae6a7d2b9bc991694943bd44b84a0dc3c9f30
2020-01-31 13:44:38 +09:00
Vishnu Nair
da937cb1f8 Merge changes I5775d732,I27673017
am: 719f925df0

Change-Id: I3d0a694cd914482cb07454c102fd3fab1b54644c
2020-01-27 17:47:13 -08:00
Vishnu Nair
9022debf69 [DO NOT MERGE] Add aosp config for winscope
am: c49c2698ec

Change-Id: I9cba640c68342c1d408c5768ee7c6f0b505ff35c
2020-01-27 17:47:06 -08:00
Vishnu Nair
1e6599b314 Create stub proto definitions for traces that are not available in AOSP
am: 92dccb506d

Change-Id: Ice1eba080fe5cbee3e340fc03628d058e1a0f9db
2020-01-27 17:46:48 -08:00
Treehugger Robot
719f925df0 Merge changes I5775d732,I27673017
* changes:
  [DO NOT MERGE] Add aosp config for winscope
  Create stub proto definitions for traces that are not available in AOSP
2020-01-28 01:40:39 +00:00
Vishnu Nair
c49c2698ec [DO NOT MERGE] Add aosp config for winscope
- config redirects searches to stub folder for unavailable traces

Bug: 148409169
Test: builds and opens traces in AOSP
Change-Id: I5775d732de64c2e66ed35a04bf868f2aee883add
2020-01-27 15:12:29 -08:00
Vishnu Nair
92dccb506d Create stub proto definitions for traces that are not available in AOSP
Also add a readme for winscope development.

Bug: 148409169
Test: builds and opens traces in AOSP

Change-Id: I2767301734bcd90410e0f97bc3da22a647bf195c
2020-01-27 15:12:27 -08:00
chaviw
cd01256d5d Merge changes Id1d59bd7,Ief46f2f3,I2e34edd2,I203f3f19,I756b596c, ...
am: c9a7975674

Change-Id: I63bd35c7f2b70ed5560b136264eec02532446fb8
2020-01-27 11:24:46 -08:00
Adam Pardyl
a8c229c411 Merge changes I11abcf8b,Ia638bb4f
am: 6e988fdc1a

Change-Id: Iae728851ec301489eebf00a14e2c76fe2cb08817
2020-01-27 11:19:53 -08:00
Treehugger Robot
c9a7975674 Merge changes Id1d59bd7,Ief46f2f3,I2e34edd2,I203f3f19,I756b596c, ...
* changes:
  Added visibility check for missing relativeOf
  Added format for ColorTransform matrix
  Update Winscope with ProtoLog changes
  Download trace files from Winscope
  Support ProtoLog in Winscope
  Support WM & SF dumps with ADB Connect, minor fixes
  Add transaction tracing support, fix device id regex.
  Introduced filters to winscope for transaction files.
  Fix variable name in DataAdb
  Limit the height of Hierarchy and Properties views.
  Add support for Wayland traces
  Winscope: prefix layer id to surface flinger layer name
  Fixed bug when clearing file, winscope could not allow up/down arrows.
  Changed shell script for capturing traces.
  Implement Winscope ADB connect.
  Added transaction support for winscope.
  Update vue-material, regenerate yarn.lock
  Refactor file decoding, implement video view
  Fixed visibility check in winscope.
  Added check for invalid transform.
  Added reasons for invisibility of a layer.
  Fix overlapping timeline indicator
2020-01-27 19:10:36 +00:00
Treehugger Robot
6e988fdc1a Merge changes I11abcf8b,Ia638bb4f
* changes:
  Support multiple trace files.
  Improved logic for error detection.
2020-01-27 18:59:07 +00:00
chaviw
0fa0953237 Added visibility check for missing relativeOf
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
2020-01-27 10:20:14 -08:00
chaviw
0d8808df5e Added format for ColorTransform matrix
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
2020-01-27 10:20:05 -08:00
Adam Pardyl
819c345c1e Update Winscope with ProtoLog changes
Winscope side changes for ag/9225809 and ag/9447040.

Bug:
Test: yarn run dev
Change-Id: I2e34edd244996124fa894ee5ee5a57f554fe771e
Merged-In: I29db4770065ffc5bcced5d4cb17a51d2b9924f06
2020-01-27 10:19:57 -08:00
Adam Pardyl
2a94ec6dba Download trace files from Winscope
Added a download file button to DataView.

Bug:
Test: yarn run dev
Change-Id: I203f3f19168c43a0dbefb3ec00237c021380f89f
Merged-In: I203f3f19168c43a0dbefb3ec00237c021380f89f
2020-01-27 10:19:43 -08:00
Adam Pardyl
c5708b2f83 Support ProtoLog in Winscope
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
2020-01-27 10:19:32 -08:00
Adam Pardyl
7c3b2d568f Support WM & SF dumps with ADB Connect, minor fixes
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
2020-01-27 10:19:23 -08:00
Adam Pardyl
f9e219ce1d Add transaction tracing support, fix device id regex.
Added support for recording SF transactions with ADB Connect,
Fixed device regex not matching emulated devices.

Bug:
Test: yarn run dev & python3 adb_proxy/winscope_proxy.py
Change-Id: I43b45b978841309d3f011df919df69ae7ebc905a
Merged-In: I43b45b978841309d3f011df919df69ae7ebc905a
2020-01-27 10:19:13 -08:00
Vishnu Nair
a1262475d3 Introduced filters to winscope for transaction files.
Test: Launch winscope and upload a transaction file. Verify that the
filter checklist at the top left corner will filter each of the eight
increment types.

Change-Id: I3e2506bdbe32dbcda59b6f263e2bc13e8403ae38
Merged-In: I3e2506bdbe32dbcda59b6f263e2bc13e8403ae38
2020-01-27 10:19:02 -08:00
Adam Pardyl
ab03a005c0 Fix variable name in DataAdb
A typo in a variable name caused the exception handling to fail.

Bug:
Test: yarn run dev
Change-Id: Id02495fe323bbb7f6ccbb973fbe6091a3d518523
Merged-In: Id02495fe323bbb7f6ccbb973fbe6091a3d518523
2020-01-27 10:18:51 -08:00
Adam Pardyl
cbe7c4e5ed Limit the height of Hierarchy and Properties views.
Bug:
Test: yarn run dev
Change-Id: I50d4c9ebe7c376cd7595ffddc092b8d3c760c629
Merged-In: I50d4c9ebe7c376cd7595ffddc092b8d3c760c629
2020-01-27 10:18:39 -08:00
Evan Rosky
e1f3d5d92b Add support for Wayland traces
This adds support for wayland traces, but it isn't complete.
Specifically the rects are ordered funny. However, it is enough
to help with debugging and can be improved over time.

Bug: 129502361
Test: Open a wayland trace and a wayland dump
Change-Id: Iee327f2fee2651ff492d56ee0b06935b5ed57de7
Merged-In: Iee327f2fee2651ff492d56ee0b06935b5ed57de7
2020-01-27 10:18:28 -08:00
Vishnu Nair
33009d144c Winscope: prefix layer id to surface flinger layer name
Also fixes exception on startup in App.vue

Test: open sf trace in winscope
Test: open winscope with debugger and check for exceptions

Change-Id: I2b0e1fad5f26258e7f2ca5c47f82ad11037a84d2
Merged-In: I2b0e1fad5f26258e7f2ca5c47f82ad11037a84d2
2020-01-27 10:18:19 -08:00
Robert Delgado
2c4be1fc8d Fixed bug when clearing file, winscope could not allow up/down arrows.
Test: run yarn dev. First launch a file on winscope, clear, then launch a
second, different file. Now, the up/down arrows will be able to function again.
Change-Id: I4140a1a8f8e1c4d9d2cef054456003aec5661412
Merged-In: I4140a1a8f8e1c4d9d2cef054456003aec5661412
2020-01-27 10:18:09 -08:00
Robert Delgado
a14866b210 Changed shell script for capturing traces.
Captures both transaction and surfaceflinger trace files.

Test: bash capture_transaction.sh then upload transactiontrace.pb and
layerstrace.pb files to the winscope server.

Change-Id: I4461afa4048a504a158e5837af7c75fbedafeb0f
Merged-In: I4461afa4048a504a158e5837af7c75fbedafeb0f
2020-01-27 10:17:59 -08:00
Adam Pardyl
8b38ea8f8d Implement Winscope ADB connect.
The objective of this feature is to simplify the process
of debugging window transition issues by implementing
an automated trace capture flow for the WindowManager
and SurfaceFlinger trace analysis tool - Winscope.
By creating a bridge between the browser-based Winscope
and locally running ADB server traces can be captured
with a single click.

Design doc: https://goto.google.com/winscope-adb-connect

Bug:
Test: yarn run dev & python3 adb_proxy/winscope_proxy.py
Change-Id: I13ee2274566de5e63c89a9e292708416b654fc65
Merged-In: I13ee2274566de5e63c89a9e292708416b654fc65
2020-01-27 10:17:49 -08:00
Robert Delgado
b6eb992807 Added transaction support for winscope.
Test: yarn run dev for a transaction file.
Change-Id: Icfc672e2ab8423da35602d6d3d2e174c53c0154a
Merged-In: Icfc672e2ab8423da35602d6d3d2e174c53c0154a
2020-01-27 10:17:39 -08:00
Adam Pardyl
10884cd134 Update vue-material, regenerate yarn.lock
Version update of vue-material is required by a future CL.

Bug:
Test: yarn run dev

Change-Id: I355720677530066f8bceeb4b36b3841186a67ac1
Merged-In: I355720677530066f8bceeb4b36b3841186a67ac1
2020-01-27 10:17:27 -08:00