Jon Miranda
472b5d5298
Add westworld logging when user reaches All Apps education view.
...
Bug: 158333305
Change-Id: I324979640ead3670f4edc57fd61eba2585d33628
2020-06-08 10:27:54 -07:00
Hyunyoung Song
e12baa4ba1
Merge "Migrate QSB logging to WW" into ub-launcher3-rvc-dev
2020-06-05 21:23:47 +00:00
Hyunyoung Song
c59d7df827
Migrate QSB logging to WW
...
Bug: 154717227
Change-Id: I175245c0ce9afd8187cec92e3ba80999ed87b1af
2020-06-05 11:36:10 -07:00
thiruram
3cb5592c84
Log tap on dot-notifications on both app icon and deep shortcuts.
...
Bug: 157765763
Sample Log: https://paste.googleplex.com/6354213825150976
Screencast: http://go/recall/-/fuZYA4w9pUEvRlF811dY61/ecVIR0vyJ2thQwLbUL64Ar
Change-Id: I6e1ed381d551044a1ad94b72b3f431223a888a72
2020-06-05 17:19:29 +00:00
thiruram
11cb2e469b
Log task pinning.
...
Bug: 158222725
Screencast: http://go/recall/-/fuZYA4w9pUEvRlF811dY61/YB77yNwmKGXX0LPqpcARD
Sample Log: https://paste.googleplex.com/5486164561625088
Change-Id: I2ba8732369a1fd01b046d2bf89e465c7287b599a
2020-06-04 16:22:45 -07:00
thiruram
377debe4f1
Log tap on pause app.
...
Screencast: http://go/recall/-/fuZYA4w9pUEvRlF811dY61/FaK9EfH884yqKCPKUSWTw
Log : https://paste.googleplex.com/5492235632115712
Bug: 157770913
Change-Id: I08bfc28b6fd4eb987692fb36835d94f40f3216af
2020-06-03 11:31:47 -07:00
thiruram
b812b3ff60
Log tapping on split screen & free form icons within task menu.
...
Bug: 157770913
Sample Log: https://docs.google.com/document/d/1FXi_jY1B63aMSjNyomAmoN1nSTtVbvculNGX7TKdRRw/edit#bookmark=id.4hmzxwn1efy
Change-Id: Id98dccb9452af7be20f636410d886dc8aeaa6bd1
2020-06-03 10:09:29 -07:00
thiruram
9752dedd71
Logs tap or longpress on task icon.
...
Sample Log: https://docs.google.com/document/d/1FXi_jY1B63aMSjNyomAmoN1nSTtVbvculNGX7TKdRRw/edit#bookmark=id.psxq3ooyppff
Bug: 157770913
Change-Id: I021b07fa8b3953a0f9a5e5ad9e4ee1c55d98d836
2020-06-03 17:04:48 +00:00
thiruram
5f1274c863
Log tap on widget and appinfo system icons within ShortcutContainer.
...
Bug: 157765763
Change-Id: Id417728d27678cce073ff36d24b129c4435dcbe5
2020-06-01 21:56:12 +00:00
Hyunyoung Song
b117a9221c
Migrate launcher home settings button tap/longpress logging to WW
...
Bug: 157777128
Change-Id: Ic88811efc9aef8f38a0e7e5ae79e3b35236c6663
2020-05-29 17:03:22 -07:00
Samuel Fufa
a319f15f78
Flush pending logs before sending hotseat feedback
...
Test: Manual
Bug: 142753423
Change-Id: I0a5d8e4d50610d2681a707231319c38d3d7191ab
2020-05-28 10:41:47 -07:00
Hyunyoung Song
a451508818
use LauncherAtom.ItemInfo.getDefaultInstance inside StatsLogManager
...
Bug: 153611516
Change-Id: I8531df7ee61c336c9919f5ff137bb1e113c126ea
2020-05-27 09:59:04 -07:00
thiruram
2e7f24c118
Rename @LauncherUiEvent to @UiEvent to be consistent with other UiEvents.
...
Change-Id: I049a238f717cc2a6b0bbb4755794bc4de2935b97
2020-05-15 21:42:46 +00:00
thiruram
f95f152971
Add LAUNCHER_FOLDER_LABEL_CHANGED events for folder label updates.
...
Sample Logs for all update combinations: https://docs.google.com/document/d/1CBP2yTcXdFhPdNG5ZmWFKSgd8mDbMevY-akVlUXPLDo/edit#bookmark=id.7y1p8n2dz8ge
Bug: 155410872
Bug: 152978018
Change-Id: I296b124b16aa07878f2cf7b74ab91f13b8e6cfbf
2020-05-13 17:36:10 -07:00
TreeHugger Robot
77f5efe1a3
Merge "Adds LAUNCHER_FOLDER_LABEL_CHANGED event." into ub-launcher3-rvc-dev
2020-05-13 23:44:59 +00:00
thiruram
b9080c2a15
Add support to log LauncherEvent without ItemInfo.
...
Change-Id: I145a9500b0442c2b5d9f7f691460465b2bb13a07
2020-05-13 22:58:23 +00:00
thiruram
6524cc7237
Adds LAUNCHER_FOLDER_LABEL_CHANGED event.
...
Sample Log: https://docs.google.com/document/d/1CBP2yTcXdFhPdNG5ZmWFKSgd8mDbMevY-akVlUXPLDo/edit#bookmark=id.qwjknn6acmx6
Bug: 155410872
Bug: 152978018
Change-Id: Ib7641d3d42a3f4fd002d1dbb36dc4b9ea0f885fc
2020-05-13 18:40:48 +00:00
Pinyao Ting
44775ad756
add null check to prevent NPE in logging app launch
...
Bug: 156458241
Test: manual
Change-Id: I7327453233a1e22473967e7c0513b4e1fa282459
2020-05-13 11:39:24 -07:00
thiruram
ff48451ecd
Adds westworld logging events for drag and drop on target bar buttons.
...
This would add below set of LauncherEvents:
* LAUNCHER_ITEM_DROPPED_ON_REMOVE
* LAUNCHER_ITEM_DROPPED_ON_CANCEL
* LAUNCHER_ITEM_DROPPED_ON_DONT_SUGGEST
* LAUNCHER_ITEM_DROPPED_ON_UNINSTALL
* LAUNCHER_ITEM_UNINSTALL_COMPLETED
* LAUNCHER_ITEM_UNINSTALL_CANCELLED
Sample Logs: https://docs.google.com/document/d/1CBP2yTcXdFhPdNG5ZmWFKSgd8mDbMevY-akVlUXPLDo/edit#bookmark=id.3ndtl1dalhdt
Bug: 152978018
Change-Id: I055a1b001524753eea71384b4765522f5946fbbc
2020-05-12 15:09:28 -07:00
Vinit Nayak
115e70ddcf
Merge "Infer launcher rotation when initializing RecentsOrientedState" into ub-launcher3-rvc-dev
2020-05-11 19:07:54 +00:00
Vinit Nayak
b9522d334a
Infer launcher rotation when initializing RecentsOrientedState
...
fixes: 154776599
Change-Id: I9b95f7f96836a974be0fd1236547efb4b405fda5
2020-05-11 11:23:49 -07:00
Hyunyoung Song
7f7894e3b7
Hookup statsd for workspace layout logging
...
Bug: 144953948
Change-Id: I81bd42929b2d65a63c610e95e5e01179a3971493
2020-05-10 01:37:42 -07:00
thiruram
5a01f0ec51
Implements LAUNCHER_ITEM_DROP_FOLDER_CREATED event.
...
When item is dropped on a existing item resulting in new folder creation, triggers LAUNCHER_ITEM_DROP_FOLDER_CREATED event with details of the destination package.
This change also introduces new FolderIcon item to launcher_atom.proto to represent folder icon.
Screencast and sample logs: https://docs.google.com/document/d/1CBP2yTcXdFhPdNG5ZmWFKSgd8mDbMevY-akVlUXPLDo/edit#bookmark=id.tmbucd1f44qp
Bug: 152978018
Change-Id: Ib4d343ba9075aa8853652f128457c4638541ec59
2020-05-06 17:24:09 -07:00
thiruram
59c5f399a6
Duplicating InstanceId and InstanceIdSequence classes from framework internal package to launcher3.
...
com.android.internal.logging package is not directly accessible from launcher codebase hence making a duplicate classes until they are moved to common package.
Change-Id: I7c8a9bd89a322fc330b58460e6468ccff933ea44
2020-05-05 21:06:58 +00:00
thiruram
740e2ab12e
Implements LAUNCHER_ITEM_DROP_COMPLETED event.
...
Assigns InstanceId to match LAUNCHER_ITEM_DROP_COMPLETED, LAUNCHER_ITEM_DRAG_STARTED events.
Sample Log:
2020-05-01 14:07:53.158 18369-18369/com.google.android.apps.nexuslauncher D/StatsLogManager: LAUNCHER_ITEM_DRAG_STARTED(InstanceId:282)
# com.android.launcher3.logger.LauncherAtom$ItemInfo@c0711fbd
application {
component_name: "com.google.android.apps.maps/com.google.android.maps.MapsActivity"
package_name: "com.google.android.apps.maps"
}
container_info {
workspace {
grid_x: 2
grid_y: 1
page_index: 0
}
}
is_work: false
2020-05-01 14:07:54.308 18369-18369/com.google.android.apps.nexuslauncher D/StatsLogManager: LAUNCHER_ITEM_DROP_COMPLETED(InstanceId:282)
# com.android.launcher3.logger.LauncherAtom$ItemInfo@90000206
application {
component_name: "com.google.android.apps.maps/com.google.android.maps.MapsActivity"
package_name: "com.google.android.apps.maps"
}
container_info {
workspace {
grid_x: 0
grid_y: 4
page_index: 0
}
}
is_work: false
Bug: 152978018
Change-Id: Ib4fc860e8080edd407ed15b93f7d55ac31328d11
2020-05-04 18:00:07 -07:00
thiruram
f81e8b002a
Implement LAUNCHER_ITEM_DRAG_STARTED event.
...
* Fixes null component issue when ItemInfo object copiedFrom.
* Fixes missing container when item is dragged from hybrid hotseat.
Sample Logs:
2020-04-30 14:09:45.499 30472-30472/com.google.android.apps.nexuslauncher D/StatsLogManager: LAUNCHER_ITEM_DRAG_STARTED
# com.android.launcher3.logger.LauncherAtom$ItemInfo@260f31f8
application {
component_name: "com.android.chrome/com.google.android.apps.chrome.Main"
package_name: "com.android.chrome"
}
container_info {
workspace {
grid_x: 2
grid_y: 2
page_index: 2
}
}
is_work: false
2020-04-30 14:23:15.230 31320-31320/com.google.android.apps.nexuslauncher D/StatsLogManager: LAUNCHER_ITEM_DRAG_STARTED
# com.android.launcher3.logger.LauncherAtom$ItemInfo@608f101
application {
component_name: "com.google.android.gm/.ConversationListActivityGmail"
package_name: "com.google.android.gm"
}
container_info {
hotseat {
index: 1
}
}
is_work: false
Bug: 152978018
Change-Id: I3d3ce213fd2fc6eb5ffb239e048ceb7c0fa88b53
2020-04-30 15:03:43 -07:00
TreeHugger Robot
c730304898
Merge "Revert "Use UiEvent for constants inside StatsLogManager"" into ub-launcher3-rvc-dev
2020-04-15 17:32:22 +00:00
Hyunyoung Song
1505d2f2e6
Revert "Use UiEvent for constants inside StatsLogManager"
...
This reverts commit 6b99a7d397 .
Reason for revert: Launcher3 AOSP cannot link to uieventloggerlib because it's private API
Change-Id: Id652b8a4cba54b97d1d8b8644c2939903cc0e88a
2020-04-15 16:52:19 +00:00
Hyunyoung Song
a613217bd0
Merge "Use UiEvent for constants inside StatsLogManager" into ub-launcher3-rvc-dev
2020-04-15 00:09:13 +00:00
Hyunyoung Song
6b99a7d397
Use UiEvent for constants inside StatsLogManager
...
Bug: 137777105
Bug: 148533500
Change-Id: I8ebf1110e8d25ab28f7496add9734bd7386b272f
2020-04-14 13:59:31 -07:00
Sunny Goyal
e396abf502
Moving model data structures to a separate file
...
Change-Id: I77ad7a5219e72d2e0d6c1803de2ac3ed6a65a8f7
2020-04-09 13:20:39 -07:00
Hyunyoung Song
7ac0ef1cb1
ItemInfo supports lite proto builder (1/n)
...
Bug: 144953948
Bug: 137777105
The new lite proto builder is used to send two types of logging to statsd
1) Snapshot logging
2) App launch, task launch, task dismiss
Statsd will be connected once platform CL is submitted
Change-Id: If606cee5288fe4bd6c522605ae84eb0f24174f5b
2020-03-31 20:52:36 -07:00
TreeHugger Robot
103dfd8816
Merge "Remove workspace layout logging that used dumpsys" into ub-launcher3-master
2020-03-30 15:33:19 +00:00
Hyunyoung Song
d1efd4ed21
Remove workspace layout logging that used dumpsys
...
Bug: 144953948
More context: in next CL, migration will happen to StatsLog
Change-Id: If8ace91ceff6daf1a0af5963b538d7e14401e497
2020-03-29 21:03:38 -07:00
Hyunyoung Song
4d9ad3a196
Cleanup LoggerUtils
...
Change-Id: Ibeccb61b25236ee905f61bdb5ea2255f778d4b05
2020-03-23 13:57:10 -07:00
Sunny Goyal
9ed7515314
Fixing NPE on app launch logging
...
Bug: 149969889
Change-Id: I2f3802df1dff76b91df330350783db2b7730f6d6
2020-03-17 12:06:24 -07:00
thiruram
3af7178356
Fixes missing smart folder logging bug. Uses ProtoLite.toString method to log LauncherEvents.
...
Change-Id: I45dbf189e7bd47f8d4d7ba55180e59686bd6ecae
2020-03-12 16:26:02 -07:00
Samuel Fufa
a579ddc9c8
Refactor logging to capture Target hierarchy
...
Instead of creating a fixed number of targets, we now pass an ArrayList
of targets to. Any class implementing
LogContainerProviders#fillInLogContainerData can setup it's own target
and add it to the ArrayList, It can also pass the ArrayList to other
LogContainerProvider to capture full Target hierarchy.
Bug: 147305863
Change-Id: I0063c692120fb9e1cff2d8902c5da972d0623418
2020-03-06 13:49:19 -08:00
Samuel Fufa
73cb009470
Default ENABLE_PREDICTION_DISMISS to true
...
Bug: 142753423
Change-Id: I73bfb35fdd952a64233950254870afa393ed79ae
2020-03-04 15:43:15 -08:00
Samuel Fufa
5a93eb3baf
Fix NPE on app launch log
...
Bug: 149969889
Change-Id: I60fd283ac082fab1ebf6ea90568e054525c414cc
2020-02-21 18:52:30 -08:00
Samuel Fufa
46b4f58161
Increase FileLog days
...
Bug: 142753423
Change-Id: I43ccfe540cb0899a4a4ab6722b6670e830457f60
2020-02-20 16:45:57 -08:00
thiruram
c1c2bfa7fb
Initial draft of smart folder logging to clearcut pipeline.
...
* Adds additional fields to launcher_log.proto to capture smart folder related information.
* Uses ProtoLite to generate log object using builder pattern and converts to nano version before writing to clearcut. Hence not making drastic change to existing logging pattern.
Change-Id: I89b10da8d4e35e3abc7ddb553046946f91b43445
2020-02-13 13:32:21 -08:00
Samuel Fufa
b641ac2a62
Log Hotseat onboarding user actions
...
+ Resolve notifiaciton dot scale issue
Bug: 147336566
Bug: 148232056
Change-Id: I0120dc183a876fda38f4682425697378c7be20f3
2020-02-12 10:02:53 -08:00
Samuel Fufa
18b69df8cd
Include hotseat spots count in app launch log
...
Bug: 142753423
Change-Id: I02e0322500344e2b0925ac1251235d210b13c325
2020-01-31 16:13:55 -08:00
Samuel Fufa
89d100197a
Collect app usage data for hybrid hotseat feedback
...
Bug:145858435
Test:Manual
Change-Id: Ib9cbe0cb87a152a751e6253db42d58d2d0625c52
2019-12-19 15:08:23 -08:00
Automerger Merge Worker
30f232de4c
Fix shortcut componentname in workspace layout logging am: b9ba427576
...
Change-Id: I6ffef9cc9dabb32e1d6b1a16e7011d3c9b6b9c3b
2019-12-17 23:31:48 +00:00
Hyunyoung Song
b9ba427576
Fix shortcut componentname in workspace layout logging
...
Bug: 146172747
Test: $ adb shell dumpsys activity provider com.google.android.apps.nexuslauncher/com.android.launcher3.LauncherProvider --proto --debug
SHORTCUT, package=com.android.vending, component=VIEW_MY_DOWNLOADS, grid(3,4), span(1,1), pageIdx=0 user=0
Change-Id: Ic8537d499d66675fbe190f137b50fb693d6c21d5
2019-12-17 05:25:35 +00:00
Samuel Fufa
78e7e5fcaa
Add boolean to differentiate icons from workprofile
...
Bug:145825382
Test:Manual
Change-Id: I95e0cfe48b4a397eb54455374f11c7ea14c028f6
2019-12-10 13:33:37 -08:00
Thiru Ramasamy
445cc2421e
Merge "Fixes missing LauncherEvent for TAP action on FOLDER_ICON" into ub-launcher3-qt-future-dev
...
am: 9d9c42ef38
Change-Id: I1d67cb5a77c46e05ddfdfa547a12d8c64c7b4fdd
2019-11-14 14:07:42 -08:00
Thiru Ramasamy
9d9c42ef38
Merge "Fixes missing LauncherEvent for TAP action on FOLDER_ICON" into ub-launcher3-qt-future-dev
2019-11-14 22:02:09 +00:00