History log of /packages/apps/PackageInstaller/src/com/android/packageinstaller/InstallFlowAnalytics.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3e9a765ff5e6ab74bed605c86fcf53b6581b9060 10-Sep-2013 Alex Klyubin <klyubin@google.com> 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
/packages/apps/PackageInstaller/src/com/android/packageinstaller/InstallFlowAnalytics.java
7b30bc34492a0c53b02cec2fee7d0993da407fc4 04-Sep-2013 Alex Klyubin <klyubin@google.com> 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
/packages/apps/PackageInstaller/src/com/android/packageinstaller/InstallFlowAnalytics.java