History log of /frameworks/base/libs/hwui/tests/unit/GraphicsStatsServiceTests.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1856a4cfcca8c18365e8fd855905b57679d3a280 04-Apr-2018 Kweku Adams <kwekua@google.com> Adding privacy tags to graphicsstats proto.

Creating a copy of the graphicsstats proto so that one can be tagged
with privacy annotations and the other can be used internally while
still using the protobuf-cpp-lite library.

Bug: 72570104
Test: flash device and check incident output
Merged-In: I2d72e7bd17689c1401a16d5a13956e6528ddb525
Change-Id: I0a46ee6cc463b133925be1cf8dee8cf3d107930c
/frameworks/base/libs/hwui/tests/unit/GraphicsStatsServiceTests.cpp
1bcacfdcab0eaa0cee92bd7f5a1b5e271dd68e52 03-Nov-2017 John Reck <jreck@google.com> Format the world (or just HWUI)

Test: No code changes, just ran through clang-format
Change-Id: Id23aa4ec7eebc0446fe3a30260f33e7fd455bb8c
/frameworks/base/libs/hwui/tests/unit/GraphicsStatsServiceTests.cpp
7075c79209256101aee60584ee7e1d6f7f959c61 05-Jul-2017 John Reck <jreck@google.com> Split out jank data from policy

Move ProfileData out to its own file with helper
accessors. This keeps policy (what is/isn't jank)
outside of the data storage.

Also use lambdas to iterate over the histogram
to make it nicer for dumping & proto-ifying.

Test: hwui_unit_tests pass & jank data still dumps

Change-Id: I88488369ec77590a2867f51128e65bb786aa34e6
/frameworks/base/libs/hwui/tests/unit/GraphicsStatsServiceTests.cpp
99c9bf65ae84264498b9d6562cf5bf298e1c584f 04-May-2017 Colin Cross <ccross@android.com> Fix 64-bit GraphicStats.findRootPath test

frameworks/base/libs/hwui/tests/unit/GraphicsStatsServiceTests.cpp:54: Failure
Value of: findRootPath()
Actual: "/data/nativetest64/hwui_unit_tests"
Expected: expected
Which is: "/data/nativetest/hwui_unit_tests"
[ FAILED ] GraphicsStats.findRootPath (1 ms)

Test: hwui_unit_tests
Change-Id: I809fcc9d5f640ecd4248a8ae2272c72ba4bd2cdd
/frameworks/base/libs/hwui/tests/unit/GraphicsStatsServiceTests.cpp
df1742ed47da1e9b61afeae16fa448d5302a8aa0 20-Jan-2017 John Reck <jreck@google.com> Overhaul GraphicsStatsService

* LRU cache of recently-used is dead, replaced
disk storage
* ASHMEM size is read from native by the system service,
no longer requires keeping a sizeof() in sync with a
constant in Java
* Supports dumping in proto format by passing --proto
* Rotates logs on a daily basis
* Keeps a history of the most recent 3 days

Bug: 33705836
Test: Manual. Verified log rotating works by setting it up to
rotate every minute instead of day. Confirmed /data/system/graphicsstats
only has the most recent 3 entries after several minutes

Change-Id: Ib84bafb26c58701cc86f123236de4fff01aaa4aa
/frameworks/base/libs/hwui/tests/unit/GraphicsStatsServiceTests.cpp