summaryrefslogtreecommitdiff
path: root/src/com/android/launcher3/logging/StatsLogManager.java
AgeCommit message (Collapse)Author
2021-11-09[AA+ Search] Add logging for header search icon tapping events.Becky Qiu
Logging example for the search icon tapping event: https://paste.googleplex.com/4809431536631808 Bug: 198507048 Test: tested with AiAi apk with search icon sent as child of header. Change-Id: Ibbaec61b93c30a99ea2ffef8d7342490ba37335d
2021-09-13Add logs for taskbar and overview split actionTony Wickham
Log: - Taskbar app launch (also from foldeR) - Taskbar app drag (also from folder) - Taskbar folder open - Long press to hide taskbar - Long press to show taskbar - Overview Split screen action Also add support for ActivityContext to overwrite/add to LauncherAtom.ItemInfo, which TaskbarActivityContext does to change HotseatContainer and PredictedHotseatContainer to TaskBarContainer Test: enable logcat locally Bug: 193009817 Change-Id: Ia82c846a727fecb8cbfd0a069c8af1276083bf83
2021-08-30Add RESERVE_NEW_UI_EVENT_ID field to EventEnum interface.Thiru Ramasamy
Bug: 193797130 Test: NA Change-Id: I786ff0222f2fd4c5cbc2598fe4b3e22733233f8b
2021-08-10Add logging when item not added due to insufficient space.Yogisha Dixit
Bug: 194061824 Test: manual Change-Id: Ib6f6b9ab4a8e1b59b1dbd1c7c137962efa3e880e
2021-06-23[settings-pixel-search] Add ww logging to track slice fetching timeoutHilary Huo
Test: https://paste.googleplex.com/6310936320147456 Bug: 191297465 Change-Id: I0a4a65295e7290b55dccdb63830ff60c6838fbb2
2021-06-16Add logging for tapped on 'Turn on/off work apps' button in all appsThiru Ramasamy
Bug: 190050582 Test: Manual Change-Id: Ib83fba6dc9199ba40a500e0743c0e64cc4d4d0a0
2021-06-15Enable logging for 'Themed icons' setting.Thiru Ramasamy
Eldar: http://eldar/510864786 Bug: 191161241 Test: local - http://gpaste/5934701681311744 & http://gpaste/6715297709948928 Change-Id: I18ad97f68b372997e222f06dabf8bbe83f15d92f
2021-06-04Add new log events for widgets.Yogisha Dixit
Design doc: go/widgets-logging Bug: 185778648 Test: manual Change-Id: Ia3c6edb87766a33e77865e9461e7101a1df864c1
2021-04-15[Overview Sharing] Add logging events for overview sharing.Becky Qiu
Event IDs were generated by command line on my workstation using uieventscli. Manually added events to StatsLogManager. Will be used in Overview events. Bug: 179831990 Test: will test in overview when add to code implementation. Change-Id: If6ad7f42c899b78b53fb4a54d33a6c8df264dff2
2021-03-08Instrumenting flinging all apps for jankHyunyoung Song
Bug: 178656812 Test: manual Change-Id: I56bf19709784ac081a4f7068dedb8814eb6f3d0b
2021-02-26[AA+] Logs LAUNCHER_ALLAPPS_ITEM_LONG_PRESSED event.thiruram
Bug: 178562918 Test: Manual Change-Id: I6f195b7bdfa222332a250379bb7667501cbee762
2021-02-26[AA+] Fixes duplicate LAUNCHER_ALLAPPS_SWITCHED_TO_MAIN_TAB logs.thiruram
LAUNCHER_ALLAPPS_SWITCHED_TO_MAIN_TAB is logged when transistioning from AllApps search results view to all apps view. Bug: 178562918 Test: Manual Change-Id: Ie02e23ae9eaabad719ad2a1fc8f08a9e4c36936f
2021-02-25[AA+] Log LAUNCHER_ALLAPPS_FOCUSED_ITEM_SELECTED_WITH_IME event.thiruram
Bug: 178562918 Test: Manual Change-Id: Id40f80aae652dcc6c16ad35a003c91fd97750608
2021-02-24[AA+] Use different launcher event to log all apps entry with device search.thiruram
Bug: 178562918 Test: Manual Change-Id: I56357e871dd57257ccd56a073cccc7e38529c6c6
2021-02-22[AA+] Add WW logging for Slice actions.thiruram
Bug: 178562918 Test: Manual Change-Id: I515ee3c0990dea2c30e68d5919568dc1773912ee
2021-02-18Replace Optional.ifPresent with simple if clause.thiruram
Bug: 178562918 Test: Manual Change-Id: Icb8f07f276555aaf43ee29bf33f995c3bb446f69
2021-02-15[AA+] Log LAUNCHER_ONSTOP & LAUNCHER_ONRESUME events with AllApps session ↵thiruram
InstanceId. * Transitions between AllApps and App screen logs LAUNCHER_ONSTOP & LAUNCHER_ONRESUME events. This change add InstanceId specific to the current AllApps session to these logs; this will help to regenerate AllApps session from logs on the server side. This should only affect logs from AllApps screen, but not others. * Removes LiveSearchManager.allAppsLogger method as it may create confusion with 2 methods for logging into Statsd * Moved AllApps entry and exit logs to Launcher. Bug: 178562918 Test: Manual Change-Id: I5fab941777a3dfd2e9b19c0efd5b06d3884222ef
2021-02-10Fixes wrong container for LAUNCHER_ITEM_DROP_COMPLETED log event.thiruram
Bug: 179532038 Change-Id: Idfa1b82c35338a7472ff80d94fb20c69e498a028
2021-02-10[AA+] Add LAUNCHER_ALLAPPS_SWITCHED_TO_WORK_TAB & ↵thiruram
LAUNCHER_ALLAPPS_SWITCHED_TO_MAIN_TAB events. Bug: 178562918 Change-Id: I6ae1e034dc8fbbca6fa046104ab69c1ec9f4e6da
2021-02-09[AA+] Add LAUNCHER_ALLAPPS_KEYBOARD_CLOSED event.thiruram
Also adds Launcher.allAppsLogger method to simplify AllApps specific user events logging. Bug: 178562918 Change-Id: I57520fe1504079091f0ff2c4c74268f727ffe14f
2021-02-04[AA+] Add LAUNCHER_ALLAPPS_ENTRY, LAUNCHER_ALLAPPS_EXIT events.thiruram
This would help us to define clear start and end events for AllApps sessions on the server side. Bug: 178562918 Change-Id: I77f236c9bc1a21e868545b1309e47d91d6fc1d96
2020-11-20Log grid size changeTracy Zhou
Test: manually make sure that the correct path is fired Fixes: 173481818 Change-Id: I7dc2143eb9c0527287398590d46fc2408bc47e44
2020-11-06Fixes invalid ids for UiEvents: LAUNCHER_FOLDER_CONVERTED_TO_ICON, ↵thiruram
LAUNCHER_HOTSEAT_PREDICTION_PINNED Bug: 169100235 Change-Id: I1cae4e61b97947c5a7e56daeaccac0ece55f021c
2020-10-27Integrating snapshot logging in LauncherSunny Goyal
> Workspace snapshot is logged when the workspace loads (at most once a day) > Removing unnecessary thread jumping when logging folders > Preference snapshot is logged on process start and whenever something changes Change-Id: I93767de89b11522d843c0e8300d1f108c78f6d90
2020-09-27Good riddance UserEventDispatcherHyunyoung Song
Bug: 165675920 Bug: 161381246 TL;DR;; - nano -> lite proto - add all the missing logs to WW - pin item related logging fix - Removed logging for assistant sgrep "com.android.launcher3.userevent.nano." | cut -f1 -d: | xargs sed -i -e 's/userevent\.nano\./userevent\./g' Change-Id: Ie2a49fdd891cacbd7ef40a1dc9e41ff0574c7517
2020-08-17Moving hotseat predictions to ModelDelegateSunny Goyal
Bug: 160748731 Change-Id: I8db7856a17e0b6ca45b4d5ec3513f788f22db11a
2020-08-10Merge "[Overview Actions] Add a logging event for tapping images in select ↵TreeHugger Robot
mode." into ub-launcher3-rvc-qpr-dev am: 6bd1882eae Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12336644 Change-Id: I2dba3dda4d6ef8a8857e18708a96ebab9da30f20
2020-08-07[Overview Actions] Add a logging event for tapping images in select mode.Becky Qiu
Event IDs were generated by command line on my workstation by uieventscli. Manually added to StatsLogManager. Test: local Bug: 161273376 Change-Id: Iee36c450ddb207f87653a8da2355c720369caa34
2020-08-04AOSP/Launcher3 - Update language to comply with Android's inclusive language ↵Raman Tenneti
guidance. See https://source.android.com/setup/contribute/respectful-code for reference BUG=161896447 Test: make and Presubmit verify. Change-Id: I44e903046dd4cd9c7c07872fc56a8d552eb09522
2020-07-27Logs system navigation details part of launcher snapshot logging.thiruram
Bug: 157997545 Change-Id: I18e908dc62bb790c3a77e1aacd0236a7d84e8ce5 Merged-In: I18e908dc62bb790c3a77e1aacd0236a7d84e8ce5
2020-07-27Logs system navigation details part of launcher snapshot logging.thiruram
Bug: 157997545 Change-Id: I18e908dc62bb790c3a77e1aacd0236a7d84e8ce5
2020-07-16Using StatsLog for notifyingAppPredictorSunny Goyal
> Adding a listener in StartsLogManager for listening to events. This allows events to be directored to the predictor only if it is already running, instead of creating it. > Unifying the event format to be same as hotseat predictor Bug: 160748731 Change-Id: Ib00e6249ff642c030f00bcad5b748255e704d16a
2020-06-22Log Launcher transitions to WWHyunyoung Song
- ONRESUME / ONSTOP - HOME_GESTURE - OVERVIEW_GESTURE - QUICKSWITCH - SWIPELEFT/SWIPERIGHT Bug: 156875719 Bug: 148822714 Bug: 137777105 Debug log: go/launcher-log-parity Change-Id: I64a0deab4996b5be36320fbe0339f320891c53e0
2020-06-19Log LAUNCHER_FOLDER_AUTO_LABELING_SKIPPED events.thiruram
These events will help to understanding recall reduction is due to data coverage vs label coverage. Bug: 159495871 Change-Id: Ia5e2cbab86f5f2072f9674fbd6abcdbc049929ee
2020-06-19Fixes folder logging.thiruram
Only LAUNCHER_FOLDER_LABEL_UPDATED events will have FromState, ToState and FolderLabelInfo. Other folder events such as OPEN, DRAG etc will have basic fields only populated. Sample Log: https://paste.googleplex.com/5468394805526528 Screencast: http://rcll/hSUQjtQXfQM5i9DjjAQTf2/Zn5FeiVDONaQj0mK1JNjg Bug: 159164315 Change-Id: I903fc7b62bcee748aa3ef695453be3e14d388712
2020-06-18Deprecates LAUNCHER_ALL_APPS_RANKED event.thiruram
LauncherUiChanged.rank field is repurposed to store all apps rank. Change-Id: Iabad98312589d8f53b6547433540f3ec9dff0b3f
2020-06-17Add LAUNCHER_WORKSPACE_SNAPSHOT event_idHyunyoung Song
Bug: 159210161 Change-Id: Ie8e843ee10bf4ab0761232a3e61eb28e487666ab
2020-06-18[Overview Actions] Add overview actions events.Becky Qiu
Event IDs were generated by command line on my workstation by uieventscli. Manually added to StatsLogManager. Test: local Bug: 158477117 Change-Id: Ia237d1d9b1d5a52767cac44ab0b4a6d2500b9686
2020-06-17Replaces StatsLogManager.log with StatsLogManager.logger()thiruram
Bug: 159170445 Change-Id: Ice6c8a9ae30d8e6b3843bfe42926053849bf9fe0
2020-06-17Replace StatsLogManager with builder pattern.thiruram
Follow up CLs will remove the deprecating log methods and update their references. Bug: 159170445 Change-Id: I5dfd30209eeba561df1b528a6305ca5923ba42a2
2020-06-15[WW logging] Log rankings for app launchesSamuel Fufa
Bug: 158219113 Change-Id: Ib6db4e73e48ff27ca9d3a5348eea42e1f534dba1
2020-06-14Updates StatsLogManager to log LauncherAtom.ItemInfo directly.thiruram
This method is requied for logging tap on QSB with just container info. Bug: 154717227 Change-Id: I0c61c86724b4faafe4073a578b92a654ca23727a
2020-06-11LAUNCHER_APP_LAUNCH_TAP should log correctly for icons inside folderHyunyoung Song
Bug: 137777105 Change-Id: I5c1552481fc1b788ba41c57bfe97f126f55e5b16
2020-06-11Migrate Hotseat logging to WWSamuel Fufa
Bug: 158218197 Change-Id: I77743b78593f169ffc30f91ab9963052417dac23
2020-06-10Log folder open event into WW.thiruram
Bug: 158597506 Sample Log: https://paste.googleplex.com/5351626992779264 Change-Id: Ifb2f061924035abc84472a9a03d1b4212588428b
2020-06-10Update StatsLogManager to support ranking related events.thiruram
Change-Id: I238f00a782a620f704005d37c8972b5e25610c75
2020-06-08Merge "Add westworld logging when user reaches All Apps education view." ↵Jonathan Miranda
into ub-launcher3-rvc-dev
2020-06-08Add westworld logging when user reaches All Apps education view.Jon Miranda
Bug: 158333305 Change-Id: I324979640ead3670f4edc57fd61eba2585d33628
2020-06-07Fix double logging for wallpaper settings icon activationHyunyoung Song
Bug: 137957099 Change-Id: Id95fa026c1e6f177ffbb03e99cc18ef03e9a37b5
2020-06-05Merge "Migrate QSB logging to WW" into ub-launcher3-rvc-devHyunyoung Song