From 7b30bc34492a0c53b02cec2fee7d0993da407fc4 Mon Sep 17 00:00:00 2001 From: Alex Klyubin Date: Wed, 4 Sep 2013 11:20:31 -0700 Subject: 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 --- src/com/android/packageinstaller/EventLogTags.logtags | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/com/android/packageinstaller/EventLogTags.logtags (limited to 'src/com/android/packageinstaller/EventLogTags.logtags') 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) -- cgit v1.2.3