1# See system/core/logcat/event.logtags for a description of the format of this file.
2
3option java_package com.android.quicksearchbox
4
5# QSB started
6# @param name Package name of the QSB app.
7# @param version QSB app versionCode value.
8# @param start_method
9#   TODO: Define values for start_method:
10#     - home screen widget
11#     - through source selector
12#     - by touching text field
13#     - search hard key on home screen
14#     - menu -> search on home screen
15#     - source selector in in-app search dialog
16#     - search hardkey in in-app search dialog
17#     - search hardkey in non-searchable app
18#     - app called SearchManager.startSearch()
19# @param latency start-up latency as seen by QSB
20# @param search_source name of the initially selected search source
21# @param enabled_sources A pipe-separated list of source names, ordered by source ranking.
22# @param on_create_latency time spend inside onCreate
23#                TODO: Which are promoted?
2471001 qsb_start (name|3),(version|1),(start_method|3),(latency|1|3),(search_source|3),(enabled_sources|3),(on_create_latency|1|3)
25
26# User clicked on a suggestion
27# @param id Suggestion ID; a 0-based index of the clicked suggestion if the suggestion list is flat;
28#  otherwise, it's (group position << 32) | (position within group)
29# @param A pipe-separated list of suggestion log names.
30#   TODO: define format of suggestion log names
31# @param queried_sources A pipe-separated list of the sources that were queried to produce
32#        the list of suggestions shown.
33# @param num_chars Number of characters in the query typed by the user
34# @param click_type
35#     SUGGESTION_CLICK_TYPE_LAUNCH = 0
36#     SUGGESTION_CLICK_TYPE_REFINE = 1
37#     SUGGESTION_CLICK_TYPE_QUICK_CONTACT = 2
38#
39# TODO: latency?
4071002 qsb_click (id|2),(suggestions|3),(queried_sources|3),(num_chars|1),(click_type|1)
41
42# User launched a typed search
43# @param search_source Name of the selected search source
44# @param method
45#     SEARCH_METHOD_BUTTON = 0
46#     SEARCH_METHOD_KEYBOARD = 1
47# @param num_chars The number of characters in the search query
4871003 qsb_search (search_source|3),(method|1),(num_chars|1)
49
50# User launched a Voice Search
51# @param search_source Name of the selected search source
5271004 qsb_voice_search (search_source|3)
53
54# User left QSB without clicking / searching
55# @param suggestions The suggestions shown when the user left QSB. See qsb_click above.
56# @param num_chars The number of characters in the query text field when the user left
5771005 qsb_exit (suggestions|3),(num_chars|1)
58
59# The latency of a suggestion query to a specific corpus.
60# @param corpus The corpus that was queried.
61# @param latency Query latency.
62# @param numChars Number of characters in the query.
6371006 qsb_latency (corpus|3),(latency|1|3),(num_chars|1)
64