• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2017 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package com.googlecode.android_scripting.facade.telephony;
18 
19 public class TelephonyConstants {
20     /**
21      * Constant for WiFi Calling WFC mode
22      * **/
23     public static final String WFC_MODE_WIFI_ONLY = "WIFI_ONLY";
24     public static final String WFC_MODE_CELLULAR_PREFERRED = "CELLULAR_PREFERRED";
25     public static final String WFC_MODE_WIFI_PREFERRED = "WIFI_PREFERRED";
26     public static final String WFC_MODE_DISABLED = "DISABLED";
27     public static final String WFC_MODE_UNKNOWN = "UNKNOWN";
28 
29     /**
30      * Constant for Video Telephony VT state
31      * **/
32     public static final String VT_STATE_AUDIO_ONLY = "AUDIO_ONLY";
33     public static final String VT_STATE_TX_ENABLED = "TX_ENABLED";
34     public static final String VT_STATE_RX_ENABLED = "RX_ENABLED";
35     public static final String VT_STATE_BIDIRECTIONAL = "BIDIRECTIONAL";
36     public static final String VT_STATE_TX_PAUSED = "TX_PAUSED";
37     public static final String VT_STATE_RX_PAUSED = "RX_PAUSED";
38     public static final String VT_STATE_BIDIRECTIONAL_PAUSED = "BIDIRECTIONAL_PAUSED";
39     public static final String VT_STATE_STATE_INVALID = "INVALID";
40 
41     /**
42      * Constant for Video Telephony Video quality
43      * **/
44     public static final String VT_VIDEO_QUALITY_DEFAULT = "DEFAULT";
45     public static final String VT_VIDEO_QUALITY_UNKNOWN = "UNKNOWN";
46     public static final String VT_VIDEO_QUALITY_HIGH = "HIGH";
47     public static final String VT_VIDEO_QUALITY_MEDIUM = "MEDIUM";
48     public static final String VT_VIDEO_QUALITY_LOW = "LOW";
49     public static final String VT_VIDEO_QUALITY_INVALID = "INVALID";
50 
51     /**
52      * Constant for Call State (for call object)
53      * **/
54     public static final String CALL_STATE_ACTIVE = "ACTIVE";
55     public static final String CALL_STATE_NEW = "NEW";
56     public static final String CALL_STATE_DIALING = "DIALING";
57     public static final String CALL_STATE_RINGING = "RINGING";
58     public static final String CALL_STATE_HOLDING = "HOLDING";
59     public static final String CALL_STATE_DISCONNECTED = "DISCONNECTED";
60     public static final String CALL_STATE_PRE_DIAL_WAIT = "PRE_DIAL_WAIT";
61     public static final String CALL_STATE_CONNECTING = "CONNECTING";
62     public static final String CALL_STATE_DISCONNECTING = "DISCONNECTING";
63     public static final String CALL_STATE_UNKNOWN = "UNKNOWN";
64     public static final String CALL_STATE_INVALID = "INVALID";
65 
66     /**
67      * Constant for PRECISE Call State (for call object)
68      * **/
69     public static final String PRECISE_CALL_STATE_ACTIVE = "ACTIVE";
70     public static final String PRECISE_CALL_STATE_ALERTING = "ALERTING";
71     public static final String PRECISE_CALL_STATE_DIALING = "DIALING";
72     public static final String PRECISE_CALL_STATE_INCOMING = "INCOMING";
73     public static final String PRECISE_CALL_STATE_HOLDING = "HOLDING";
74     public static final String PRECISE_CALL_STATE_DISCONNECTED = "DISCONNECTED";
75     public static final String PRECISE_CALL_STATE_WAITING = "WAITING";
76     public static final String PRECISE_CALL_STATE_DISCONNECTING = "DISCONNECTING";
77     public static final String PRECISE_CALL_STATE_IDLE = "IDLE";
78     public static final String PRECISE_CALL_STATE_UNKNOWN = "UNKNOWN";
79     public static final String PRECISE_CALL_STATE_INVALID = "INVALID";
80 
81     /**
82      * Constant for DC POWER STATE
83      * **/
84     public static final String DC_POWER_STATE_LOW = "LOW";
85     public static final String DC_POWER_STATE_HIGH = "HIGH";
86     public static final String DC_POWER_STATE_MEDIUM = "MEDIUM";
87     public static final String DC_POWER_STATE_UNKNOWN = "UNKNOWN";
88 
89     /**
90      * Constant for Audio Route
91      * **/
92     public static final String AUDIO_ROUTE_EARPIECE = "EARPIECE";
93     public static final String AUDIO_ROUTE_BLUETOOTH = "BLUETOOTH";
94     public static final String AUDIO_ROUTE_SPEAKER = "SPEAKER";
95     public static final String AUDIO_ROUTE_WIRED_HEADSET = "WIRED_HEADSET";
96     public static final String AUDIO_ROUTE_WIRED_OR_EARPIECE = "WIRED_OR_EARPIECE";
97 
98     /**
99      * Constant for Call Capability
100      * **/
101     public static final String CALL_CAPABILITY_HOLD = "HOLD";
102     public static final String CALL_CAPABILITY_SUPPORT_HOLD = "SUPPORT_HOLD";
103     public static final String CALL_CAPABILITY_MERGE_CONFERENCE = "MERGE_CONFERENCE";
104     public static final String CALL_CAPABILITY_SWAP_CONFERENCE = "SWAP_CONFERENCE";
105     public static final String CALL_CAPABILITY_UNUSED_1 = "UNUSED_1";
106     public static final String CALL_CAPABILITY_RESPOND_VIA_TEXT = "RESPOND_VIA_TEXT";
107     public static final String CALL_CAPABILITY_MUTE = "MUTE";
108     public static final String CALL_CAPABILITY_MANAGE_CONFERENCE = "MANAGE_CONFERENCE";
109     public static final String CALL_CAPABILITY_SUPPORTS_VT_LOCAL_RX = "SUPPORTS_VT_LOCAL_RX";
110     public static final String CALL_CAPABILITY_SUPPORTS_VT_LOCAL_TX = "SUPPORTS_VT_LOCAL_TX";
111     public static final String CALL_CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL = "SUPPORTS_VT_LOCAL_BIDIRECTIONAL";
112     public static final String CALL_CAPABILITY_SUPPORTS_VT_REMOTE_RX = "SUPPORTS_VT_REMOTE_RX";
113     public static final String CALL_CAPABILITY_SUPPORTS_VT_REMOTE_TX = "SUPPORTS_VT_REMOTE_TX";
114     public static final String CALL_CAPABILITY_SUPPORTS_VT_REMOTE_BIDIRECTIONAL = "SUPPORTS_VT_REMOTE_BIDIRECTIONAL";
115     public static final String CALL_CAPABILITY_SEPARATE_FROM_CONFERENCE = "SEPARATE_FROM_CONFERENCE";
116     public static final String CALL_CAPABILITY_DISCONNECT_FROM_CONFERENCE = "DISCONNECT_FROM_CONFERENCE";
117     public static final String CALL_CAPABILITY_SPEED_UP_MT_AUDIO = "SPEED_UP_MT_AUDIO";
118     public static final String CALL_CAPABILITY_CAN_UPGRADE_TO_VIDEO = "CAN_UPGRADE_TO_VIDEO";
119     public static final String CALL_CAPABILITY_CAN_PAUSE_VIDEO = "CAN_PAUSE_VIDEO";
120     public static final String CALL_CAPABILITY_UNKOWN = "UNKOWN";
121 
122     /**
123      * Constant for MmTel Capability
124      * **/
125     public static final String CAPABILITY_TYPE_VOICE = "VOICE";
126     public static final String CAPABILITY_TYPE_VIDEO = "VIDEO";
127     public static final String CAPABILITY_TYPE_UT = "UT";
128     public static final String CAPABILITY_TYPE_SMS = "SMS";
129 
130     /**
131      * Constant for ProvisioningManager Key and Values
132      * **/
133     public static final String KEY_VOLTE_PROVISIONING_STATUS = "VOICE";
134     public static final String KEY_VT_PROVISIONING_STATUS = "VIDEO";
135     public static final String PROVISIONING_VALUE_ENABLED = "ENABLE";
136     public static final String PROVISIONING_VALUE_DISABLED = "DISABLE";
137 
138     /**
139      * Constant for AccessNetwork Transport Type
140      * **/
141     public static final String TRANSPORT_TYPE_INVALID = "INVALID";
142     public static final String TRANSPORT_TYPE_WWAN = "WWAN";
143     public static final String TRANSPORT_TYPE_WLAN = "WLAN";
144 
145     /**
146      * Constant for Call Property
147      * **/
148     public static final String CALL_PROPERTY_HIGH_DEF_AUDIO = "HIGH_DEF_AUDIO";
149     public static final String CALL_PROPERTY_CONFERENCE = "CONFERENCE";
150     public static final String CALL_PROPERTY_GENERIC_CONFERENCE = "GENERIC_CONFERENCE";
151     public static final String CALL_PROPERTY_WIFI = "WIFI";
152     public static final String CALL_PROPERTY_EMERGENCY_CALLBACK_MODE = "EMERGENCY_CALLBACK_MODE";
153     public static final String CALL_PROPERTY_UNKNOWN = "UNKNOWN";
154 
155     /**
156      * Constant for Call Presentation
157      * **/
158     public static final String CALL_PRESENTATION_ALLOWED = "ALLOWED";
159     public static final String CALL_PRESENTATION_RESTRICTED = "RESTRICTED";
160     public static final String CALL_PRESENTATION_PAYPHONE = "PAYPHONE";
161     public static final String CALL_PRESENTATION_UNKNOWN = "UNKNOWN";
162 
163     /**
164      * Constant for Network RAT
165      * **/
166     public static final String RAT_IWLAN = "IWLAN";
167     public static final String RAT_LTE = "LTE";
168     public static final String RAT_4G = "4G";
169     public static final String RAT_3G = "3G";
170     public static final String RAT_2G = "2G";
171     public static final String RAT_WCDMA = "WCDMA";
172     public static final String RAT_UMTS = "UMTS";
173     public static final String RAT_1XRTT = "1XRTT";
174     public static final String RAT_EDGE = "EDGE";
175     public static final String RAT_GPRS = "GPRS";
176     public static final String RAT_HSDPA = "HSDPA";
177     public static final String RAT_HSUPA = "HSUPA";
178     public static final String RAT_CDMA = "CDMA";
179     public static final String RAT_EVDO = "EVDO";
180     public static final String RAT_EVDO_0 = "EVDO_0";
181     public static final String RAT_EVDO_A = "EVDO_A";
182     public static final String RAT_EVDO_B = "EVDO_B";
183     public static final String RAT_IDEN = "IDEN";
184     public static final String RAT_EHRPD = "EHRPD";
185     public static final String RAT_HSPA = "HSPA";
186     public static final String RAT_HSPAP = "HSPAP";
187     public static final String RAT_GSM = "GSM";
188     public static final String RAT_TD_SCDMA = "TD_SCDMA";
189     public static final String RAT_GLOBAL = "GLOBAL";
190     public static final String RAT_LTE_CA = "LTE_CA";
191     public static final String RAT_NR = "NR";
192     public static final String RAT_UNKNOWN = "UNKNOWN";
193 
194     /**
195      * Constant for Ims Registration RAT
196      * **/
197     public static final String REGISTRATION_TECH_NONE = "NONE";
198     public static final String REGISTRATION_TECH_LTE = "LTE";
199     public static final String REGISTRATION_TECH_IWLAN = "IWLAN";
200 
201     /**
202      * Constant for Phone Type
203      * **/
204     public static final String PHONE_TYPE_GSM = "GSM";
205     public static final String PHONE_TYPE_NONE = "NONE";
206     public static final String PHONE_TYPE_CDMA = "CDMA";
207     public static final String PHONE_TYPE_SIP = "SIP";
208 
209     /**
210      * Constant for SIM State
211      * **/
212     public static final String SIM_STATE_READY = "READY";
213     public static final String SIM_STATE_UNKNOWN = "UNKNOWN";
214     public static final String SIM_STATE_ABSENT = "ABSENT";
215     public static final String SIM_STATE_PUK_REQUIRED = "PUK_REQUIRED";
216     public static final String SIM_STATE_PIN_REQUIRED = "PIN_REQUIRED";
217     public static final String SIM_STATE_NETWORK_LOCKED = "NETWORK_LOCKED";
218     public static final String SIM_STATE_NOT_READY = "NOT_READY";
219     public static final String SIM_STATE_PERM_DISABLED = "PERM_DISABLED";
220     public static final String SIM_STATE_CARD_IO_ERROR = "CARD_IO_ERROR";
221 
222     /**
223      * Constant for Data Connection State
224      * **/
225     public static final String DATA_STATE_CONNECTED = "CONNECTED";
226     public static final String DATA_STATE_DISCONNECTED = "DISCONNECTED";
227     public static final String DATA_STATE_CONNECTING = "CONNECTING";
228     public static final String DATA_STATE_SUSPENDED = "SUSPENDED";
229     public static final String DATA_STATE_UNKNOWN = "UNKNOWN";
230 
231     /**
232      * Constant for Override Network Type
233      * **/
234     public static final String OVERRIDE_NETWORK_TYPE_NONE = "NONE";
235     public static final String OVERRIDE_NETWORK_TYPE_LTE_CA = "LTE_CA";
236     public static final String OVERRIDE_NETWORK_TYPE_LTE_ADVANCED_PRO = "LTE_ADVANCED_PRO";
237     public static final String OVERRIDE_NETWORK_TYPE_NR_NSA = "NR_NSA";
238     public static final String OVERRIDE_NETWORK_TYPE_NR_ADVANCED = "NR_MMWAVE";
239 
240     /**
241      * Constant for Telephony Manager Call State
242      * **/
243     public static final String TELEPHONY_STATE_RINGING = "RINGING";
244     public static final String TELEPHONY_STATE_IDLE = "IDLE";
245     public static final String TELEPHONY_STATE_OFFHOOK = "OFFHOOK";
246     public static final String TELEPHONY_STATE_UNKNOWN = "UNKNOWN";
247     public static final String TELEPHONY_STATE_PLAY_AUDIO_END = "PLAYAUDIOEND";
248     public static final String TELEPHONY_STATE_PLAY_AUDIO_FAIL = "PLAYAUDIOFAIL";
249     public static final String TELEPHONY_STATE_RECORD_VOICE_END = "RECORDVOICEEND";
250     public static final String TELEPHONY_STATE_RECORD_VOICE_FAIL = "RECORDVOICEFAIL";
251 
252     /**
253      * Constant for TTY Mode
254      * **/
255     public static final String TTY_MODE_FULL = "FULL";
256     public static final String TTY_MODE_HCO = "HCO";
257     public static final String TTY_MODE_OFF = "OFF";
258     public static final String TTY_MODE_VCO ="VCO";
259 
260     /**
261      * Constant for Service State
262      * **/
263     public static final String SERVICE_STATE_EMERGENCY_ONLY = "EMERGENCY_ONLY";
264     public static final String SERVICE_STATE_IN_SERVICE = "IN_SERVICE";
265     public static final String SERVICE_STATE_OUT_OF_SERVICE = "OUT_OF_SERVICE";
266     public static final String SERVICE_STATE_POWER_OFF = "POWER_OFF";
267     public static final String SERVICE_STATE_UNKNOWN = "UNKNOWN";
268 
269     /**
270      * Constant for VoLTE Hand-over Service State
271      * **/
272     public static final String VOLTE_SERVICE_STATE_HANDOVER_STARTED = "STARTED";
273     public static final String VOLTE_SERVICE_STATE_HANDOVER_COMPLETED = "COMPLETED";
274     public static final String VOLTE_SERVICE_STATE_HANDOVER_FAILED = "FAILED";
275     public static final String VOLTE_SERVICE_STATE_HANDOVER_CANCELED = "CANCELED";
276     public static final String VOLTE_SERVICE_STATE_HANDOVER_UNKNOWN = "UNKNOWN";
277 
278     /**
279      * Constant for precise call state state listen level
280      * **/
281     public static final String PRECISE_CALL_STATE_LISTEN_LEVEL_FOREGROUND = "FOREGROUND";
282     public static final String PRECISE_CALL_STATE_LISTEN_LEVEL_RINGING = "RINGING";
283     public static final String PRECISE_CALL_STATE_LISTEN_LEVEL_BACKGROUND = "BACKGROUND";
284 
285     /**
286      * Constant for Video Call Session Event Name
287      * **/
288     public static final String SESSION_EVENT_RX_PAUSE = "SESSION_EVENT_RX_PAUSE";
289     public static final String SESSION_EVENT_RX_RESUME = "SESSION_EVENT_RX_RESUME";
290     public static final String SESSION_EVENT_TX_START = "SESSION_EVENT_TX_START";
291     public static final String SESSION_EVENT_TX_STOP = "SESSION_EVENT_TX_STOP";
292     public static final String SESSION_EVENT_CAMERA_FAILURE = "SESSION_EVENT_CAMERA_FAILURE";
293     public static final String SESSION_EVENT_CAMERA_READY = "SESSION_EVENT_CAMERA_READY";
294     public static final String SESSION_EVENT_UNKNOWN = "SESSION_EVENT_UNKNOWN";
295 
296     /**
297      * Constants used to Register or de-register for Video Call Callbacks
298      * **/
299     public static final String EVENT_VIDEO_SESSION_MODIFY_REQUEST_RECEIVED = "EVENT_VIDEO_SESSION_MODIFY_REQUEST_RECEIVED";
300     public static final String EVENT_VIDEO_SESSION_MODIFY_RESPONSE_RECEIVED = "EVENT_VIDEO_SESSION_MODIFY_RESPONSE_RECEIVED";
301     public static final String EVENT_VIDEO_SESSION_EVENT = "EVENT_VIDEO_SESSION_EVENT";
302     public static final String EVENT_VIDEO_PEER_DIMENSIONS_CHANGED = "EVENT_VIDEO_PEER_DIMENSIONS_CHANGED";
303     public static final String EVENT_VIDEO_QUALITY_CHANGED = "EVENT_VIDEO_QUALITY_CHANGED";
304     public static final String EVENT_VIDEO_DATA_USAGE_CHANGED = "EVENT_VIDEO_DATA_USAGE_CHANGED";
305     public static final String EVENT_VIDEO_CAMERA_CAPABILITIES_CHANGED = "EVENT_VIDEO_CAMERA_CAPABILITIES_CHANGED";
306     public static final String EVENT_VIDEO_INVALID = "EVENT_VIDEO_INVALID";
307 
308     /**
309      * Constant for Network Preference
310      * **/
311     public static final String NETWORK_MODE_WCDMA_PREF = "NETWORK_MODE_WCDMA_PREF";
312     public static final String NETWORK_MODE_GSM_ONLY = "NETWORK_MODE_GSM_ONLY";
313     public static final String NETWORK_MODE_WCDMA_ONLY = "NETWORK_MODE_WCDMA_ONLY";
314     public static final String NETWORK_MODE_GSM_UMTS = "NETWORK_MODE_GSM_UMTS";
315     public static final String NETWORK_MODE_CDMA = "NETWORK_MODE_CDMA";
316     public static final String NETWORK_MODE_CDMA_NO_EVDO = "NETWORK_MODE_CDMA_NO_EVDO";
317     public static final String NETWORK_MODE_EVDO_NO_CDMA = "NETWORK_MODE_EVDO_NO_CDMA";
318     public static final String NETWORK_MODE_GLOBAL = "NETWORK_MODE_GLOBAL";
319     public static final String NETWORK_MODE_LTE_CDMA_EVDO = "NETWORK_MODE_LTE_CDMA_EVDO";
320     public static final String NETWORK_MODE_LTE_GSM_WCDMA = "NETWORK_MODE_LTE_GSM_WCDMA";
321     public static final String NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA = "NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA";
322     public static final String NETWORK_MODE_LTE_ONLY = "NETWORK_MODE_LTE_ONLY";
323     public static final String NETWORK_MODE_LTE_WCDMA = "NETWORK_MODE_LTE_WCDMA";
324     public static final String NETWORK_MODE_TDSCDMA_ONLY = "NETWORK_MODE_TDSCDMA_ONLY";
325     public static final String NETWORK_MODE_TDSCDMA_WCDMA = "NETWORK_MODE_TDSCDMA_WCDMA";
326     public static final String NETWORK_MODE_LTE_TDSCDMA = "NETWORK_MODE_LTE_TDSCDMA";
327     public static final String NETWORK_MODE_TDSCDMA_GSM = "NETWORK_MODE_TDSCDMA_GSM";
328     public static final String NETWORK_MODE_LTE_TDSCDMA_GSM = "NETWORK_MODE_LTE_TDSCDMA_GSM";
329     public static final String NETWORK_MODE_TDSCDMA_GSM_WCDMA = "NETWORK_MODE_TDSCDMA_GSM_WCDMA";
330     public static final String NETWORK_MODE_LTE_TDSCDMA_WCDMA = "NETWORK_MODE_LTE_TDSCDMA_WCDMA";
331     public static final String NETWORK_MODE_LTE_TDSCDMA_GSM_WCDMA = "NETWORK_MODE_LTE_TDSCDMA_GSM_WCDMA";
332     public static final String NETWORK_MODE_TDSCDMA_CDMA_EVDO_GSM_WCDMA = "NETWORK_MODE_TDSCDMA_CDMA_EVDO_GSM_WCDMA";
333     public static final String NETWORK_MODE_LTE_TDSCDMA_CDMA_EVDO_GSM_WCDMA = "NETWORK_MODE_LTE_TDSCDMA_CDMA_EVDO_GSM_WCDMA";
334     public static final String NETWORK_MODE_NR_LTE_GSM_WCDMA = "NETWORK_MODE_NR_LTE_GSM_WCDMA";
335     public static final String NETWORK_MODE_NR_ONLY = "NETWORK_MODE_NR_ONLY";
336     public static final String NETWORK_MODE_NR_LTE = "NETWORK_MODE_NR_LTE";
337     public static final String NETWORK_MODE_NR_LTE_CDMA_EVDO = "NETWORK_MODE_NR_LTE_CDMA_EVDO";
338     public static final String NETWORK_MODE_NR_LTE_CDMA_EVDO_GSM_WCDMA = "NETWORK_MODE_NR_LTE_CDMA_EVDO_GSM_WCDMA";
339     public static final String NETWORK_MODE_NR_LTE_WCDMA = "NETWORK_MODE_NR_LTE_WCDMA";
340     public static final String NETWORK_MODE_NR_LTE_TDSCDMA = "NETWORK_MODE_NR_LTE_TDSCDMA";
341     public static final String NETWORK_MODE_NR_LTE_TDSCDMA_GSM = "NETWORK_MODE_NR_LTE_TDSCDMA_GSM";
342     public static final String NETWORK_MODE_NR_LTE_TDSCDMA_WCDMA = "NETWORK_MODE_NR_LTE_TDSCDMA_WCDMA";
343     public static final String NETWORK_MODE_NR_LTE_TDSCDMA_GSM_WCDMA = "NETWORK_MODE_NR_LTE_TDSCDMA_GSM_WCDMA";
344     public static final String NETWORK_MODE_NR_LTE_TDSCDMA_CDMA_EVDO_GSM_WCDMA = "NETWORK_MODE_NR_LTE_TDSCDMA_CDMA_EVDO_GSM_WCDMA";
345     public static final String NETWORK_MODE_INVALID = "INVALID";
346 
347     /**
348      * Constant for Messaging Event Name
349      * **/
350     public static final String EventSmsDeliverSuccess = "SmsDeliverSuccess";
351     public static final String EventSmsDeliverFailure = "SmsDeliverFailure";
352     public static final String EventSmsSentSuccess = "SmsSentSuccess";
353     public static final String EventSmsSentFailure = "SmsSentFailure";
354     public static final String EventSmsReceived = "SmsReceived";
355     public static final String EventMmsSentSuccess = "MmsSentSuccess";
356     public static final String EventMmsSentFailure = "MmsSentFailure";
357     public static final String EventMmsDownloaded = "MmsDownloaded";
358     public static final String EventWapPushReceived = "WapPushReceived";
359     public static final String EventDataSmsReceived = "DataSmsReceived";
360     public static final String EventCmasReceived = "CmasReceived";
361     public static final String EventEtwsReceived = "EtwsReceived";
362 
363     /**
364      * Constant for Telecom Event Names
365      * **/
366     public static final String EventTelecomCallAdded = "TelecomCallAdded";
367     public static final String EventTelecomCallRemoved = "TelecomCallRemoved";
368 
369     /**
370      * Constant for Telecom Call Event Names
371      * **/
372     public static final String EventTelecomCallStateChanged = "TelecomCallStateChanged";
373     public static final String EventTelecomCallParentChanged = "TelecomCallParentChanged";
374     public static final String EventTelecomCallChildrenChanged = "TelecomCallChildrenChanged";
375     public static final String EventTelecomCallDetailsChanged = "TelecomCallDetailsChanged";
376     public static final String EventTelecomCallCannedTextResponsesLoaded = "TelecomCallCannedTextResponsesLoaded";
377     public static final String EventTelecomCallPostDialWait = "TelecomCallPostDialWait";
378     public static final String EventTelecomCallVideoCallChanged = "TelecomCallVideoCallChanged";
379     public static final String EventTelecomCallDestroyed = "TelecomCallDestroyed";
380     public static final String EventTelecomCallConferenceableCallsChanged = "TelecomCallConferenceableCallsChanged";
381 
382     /**
383      * Constant for Video Call Event Name
384      * **/
385     public static final String EventTelecomVideoCallSessionModifyRequestReceived = "TelecomVideoCallSessionModifyRequestReceived";
386     public static final String EventTelecomVideoCallSessionModifyResponseReceived = "TelecomVideoCallSessionModifyResponseReceived";
387     public static final String EventTelecomVideoCallSessionEvent = "TelecomVideoCallSessionEvent";
388     public static final String EventTelecomVideoCallPeerDimensionsChanged = "TelecomVideoCallPeerDimensionsChanged";
389     public static final String EventTelecomVideoCallVideoQualityChanged = "TelecomVideoCallVideoQualityChanged";
390     public static final String EventTelecomVideoCallDataUsageChanged = "TelecomVideoCallDataUsageChanged";
391     public static final String EventTelecomVideoCallCameraCapabilities = "TelecomVideoCallCameraCapabilities";
392 
393     /**
394      * Constant for Other Event Name
395      * **/
396     public static final String EventCellInfoChanged = "CellInfoChanged";
397     public static final String EventCallStateChanged = "CallStateChanged";
398     public static final String EventPreciseStateChanged = "PreciseStateChanged";
399     public static final String EventDataConnectionRealTimeInfoChanged = "DataConnectionRealTimeInfoChanged";
400     public static final String EventDataConnectionStateChanged = "DataConnectionStateChanged";
401     public static final String EventDisplayInfoChanged = "DisplayInfoChanged";
402     public static final String EventActiveDataSubIdChanged = "ActiveDataSubIdChanged";
403     public static final String EventServiceStateChanged = "ServiceStateChanged";
404     public static final String EventSignalStrengthChanged = "SignalStrengthChanged";
405     public static final String EventSrvccStateChanged = "SrvccStateChanged";
406     public static final String EventMessageWaitingIndicatorChanged = "MessageWaitingIndicatorChanged";
407     public static final String EventPhysicalChannelConfigChanged = "PhysicalChannelConfigChanged";
408     public static final String EventCallPlayAudioStateChanged = "CallPlayAudioStateChanged";
409     public static final String EventCallRecordVoiceStateChanged = "CallRecordVoiceStateChanged";
410 
411     /**
412      * Constants for OnStartTetheringCallback
413      */
414     public static final String TetheringStartedCallback = "ConnectivityManagerOnTetheringStarted";
415     public static final String TetheringFailedCallback = "ConnectivityManagerOnTetheringFailed";
416 
417     /**
418      * Constant for Signal Strength fields
419      */
420     public static class SignalStrengthContainer {
421         public static final String SIGNAL_STRENGTH_GSM = "gsmSignalStrength";
422         public static final String SIGNAL_STRENGTH_GSM_DBM = "gsmDbm";
423         public static final String SIGNAL_STRENGTH_GSM_LEVEL = "gsmLevel";
424         public static final String SIGNAL_STRENGTH_GSM_ASU_LEVEL = "gsmAsuLevel";
425         public static final String SIGNAL_STRENGTH_GSM_BIT_ERROR_RATE = "gsmBitErrorRate";
426         public static final String SIGNAL_STRENGTH_CDMA_DBM = "cdmaDbm";
427         public static final String SIGNAL_STRENGTH_CDMA_LEVEL = "cdmaLevel";
428         public static final String SIGNAL_STRENGTH_CDMA_ASU_LEVEL = "cdmaAsuLevel";
429         public static final String SIGNAL_STRENGTH_CDMA_ECIO = "cdmaEcio";
430         public static final String SIGNAL_STRENGTH_EVDO_DBM = "evdoDbm";
431         public static final String SIGNAL_STRENGTH_EVDO_ECIO = "evdoEcio";
432         public static final String SIGNAL_STRENGTH_LTE = "lteSignalStrength";
433         public static final String SIGNAL_STRENGTH_LTE_DBM = "lteDbm";
434         public static final String SIGNAL_STRENGTH_LTE_LEVEL = "lteLevel";
435         public static final String SIGNAL_STRENGTH_LTE_ASU_LEVEL = "lteAsuLevel";
436         public static final String SIGNAL_STRENGTH_DBM = "dbm";
437         public static final String SIGNAL_STRENGTH_LEVEL = "level";
438         public static final String SIGNAL_STRENGTH_ASU_LEVEL = "asuLevel";
439     }
440 
441     public static class CallStateContainer {
442         public static final String INCOMING_NUMBER = "incomingNumber";
443         public static final String SUBSCRIPTION_ID = "subscriptionId";
444         public static final String CALL_STATE = "callState";
445     }
446 
447     public static class PreciseCallStateContainer {
448         public static final String TYPE = "type";
449         public static final String CAUSE = "cause";
450         public static final String SUBSCRIPTION_ID = "subscriptionId";
451         public static final String PRECISE_CALL_STATE = "preciseCallState";
452     }
453 
454     public static class DataConnectionRealTimeInfoContainer {
455         public static final String TYPE = "type";
456         public static final String TIME = "time";
457         public static final String SUBSCRIPTION_ID = "subscriptionId";
458         public static final String DATA_CONNECTION_POWER_STATE = "dataConnectionPowerState";
459     }
460 
461     public static class DataConnectionStateContainer {
462         public static final String TYPE = "type";
463         public static final String DATA_NETWORK_TYPE = "dataNetworkType";
464         public static final String STATE_CODE = "stateCode";
465         public static final String SUBSCRIPTION_ID = "subscriptionId";
466         public static final String DATA_CONNECTION_STATE = "dataConnectionState";
467     }
468 
469     public static class DisplayInfoContainer {
470         public static final String TIME = "time";
471         public static final String NETWORK = "network";
472         public static final String OVERRIDE = "override";
473         public static final String SUBSCRIPTION_ID = "subscriptionId";
474     }
475 
476     public static class ServiceStateContainer {
477         public static final String VOICE_REG_STATE = "voiceRegState";
478         public static final String VOICE_NETWORK_TYPE = "voiceNetworkType";
479         public static final String DATA_REG_STATE = "dataRegState";
480         public static final String DATA_NETWORK_TYPE = "dataNetworkType";
481         public static final String OPERATOR_NAME = "operatorName";
482         public static final String OPERATOR_ID = "operatorId";
483         public static final String IS_MANUAL_NW_SELECTION = "isManualNwSelection";
484         public static final String ROAMING = "roaming";
485         public static final String IS_EMERGENCY_ONLY = "isEmergencyOnly";
486         public static final String NETWORK_ID = "networkId";
487         public static final String SYSTEM_ID = "systemId";
488         public static final String SUBSCRIPTION_ID = "subscriptionId";
489         public static final String SERVICE_STATE = "serviceState";
490         public static final String CHANNEL_NUMBER = "channelNumber";
491         public static final String CELL_BANDWIDTHS = "cellBandwidths";
492         public static final String DUPLEX_MODE = "duplexMode";
493 
494         public static final String VOICE_ROAMING_TYPE = "voiceRoamingType";
495         public static final String DATA_ROAMING_TYPE = "dataRoamingType";
496         public static final String VOICE_OPERATOR_ALPHA_LONG = "voiceOperatorAlphaLong";
497         public static final String VOICE_OPERATOR_ALPHA_SHORT = "voiceOperatorAlphaShort";
498         public static final String DATA_OPERATOR_ALPHA_LONG = "dataOperatorAlphaLong";
499         public static final String DATA_OPERATOR_ALPHA_SHORT = "dataOperatorAlphaShort";
500         public static final String VOICE_OPERATOR_NUMERIC = "voiceOperatorNumeric";
501         public static final String DATA_OPERATOR_NUMERIC = "dataOperatorNumeric";
502         public static final String VOICE_RADIO_TECHNOLOGY = "voiceRadioTechnology";
503         public static final String DATA_RADIO_TECHNOLOGY = "dataRadioTechnology";
504         public static final String CSS_INDICATOR = "cssIndicator";
505         public static final String CDMA_ROAMING_INDICATOR = "cdmaRoamingIndicator";
506         public static final String CDMA_DEFAULT_ROAMING_INDICATOR = "cdmaDefaultRoamingIndicator";
507         public static final String IS_DATA_ROAMING_FROM_REGISTRATION =
508                 "isDataRoamingFromRegistration";
509         public static final String IS_USING_CARRIER_AGGREGATION = "isUsingCarrierAggregation";
510         public static final String LTE_EARFCN_RSRP_BOOST = "LteEarfcnRsrpBoost";
511     }
512 
513     public static class MessageWaitingIndicatorContainer {
514         public static final String IS_MESSAGE_WAITING = "isMessageWaiting";
515     }
516 
517     public static class VoLteServiceStateContainer {
518         public static final String SRVCC_STATE = "srvccState";
519     }
520 
521     public static class PhysicalChannelConfigContainer {
522         public static final String CONFIGS = "configs";
523         public static final String CELL_BANDWIDTH_DOWNLINK = "cellBandwidthDownlink";
524         public static final String CONNECTION_STATUS  = "cellConnectionStatus";
525     }
526 }
527