blob: 9e90a1a5fc8766c1c7054e6679dda7869bc583e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
|
<!doctype html>
<html i18n-values="dir:textdirection">
<head>
<meta charset="utf-8">
<title>GCM Internals</title>
<link rel="stylesheet" href="gcm_internals.css">
<script src="chrome://resources/js/cr.js"></script>
<script src="chrome://resources/js/load_time_data.js"></script>
<script src="chrome://resources/js/cr/ui.js"></script>
<script src="chrome://resources/js/util.js"></script>
<script src="strings.js"></script>
<script src="gcm_internals.js"></script>
</head>
<body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
<h1>GCM Internals</h1>
<div class="flexbar">
<button id="refresh">Refresh</button>
<button id="recording">Start Recording</button>
<button id="clear-logs">Clear All Logs</button>
</div>
<h2>Device Info</h2>
<table id="device-info">
<tbody>
<tr>
<td>
Android Id
</td>
<td id="android-id">
</td>
</tr>
<tr>
<td>
User Profile Service Created
</td>
<td id="profile-service-created">
</td>
</tr>
<tr>
<td>
GCM Enabled
</td>
<td id="gcm-enabled">
</td>
</tr>
<tr>
<td>
Signed In Username
</td>
<td id="signed-in-username">
</td>
</tr>
<tr>
<td>
GCM Client Created
</td>
<td id="gcm-client-created">
</td>
</tr>
<tr>
<td>
GCM Client State
</td>
<td id="gcm-client-state">
</td>
</tr>
<tr>
<td>
Connection Client Created
</td>
<td id="connection-client-created">
</td>
</tr>
<tr>
<td>
Connection State
</td>
<td id="connection-state">
</td>
</tr>
<tr>
<td>
Registered App Ids
</td>
<td id="registered-app-ids">
</td>
</tr>
<tr>
<td>
Send Message Queue Size
</td>
<td id="send-queue-size">
</td>
</tr>
<tr>
<td>
Resend Message Queue Size
</td>
<td id="resend-queue-size">
</td>
</tr>
</tbody>
</table>
<h2>Check-in Log</h2>
<table class="log-table">
<thead>
<tr>
<th>Time</th>
<th>Event</th>
<th>Details</th>
</tr>
</thead>
<tbody id="checkin-info">
</tbody>
</table>
<h2>Connection Log</h2>
<table class="log-table">
<thead>
<tr>
<th>Time</th>
<th>Event</th>
<th>Details</th>
</tr>
</thead>
<tbody id="connection-info">
</tbody>
</table>
<h2>Registration Log</h2>
<table class="log-table">
<thead>
<tr>
<th>Time</th>
<th>App Id</th>
<th>Sender Ids</th>
<th>Event</th>
<th>Details</th>
</tr>
</thead>
<tbody id="registration-info">
</tbody>
</table>
<h2>Receive Message Log</h2>
<table class="log-table">
<thead>
<tr>
<th>Time</th>
<th>App Id</th>
<th>From</th>
<th>Size (bytes)</th>
<th>Event</th>
<th>Details</th>
</tr>
</thead>
<tbody id="receive-info">
</tbody>
</table>
<h2>Send Message Log</h2>
<table class="log-table">
<thead>
<tr>
<th>Time</th>
<th>App Id</th>
<th>Receiver Id</th>
<th>Msg Id</th>
<th>Event</th>
<th>Details</th>
</tr>
</thead>
<tbody id="send-info">
</tbody>
</table>
<script src="chrome://resources/js/i18n_template2.js"></script>
</body>
</html>
|