History log of /packages/apps/PackageInstaller/src/com/android/packageinstaller/InstallFlowAnalytics.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8fca480bee00578c1529b1f32ab30af096db82dd 10-Oct-2013 Alex Klyubin <klyubin@google.com> Log APK hash for package install attempts in the Event Log.

This CL adds a package_digest field to the install_package_attempt
event. The field is populated with the SHA-256 digest of the contents
of the APK iff the user has consented to app verification and app
verification is enabled.

Bug: 10605940
Change-Id: I0d191398ed8d28950c7b5ee0ce02ec077d2c888b
/packages/apps/PackageInstaller/src/com/android/packageinstaller/InstallFlowAnalytics.java
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