summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Lee Shombert <shombert@google.com> 2022-09-26 09:37:24 -0700
committer Lee Shombert <shombert@google.com> 2022-09-27 10:47:02 -0700
commit1452bc759a3f3fa6941a5d52bd19b01a3ba5d636 (patch)
tree0ee3cc149589293742b4d9b94b0657dfb9d5fc87 /libs/androidfw/StringPool.cpp
parentf9d8bb250a0296329ccc6ab253e5f15a2469bebe (diff)
Log resource api times to statsd
Bug: 246953799 Log resource api times to statsd. Two APIs are logged: getResourceValue() and retrieveAttributes(). Other APIs may be timed by the runtime layer but these are not logged. This fixes a bug in ResourceTimer.startTimer() that caused the class to skip the first repeated publication point. This change renames the two RecourceTimer instances in android_util_AssetManager.cpp to "_timer" to be more explicit and to avoid the use of the more generic "_tag". Test: manual Change-Id: I0c5e0906f79ff35db1e34593275b39fb7f2f179b
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions