summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/logging
Commit message (Collapse)AuthorAgeFilesLines
* Add user event logging for tap on searchHyunyoung Song2016-10-032-15/+7
| | | | | | b/31772967 Change-Id: I71ececb8195d46405623a8ae2a99d001088d9181
* Add user event logging for action on search boxHyunyoung Song2016-09-271-0/+12
| | | | | | b/31772967 Change-Id: Ide652ddfad931e392b21f5a2bbdf9f07729d0383
* Support user event logging for drag and dropHyunyoung Song2016-09-012-37/+132
| | | | | | | | | | | | b/30039490 Supported in this CL: - DnD: drag from container [WORKSPACE|HOTSEAT|FOLDER|ALLAPPS|WIDGETS|DEEPSHORTCUTS] drag to container [HOTSEAT,WORKSPACE,FOLDER,DROPTARGETS] - Source and target can be [FOLDER_ICON, ICON, DEEPSHORTCUT, WIDGET] - $ adb shell setprop log.tag.UserEvent DEBUG will turn on debugging Change-Id: I0b8b879b80e6dce85bbde6e7794f9e0677832603
* Set launch source target correctly for user event loggingHyunyoung Song2016-08-152-24/+75
| | | | | | | Before, everything is set to APP_ICON With this changed, pinned shortcuts are set to DEEPSHORTCUT Change-Id: I3e17de63f58693525236290ef5cb1f909f1d6098
* Log shortcuts open on ACTION_UP instead of in showForIcon().Tony Wickham2016-08-101-3/+5
| | | | | | | | | | | - We only want to log when the container is opened and potentially used, not when a long press is followed by a drag-and-drop. - Also cleaned up code that was determining the container of the app icon, since LaunchSourceProvider.fillInLaunchSourceData() can do that instead (it's more robust and consistent). Bug: 30791570 Change-Id: I05b6750f26182fda8a9940ac66f1371c2d228ca9
* Add logging for shortcuts opening.Tony Wickham2016-08-012-1/+17
| | | | | | | | | - Log as long press with child type DEEPSHORTCUTS container - Parent type can be one of WORKSPACE, HOTSEAT, FOLDER, ALLAPPS, PREDICTION, or SEARCHRESULT. Bug: 30537079 Change-Id: Ie62e4889ee06c845f959ca998781787a7fdaf00e
* Add user event log for deep shortcuts and all apps opening interaction.Hyunyoung Song2016-07-212-21/+53
| | | | | | b/30114798 Change-Id: I11ad99d0bc1983294d6a5329b98917cb87250823
* Fixing potantial context leak code pathSunny Goyal2016-06-201-2/+16
| | | | | | | | The javadoc in createUserEventDispatcher suggested that it can be used as a singleton. But it was being constructed as an inner class which would cause context leak when used as singleton Change-Id: I706018d4ab26b506ac936fe1a7304d9b530b820c
* Fixing FileLogs testsSunny Goyal2016-06-071-0/+9
| | | | | | | | During tests, the logs directory is changed. But the active thread was not getting stopped which was causing some logs to be written to the old location corresponding to some previous test Change-Id: I7b8587eae0eb68fa180e3992694cab3745922483
* Merge "Fixing a crash/ Launcher3 doesn't have predicted apps" into ↵TreeHugger Robot2016-05-111-2/+4
|\ | | | | | | ub-launcher3-calgary
| * Fixing a crash/ Launcher3 doesn't have predicted appsHyunyoung Song2016-05-111-2/+4
| | | | | | | | Change-Id: Id405e6d077f8b4c3fb399d4a613d6013dca5cddc
* | Merge "Send predictedApps rank via user event logging" into ub-launcher3-calgaryHyunyoung Song2016-05-111-5/+14
|\|
| * Send predictedApps rank via user event loggingHyunyoung Song2016-05-101-5/+14
| | | | | | | | Change-Id: Ib492cb77bce0bc57f60bc4b1310df0810b63d0aa
* | Using a separate thread for loggingSunny Goyal2016-05-091-2/+7
| | | | | | | | Change-Id: I85a900bd70e01a7df2c2d8bd09c82cebdec2d3be
* | Adding a utility class for persistant logging.Sunny Goyal2016-05-091-0/+211
|/ | | | | | | The logs are kept for at max 48 hours. It uses two log files and switches between the two based on the day of the year. Change-Id: I9a99499b3445a62f29f62a5cd13db20b1783bcd3
* Refactor UserEventDispatcher (1/2)Hyunyoung Song2016-04-191-7/+9
| | | | | | b/28269657 Change-Id: I1083e6f73f42ac1986428a39c6b532050e595ac6
* Removing Launcher broadcast support from Launcher3Sunny Goyal2016-04-151-60/+6
| | | | Change-Id: Ibaf5fe1465d3858b060fc2958194cf60f22a11db
* Refactor UserEventLogging, Add predictedRank, replace Bundle with ProtoHyunyoung Song2016-04-132-68/+184
| | | | | | | | | | | | | | b/26494415 - Removed bundle object that became redundant now that we have LauncherEvent proto - Combined Stats and UserEventLogger as they are effectively doing same thing - Removed parent field inside Target - added predictedRank target inside Target b/27967359 - make com.android.launcher3.action.LAUNCH broadcast explicit Later CL: finish packageName/intent/componentHash/predictedRank fields Change-Id: I441fb46c834f73e58a4d2324e8da7971e8713ec8
* Add getUserEventLogger to LauncherCallbacksHyunyoung Song2016-03-082-0/+210
| | | | | | b/26494415 Change-Id: I8abaaf1269c12435a523e31bf769991018ea5c02
* Trim down the logging classHyunyoung Song2016-03-041-3/+0
| | | | | | b/26494415 Change-Id: I9035f515e4eb54af8f8ad2f29ab294d2ac9760e8
* Define generic logging classHyunyoung Song2016-03-041-0/+7
b/26494415 Change-Id: I5fbf54eb5986eb49a62ba51d41aab43e00a9ca12