History log of /frameworks/base/libs/hwui/tests/unit/GraphicsStatsServiceTests.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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