summaryrefslogtreecommitdiffstats
path: root/protos
Commit message (Collapse)AuthorAgeFilesLines
* Adding query length parameter to protobufAlex Mang2019-05-091-0/+1
| | | | | Bug: 131940434 Change-Id: Iaa7ca520406df882e154db3662a190607eb61b23
* Add logging for Task Icon interactionHyunyoung Song2019-04-251-0/+2
| | | | | Bug: 129279637 Change-Id: I135bad16015129b3b60bb13e86783d623e504b1b
* Add launcher logging of back buttonWinson Chung2019-04-031-1/+2
| | | | | | | Bug: 127848641 Test: adb shell setprop log.tag.UserEvent VERBOSE, then hit back Change-Id: I020738280d2e51a8a192e577baf48c0b092f22f6 (cherry picked from commit df7d00328c907f92419300925ffbdfbb20169422)
* Add logging for assistant gestureHyunyoung Song2019-04-031-0/+3
| | | | | Bug: 129867977 Change-Id: I6254bf06b7352f6076af229a581d4ebdd584a4a1
* Adding logging for showing DWB toastvadimt2019-03-141-0/+1
| | | | | | | | We generate an event upon every invocation of Overview with at least one DWB toast. Bug: 123892673 Change-Id: Ia24f4be8e9f0f6ab6d31095b8367b73fb6c8cd7f
* Adding code to open DWP settings of a recent taskVadim Tryshev2018-10-241-0/+1
| | | | | | | | | Will transition to an API for opening settings if this CL lands: ag/5338673. Bug: 118319143 Test: manual test on a prototype Change-Id: Ia40576e0cd6196bfb0a0e8657916bbadff4c0b59
* Adding SystemShortcut for RemoteActionVadim Tryshev2018-10-191-0/+1
| | | | | | Bug: 117888000 Test: manual test with a prototype Change-Id: I10ed0a8c0237a85af5ac32a7fc68e1f9d2ffc5ba
* Remove device profile dependency from UserEventDispatcherHyunyoung Song2018-07-111-2/+2
| | | | | | Bug: 110122682 Change-Id: I31ba61e60e31f1cc84e6d0cf115193e45d9fcfdb
* Add logging for selected text and split screenHyunyoung Song2018-05-251-0/+2
| | | | | | | | | | | | | Bug: 79787082 action:LONGPRESS Source child:TASK_PREVIEW action:TAP Source child:SPLIT_SCREEN_TARGET Change-Id: Ica5a3955f092c6678e646b6df76567cdfa3485df
* onResume event should be logged (not twice but once)Hyunyoung Song2018-05-211-0/+1
| | | | | | Bug: 79541772 Change-Id: I5fe1271007e4579e1ec95d51c215ef48d0c6eedd
* Logging Square button presses opening RecentsVadim Tryshev2018-05-151-5/+7
| | | | | | | | | | Examples of traces are in notes. Using the button for closing Recents is not logged. Dooble-tap logs only one entry. Bug: 79437767 Test: logcat Change-Id: Ic2c50ecc937dd2e9cb4b3a7c7439d77bba9b372c
* Add logging for OnboardingHyunyoung Song2018-05-151-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 73784423 * Discovery bounce, homescreen, hotseat UserEvent: action:TIP UserEvent: Source child:HOTSEAT id=0 BOUNCE * Discovery bounce, overview, prediction UserEvent: action:TIP UserEvent: Source child:PREDICTION BOUNCE * Swipe up from navbar text (visibility, cancel target) UserEvent: action:TIP UserEvent: Source child:TIP SWIPE_UP_TEXT UserEvent: action:TAP UserEvent: Source child:CANCEL_TARGET SWIPE_UP_TEXT * Quickscrub text (visibility, cancel target) UserEvent: action:TIP UserEvent: Source child:TIP QUICK_SCRUB_TEXT UserEvent: action:TAP UserEvent: Source child:CANCEL_TARGET QUICK_SCRUB_TEXT * Prediction apps text (visibility, cancel target) UserEvent: action:TAP UserEvent: Source child:TIP PREDICTION_TEXT UserEvent: action:TAP UserEvent: Source child:CANCEL_TARGET PREDICTION_TEXT Change-Id: I94710b5ed3d00e3599985b154eb660af4a958288
* Refactors ButtonDropTarget to add extension dataMehdi Alizadeh2018-05-021-1/+1
| | | | | | | | | Also fixes a bug where DeleteDropTarget was logging Remove instead of Cancel. Bug: 78793340 Test: Enable verbose logging and manual test Change-Id: I0f0cfff070eab003ebb745292630bc6ce3243f4d
* Add user event logging for clear all buttonHyunyoung Song2018-04-271-0/+1
| | | | | | | | | | | | | Bug: 72222505 ---------------------------------------------- Verified UserEvent: action:TAP UserEvent: Source child:CLEAR_ALL_BUTTON UserEvent: Elapsed container 8142 ms, session 11322 ms, action 0 ms ---------------------------------------------- Change-Id: I3ace51c30129728017c5eb198c52ab1bfd94c0ac
* Adding WEB_APP item type for logging.Mario Bertschler2018-04-031-0/+1
| | | | | | | Set in LoggerUtils.newItemTarget if instant app Bug:67049361 Change-Id: I8e99e5c60bf1a2083f898e8978d403138f803276
* Quick step/scrub/switch loggingHyunyoung Song2018-02-201-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - state transition happening due to Home and back is handled by specifying src target as 'from' container and dst target as the 'to' container - Source and Destination container shows FROM and TO state for SWIPE/FLING - event.isStateChange = true indicates that an action resulted in state transition - Elapsed container millis is the screen time on the source container Bug: 70181187 - logcat printout with setprop log.tag.UserEvent VERBOSE 1) State: WORKSPACE -> ALLAPPS action:FLING direction=UP Source child:HOTSEAT id=0 parent:WORKSPACE id=0 Destination child:ALLAPPS Elapsed container 1225 ms, session 1225 ms, action 0 ms 2) ALLAPPS -> HOMESCREEN action:FLING direction=DOWN Source child:ALLAPPS parent:ALLAPPS Destination child:WORKSPACE id=0 Elapsed container 971 ms, session 2197 ms, action 0 ms 3) HOMESCREEN -> OVERVIEW action:FLING direction=UP Source child:NAVBAR parent:WORKSPACE id=0 Destination child:TASKSWITCHER Elapsed container 4834 ms, session 4834 ms, action 0 ms 4) OVERVIEW-> ALLAPPS action:FLING direction=UP Source child:TASK parent:TASKSWITCHER Destination child:ALLAPPS Elapsed container 2176 ms, session 7010 ms, action 0 ms 5) ALLAPPS->OVERVIEW action:FLING direction=DOWN Source child:ALLAPPS parent:ALLAPPS Destination child:TASKSWITCHER Elapsed container 3683 ms, session 10693 ms, action 0 ms 6) OVERVIEW-> HOMESCREEN action:FLING direction=DOWN Source child:TASK parent:TASKSWITCHER Destination child:WORKSPACE id=0 Elapsed container 2108 ms, session 12801 ms, action 0 ms 7) APPS-> OVERVIEW action:FLING direction=UP Source child:NAVBAR parent:APP Destination child:TASKSWITCHER Elapsed container 104 ms, session 104 ms, action 0 ms 8) Quickscrub: action:DRAGANDDROP Source child: QUICK 9) Quickswitch: action:FLING Source child: QUICK Change-Id: I5898230859ff600f48a2a873a40b670fe4d39a0d
* Log time spent on different UI surfacesHyunyoung Song2017-10-191-0/+2
| | | | | | | | | | - When swipe happens on worskpace, elapsed container ms is reset - Fling DOWN is also logged so that we now know how much time was spent on all apps screen - If screen off or power button trigger onPause, log this event. Bug: 67745115 Change-Id: Ie3a0090c78195a4a028de9935131e9e034dcf48a
* Adding support for derivative apps to safely extend LauncherLog protoSunny Goyal2017-07-201-1/+5
| | | | | Bug: 37676962 Change-Id: I24716070841b41418ac57b8dc367278e3ebdd046
* Log whether an event happened during landscape mode or notHyunyoung Song2017-05-161-0/+1
| | | | | | | | | | | | | | b/38211234 <sample log> action:TAP Source child:APP_ICON, packageHash=-1046965711, componentHash=-371608779, intentHash=208792422, grid(4,4), span(1,1), pageIdx=0 parent:WORKSPACE id=0 Elapsed container 3071 ms session 3071 ms action 0 ms isInLandscapeMode true isInMultiWindowMode false </sample log> Change-Id: I44dfe4e7ee2a41c56a50cc2b507bbbeedc458018
* Launcher dump proto that will be used for:Hyunyoung Song2017-04-041-0/+75
| | | | | | | | | | $ adb shell dumpsys activity provider com.android.launcher3/com.android.launcher3.LauncherProvider To see how the proto is filled: go/launcher-proto-dump b/31772480 Change-Id: I8e0f1e5e38148a3dfeabd2fc057392193b2625dd (cherry picked from commit 6aa3729e98502d4cffc40a7e602628b85d558edd)
* Merge "Adding logging for various interaction in PinItemRequest UI" into ↵TreeHugger Robot2017-03-301-0/+5
|\ | | | | | | ub-launcher3-dorval
| * Adding logging for various interaction in PinItemRequest UISunny Goyal2017-03-221-0/+5
| | | | | | | | | | Bug: 34766840 Change-Id: Ib29d7d4b53ab99cdf3ff253976ef55345729487b
* | Add isInMultiWindowMode bool to all logs.Jon Miranda2017-03-221-0/+2
|/ | | | | | | | | | | | Example output: D/UserEvent: action:LONGPRESS Source child:WORKSPACE id=0 Elapsed container 1850 ms session 1850 ms action 0 ms isInMultiWindowMode true Bug: 34250955 Change-Id: If21484e8bbb0f4f311c2eb6e94b7dcea6d2431af
* Add logging for notifications.Tony Wickham2017-02-071-0/+1
| | | | | | | | | | | | | - Log notification launches - Log notification swipes - Fix logDragNDrop() to only log if the pre-drag ends (so it doesn't log a long-press that only shows shortcuts without dragging). - Add shortcut rank to logs when launching deep shortcuts, where 0 is the shortcut closest to the app icon (highest rank). Bug: 34770729 Bug: 32410600 Change-Id: I99dcef9b6a71da2ef58e32397702bb137407b10f
* Added logging for HOME_INTENT and BACK commands.Jon Miranda2016-11-211-1/+12
| | | | | | Document: go/false-longpress-overview Change-Id: If6ba4996c861a44f4950b41acb4246e3a483d8f2
* Update package names to work with the proto3 compilerTamas Berghammer2016-11-101-1/+1
| | | | | | Bug: b/28974522 Change-Id: I5f3adf4946ee4ba1e09e4f40afe83c151405972a (cherry picked from commit f4f62cfb2d93637880279a7eb5b9ce2f6bddce82)
* Add user event logging for action on search boxHyunyoung Song2016-09-271-0/+1
| | | | | | b/31772967 Change-Id: Ide652ddfad931e392b21f5a2bbdf9f07729d0383
* Add user event log for deep shortcuts and all apps opening interaction.Hyunyoung Song2016-07-211-1/+11
| | | | | | b/30114798 Change-Id: I11ad99d0bc1983294d6a5329b98917cb87250823
* Removing Key-Value pair backup logic as Launcher now uses full-data backupSunny Goyal2016-06-231-131/+0
| | | | Change-Id: I3bbaec2b33afe8c1da3ca1468c7c733cc3194604
* Removing icon_type columnSunny Goyal2016-05-111-1/+1
| | | | | | | | | Icon type is not used consistently. It is used initially during the loader. Afterwards, we save both the icon and resource to the db. Instead of changing the logic to always read the shortcut-resource first, and fallback to the bitmap if the resource is not available, always write the bitmap to DB whenever the shortcut is edited. Change-Id: I0ea5e88f8904bd3250ca669220b3e5d6aeef1bfd
* Refactor UserEventLogging, Add predictedRank, replace Bundle with ProtoHyunyoung Song2016-04-131-38/+45
| | | | | | | | | | | | | | 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
* Fix the broken buildHyunyoung Song2016-03-071-0/+122
| | | | Change-Id: I2750cde454a6604f33b910ac8b31fd07bba567bb
* Trim down the logging classHyunyoung Song2016-03-041-122/+0
| | | | | | b/26494415 Change-Id: I9035f515e4eb54af8f8ad2f29ab294d2ac9760e8
* [DO NOT MERGE] Upload proto file to burnaby-polishHyunyoung Song2016-03-041-0/+122
| | | | | | | | b/26494415 - needed for ag/879262 getLogger function parameter - prediction to start parsing proto instead of the bundle Change-Id: I002ceb5faad0f2272ae5676b891f20826dbfcf3f
* Adding a .nano prefix in the proto package nameSunny Goyal2016-01-061-1/+1
| | | | Change-Id: Ia513089f813567953ca146538f79d21ca5fd8ddf
* am a547c451: Revert "Add proto flag "javanano_use_deprecated_package" to ↵Adam Cohen2015-07-311-1/+0
|\ | | | | | | | | | | | | avoid build breakage" * commit 'a547c4516c1a2dfd87f3466fccffd5ca6c5cab8c': Revert "Add proto flag "javanano_use_deprecated_package" to avoid build breakage"
| * Revert "Add proto flag "javanano_use_deprecated_package" to avoid build ↵Adam Cohen2015-07-311-1/+0
| | | | | | | | | | | | | | | | breakage" This reverts commit cb7674118c6fa6849e657fb8fea25c8fd93477cc. Change-Id: I831abe3746be49fd164046655e8c5e059bae074f
* | am cb767411: Add proto flag "javanano_use_deprecated_package" to avoid build ↵Adam Cohen2015-07-311-0/+1
|\| | | | | | | | | | | | | breakage * commit 'cb7674118c6fa6849e657fb8fea25c8fd93477cc': Add proto flag "javanano_use_deprecated_package" to avoid build breakage
| * Add proto flag "javanano_use_deprecated_package" to avoid build breakageAdam Cohen2015-07-311-0/+1
| | | | | | | | Change-Id: Iea8a7bc2bb385e066b3f972105224fee3eb7c894
| * [DO NOT MERGE] Adding minSpanX and minSpanY for all the launcher widgetsSunny Goyal2015-07-161-4/+8
| | | | | | | | | | Bug: 22353460 Change-Id: Id4450dee42a83e4603dcd56e1c4dec2b0e405858
* | Adding rank column in backupSunny Goyal2015-07-221-0/+4
| | | | | | | | | | | | | | | | | | > targetType was only added for M builds, so it can also be considered as v4 change. V3 which introduced minSpanX and minSpanY didn't contain targetType Bug: 22417713 Change-Id: I5c353674f7e0c2b5b4ab46e574fdb347d82028cd
* | Adding minSpanX and minSpanY for all the launcher widgetsSunny Goyal2015-07-171-4/+8
| | | | | | | | | | Bug: 22353460 Change-Id: Id4450dee42a83e4603dcd56e1c4dec2b0e405858
* | am 1d8f4ad5: Revert "Add "option javanano_use_deprecated_package = true;\n" ↵Sunny Goyal2015-07-021-1/+0
|\| | | | | | | | | | | | | to protos compiled with the nano proto compiler that are referenced in Java files." * commit '1d8f4ad59dbb17d80c6b910be8ad85904cb08d68': Revert "Add "option javanano_use_deprecated_package = true;\n" to protos compiled with the nano proto compiler that are referenced in Java files."
| * Revert "Add "option javanano_use_deprecated_package = true;\n" to protos ↵Sunny Goyal2015-07-011-1/+0
| | | | | | | | | | | | | | | | compiled with the nano proto compiler that are referenced in Java files." This reverts commit 469fea0b390e893c1eb8115ff6c5f997916be4c1. Change-Id: I2977f49a9836fd08038028c6cd8d3eed73185dde
* | am 469fea0b: Add "option javanano_use_deprecated_package = true;\n" to ↵Sunny Goyal2015-07-021-0/+1
|\| | | | | | | | | | | | | protos compiled with the nano proto compiler that are referenced in Java files. * commit '469fea0b390e893c1eb8115ff6c5f997916be4c1': Add "option javanano_use_deprecated_package = true;\n" to protos compiled with the nano proto compiler that are referenced in Java files.
| * Add "option javanano_use_deprecated_package = true;\n" to protos compiled ↵Sunny Goyal2015-07-011-0/+1
| | | | | | | | | | | | | | with the nano proto compiler that are referenced in Java files. Bug: 21273801 Change-Id: I6d9986f5f93980d8a3400e488609a28082fc2cdb
* | Replacing hotseat icon to an appropriate system appSunny Goyal2015-01-221-0/+12
|/ | | | | | | | | | | > During backupi, store the hotseat target app type, based on some predefined common system apps > During restore, save this app type in the restore flag, if it is a hotseat app > During first launcher load, if an app is not being restored, try to replace it with an appropriate replacement for that type, otherwise delete it. Bug: 18764649 Change-Id: Ic49e40bd707bd8d7de18bbab8b1e58a0a36426a2
* Add syntax option to backup.proto.Dave Hawkey2014-12-191-1/+3
| | | | | | This is required to properly compile the file in google3. Change-Id: Ib9ff3163974a5180797c0ecadb833dae93619b2c
* Updating backup restore logicSunny Goyal2014-10-281-0/+24
| | | | | | | | | | | | | | | > Adding DeviceProfile information in the backup > Removing SharedPreference backup > Adding helper methods to abort backup in the middle > Comparing keys against the backup journal during restore to avoid restoring corrupt/lost entries > Old backups are still compatible, but lost keys verification will be ignored in that case. Bug: 17937935 Bug: 17951775 Bug: 17260941 Change-Id: Iad48646cfdd69abaff5c163b2055f3b8a9b39b19
* backup widget assets.Chris Wren2013-10-031-2/+11
| | | | | Bug: 10778984 Change-Id: I842a88c517401fa4eb3798fd03e0fbc3634e3144