• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2008-2009 Marc Blank
3  * Licensed to The Android Open Source Project.
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *      http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
18 package com.android.exchange.adapter;
19 
20 /**
21  * The wbxml tags for EAS are all defined here.
22  *
23  * The static final int's, of the form <page>_<tag> = <constant> are used in parsing incoming
24  * responses from the server (i.e. EasParser and its subclasses) and sending requests to the
25  * server (via Serializer)
26  *
27  * The array of string arrays is used only for generating logging output
28  */
29 public class Tags {
30 
31     // Wbxml page definitions for EAS
32     public static final int AIRSYNC = 0x00;
33     public static final int CONTACTS = 0x01;
34     public static final int EMAIL = 0x02;
35     public static final int CALENDAR = 0x04;
36     public static final int MOVE = 0x05;
37     public static final int GIE = 0x06;
38     public static final int FOLDER = 0x07;
39     public static final int MREQ = 0x08;
40     public static final int TASK = 0x09;
41     public static final int CONTACTS2 = 0x0C;
42     public static final int PING = 0x0D;
43     public static final int PROVISION = 0x0E;
44     public static final int SEARCH = 0x0F;
45     public static final int GAL = 0x10;
46     public static final int BASE = 0x11;
47     public static final int SETTINGS = 0x12;
48     public static final int DOCS = 0x13;
49     public static final int ITEMS = 0x14;
50     // 14.0
51     public static final int COMPOSE = 0x15;
52     public static final int EMAIL2 = 0x16;
53     // 14.1
54     public static final int NOTES = 0x17;
55     public static final int RIGHTS = 0x18;
56 
57     // Shift applied to page numbers to generate tag
58     public static final int PAGE_SHIFT = 6;
59     public static final int PAGE_MASK = 0x3F;  // 6 bits
60 
61     public static final int SYNC_PAGE = 0 << PAGE_SHIFT;
62     public static final int SYNC_SYNC = SYNC_PAGE + 5;
63     public static final int SYNC_RESPONSES = SYNC_PAGE + 6;
64     public static final int SYNC_ADD = SYNC_PAGE + 7;
65     public static final int SYNC_CHANGE = SYNC_PAGE + 8;
66     public static final int SYNC_DELETE = SYNC_PAGE + 9;
67     public static final int SYNC_FETCH = SYNC_PAGE + 0xA;
68     public static final int SYNC_SYNC_KEY = SYNC_PAGE + 0xB;
69     public static final int SYNC_CLIENT_ID = SYNC_PAGE + 0xC;
70     public static final int SYNC_SERVER_ID = SYNC_PAGE + 0xD;
71     public static final int SYNC_STATUS = SYNC_PAGE + 0xE;
72     public static final int SYNC_COLLECTION = SYNC_PAGE + 0xF;
73     public static final int SYNC_CLASS = SYNC_PAGE + 0x10;
74     public static final int SYNC_VERSION = SYNC_PAGE + 0x11;
75     public static final int SYNC_COLLECTION_ID = SYNC_PAGE + 0x12;
76     public static final int SYNC_GET_CHANGES = SYNC_PAGE + 0x13;
77     public static final int SYNC_MORE_AVAILABLE = SYNC_PAGE + 0x14;
78     public static final int SYNC_WINDOW_SIZE = SYNC_PAGE + 0x15;
79     public static final int SYNC_COMMANDS = SYNC_PAGE + 0x16;
80     public static final int SYNC_OPTIONS = SYNC_PAGE + 0x17;
81     public static final int SYNC_FILTER_TYPE = SYNC_PAGE + 0x18;
82     public static final int SYNC_TRUNCATION = SYNC_PAGE + 0x19;
83     public static final int SYNC_RTF_TRUNCATION = SYNC_PAGE + 0x1A;
84     public static final int SYNC_CONFLICT = SYNC_PAGE + 0x1B;
85     public static final int SYNC_COLLECTIONS = SYNC_PAGE + 0x1C;
86     public static final int SYNC_APPLICATION_DATA = SYNC_PAGE + 0x1D;
87     public static final int SYNC_DELETES_AS_MOVES = SYNC_PAGE + 0x1E;
88     public static final int SYNC_NOTIFY_GUID = SYNC_PAGE + 0x1F;
89     public static final int SYNC_SUPPORTED = SYNC_PAGE + 0x20;
90     public static final int SYNC_SOFT_DELETE = SYNC_PAGE + 0x21;
91     public static final int SYNC_MIME_SUPPORT = SYNC_PAGE + 0x22;
92     public static final int SYNC_MIME_TRUNCATION = SYNC_PAGE + 0x23;
93     public static final int SYNC_WAIT = SYNC_PAGE + 0x24;
94     public static final int SYNC_LIMIT = SYNC_PAGE + 0x25;
95     public static final int SYNC_PARTIAL = SYNC_PAGE + 0x26;
96 
97     public static final int GIE_PAGE = GIE << PAGE_SHIFT;
98     public static final int GIE_GET_ITEM_ESTIMATE = GIE_PAGE + 5;
99     public static final int GIE_VERSION = GIE_PAGE + 6;
100     public static final int GIE_COLLECTIONS = GIE_PAGE + 7;
101     public static final int GIE_COLLECTION = GIE_PAGE + 8;
102     public static final int GIE_CLASS = GIE_PAGE + 9;
103     public static final int GIE_COLLECTION_ID = GIE_PAGE + 0xA;
104     public static final int GIE_DATE_TIME = GIE_PAGE + 0xB;
105     public static final int GIE_ESTIMATE = GIE_PAGE + 0xC;
106     public static final int GIE_RESPONSE = GIE_PAGE + 0xD;
107     public static final int GIE_STATUS = GIE_PAGE + 0xE;
108 
109     public static final int CONTACTS_PAGE = CONTACTS << PAGE_SHIFT;
110     public static final int CONTACTS_ANNIVERSARY = CONTACTS_PAGE + 5;
111     public static final int CONTACTS_ASSISTANT_NAME = CONTACTS_PAGE + 6;
112     public static final int CONTACTS_ASSISTANT_TELEPHONE_NUMBER = CONTACTS_PAGE + 7;
113     public static final int CONTACTS_BIRTHDAY = CONTACTS_PAGE + 8;
114     public static final int CONTACTS_BODY = CONTACTS_PAGE + 9;
115     public static final int CONTACTS_BODY_SIZE = CONTACTS_PAGE + 0xA;
116     public static final int CONTACTS_BODY_TRUNCATED = CONTACTS_PAGE + 0xB;
117     public static final int CONTACTS_BUSINESS2_TELEPHONE_NUMBER = CONTACTS_PAGE + 0xC;
118     public static final int CONTACTS_BUSINESS_ADDRESS_CITY = CONTACTS_PAGE + 0xD;
119     public static final int CONTACTS_BUSINESS_ADDRESS_COUNTRY = CONTACTS_PAGE + 0xE;
120     public static final int CONTACTS_BUSINESS_ADDRESS_POSTAL_CODE = CONTACTS_PAGE + 0xF;
121     public static final int CONTACTS_BUSINESS_ADDRESS_STATE = CONTACTS_PAGE + 0x10;
122     public static final int CONTACTS_BUSINESS_ADDRESS_STREET = CONTACTS_PAGE + 0x11;
123     public static final int CONTACTS_BUSINESS_FAX_NUMBER = CONTACTS_PAGE + 0x12;
124     public static final int CONTACTS_BUSINESS_TELEPHONE_NUMBER = CONTACTS_PAGE + 0x13;
125     public static final int CONTACTS_CAR_TELEPHONE_NUMBER = CONTACTS_PAGE + 0x14;
126     public static final int CONTACTS_CATEGORIES = CONTACTS_PAGE + 0x15;
127     public static final int CONTACTS_CATEGORY = CONTACTS_PAGE + 0x16;
128     public static final int CONTACTS_CHILDREN = CONTACTS_PAGE + 0x17;
129     public static final int CONTACTS_CHILD = CONTACTS_PAGE + 0x18;
130     public static final int CONTACTS_COMPANY_NAME = CONTACTS_PAGE + 0x19;
131     public static final int CONTACTS_DEPARTMENT = CONTACTS_PAGE + 0x1A;
132     public static final int CONTACTS_EMAIL1_ADDRESS = CONTACTS_PAGE + 0x1B;
133     public static final int CONTACTS_EMAIL2_ADDRESS = CONTACTS_PAGE + 0x1C;
134     public static final int CONTACTS_EMAIL3_ADDRESS = CONTACTS_PAGE + 0x1D;
135     public static final int CONTACTS_FILE_AS = CONTACTS_PAGE + 0x1E;
136     public static final int CONTACTS_FIRST_NAME = CONTACTS_PAGE + 0x1F;
137     public static final int CONTACTS_HOME2_TELEPHONE_NUMBER = CONTACTS_PAGE + 0x20;
138     public static final int CONTACTS_HOME_ADDRESS_CITY = CONTACTS_PAGE + 0x21;
139     public static final int CONTACTS_HOME_ADDRESS_COUNTRY = CONTACTS_PAGE + 0x22;
140     public static final int CONTACTS_HOME_ADDRESS_POSTAL_CODE = CONTACTS_PAGE + 0x23;
141     public static final int CONTACTS_HOME_ADDRESS_STATE = CONTACTS_PAGE + 0x24;
142     public static final int CONTACTS_HOME_ADDRESS_STREET = CONTACTS_PAGE + 0x25;
143     public static final int CONTACTS_HOME_FAX_NUMBER = CONTACTS_PAGE + 0x26;
144     public static final int CONTACTS_HOME_TELEPHONE_NUMBER = CONTACTS_PAGE + 0x27;
145     public static final int CONTACTS_JOB_TITLE = CONTACTS_PAGE + 0x28;
146     public static final int CONTACTS_LAST_NAME = CONTACTS_PAGE + 0x29;
147     public static final int CONTACTS_MIDDLE_NAME = CONTACTS_PAGE + 0x2A;
148     public static final int CONTACTS_MOBILE_TELEPHONE_NUMBER = CONTACTS_PAGE + 0x2B;
149     public static final int CONTACTS_OFFICE_LOCATION = CONTACTS_PAGE + 0x2C;
150     public static final int CONTACTS_OTHER_ADDRESS_CITY = CONTACTS_PAGE + 0x2D;
151     public static final int CONTACTS_OTHER_ADDRESS_COUNTRY = CONTACTS_PAGE + 0x2E;
152     public static final int CONTACTS_OTHER_ADDRESS_POSTAL_CODE = CONTACTS_PAGE + 0x2F;
153     public static final int CONTACTS_OTHER_ADDRESS_STATE = CONTACTS_PAGE + 0x30;
154     public static final int CONTACTS_OTHER_ADDRESS_STREET = CONTACTS_PAGE + 0x31;
155     public static final int CONTACTS_PAGER_NUMBER = CONTACTS_PAGE + 0x32;
156     public static final int CONTACTS_RADIO_TELEPHONE_NUMBER = CONTACTS_PAGE + 0x33;
157     public static final int CONTACTS_SPOUSE = CONTACTS_PAGE + 0x34;
158     public static final int CONTACTS_SUFFIX = CONTACTS_PAGE + 0x35;
159     public static final int CONTACTS_TITLE = CONTACTS_PAGE + 0x36;
160     public static final int CONTACTS_WEBPAGE = CONTACTS_PAGE + 0x37;
161     public static final int CONTACTS_YOMI_COMPANY_NAME = CONTACTS_PAGE + 0x38;
162     public static final int CONTACTS_YOMI_FIRST_NAME = CONTACTS_PAGE + 0x39;
163     public static final int CONTACTS_YOMI_LAST_NAME = CONTACTS_PAGE + 0x3A;
164     public static final int CONTACTS_COMPRESSED_RTF = CONTACTS_PAGE + 0x3B;
165     public static final int CONTACTS_PICTURE = CONTACTS_PAGE + 0x3C;
166 
167     public static final int CALENDAR_PAGE = CALENDAR << PAGE_SHIFT;
168     public static final int CALENDAR_TIME_ZONE = CALENDAR_PAGE + 5;
169     public static final int CALENDAR_ALL_DAY_EVENT = CALENDAR_PAGE + 6;
170     public static final int CALENDAR_ATTENDEES = CALENDAR_PAGE + 7;
171     public static final int CALENDAR_ATTENDEE = CALENDAR_PAGE + 8;
172     public static final int CALENDAR_ATTENDEE_EMAIL = CALENDAR_PAGE + 9;
173     public static final int CALENDAR_ATTENDEE_NAME = CALENDAR_PAGE + 0xA;
174     public static final int CALENDAR_BODY = CALENDAR_PAGE + 0xB;
175     public static final int CALENDAR_BODY_TRUNCATED = CALENDAR_PAGE + 0xC;
176     public static final int CALENDAR_BUSY_STATUS = CALENDAR_PAGE + 0xD;
177     public static final int CALENDAR_CATEGORIES = CALENDAR_PAGE + 0xE;
178     public static final int CALENDAR_CATEGORY = CALENDAR_PAGE + 0xF;
179     public static final int CALENDAR_COMPRESSED_RTF = CALENDAR_PAGE + 0x10;
180     public static final int CALENDAR_DTSTAMP = CALENDAR_PAGE + 0x11;
181     public static final int CALENDAR_END_TIME = CALENDAR_PAGE + 0x12;
182     public static final int CALENDAR_EXCEPTION = CALENDAR_PAGE + 0x13;
183     public static final int CALENDAR_EXCEPTIONS = CALENDAR_PAGE + 0x14;
184     public static final int CALENDAR_EXCEPTION_IS_DELETED = CALENDAR_PAGE + 0x15;
185     public static final int CALENDAR_EXCEPTION_START_TIME = CALENDAR_PAGE + 0x16;
186     public static final int CALENDAR_LOCATION = CALENDAR_PAGE + 0x17;
187     public static final int CALENDAR_MEETING_STATUS = CALENDAR_PAGE + 0x18;
188     public static final int CALENDAR_ORGANIZER_EMAIL = CALENDAR_PAGE + 0x19;
189     public static final int CALENDAR_ORGANIZER_NAME = CALENDAR_PAGE + 0x1A;
190     public static final int CALENDAR_RECURRENCE = CALENDAR_PAGE + 0x1B;
191     public static final int CALENDAR_RECURRENCE_TYPE = CALENDAR_PAGE + 0x1C;
192     public static final int CALENDAR_RECURRENCE_UNTIL = CALENDAR_PAGE + 0x1D;
193     public static final int CALENDAR_RECURRENCE_OCCURRENCES = CALENDAR_PAGE + 0x1E;
194     public static final int CALENDAR_RECURRENCE_INTERVAL = CALENDAR_PAGE + 0x1F;
195     public static final int CALENDAR_RECURRENCE_DAYOFWEEK = CALENDAR_PAGE + 0x20;
196     public static final int CALENDAR_RECURRENCE_DAYOFMONTH = CALENDAR_PAGE + 0x21;
197     public static final int CALENDAR_RECURRENCE_WEEKOFMONTH = CALENDAR_PAGE + 0x22;
198     public static final int CALENDAR_RECURRENCE_MONTHOFYEAR = CALENDAR_PAGE + 0x23;
199     public static final int CALENDAR_REMINDER_MINS_BEFORE = CALENDAR_PAGE + 0x24;
200     public static final int CALENDAR_SENSITIVITY = CALENDAR_PAGE + 0x25;
201     public static final int CALENDAR_SUBJECT = CALENDAR_PAGE + 0x26;
202     public static final int CALENDAR_START_TIME = CALENDAR_PAGE + 0x27;
203     public static final int CALENDAR_UID = CALENDAR_PAGE + 0x28;
204     public static final int CALENDAR_ATTENDEE_STATUS = CALENDAR_PAGE + 0x29;
205     public static final int CALENDAR_ATTENDEE_TYPE = CALENDAR_PAGE + 0x2A;
206     public static final int CALENDAR_ATTACHMENT = CALENDAR_PAGE + 0x2B;
207     public static final int CALENDAR_ATTACHMENTS = CALENDAR_PAGE + 0x2C;
208     public static final int CALENDAR_ATT_NAME = CALENDAR_PAGE + 0x2D;
209     public static final int CALENDAR_ATT_SIZE = CALENDAR_PAGE + 0x2E;
210     public static final int CALENDAR_ATT_OID = CALENDAR_PAGE + 0x2F;
211     public static final int CALENDAR_ATT_METHOD = CALENDAR_PAGE + 0x30;
212     public static final int CALENDAR_ATT_REMOVED = CALENDAR_PAGE + 0x31;
213     public static final int CALENDAR_DISPLAY_NAME = CALENDAR_PAGE + 0x32;
214     public static final int CALENDAR_DISALLOW_NEW_TIME_PROPOSAL = CALENDAR_PAGE + 0x33;
215     public static final int CALENDAR_RESPONSE_REQUESTED = CALENDAR_PAGE + 0x34;
216     public static final int CALENDAR_APPOINTMENT_REPLY_TIME = CALENDAR_PAGE + 0x35;
217     public static final int CALENDAR_RESPONSE_TYPE = CALENDAR_PAGE + 0x36;
218     public static final int CALENDAR_CALENDAR_TYPE = CALENDAR_PAGE + 0x37;
219     public static final int CALENDAR_IS_LEAP_MONTH = CALENDAR_PAGE + 0x38;
220     public static final int CALENDAR_FIRST_DAY_OF_WEEK = CALENDAR_PAGE + 0x39;
221     public static final int CALENDAR_ONLINE_MEETING_CONFLINK = CALENDAR_PAGE + 0x3A;
222     public static final int CALENDAR_ONLINE_MEETING_EXTERNAL_LINK = CALENDAR_PAGE + 0x3B;
223 
224     public static final int FOLDER_PAGE = FOLDER << PAGE_SHIFT;
225     public static final int FOLDER_FOLDERS = FOLDER_PAGE + 5;
226     public static final int FOLDER_FOLDER = FOLDER_PAGE + 6;
227     public static final int FOLDER_DISPLAY_NAME = FOLDER_PAGE + 7;
228     public static final int FOLDER_SERVER_ID = FOLDER_PAGE + 8;
229     public static final int FOLDER_PARENT_ID = FOLDER_PAGE + 9;
230     public static final int FOLDER_TYPE = FOLDER_PAGE + 0xA;
231     public static final int FOLDER_RESPONSE = FOLDER_PAGE + 0xB;
232     public static final int FOLDER_STATUS = FOLDER_PAGE + 0xC;
233     public static final int FOLDER_CONTENT_CLASS = FOLDER_PAGE + 0xD;
234     public static final int FOLDER_CHANGES = FOLDER_PAGE + 0xE;
235     public static final int FOLDER_ADD = FOLDER_PAGE + 0xF;
236     public static final int FOLDER_DELETE = FOLDER_PAGE + 0x10;
237     public static final int FOLDER_UPDATE = FOLDER_PAGE + 0x11;
238     public static final int FOLDER_SYNC_KEY = FOLDER_PAGE + 0x12;
239     public static final int FOLDER_FOLDER_CREATE = FOLDER_PAGE + 0x13;
240     public static final int FOLDER_FOLDER_DELETE= FOLDER_PAGE + 0x14;
241     public static final int FOLDER_FOLDER_UPDATE = FOLDER_PAGE + 0x15;
242     public static final int FOLDER_FOLDER_SYNC = FOLDER_PAGE + 0x16;
243     public static final int FOLDER_COUNT = FOLDER_PAGE + 0x17;
244     public static final int FOLDER_VERSION = FOLDER_PAGE + 0x18;
245 
246     public static final int MREQ_PAGE = MREQ << PAGE_SHIFT;
247     public static final int MREQ_CAL_ID = MREQ_PAGE + 5;
248     public static final int MREQ_COLLECTION_ID = MREQ_PAGE + 6;
249     public static final int MREQ_MEETING_RESPONSE = MREQ_PAGE + 7;
250     public static final int MREQ_REQ_ID = MREQ_PAGE + 8;
251     public static final int MREQ_REQUEST = MREQ_PAGE + 9;
252     public static final int MREQ_RESULT = MREQ_PAGE + 0xA;
253     public static final int MREQ_STATUS = MREQ_PAGE + 0xB;
254     public static final int MREQ_USER_RESPONSE = MREQ_PAGE + 0xC;
255     public static final int MREQ_VERSION = MREQ_PAGE + 0xD;
256 
257     public static final int EMAIL_PAGE = EMAIL << PAGE_SHIFT;
258     public static final int EMAIL_ATTACHMENT = EMAIL_PAGE + 5;
259     public static final int EMAIL_ATTACHMENTS = EMAIL_PAGE + 6;
260     public static final int EMAIL_ATT_NAME = EMAIL_PAGE + 7;
261     public static final int EMAIL_ATT_SIZE = EMAIL_PAGE + 8;
262     public static final int EMAIL_ATT0ID = EMAIL_PAGE + 9;
263     public static final int EMAIL_ATT_METHOD = EMAIL_PAGE + 0xA;
264     public static final int EMAIL_ATT_REMOVED = EMAIL_PAGE + 0xB;
265     public static final int EMAIL_BODY = EMAIL_PAGE + 0xC;
266     public static final int EMAIL_BODY_SIZE = EMAIL_PAGE + 0xD;
267     public static final int EMAIL_BODY_TRUNCATED = EMAIL_PAGE + 0xE;
268     public static final int EMAIL_DATE_RECEIVED = EMAIL_PAGE + 0xF;
269     public static final int EMAIL_DISPLAY_NAME = EMAIL_PAGE + 0x10;
270     public static final int EMAIL_DISPLAY_TO = EMAIL_PAGE + 0x11;
271     public static final int EMAIL_IMPORTANCE = EMAIL_PAGE + 0x12;
272     public static final int EMAIL_MESSAGE_CLASS = EMAIL_PAGE + 0x13;
273     public static final int EMAIL_SUBJECT = EMAIL_PAGE + 0x14;
274     public static final int EMAIL_READ = EMAIL_PAGE + 0x15;
275     public static final int EMAIL_TO = EMAIL_PAGE + 0x16;
276     public static final int EMAIL_CC = EMAIL_PAGE + 0x17;
277     public static final int EMAIL_FROM = EMAIL_PAGE + 0x18;
278     public static final int EMAIL_REPLY_TO = EMAIL_PAGE + 0x19;
279     public static final int EMAIL_ALL_DAY_EVENT = EMAIL_PAGE + 0x1A;
280     public static final int EMAIL_CATEGORIES = EMAIL_PAGE + 0x1B;
281     public static final int EMAIL_CATEGORY = EMAIL_PAGE + 0x1C;
282     public static final int EMAIL_DTSTAMP = EMAIL_PAGE + 0x1D;
283     public static final int EMAIL_END_TIME = EMAIL_PAGE + 0x1E;
284     public static final int EMAIL_INSTANCE_TYPE = EMAIL_PAGE + 0x1F;
285     public static final int EMAIL_INTD_BUSY_STATUS = EMAIL_PAGE + 0x20;
286     public static final int EMAIL_LOCATION = EMAIL_PAGE + 0x21;
287     public static final int EMAIL_MEETING_REQUEST = EMAIL_PAGE + 0x22;
288     public static final int EMAIL_ORGANIZER = EMAIL_PAGE + 0x23;
289     public static final int EMAIL_RECURRENCE_ID = EMAIL_PAGE + 0x24;
290     public static final int EMAIL_REMINDER = EMAIL_PAGE + 0x25;
291     public static final int EMAIL_RESPONSE_REQUESTED = EMAIL_PAGE + 0x26;
292     public static final int EMAIL_RECURRENCES = EMAIL_PAGE + 0x27;
293     public static final int EMAIL_RECURRENCE = EMAIL_PAGE + 0x28;
294     public static final int EMAIL_RECURRENCE_TYPE = EMAIL_PAGE + 0x29;
295     public static final int EMAIL_RECURRENCE_UNTIL = EMAIL_PAGE + 0x2A;
296     public static final int EMAIL_RECURRENCE_OCCURRENCES = EMAIL_PAGE + 0x2B;
297     public static final int EMAIL_RECURRENCE_INTERVAL = EMAIL_PAGE + 0x2C;
298     public static final int EMAIL_RECURRENCE_DAYOFWEEK = EMAIL_PAGE + 0x2D;
299     public static final int EMAIL_RECURRENCE_DAYOFMONTH = EMAIL_PAGE + 0x2E;
300     public static final int EMAIL_RECURRENCE_WEEKOFMONTH = EMAIL_PAGE + 0x2F;
301     public static final int EMAIL_RECURRENCE_MONTHOFYEAR = EMAIL_PAGE + 0x30;
302     public static final int EMAIL_START_TIME = EMAIL_PAGE + 0x31;
303     public static final int EMAIL_SENSITIVITY = EMAIL_PAGE + 0x32;
304     public static final int EMAIL_TIME_ZONE = EMAIL_PAGE + 0x33;
305     public static final int EMAIL_GLOBAL_OBJID = EMAIL_PAGE + 0x34;
306     public static final int EMAIL_THREAD_TOPIC = EMAIL_PAGE + 0x35;
307     public static final int EMAIL_MIME_DATA = EMAIL_PAGE + 0x36;
308     public static final int EMAIL_MIME_TRUNCATED = EMAIL_PAGE + 0x37;
309     public static final int EMAIL_MIME_SIZE = EMAIL_PAGE + 0x38;
310     public static final int EMAIL_INTERNET_CPID = EMAIL_PAGE + 0x39;
311     public static final int EMAIL_FLAG = EMAIL_PAGE + 0x3A;
312     public static final int EMAIL_FLAG_STATUS = EMAIL_PAGE + 0x3B;
313     public static final int EMAIL_CONTENT_CLASS = EMAIL_PAGE + 0x3C;
314     public static final int EMAIL_FLAG_TYPE = EMAIL_PAGE + 0x3D;
315     public static final int EMAIL_COMPLETE_TIME = EMAIL_PAGE + 0x3E;
316     public static final int EMAIL_DISALLOW_NEW_TIME_PROPOSAL = EMAIL_PAGE + 0x3F;
317 
318     public static final int TASK_PAGE = TASK << PAGE_SHIFT;
319     public static final int TASK_BODY = TASK_PAGE + 5;
320     public static final int TASK_BODY_SIZE = TASK_PAGE + 6;
321     public static final int TASK_BODY_TRUNCATED = TASK_PAGE + 7;
322     public static final int TASK_CATEGORIES = TASK_PAGE + 8;
323     public static final int TASK_CATEGORY = TASK_PAGE + 9;
324     public static final int TASK_COMPLETE = TASK_PAGE + 0xA;
325     public static final int TASK_DATE_COMPLETED = TASK_PAGE + 0xB;
326     public static final int TASK_DUE_DATE = TASK_PAGE + 0xC;
327     public static final int TASK_UTC_DUE_DATE = TASK_PAGE + 0xD;
328     public static final int TASK_IMPORTANCE = TASK_PAGE + 0xE;
329     public static final int TASK_RECURRENCE = TASK_PAGE + 0xF;
330     public static final int TASK_RECURRENCE_TYPE = TASK_PAGE + 0x10;
331     public static final int TASK_RECURRENCE_START = TASK_PAGE + 0x11;
332     public static final int TASK_RECURRENCE_UNTIL = TASK_PAGE + 0x12;
333     public static final int TASK_RECURRENCE_OCCURRENCES = TASK_PAGE + 0x13;
334     public static final int TASK_RECURRENCE_INTERVAL = TASK_PAGE + 0x14;
335     public static final int TASK_RECURRENCE_DAY_OF_MONTH = TASK_PAGE + 0x15;
336     public static final int TASK_RECURRENCE_DAY_OF_WEEK = TASK_PAGE + 0x16;
337     public static final int TASK_RECURRENCE_WEEK_OF_MONTH = TASK_PAGE + 0x17;
338     public static final int TASK_RECURRENCE_MONTH_OF_YEAR = TASK_PAGE + 0x18;
339     public static final int TASK_RECURRENCE_REGENERATE = TASK_PAGE + 0x19;
340     public static final int TASK_RECURRENCE_DEAD_OCCUR = TASK_PAGE + 0x1A;
341     public static final int TASK_REMINDER_SET = TASK_PAGE + 0x1B;
342     public static final int TASK_REMINDER_TIME = TASK_PAGE + 0x1C;
343     public static final int TASK_SENSITIVITY = TASK_PAGE + 0x1D;
344     public static final int TASK_START_DATE = TASK_PAGE + 0x1E;
345     public static final int TASK_UTC_START_DATE = TASK_PAGE + 0x1F;
346     public static final int TASK_SUBJECT = TASK_PAGE + 0x20;
347     public static final int COMPRESSED_RTF = TASK_PAGE + 0x21;
348     public static final int ORDINAL_DATE = TASK_PAGE + 0x22;
349     public static final int SUBORDINAL_DATE = TASK_PAGE + 0x23;
350 
351     public static final int MOVE_PAGE = MOVE << PAGE_SHIFT;
352     public static final int MOVE_MOVE_ITEMS = MOVE_PAGE + 5;
353     public static final int MOVE_MOVE = MOVE_PAGE + 6;
354     public static final int MOVE_SRCMSGID = MOVE_PAGE + 7;
355     public static final int MOVE_SRCFLDID = MOVE_PAGE + 8;
356     public static final int MOVE_DSTFLDID = MOVE_PAGE + 9;
357     public static final int MOVE_RESPONSE = MOVE_PAGE + 0xA;
358     public static final int MOVE_STATUS = MOVE_PAGE + 0xB;
359     public static final int MOVE_DSTMSGID = MOVE_PAGE + 0xC;
360 
361     public static final int CONTACTS2_PAGE = CONTACTS2 << PAGE_SHIFT;
362     public static final int CONTACTS2_CUSTOMER_ID = CONTACTS2_PAGE + 5;
363     public static final int CONTACTS2_GOVERNMENT_ID = CONTACTS2_PAGE + 6;
364     public static final int CONTACTS2_IM_ADDRESS = CONTACTS2_PAGE + 7;
365     public static final int CONTACTS2_IM_ADDRESS_2 = CONTACTS2_PAGE + 8;
366     public static final int CONTACTS2_IM_ADDRESS_3 = CONTACTS2_PAGE + 9;
367     public static final int CONTACTS2_MANAGER_NAME = CONTACTS2_PAGE + 0xA;
368     public static final int CONTACTS2_COMPANY_MAIN_PHONE = CONTACTS2_PAGE + 0xB;
369     public static final int CONTACTS2_ACCOUNT_NAME = CONTACTS2_PAGE + 0xC;
370     public static final int CONTACTS2_NICKNAME = CONTACTS2_PAGE + 0xD;
371     public static final int CONTACTS2_MMS = CONTACTS2_PAGE + 0xE;
372 
373     public static final int PING_PAGE = PING << PAGE_SHIFT;
374     public static final int PING_PING = PING_PAGE + 5;
375     public static final int PING_AUTD_STATE = PING_PAGE + 6;
376     public static final int PING_STATUS = PING_PAGE + 7;
377     public static final int PING_HEARTBEAT_INTERVAL = PING_PAGE + 8;
378     public static final int PING_FOLDERS = PING_PAGE + 9;
379     public static final int PING_FOLDER = PING_PAGE + 0xA;
380     public static final int PING_ID = PING_PAGE + 0xB;
381     public static final int PING_CLASS = PING_PAGE + 0xC;
382     public static final int PING_MAX_FOLDERS = PING_PAGE + 0xD;
383 
384     public static final int SEARCH_PAGE = SEARCH << PAGE_SHIFT;
385     public static final int SEARCH_SEARCH = SEARCH_PAGE + 5;
386     public static final int SEARCH_STORES = SEARCH_PAGE + 6;
387     public static final int SEARCH_STORE = SEARCH_PAGE + 7;
388     public static final int SEARCH_NAME = SEARCH_PAGE + 8;
389     public static final int SEARCH_QUERY = SEARCH_PAGE + 9;
390     public static final int SEARCH_OPTIONS = SEARCH_PAGE + 0xA;
391     public static final int SEARCH_RANGE = SEARCH_PAGE + 0xB;
392     public static final int SEARCH_STATUS = SEARCH_PAGE + 0xC;
393     public static final int SEARCH_RESPONSE = SEARCH_PAGE + 0xD;
394     public static final int SEARCH_RESULT = SEARCH_PAGE + 0xE;
395     public static final int SEARCH_PROPERTIES = SEARCH_PAGE + 0xF;
396     public static final int SEARCH_TOTAL = SEARCH_PAGE + 0x10;
397     public static final int SEARCH_EQUAL_TO = SEARCH_PAGE + 0x11;
398     public static final int SEARCH_VALUE = SEARCH_PAGE + 0x12;
399     public static final int SEARCH_AND = SEARCH_PAGE + 0x13;
400     public static final int SEARCH_OR = SEARCH_PAGE + 0x14;
401     public static final int SEARCH_FREE_TEXT = SEARCH_PAGE + 0x15;
402     public static final int SEARCH_SUBSTRING_OP = SEARCH_PAGE + 0x16;
403     public static final int SEARCH_DEEP_TRAVERSAL = SEARCH_PAGE + 0x17;
404     public static final int SEARCH_LONG_ID = SEARCH_PAGE + 0x18;
405     public static final int SEARCH_REBUILD_RESULTS = SEARCH_PAGE + 0x19;
406     public static final int SEARCH_LESS_THAN = SEARCH_PAGE + 0x1A;
407     public static final int SEARCH_GREATER_THAN = SEARCH_PAGE + 0x1B;
408     public static final int SEARCH_SCHEMA = SEARCH_PAGE + 0x1C;
409     public static final int SEARCH_SUPPORTED = SEARCH_PAGE + 0x1D;
410 
411     public static final int GAL_PAGE = GAL << PAGE_SHIFT;
412     public static final int GAL_DISPLAY_NAME = GAL_PAGE + 5;
413     public static final int GAL_PHONE = GAL_PAGE + 6;
414     public static final int GAL_OFFICE = GAL_PAGE + 7;
415     public static final int GAL_TITLE = GAL_PAGE + 8;
416     public static final int GAL_COMPANY = GAL_PAGE + 9;
417     public static final int GAL_ALIAS = GAL_PAGE + 0xA;
418     public static final int GAL_FIRST_NAME = GAL_PAGE + 0xB;
419     public static final int GAL_LAST_NAME = GAL_PAGE + 0xC;
420     public static final int GAL_HOME_PHONE = GAL_PAGE + 0xD;
421     public static final int GAL_MOBILE_PHONE = GAL_PAGE + 0xE;
422     public static final int GAL_EMAIL_ADDRESS = GAL_PAGE + 0xF;
423 
424     public static final int PROVISION_PAGE = PROVISION << PAGE_SHIFT;
425     // EAS 2.5
426     public static final int PROVISION_PROVISION = PROVISION_PAGE + 5;
427     public static final int PROVISION_POLICIES = PROVISION_PAGE + 6;
428     public static final int PROVISION_POLICY = PROVISION_PAGE + 7;
429     public static final int PROVISION_POLICY_TYPE = PROVISION_PAGE + 8;
430     public static final int PROVISION_POLICY_KEY = PROVISION_PAGE + 9;
431     public static final int PROVISION_DATA = PROVISION_PAGE + 0xA;
432     public static final int PROVISION_STATUS = PROVISION_PAGE + 0xB;
433     public static final int PROVISION_REMOTE_WIPE = PROVISION_PAGE + 0xC;
434     // EAS 12.0
435     public static final int PROVISION_EAS_PROVISION_DOC = PROVISION_PAGE + 0xD;
436     public static final int PROVISION_DEVICE_PASSWORD_ENABLED = PROVISION_PAGE + 0xE;
437     public static final int PROVISION_ALPHA_DEVICE_PASSWORD_ENABLED = PROVISION_PAGE + 0xF;
438     public static final int PROVISION_DEVICE_ENCRYPTION_ENABLED = PROVISION_PAGE + 0x10;
439     public static final int PROVISION_PASSWORD_RECOVERY_ENABLED = PROVISION_PAGE + 0x11;
440     public static final int PROVISION_ATTACHMENTS_ENABLED = PROVISION_PAGE + 0x13;
441     public static final int PROVISION_MIN_DEVICE_PASSWORD_LENGTH = PROVISION_PAGE + 0x14;
442     public static final int PROVISION_MAX_INACTIVITY_TIME_DEVICE_LOCK = PROVISION_PAGE + 0x15;
443     public static final int PROVISION_MAX_DEVICE_PASSWORD_FAILED_ATTEMPTS = PROVISION_PAGE + 0x16;
444     public static final int PROVISION_MAX_ATTACHMENT_SIZE = PROVISION_PAGE + 0x17;
445     public static final int PROVISION_ALLOW_SIMPLE_DEVICE_PASSWORD = PROVISION_PAGE + 0x18;
446     public static final int PROVISION_DEVICE_PASSWORD_EXPIRATION = PROVISION_PAGE + 0x19;
447     public static final int PROVISION_DEVICE_PASSWORD_HISTORY = PROVISION_PAGE + 0x1A;
448     public static final int PROVISION_MAX_SUPPORTED_TAG = PROVISION_DEVICE_PASSWORD_HISTORY;
449 
450     // EAS 12.1
451     public static final int PROVISION_ALLOW_STORAGE_CARD = PROVISION_PAGE + 0x1B;
452     public static final int PROVISION_ALLOW_CAMERA = PROVISION_PAGE + 0x1C;
453     public static final int PROVISION_REQUIRE_DEVICE_ENCRYPTION = PROVISION_PAGE + 0x1D;
454     public static final int PROVISION_ALLOW_UNSIGNED_APPLICATIONS = PROVISION_PAGE + 0x1E;
455     public static final int PROVISION_ALLOW_UNSIGNED_INSTALLATION_PACKAGES = PROVISION_PAGE + 0x1F;
456     public static final int PROVISION_MIN_DEVICE_PASSWORD_COMPLEX_CHARS = PROVISION_PAGE + 0x20;
457     public static final int PROVISION_ALLOW_WIFI = PROVISION_PAGE + 0x21;
458     public static final int PROVISION_ALLOW_TEXT_MESSAGING = PROVISION_PAGE + 0x22;
459     public static final int PROVISION_ALLOW_POP_IMAP_EMAIL = PROVISION_PAGE + 0x23;
460     public static final int PROVISION_ALLOW_BLUETOOTH = PROVISION_PAGE + 0x24;
461     public static final int PROVISION_ALLOW_IRDA = PROVISION_PAGE + 0x25;
462     public static final int PROVISION_REQUIRE_MANUAL_SYNC_WHEN_ROAMING = PROVISION_PAGE + 0x26;
463     public static final int PROVISION_ALLOW_DESKTOP_SYNC = PROVISION_PAGE + 0x27;
464     public static final int PROVISION_MAX_CALENDAR_AGE_FILTER = PROVISION_PAGE + 0x28;
465     public static final int PROVISION_ALLOW_HTML_EMAIL = PROVISION_PAGE + 0x29;
466     public static final int PROVISION_MAX_EMAIL_AGE_FILTER = PROVISION_PAGE + 0x2A;
467     public static final int PROVISION_MAX_EMAIL_BODY_TRUNCATION_SIZE = PROVISION_PAGE + 0x2B;
468     public static final int PROVISION_MAX_EMAIL_HTML_BODY_TRUNCATION_SIZE = PROVISION_PAGE + 0x2C;
469     public static final int PROVISION_REQUIRE_SIGNED_SMIME_MESSAGES = PROVISION_PAGE + 0x2D;
470     public static final int PROVISION_REQUIRE_ENCRYPTED_SMIME_MESSAGES = PROVISION_PAGE + 0x2E;
471     public static final int PROVISION_REQUIRE_SIGNED_SMIME_ALGORITHM = PROVISION_PAGE + 0x2F;
472     public static final int PROVISION_REQUIRE_ENCRYPTION_SMIME_ALGORITHM = PROVISION_PAGE + 0x30;
473     public static final int PROVISION_ALLOW_SMIME_ENCRYPTION_NEGOTIATION = PROVISION_PAGE + 0x31;
474     public static final int PROVISION_ALLOW_SMIME_SOFT_CERTS = PROVISION_PAGE + 0x32;
475     public static final int PROVISION_ALLOW_BROWSER = PROVISION_PAGE + 0x33;
476     public static final int PROVISION_ALLOW_CONSUMER_EMAIL = PROVISION_PAGE + 0x34;
477     public static final int PROVISION_ALLOW_REMOTE_DESKTOP = PROVISION_PAGE + 0x35;
478     public static final int PROVISION_ALLOW_INTERNET_SHARING = PROVISION_PAGE + 0x36;
479     public static final int PROVISION_UNAPPROVED_IN_ROM_APPLICATION_LIST = PROVISION_PAGE + 0x37;
480     public static final int PROVISION_APPLICATION_NAME = PROVISION_PAGE + 0x38;
481     public static final int PROVISION_APPROVED_APPLICATION_LIST = PROVISION_PAGE + 0x39;
482     public static final int PROVISION_HASH = PROVISION_PAGE + 0x3A;
483 
484     public static final int BASE_PAGE = BASE << PAGE_SHIFT;
485     public static final int BASE_BODY_PREFERENCE = BASE_PAGE + 5;
486     public static final int BASE_TYPE = BASE_PAGE + 6;
487     public static final int BASE_TRUNCATION_SIZE = BASE_PAGE + 7;
488     public static final int BASE_ALL_OR_NONE = BASE_PAGE + 8;
489     public static final int BASE_RESERVED = BASE_PAGE + 9;
490     public static final int BASE_BODY = BASE_PAGE + 0xA;
491     public static final int BASE_DATA = BASE_PAGE + 0xB;
492     public static final int BASE_ESTIMATED_DATA_SIZE = BASE_PAGE + 0xC;
493     public static final int BASE_TRUNCATED = BASE_PAGE + 0xD;
494     public static final int BASE_ATTACHMENTS = BASE_PAGE + 0xE;
495     public static final int BASE_ATTACHMENT = BASE_PAGE + 0xF;
496     public static final int BASE_DISPLAY_NAME = BASE_PAGE + 0x10;
497     public static final int BASE_FILE_REFERENCE = BASE_PAGE + 0x11;
498     public static final int BASE_METHOD = BASE_PAGE + 0x12;
499     public static final int BASE_CONTENT_ID = BASE_PAGE + 0x13;
500     public static final int BASE_CONTENT_LOCATION = BASE_PAGE + 0x14;
501     public static final int BASE_IS_INLINE = BASE_PAGE + 0x15;
502     public static final int BASE_NATIVE_BODY_TYPE = BASE_PAGE + 0x16;
503     public static final int BASE_CONTENT_TYPE = BASE_PAGE + 0x17;
504 
505     public static final int SETTINGS_PAGE = SETTINGS << PAGE_SHIFT;
506     public static final int SETTINGS_SETTINGS = SETTINGS_PAGE + 5;
507     public static final int SETTINGS_STATUS = SETTINGS_PAGE + 6;
508     public static final int SETTINGS_GET = SETTINGS_PAGE + 7;
509     public static final int SETTINGS_SET = SETTINGS_PAGE + 8;
510     public static final int SETTINGS_OOF = SETTINGS_PAGE + 9;
511     public static final int SETTINGS_OOF_STATE = SETTINGS_PAGE + 0xA;
512     public static final int SETTINGS_START_TIME = SETTINGS_PAGE + 0xB;
513     public static final int SETTINGS_END_TIME = SETTINGS_PAGE + 0xC;
514     public static final int SETTINGS_OOF_MESSAGE = SETTINGS_PAGE + 0xD;
515     public static final int SETTINGS_APPLIES_TO_INTERNAL = SETTINGS_PAGE + 0xE;
516     public static final int SETTINGS_APPLIES_TO_EXTERNAL_KNOWN = SETTINGS_PAGE + 0xF;
517     public static final int SETTINGS_APPLIES_TO_EXTERNAL_UNKNOWN = SETTINGS_PAGE + 0x10;
518     public static final int SETTINGS_ENABLED = SETTINGS_PAGE + 0x11;
519     public static final int SETTINGS_REPLY_MESSAGE = SETTINGS_PAGE + 0x12;
520     public static final int SETTINGS_BODY_TYPE = SETTINGS_PAGE + 0x13;
521     public static final int SETTINGS_DEVICE_PASSWORD = SETTINGS_PAGE + 0x14;
522     public static final int SETTINGS_PASSWORD = SETTINGS_PAGE + 0x15;
523     public static final int SETTINGS_DEVICE_INFORMATION = SETTINGS_PAGE + 0x16;
524     public static final int SETTINGS_MODEL = SETTINGS_PAGE + 0x17;
525     public static final int SETTINGS_IMEI = SETTINGS_PAGE + 0x18;
526     public static final int SETTINGS_FRIENDLY_NAME = SETTINGS_PAGE + 0x19;
527     public static final int SETTINGS_OS = SETTINGS_PAGE + 0x1A;
528     public static final int SETTINGS_OS_LANGUAGE = SETTINGS_PAGE + 0x1B;
529     public static final int SETTINGS_PHONE_NUMBER = SETTINGS_PAGE + 0x1C;
530     public static final int SETTINGS_USER_INFORMATION = SETTINGS_PAGE + 0x1D;
531     public static final int SETTINGS_EMAIL_ADDRESS = SETTINGS_PAGE + 0x1E;
532     public static final int SETTINGS_SMTP_ADDRESS = SETTINGS_PAGE + 0x1F;
533     public static final int SETTINGS_USER_AGENT = SETTINGS_PAGE + 0x20;
534     public static final int SETTINGS_ENABLE_OUTGOING_SMS = SETTINGS_PAGE + 0x21;
535     public static final int SETTINGS_MOBILE_OPERATOR = SETTINGS_PAGE + 0x22;
536 
537     public static final int ITEMS_PAGE = ITEMS << PAGE_SHIFT;
538     public static final int ITEMS_ITEMS = ITEMS_PAGE + 5;
539     public static final int ITEMS_FETCH = ITEMS_PAGE + 6;
540     public static final int ITEMS_STORE = ITEMS_PAGE + 7;
541     public static final int ITEMS_OPTIONS = ITEMS_PAGE + 8;
542     public static final int ITEMS_RANGE = ITEMS_PAGE + 9;
543     public static final int ITEMS_TOTAL = ITEMS_PAGE + 0xA;
544     public static final int ITEMS_PROPERTIES = ITEMS_PAGE + 0xB;
545     public static final int ITEMS_DATA = ITEMS_PAGE + 0xC;
546     public static final int ITEMS_STATUS = ITEMS_PAGE + 0xD;
547     public static final int ITEMS_RESPONSE = ITEMS_PAGE + 0xE;
548     public static final int ITEMS_VERSION = ITEMS_PAGE + 0xF;
549     public static final int ITEMS_SCHEMA = ITEMS_PAGE + 0x10;
550     public static final int ITEMS_PART = ITEMS_PAGE + 0x11;
551     public static final int ITEMS_EMPTY_FOLDER = ITEMS_PAGE + 0x12;
552     public static final int ITEMS_DELETE_SUB_FOLDERS = ITEMS_PAGE + 0x13;
553     public static final int ITEMS_USERNAME = ITEMS_PAGE + 0x14;
554     public static final int ITEMS_PASSWORD = ITEMS_PAGE + 0x15;
555     public static final int ITEMS_MOVE = ITEMS_PAGE + 0x16;
556     public static final int ITEMS_DSTFLDID = ITEMS_PAGE + 0x17;
557     public static final int ITEMS_CONVERSATION_ID = ITEMS_PAGE + 0x18;
558     public static final int ITEMS_MOVE_ALWAYS = ITEMS_PAGE + 0x19;
559 
560     public static final int COMPOSE_PAGE = COMPOSE << PAGE_SHIFT;
561     public static final int COMPOSE_SEND_MAIL = COMPOSE_PAGE + 5;
562     public static final int COMPOSE_SMART_FORWARD = COMPOSE_PAGE + 6;
563     public static final int COMPOSE_SMART_REPLY = COMPOSE_PAGE + 7;
564     public static final int COMPOSE_SAVE_IN_SENT_ITEMS = COMPOSE_PAGE + 8;
565     public static final int COMPOSE_REPLACE_MIME = COMPOSE_PAGE + 9;
566     // There no tag for COMPOSE_PAGE + 0xA
567     public static final int COMPOSE_SOURCE = COMPOSE_PAGE + 0xB;
568     public static final int COMPOSE_FOLDER_ID = COMPOSE_PAGE + 0xC;
569     public static final int COMPOSE_ITEM_ID = COMPOSE_PAGE + 0xD;
570     public static final int COMPOSE_LONG_ID = COMPOSE_PAGE + 0xE;
571     public static final int COMPOSE_INSTANCE_ID = COMPOSE_PAGE + 0xF;
572     public static final int COMPOSE_MIME = COMPOSE_PAGE + 0x10;
573     public static final int COMPOSE_CLIENT_ID = COMPOSE_PAGE + 0x11;
574     public static final int COMPOSE_STATUS = COMPOSE_PAGE + 0x12;
575     public static final int COMPOSE_ACCOUNT_ID = COMPOSE_PAGE + 0x13;
576 
577     public static final int EMAIL2_PAGE = EMAIL2 << PAGE_SHIFT;
578     public static final int EMAIL2_UM_CALLER_ID = EMAIL2_PAGE + 5;
579     public static final int EMAIL2_UM_USER_NOTES = EMAIL2_PAGE + 6;
580     public static final int EMAIL2_UM_ATT_DURATION = EMAIL2_PAGE + 7;
581     public static final int EMAIL2_UM_ATT_ORDER = EMAIL2_PAGE + 8;
582     public static final int EMAIL2_CONVERSATION_ID = EMAIL2_PAGE + 9;
583     public static final int EMAIL2_CONVERSATION_INDEX = EMAIL2_PAGE + 0xA;
584     public static final int EMAIL2_LAST_VERB_EXECUTED = EMAIL2_PAGE + 0xB;
585     public static final int EMAIL2_LAST_VERB_EXECUTION_TIME = EMAIL2_PAGE + 0xC;
586     public static final int EMAIL2_RECEIVED_AS_BCC = EMAIL2_PAGE + 0xD;
587     public static final int EMAIL2_SENDER = EMAIL2_PAGE + 0xE;
588     public static final int EMAIL2_CALENDAR_TYPE = EMAIL2_PAGE + 0xF;
589     public static final int EMAIL2_IS_LEAP_MONTH = EMAIL2_PAGE + 0x10;
590     public static final int EMAIL2_ACCOUNT_ID = EMAIL2_PAGE + 0x11;
591     public static final int EMAIL2_FIRST_DAY_OF_WEEK = EMAIL2_PAGE + 0x12;
592     public static final int EMAIL2_MEETING_MESSAGE_TYPE = EMAIL2_PAGE + 0x13;
593 
594     public static final int RIGHTS_PAGE = RIGHTS << PAGE_SHIFT;
595     public static final int RIGHTS_SUPPORT = RIGHTS_PAGE + 5;
596     public static final int RIGHTS_TEMPLATES = RIGHTS_PAGE + 6;
597     public static final int RIGHTS_TEMPLATE = RIGHTS_PAGE + 7;
598     public static final int RIGHTS_LICENSE = RIGHTS_PAGE + 8;
599     public static final int RIGHTS_EDIT_ALLOWED = RIGHTS_PAGE + 9;
600     public static final int RIGHTS_REPLY_ALLOWED = RIGHTS_PAGE + 0xA;
601     public static final int RIGHTS_REPLY_ALL_ALLOWED = RIGHTS_PAGE + 0xB;
602     public static final int RIGHTS_FORWARD_ALLOWED = RIGHTS_PAGE + 0xC;
603     public static final int RIGHTS_MODIFY_RECIPIENTS_ALLOWED = RIGHTS_PAGE + 0xD;
604     public static final int RIGHTS_EXTRACT_ALLOWED = RIGHTS_PAGE + 0xE;
605     public static final int RIGHTS_PRINT_ALLOWED = RIGHTS_PAGE + 0xF;
606     public static final int RIGHTS_EXPORT_ALLOWED = RIGHTS_PAGE + 0x10;
607     public static final int RIGHTS_PROGRAMMATIC_ACCESS_ALLOWED = RIGHTS_PAGE + 0x11;
608     public static final int RIGHTS_OWNER = RIGHTS_PAGE + 0x12;
609     public static final int RIGHTS_CONTENT_EXPIRY_DATE = RIGHTS_PAGE + 0x13;
610     public static final int RIGHTS_TEMPLATE_ID = RIGHTS_PAGE + 0x14;
611     public static final int RIGHTS_TEMPLATE_NAME = RIGHTS_PAGE + 0x15;
612     public static final int RIGHTS_TEMPLATE_DESCRIPTION = RIGHTS_PAGE + 0x16;
613     public static final int RIGHTS_CONTENT_OWNER = RIGHTS_PAGE + 0x17;
614     public static final int RIGHTS_REMOVE_RM_DISTRIBUTION = RIGHTS_PAGE + 0x18;
615 
616     static public String[][] pages = {
617         {    // 0x00 AirSync
618             "Sync", "Responses", "Add", "Change", "Delete", "Fetch", "SyncKey", "ClientId",
619             "ServerId", "Status", "Collection", "Class", "Version", "CollectionId", "GetChanges",
620             "MoreAvailable", "WindowSize", "Commands", "Options", "FilterType", "Truncation",
621             "RTFTruncation", "Conflict", "Collections", "ApplicationData", "DeletesAsMoves",
622             "NotifyGUID", "Supported", "SoftDelete", "MIMESupport", "MIMETruncation", "Wait",
623             "Limit", "Partial"
624         },
625         {
626             // 0x01 Contacts
627             "Anniversary", "AssistantName", "AssistantTelephoneNumber", "Birthday", "ContactsBody",
628             "ContactsBodySize", "ContactsBodyTruncated", "Business2TelephoneNumber",
629             "BusinessAddressCity",
630             "BusinessAddressCountry", "BusinessAddressPostalCode", "BusinessAddressState",
631             "BusinessAddressStreet", "BusinessFaxNumber", "BusinessTelephoneNumber",
632             "CarTelephoneNumber", "ContactsCategories", "ContactsCategory", "Children", "Child",
633             "CompanyName", "Department", "Email1Address", "Email2Address", "Email3Address",
634             "FileAs", "FirstName", "Home2TelephoneNumber", "HomeAddressCity", "HomeAddressCountry",
635             "HomeAddressPostalCode", "HomeAddressState", "HomeAddressStreet", "HomeFaxNumber",
636             "HomeTelephoneNumber", "JobTitle", "LastName", "MiddleName", "MobileTelephoneNumber",
637             "OfficeLocation", "OtherAddressCity", "OtherAddressCountry",
638             "OtherAddressPostalCode", "OtherAddressState", "OtherAddressStreet", "PagerNumber",
639             "RadioTelephoneNumber", "Spouse", "Suffix", "Title", "Webpage", "YomiCompanyName",
640             "YomiFirstName", "YomiLastName", "CompressedRTF", "Picture"
641         },
642         {
643             // 0x02 Email
644             "Attachment", "Attachments", "AttName", "AttSize", "Add0Id", "AttMethod", "AttRemoved",
645             "Body", "BodySize", "BodyTruncated", "DateReceived", "DisplayName", "DisplayTo",
646             "Importance", "MessageClass", "Subject", "Read", "To", "CC", "From", "ReplyTo",
647             "AllDayEvent", "Categories", "Category", "DTStamp", "EndTime", "InstanceType",
648             "IntDBusyStatus", "Location", "MeetingRequest", "Organizer", "RecurrenceId", "Reminder",
649             "ResponseRequested", "Recurrences", "Recurence", "Recurrence_Type", "Recurrence_Until",
650             "Recurrence_Occurrences", "Recurrence_Interval", "Recurrence_DayOfWeek",
651             "Recurrence_DayOfMonth", "Recurrence_WeekOfMonth", "Recurrence_MonthOfYear",
652             "StartTime", "Sensitivity", "TimeZone", "GlobalObjId", "ThreadTopic", "MIMEData",
653             "MIMETruncated", "MIMESize", "InternetCPID", "Flag", "FlagStatus", "EmailContentClass",
654             "FlagType", "CompleteTime", "DisallowNewTimeProposal"
655         },
656         {
657             // 0x03 AirNotify
658         },
659         {
660             // 0x04 Calendar
661             "CalTimeZone", "CalAllDayEvent", "CalAttendees", "CalAttendee", "CalAttendee_Email",
662             "CalAttendee_Name", "CalBody", "CalBodyTruncated", "CalBusyStatus", "CalCategories",
663             "CalCategory", "CalCompressed_RTF", "CalDTStamp", "CalEndTime", "CalExeption",
664             "CalExceptions", "CalException_IsDeleted", "CalException_StartTime", "CalLocation",
665             "CalMeetingStatus", "CalOrganizer_Email", "CalOrganizer_Name", "CalRecurrence",
666             "CalRecurrence_Type", "CalRecurrence_Until", "CalRecurrence_Occurrences",
667             "CalRecurrence_Interval", "CalRecurrence_DayOfWeek", "CalRecurrence_DayOfMonth",
668             "CalRecurrence_WeekOfMonth", "CalRecurrence_MonthOfYear", "CalReminder_MinsBefore",
669             "CalSensitivity", "CalSubject", "CalStartTime", "CalUID", "CalAttendee_Status",
670             "CalAttendee_Type", "CalAttachment", "CalAttachments", "CalAttName", "CalAttSize",
671             "CalAttOid", "CalAttMethod", "CalAttRemoved", "CalDisplayName",
672             "CalDisallowNewTimeProposal", "CalResponseRequested", "CalAppointmentReplyTime",
673             "CalResponseType", "CalCalendarType", "CalIsLeapMonth", "CalFirstDayOfWeek",
674             "CalOnlineMeetingConfLink", "CalOnlineMeetingExternalLink"
675         },
676         {
677             // 0x05 Move
678             "MoveItems", "Move", "SrcMsgId", "SrcFldId", "DstFldId", "MoveResponse", "MoveStatus",
679             "DstMsgId"
680         },
681         {
682             // 0x06 ItemEstimate
683             "GetItemEstimate", "Version", "IECollections", "IECollection", "IEClass",
684             "IECollectionId", "DateTime", "Estimate", "IEResponse", "ItemEstimateStatus"
685         },
686         {
687             // 0x07 FolderHierarchy
688             "Folders", "Folder", "FolderDisplayName", "FolderServerId", "FolderParentId", "Type",
689             "FolderResponse", "FolderStatus", "FolderContentClass", "Changes", "FolderAdd",
690             "FolderDelete", "FolderUpdate", "FolderSyncKey", "FolderFolderCreate",
691             "FolderFolderDelete", "FolderFolderUpdate", "FolderSync", "Count", "FolderVersion"
692         },
693         {
694             // 0x08 MeetingResponse
695             "CalId", "CollectionId", "MeetingResponse", "ReqId", "Request",
696             "MeetingResponseResult", "MeetingResponseStatus", "UserResponse", "Version"
697         },
698         {
699             // 0x09 Tasks
700             "TasksBody", "TasksBodySize", "TasksBodyTruncated", "TasksCategories", "TasksCategory",
701             "Complete", "DateCompleted", "DueDate", "UTCDueDate", "TasksImportance", "Recurrence",
702             "RecurrenceType", "RecurrenceStart", "RecurrenceUntil", "RecurrenceOccurrences",
703             "RecurrenceInterval", "RecurrenceDOM", "RecurrenceDOW", "RecurrenceWOM",
704             "RecurrenceMOY", "RecurrenceRegenerate", "RecurrenceDeadOccur", "ReminderSet",
705             "ReminderTime", "TasksSensitivity", "StartDate", "UTCStartDate", "TasksSubject",
706             "TasksCompressedRTF", "OrdinalDate", "SubordinalDate"
707         },
708         {
709             // 0x0A ResolveRecipients
710         },
711         {
712             // 0x0B ValidateCert
713         },
714         {
715             // 0x0C Contacts2
716             "CustomerId", "GovernmentId", "IMAddress", "IMAddress2", "IMAddress3", "ManagerName",
717             "CompanyMainPhone", "AccountName", "NickName", "MMS"
718         },
719         {
720             // 0x0D Ping
721             "Ping", "AutdState", "PingStatus", "HeartbeatInterval", "PingFolders", "PingFolder",
722             "PingId", "PingClass", "MaxFolders"
723         },
724         {
725             // 0x0E Provision
726             "Provision", "Policies", "Policy", "PolicyType", "PolicyKey", "Data", "ProvisionStatus",
727             "RemoteWipe", "EASProvidionDoc", "DevicePasswordEnabled",
728             "AlphanumericDevicePasswordRequired",
729             "DeviceEncryptionEnabled", "PasswordRecoveryEnabled", "-unused-", "AttachmentsEnabled",
730             "MinDevicePasswordLength",
731             "MaxInactivityTimeDeviceLock", "MaxDevicePasswordFailedAttempts", "MaxAttachmentSize",
732             "AllowSimpleDevicePassword", "DevicePasswordExpiration", "DevicePasswordHistory",
733             "AllowStorageCard", "AllowCamera", "RequireDeviceEncryption",
734             "AllowUnsignedApplications", "AllowUnsignedInstallationPackages",
735             "MinDevicePasswordComplexCharacters", "AllowWiFi", "AllowTextMessaging",
736             "AllowPOPIMAPEmail", "AllowBluetooth", "AllowIrDA", "RequireManualSyncWhenRoaming",
737             "AllowDesktopSync",
738             "MaxCalendarAgeFilder", "AllowHTMLEmail", "MaxEmailAgeFilter",
739             "MaxEmailBodyTruncationSize", "MaxEmailHTMLBodyTruncationSize",
740             "RequireSignedSMIMEMessages", "RequireEncryptedSMIMEMessages",
741             "RequireSignedSMIMEAlgorithm", "RequireEncryptionSMIMEAlgorithm",
742             "AllowSMIMEEncryptionAlgorithmNegotiation", "AllowSMIMESoftCerts", "AllowBrowser",
743             "AllowConsumerEmail", "AllowRemoteDesktop", "AllowInternetSharing",
744             "UnapprovedInROMApplicationList", "ApplicationName", "ApprovedApplicationList", "Hash"
745         },
746         {
747             // 0x0F Search
748             "Search", "Stores", "Store", "Name", "Query",
749             "SearchOptions", "Range", "SearchStatus", "Response", "Result",
750             "Properties", "Total", "EqualTo", "Value", "And",
751             "Or", "FreeText", "SubstringOp", "DeepTraversal", "LongId",
752             "RebuildResults", "LessThan", "GreateerThan", "Schema", "SearchSupported"
753         },
754         {
755             // 0x10 Gal
756             "GalDisplayName", "GalPhone", "GalOffice", "GalTitle", "GalCompany", "GalAlias",
757             "GalFirstName", "GalLastName", "GalHomePhone", "GalMobilePhone", "GalEmailAddress"
758         },
759         {
760             // 0x11 AirSyncBase
761             "BodyPreference", "BodyPreferenceType", "BodyPreferenceTruncationSize", "AllOrNone",
762             "--unused1--", "BaseBody", "BaseData", "BaseEstimatedDataSize", "BaseTruncated",
763             "BaseAttachments", "BaseAttachment", "BaseDisplayName", "FileReference", "BaseMethod",
764             "BaseContentId", "BaseContentLocation", "BaseIsInline", "BaseNativeBodyType",
765             "BaseContentType"
766         },
767         {
768             // 0x12 Settings
769             "Settings", "SettingsStatus", "Get", "Set", "Oof", "OofState", "SettingsStartTime",
770             "SettingsEndTime", "OofMessage", "AppliesToInternal", "AppliesToExternalKnown",
771             "AppliesToExternalUnknown", "Enabled", "ReplyMessage", "BodyType", "DevicePassword",
772             "Password", "DeviceInformation", "Model", "IMEI", "FriendlyName", "OS", "OSLanguage",
773             "PhoneNumber", "UserInformation", "EmailAddress", "StmpAddress", "UserAgent",
774             "EnableOutboundSMS", "MobileOperator"
775         },
776         {
777             // 0x13 DocumentLibrary
778         },
779         {
780             // 0x14 ItemOperations
781             "Items", "ItemsFetch", "ItemsStore", "ItemsOptions", "ItemsRange",
782             "ItemsTotal", "ItemsProperties", "ItemsData", "ItemsStatus", "ItemsResponse",
783             "ItemsVersion", "ItemsSchema", "ItemsPart", "ItemsEmptyFolder", "ItemsDeleteSubFolders",
784             "ItemsUserName", "ItemsPassword", "ItemsMove", "ItemsDstFldId", "ItemsConversationId",
785             "ItemsMoveAlways"
786         },
787         {
788             // 0x15 ComposeMail
789             "SendMail", "SmartForward", "SmartReply", "SaveInSentItems", "ReplaceMime",
790             "--unused2--", "ComposeSource", "ComposeFolderId", "ComposeItemId", "ComposeLongId",
791             "ComposeInstanceId", "ComposeMime", "ComposeClientId", "ComposeStatus",
792             "ComposeAccountId"
793         },
794         {
795             // 0x16 Email2
796             "UmCallerId", "UmUserNotes", "UmAttDuration", "UmAttOrder", "ConversationId",
797             "ConversationIndex", "LastVerbExecuted", "LastVerbExecutionTime", "ReceivedAsBcc",
798             "Sender", "CalendarType", "IsLeapMonth", "AccountId", "FirstDayOfWeek",
799             "MeetingMessageType"
800         },
801         {
802             // 0x17 Notes
803         },
804         {
805             // 0x18 Rights Management
806             "RMSupport", "RMTemplates", "RMTemplate", "RMLicense", "EditAllowed", "ReplyAllowed",
807             "ReplyAllAllowed", "ForwardAllowed", "ModifyRecipientsAllowed", "ExtractAllowed",
808             "PrintAllowed", "ExportAllowed", "ProgrammaticAccessAllowed", "RMOwner",
809             "ContentExpiryDate", "TemplateID", "TemplateName", "TemplateDescription",
810             "ContentOwner", "RemoveRMDistribution"
811         }
812     };
813 }
814