summaryrefslogtreecommitdiffstats
path: root/src/com/android/packageinstaller/EventLogTags.logtags
diff options
context:
space:
mode:
authorAlex Klyubin <klyubin@google.com>2013-09-10 14:13:15 -0700
committerAlex Klyubin <klyubin@google.com>2013-09-10 14:24:41 -0700
commit3e9a765ff5e6ab74bed605c86fcf53b6581b9060 (patch)
tree2a25bc65563c85c08c27019b2bfe7353b726176c /src/com/android/packageinstaller/EventLogTags.logtags
parent71510286b8ed1d116b0cf234254dcbd8316ff751 (diff)
downloadandroid_packages_apps_PackageInstaller-3e9a765ff5e6ab74bed605c86fcf53b6581b9060.tar.gz
android_packages_apps_PackageInstaller-3e9a765ff5e6ab74bed605c86fcf53b6581b9060.tar.bz2
android_packages_apps_PackageInstaller-3e9a765ff5e6ab74bed605c86fcf53b6581b9060.zip
Robustify logging of analytics about PackageInstaller.
This CL switches from the type-unsafe EventLog.writeEvent method to the strictly-typed EventLogTags.writeInstallPackageAttempt. This method is generated from the definition of this event in EventLogTags.logtags and thus offers compile-time type checking. Bug: 10605940 Change-Id: I62895b60fe4c01d4314eba564476e0f1ed7ad78b
Diffstat (limited to 'src/com/android/packageinstaller/EventLogTags.logtags')
-rw-r--r--src/com/android/packageinstaller/EventLogTags.logtags2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/packageinstaller/EventLogTags.logtags b/src/com/android/packageinstaller/EventLogTags.logtags
index 5cb5d91f..01831488 100644
--- a/src/com/android/packageinstaller/EventLogTags.logtags
+++ b/src/com/android/packageinstaller/EventLogTags.logtags
@@ -3,4 +3,4 @@
option java_package com.android.packageinstaller
# APK install attempt via PackageInstaller (see InstallFlowAnalytics for format)
-90300 install_package_attempt (type|4)
+90300 install_package_attempt (result_and_flags|1),(total_time|1|3),(time_till_pkg_info_obtained|1|3),(time_till_install_clicked|1|3)