2017-01-30 15:11:27 -08:00
|
|
|
package com.android.launcher3.util;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* This is a utility class that keeps track of all the tag that can be enabled to debug
|
|
|
|
|
* a behavior in runtime.
|
|
|
|
|
*
|
|
|
|
|
* To use any of the strings defined in this class, execute the following command.
|
|
|
|
|
*
|
|
|
|
|
* $ adb shell setprop log.tag.TAGNAME VERBOSE
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
public class LogConfig {
|
|
|
|
|
// These are list of strings that can be used to replace TAGNAME.
|
|
|
|
|
|
2020-04-27 01:12:01 -07:00
|
|
|
public static final String STATSLOG = "StatsLog";
|
|
|
|
|
|
2017-01-30 15:11:27 -08:00
|
|
|
/**
|
|
|
|
|
* After this tag is turned on, whenever there is n user event, debug information is
|
|
|
|
|
* printed out to logcat.
|
|
|
|
|
*/
|
|
|
|
|
public static final String USEREVENT = "UserEvent";
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* When turned on, all icons are kept on the home screen, even if they don't have an active
|
|
|
|
|
* session.
|
|
|
|
|
*/
|
|
|
|
|
public static final String KEEP_ALL_ICONS = "KeepAllIcons";
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* When turned on, icon cache is only fetched from memory and not disk.
|
|
|
|
|
*/
|
|
|
|
|
public static final String MEMORY_ONLY_ICON_CACHE = "MemoryOnlyIconCache";
|
2020-01-07 11:40:06 -08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* When turned on, we enable doodle related logging.
|
|
|
|
|
*/
|
|
|
|
|
public static final String DOODLE_LOGGING = "DoodleLogging";
|
2021-10-04 17:17:05 -07:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* When turned on, we enable suggest related logging.
|
|
|
|
|
*/
|
|
|
|
|
public static final String SEARCH_LOGGING = "SearchLogging";
|
2022-07-25 22:20:18 +00:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* When turned on, we enable IME related latency related logging.
|
|
|
|
|
*/
|
|
|
|
|
public static final String IME_LATENCY_LOGGING = "ImeLatencyLogging";
|
2022-09-09 13:19:21 -07:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* When turned on, we enable web suggest appSearch related logging.
|
|
|
|
|
*/
|
|
|
|
|
public static final String WEB_APP_SEARCH_LOGGING = "WebAppSearchLogging";
|
2022-09-19 10:24:43 -07:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* When turned on, we enable quick launch v2 related logging.
|
|
|
|
|
*/
|
|
|
|
|
public static final String QUICK_LAUNCH_V2 = "QuickLaunchV2";
|
2023-04-26 17:22:44 -07:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* When turned on, we enable Gms Play related logging.
|
|
|
|
|
*/
|
|
|
|
|
public static final String GMS_PLAY = "GmsPlay";
|
2023-05-19 20:51:19 +00:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* When turned on, we enable AGA related session summary logging.
|
|
|
|
|
*/
|
|
|
|
|
public static final String AGA_SESSION_SUMMARY_LOG = "AGASessionSummaryLog";
|
2017-01-30 15:11:27 -08:00
|
|
|
}
|