summaryrefslogtreecommitdiffstats
path: root/src/com/android/packageinstaller/EventLogTags.logtags
diff options
context:
space:
mode:
authorAlex Klyubin <klyubin@google.com>2013-09-04 11:20:31 -0700
committerAlex Klyubin <klyubin@google.com>2013-09-09 17:48:25 -0700
commit7b30bc34492a0c53b02cec2fee7d0993da407fc4 (patch)
tree13c59ea09096398079a7a631c5e2d6d1bf7dfccb /src/com/android/packageinstaller/EventLogTags.logtags
parent4196137c30528703b2dcbcf7e61e89693ef65616 (diff)
downloadandroid_packages_apps_PackageInstaller-7b30bc34492a0c53b02cec2fee7d0993da407fc4.tar.gz
android_packages_apps_PackageInstaller-7b30bc34492a0c53b02cec2fee7d0993da407fc4.tar.bz2
android_packages_apps_PackageInstaller-7b30bc34492a0c53b02cec2fee7d0993da407fc4.zip
Record analytics about package install attempts to Event Log.
The purpose of this change is to provide analytics about the various stages of the install flow. Recorded information does not contain user-, device-, or package/app-identifying information. Examples of recorded information are: * duration of the flow (start to finish) * duration of the flow until the moment the user clicks Install * whether the attempt is an update or a new install. * whether app verification is enabled. * whether Unknown Sources is enabled. * whether the attempt was blocked by Unknown Sources. * whether permissions were displayed. * error code (if any) returned by PackageManager when installing the package. Bug: 10605940 Change-Id: I9bc009223a365a558cdf02bd91cf4315b82564c2
Diffstat (limited to 'src/com/android/packageinstaller/EventLogTags.logtags')
-rw-r--r--src/com/android/packageinstaller/EventLogTags.logtags6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/android/packageinstaller/EventLogTags.logtags b/src/com/android/packageinstaller/EventLogTags.logtags
new file mode 100644
index 00000000..5cb5d91f
--- /dev/null
+++ b/src/com/android/packageinstaller/EventLogTags.logtags
@@ -0,0 +1,6 @@
+# See system/core/logcat/event.logtags for a description of the format of this file.
+
+option java_package com.android.packageinstaller
+
+# APK install attempt via PackageInstaller (see InstallFlowAnalytics for format)
+90300 install_package_attempt (type|4)