1# Copyright (C) 2010 The Android Open Source Project 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15option java_package com.android.common 16 17##### 18# This file contains definitions for event log (android.util.EventLog) tags 19# used by Google Mobile Services applications. These definitions are part of 20# the platform even when the Google applications are not. 21# 22# See system/core/logcat/event.logtags for a description of the file format. 23# 24# These event log tags must be assigned specific numbers (no "?") in the range 25# 200000-300000. If new tags are added, be aware that older platforms will be 26# missing the tag definitions, and may not be able to show them in their logs. 27 28##### 29# System Update (OTA) 30 31# System update status bits 32# [31- 9] Reserved for future use 33# [ 8- 7] package verified (0=not attempted, 1=succeeded, 2=failed) 34# [ 6] install approved 35# [ 5] download approved 36# [ 4- 0] status 37201001 system_update (status|1|5),(download_result|1|5),(bytes|2|2),(url|3) 38201002 system_update_user (action|3) 39 40##### 41# Android Market 42 43# @param changes Number of changes made to database in reconstruct 44202001 vending_reconstruct (changes|1) 45202901 transaction_event (data|3) 46 47##### 48# Google Services Framework 49 50203001 sync_details (authority|3),(send|1|2),(recv|1|2),(details|3) 51 52203002 google_http_request (elapsed|2|3),(status|1),(appname|3),(reused|1) 53 54##### 55# Google Talk Service 56 57# This event is logged when GTalkService encounters important events 58204001 gtalkservice (eventType|1) 59# This event is logged for GTalk connection state changes. The status field is an int, but 60# it really contains 4 separate values, each taking up a byte 61# (eventType << 24) + (connection state << 16) + (connection error << 8) + network state 62204002 gtalk_connection (status|1) 63 64# This event is logged when GTalk connection is closed. 65# The status field is an int, but contains 2 different values, it's represented as 66# 67# (networkType << 8) + connection error 68# 69# the possible error values are 70# 71# no_error=0, no_network=1, connection_failed=2, unknown_host=3, auth_failed=4, 72# auth_expired=5, heart_beat_timeout=6, server_error=7, server_reject_rate_limiting=8, unknown=10 73# 74# duration is the connection duration. 75204003 gtalk_conn_close (status|1),(duration|1) 76 77# This event is logged for GTalk heartbeat resets 78# interval_and_nt contains both the heartbeat interval and the network type, It's represented as 79# (networkType << 16) + interval 80# interval is in seconds; network type can be 0 (mobile) or 1 (wifi); ip is the host ip addr. 81204004 gtalk_heartbeat_reset (interval_and_nt|1),(ip|3) 82 83# This event is logged when an Rmq v2 packet is sent or received. 84204005 c2dm (packet_type|1),(persistent_id|3),(stream_id|1),(last_stream_id|1) 85 86##### 87# Google Login Service and Setup Wizard 88 89# This event is for when communicating to the server times out during account setup 90205001 setup_server_timeout 91205002 setup_required_captcha (action|3) 92205003 setup_io_error (status|3) 93205004 setup_server_error 94205005 setup_retries_exhausted 95205006 setup_no_data_network 96205007 setup_completed 97 98205008 gls_account_tried (status|1) 99205009 gls_account_saved (status|1) 100205010 gls_authenticate (status|1),(service|3) 101205011 google_mail_switch (direction|1) 102