• 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_UNKNOWN = "UNKNOWN";
192 
193     /**
194      * Constant for Ims Registration RAT
195      * **/
196     public static final String REGISTRATION_TECH_NONE = "NONE";
197     public static final String REGISTRATION_TECH_LTE = "LTE";
198     public static final String REGISTRATION_TECH_IWLAN = "IWLAN";
199 
200     /**
201      * Constant for Phone Type
202      * **/
203     public static final String PHONE_TYPE_GSM = "GSM";
204     public static final String PHONE_TYPE_NONE = "NONE";
205     public static final String PHONE_TYPE_CDMA = "CDMA";
206     public static final String PHONE_TYPE_SIP = "SIP";
207 
208     /**
209      * Constant for SIM State
210      * **/
211     public static final String SIM_STATE_READY = "READY";
212     public static final String SIM_STATE_UNKNOWN = "UNKNOWN";
213     public static final String SIM_STATE_ABSENT = "ABSENT";
214     public static final String SIM_STATE_PUK_REQUIRED = "PUK_REQUIRED";
215     public static final String SIM_STATE_PIN_REQUIRED = "PIN_REQUIRED";
216     public static final String SIM_STATE_NETWORK_LOCKED = "NETWORK_LOCKED";
217     public static final String SIM_STATE_NOT_READY = "NOT_READY";
218     public static final String SIM_STATE_PERM_DISABLED = "PERM_DISABLED";
219     public static final String SIM_STATE_CARD_IO_ERROR = "CARD_IO_ERROR";
220 
221     /**
222      * Constant for Data Connection State
223      * **/
224     public static final String DATA_STATE_CONNECTED = "CONNECTED";
225     public static final String DATA_STATE_DISCONNECTED = "DISCONNECTED";
226     public static final String DATA_STATE_CONNECTING = "CONNECTING";
227     public static final String DATA_STATE_SUSPENDED = "SUSPENDED";
228     public static final String DATA_STATE_UNKNOWN = "UNKNOWN";
229 
230     /**
231      * Constant for Override Network Type
232      * **/
233     public static final String OVERRIDE_NETWORK_TYPE_NONE = "NONE";
234     public static final String OVERRIDE_NETWORK_TYPE_LTE_CA = "LTE_CA";
235     public static final String OVERRIDE_NETWORK_TYPE_LTE_ADVANCED_PRO = "LTE_ADVANCED_PRO";
236     public static final String OVERRIDE_NETWORK_TYPE_NR_NSA = "NR_NSA";
237     public static final String OVERRIDE_NETWORK_TYPE_NR_NSA_MMWAVE = "NR_MMWAVE";
238 
239     /**
240      * Constant for Telephony Manager Call State
241      * **/
242     public static final String TELEPHONY_STATE_RINGING = "RINGING";
243     public static final String TELEPHONY_STATE_IDLE = "IDLE";
244     public static final String TELEPHONY_STATE_OFFHOOK = "OFFHOOK";
245     public static final String TELEPHONY_STATE_UNKNOWN = "UNKNOWN";
246 
247     /**
248      * Constant for TTY Mode
249      * **/
250     public static final String TTY_MODE_FULL = "FULL";
251     public static final String TTY_MODE_HCO = "HCO";
252     public static final String TTY_MODE_OFF = "OFF";
253     public static final String TTY_MODE_VCO ="VCO";
254 
255     /**
256      * Constant for Service State
257      * **/
258     public static final String SERVICE_STATE_EMERGENCY_ONLY = "EMERGENCY_ONLY";
259     public static final String SERVICE_STATE_IN_SERVICE = "IN_SERVICE";
260     public static final String SERVICE_STATE_OUT_OF_SERVICE = "OUT_OF_SERVICE";
261     public static final String SERVICE_STATE_POWER_OFF = "POWER_OFF";
262     public static final String SERVICE_STATE_UNKNOWN = "UNKNOWN";
263 
264     /**
265      * Constant for VoLTE Hand-over Service State
266      * **/
267     public static final String VOLTE_SERVICE_STATE_HANDOVER_STARTED = "STARTED";
268     public static final String VOLTE_SERVICE_STATE_HANDOVER_COMPLETED = "COMPLETED";
269     public static final String VOLTE_SERVICE_STATE_HANDOVER_FAILED = "FAILED";
270     public static final String VOLTE_SERVICE_STATE_HANDOVER_CANCELED = "CANCELED";
271     public static final String VOLTE_SERVICE_STATE_HANDOVER_UNKNOWN = "UNKNOWN";
272 
273     /**
274      * Constant for precise call state state listen level
275      * **/
276     public static final String PRECISE_CALL_STATE_LISTEN_LEVEL_FOREGROUND = "FOREGROUND";
277     public static final String PRECISE_CALL_STATE_LISTEN_LEVEL_RINGING = "RINGING";
278     public static final String PRECISE_CALL_STATE_LISTEN_LEVEL_BACKGROUND = "BACKGROUND";
279 
280     /**
281      * Constant for Video Call Session Event Name
282      * **/
283     public static final String SESSION_EVENT_RX_PAUSE = "SESSION_EVENT_RX_PAUSE";
284     public static final String SESSION_EVENT_RX_RESUME = "SESSION_EVENT_RX_RESUME";
285     public static final String SESSION_EVENT_TX_START = "SESSION_EVENT_TX_START";
286     public static final String SESSION_EVENT_TX_STOP = "SESSION_EVENT_TX_STOP";
287     public static final String SESSION_EVENT_CAMERA_FAILURE = "SESSION_EVENT_CAMERA_FAILURE";
288     public static final String SESSION_EVENT_CAMERA_READY = "SESSION_EVENT_CAMERA_READY";
289     public static final String SESSION_EVENT_UNKNOWN = "SESSION_EVENT_UNKNOWN";
290 
291     /**
292      * Constants used to Register or de-register for Video Call Callbacks
293      * **/
294     public static final String EVENT_VIDEO_SESSION_MODIFY_REQUEST_RECEIVED = "EVENT_VIDEO_SESSION_MODIFY_REQUEST_RECEIVED";
295     public static final String EVENT_VIDEO_SESSION_MODIFY_RESPONSE_RECEIVED = "EVENT_VIDEO_SESSION_MODIFY_RESPONSE_RECEIVED";
296     public static final String EVENT_VIDEO_SESSION_EVENT = "EVENT_VIDEO_SESSION_EVENT";
297     public static final String EVENT_VIDEO_PEER_DIMENSIONS_CHANGED = "EVENT_VIDEO_PEER_DIMENSIONS_CHANGED";
298     public static final String EVENT_VIDEO_QUALITY_CHANGED = "EVENT_VIDEO_QUALITY_CHANGED";
299     public static final String EVENT_VIDEO_DATA_USAGE_CHANGED = "EVENT_VIDEO_DATA_USAGE_CHANGED";
300     public static final String EVENT_VIDEO_CAMERA_CAPABILITIES_CHANGED = "EVENT_VIDEO_CAMERA_CAPABILITIES_CHANGED";
301     public static final String EVENT_VIDEO_INVALID = "EVENT_VIDEO_INVALID";
302 
303     /**
304      * Constant for Network Preference
305      * **/
306     public static final String NETWORK_MODE_WCDMA_PREF = "NETWORK_MODE_WCDMA_PREF";
307     public static final String NETWORK_MODE_GSM_ONLY = "NETWORK_MODE_GSM_ONLY";
308     public static final String NETWORK_MODE_WCDMA_ONLY = "NETWORK_MODE_WCDMA_ONLY";
309     public static final String NETWORK_MODE_GSM_UMTS = "NETWORK_MODE_GSM_UMTS";
310     public static final String NETWORK_MODE_CDMA = "NETWORK_MODE_CDMA";
311     public static final String NETWORK_MODE_CDMA_NO_EVDO = "NETWORK_MODE_CDMA_NO_EVDO";
312     public static final String NETWORK_MODE_EVDO_NO_CDMA = "NETWORK_MODE_EVDO_NO_CDMA";
313     public static final String NETWORK_MODE_GLOBAL = "NETWORK_MODE_GLOBAL";
314     public static final String NETWORK_MODE_LTE_CDMA_EVDO = "NETWORK_MODE_LTE_CDMA_EVDO";
315     public static final String NETWORK_MODE_LTE_GSM_WCDMA = "NETWORK_MODE_LTE_GSM_WCDMA";
316     public static final String NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA = "NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA";
317     public static final String NETWORK_MODE_LTE_ONLY = "NETWORK_MODE_LTE_ONLY";
318     public static final String NETWORK_MODE_LTE_WCDMA = "NETWORK_MODE_LTE_WCDMA";
319     public static final String NETWORK_MODE_TDSCDMA_ONLY = "NETWORK_MODE_TDSCDMA_ONLY";
320     public static final String NETWORK_MODE_TDSCDMA_WCDMA = "NETWORK_MODE_TDSCDMA_WCDMA";
321     public static final String NETWORK_MODE_LTE_TDSCDMA = "NETWORK_MODE_LTE_TDSCDMA";
322     public static final String NETWORK_MODE_TDSCDMA_GSM = "NETWORK_MODE_TDSCDMA_GSM";
323     public static final String NETWORK_MODE_LTE_TDSCDMA_GSM = "NETWORK_MODE_LTE_TDSCDMA_GSM";
324     public static final String NETWORK_MODE_TDSCDMA_GSM_WCDMA = "NETWORK_MODE_TDSCDMA_GSM_WCDMA";
325     public static final String NETWORK_MODE_LTE_TDSCDMA_WCDMA = "NETWORK_MODE_LTE_TDSCDMA_WCDMA";
326     public static final String NETWORK_MODE_LTE_TDSCDMA_GSM_WCDMA = "NETWORK_MODE_LTE_TDSCDMA_GSM_WCDMA";
327     public static final String NETWORK_MODE_TDSCDMA_CDMA_EVDO_GSM_WCDMA = "NETWORK_MODE_TDSCDMA_CDMA_EVDO_GSM_WCDMA";
328     public static final String NETWORK_MODE_LTE_TDSCDMA_CDMA_EVDO_GSM_WCDMA = "NETWORK_MODE_LTE_TDSCDMA_CDMA_EVDO_GSM_WCDMA";
329     public static final String NETWORK_MODE_NR_LTE_GSM_WCDMA = "NETWORK_MODE_NR_LTE_GSM_WCDMA";
330     public static final String NETWORK_MODE_NR_ONLY = "NETWORK_MODE_NR_ONLY";
331     public static final String NETWORK_MODE_NR_LTE = "NETWORK_MODE_NR_LTE";
332     public static final String NETWORK_MODE_NR_LTE_CDMA_EVDO = "NETWORK_MODE_NR_LTE_CDMA_EVDO";
333     public static final String NETWORK_MODE_NR_LTE_CDMA_EVDO_GSM_WCDMA = "NETWORK_MODE_NR_LTE_CDMA_EVDO_GSM_WCDMA";
334     public static final String NETWORK_MODE_NR_LTE_WCDMA = "NETWORK_MODE_NR_LTE_WCDMA";
335     public static final String NETWORK_MODE_NR_LTE_TDSCDMA = "NETWORK_MODE_NR_LTE_TDSCDMA";
336     public static final String NETWORK_MODE_NR_LTE_TDSCDMA_GSM = "NETWORK_MODE_NR_LTE_TDSCDMA_GSM";
337     public static final String NETWORK_MODE_NR_LTE_TDSCDMA_WCDMA = "NETWORK_MODE_NR_LTE_TDSCDMA_WCDMA";
338     public static final String NETWORK_MODE_NR_LTE_TDSCDMA_GSM_WCDMA = "NETWORK_MODE_NR_LTE_TDSCDMA_GSM_WCDMA";
339     public static final String NETWORK_MODE_NR_LTE_TDSCDMA_CDMA_EVDO_GSM_WCDMA = "NETWORK_MODE_NR_LTE_TDSCDMA_CDMA_EVDO_GSM_WCDMA";
340     public static final String NETWORK_MODE_INVALID = "INVALID";
341 
342     /**
343      * Constant for Messaging Event Name
344      * **/
345     public static final String EventSmsDeliverSuccess = "SmsDeliverSuccess";
346     public static final String EventSmsDeliverFailure = "SmsDeliverFailure";
347     public static final String EventSmsSentSuccess = "SmsSentSuccess";
348     public static final String EventSmsSentFailure = "SmsSentFailure";
349     public static final String EventSmsReceived = "SmsReceived";
350     public static final String EventMmsSentSuccess = "MmsSentSuccess";
351     public static final String EventMmsSentFailure = "MmsSentFailure";
352     public static final String EventMmsDownloaded = "MmsDownloaded";
353     public static final String EventWapPushReceived = "WapPushReceived";
354     public static final String EventDataSmsReceived = "DataSmsReceived";
355     public static final String EventCmasReceived = "CmasReceived";
356     public static final String EventEtwsReceived = "EtwsReceived";
357 
358     /**
359      * Constant for Telecom Event Names
360      * **/
361     public static final String EventTelecomCallAdded = "TelecomCallAdded";
362     public static final String EventTelecomCallRemoved = "TelecomCallRemoved";
363 
364     /**
365      * Constant for Telecom Call Event Names
366      * **/
367     public static final String EventTelecomCallStateChanged = "TelecomCallStateChanged";
368     public static final String EventTelecomCallParentChanged = "TelecomCallParentChanged";
369     public static final String EventTelecomCallChildrenChanged = "TelecomCallChildrenChanged";
370     public static final String EventTelecomCallDetailsChanged = "TelecomCallDetailsChanged";
371     public static final String EventTelecomCallCannedTextResponsesLoaded = "TelecomCallCannedTextResponsesLoaded";
372     public static final String EventTelecomCallPostDialWait = "TelecomCallPostDialWait";
373     public static final String EventTelecomCallVideoCallChanged = "TelecomCallVideoCallChanged";
374     public static final String EventTelecomCallDestroyed = "TelecomCallDestroyed";
375     public static final String EventTelecomCallConferenceableCallsChanged = "TelecomCallConferenceableCallsChanged";
376 
377     /**
378      * Constant for Video Call Event Name
379      * **/
380     public static final String EventTelecomVideoCallSessionModifyRequestReceived = "TelecomVideoCallSessionModifyRequestReceived";
381     public static final String EventTelecomVideoCallSessionModifyResponseReceived = "TelecomVideoCallSessionModifyResponseReceived";
382     public static final String EventTelecomVideoCallSessionEvent = "TelecomVideoCallSessionEvent";
383     public static final String EventTelecomVideoCallPeerDimensionsChanged = "TelecomVideoCallPeerDimensionsChanged";
384     public static final String EventTelecomVideoCallVideoQualityChanged = "TelecomVideoCallVideoQualityChanged";
385     public static final String EventTelecomVideoCallDataUsageChanged = "TelecomVideoCallDataUsageChanged";
386     public static final String EventTelecomVideoCallCameraCapabilities = "TelecomVideoCallCameraCapabilities";
387 
388     /**
389      * Constant for Other Event Name
390      * **/
391     public static final String EventCellInfoChanged = "CellInfoChanged";
392     public static final String EventCallStateChanged = "CallStateChanged";
393     public static final String EventPreciseStateChanged = "PreciseStateChanged";
394     public static final String EventDataConnectionRealTimeInfoChanged = "DataConnectionRealTimeInfoChanged";
395     public static final String EventDataConnectionStateChanged = "DataConnectionStateChanged";
396     public static final String EventDisplayInfoChanged = "DisplayInfoChanged";
397     public static final String EventActiveDataSubIdChanged = "ActiveDataSubIdChanged";
398     public static final String EventServiceStateChanged = "ServiceStateChanged";
399     public static final String EventSignalStrengthChanged = "SignalStrengthChanged";
400     public static final String EventSrvccStateChanged = "SrvccStateChanged";
401     public static final String EventMessageWaitingIndicatorChanged = "MessageWaitingIndicatorChanged";
402     public static final String EventPhysicalChannelConfigChanged = "PhysicalChannelConfigChanged";
403 
404     /**
405      * Constants for OnStartTetheringCallback
406      */
407     public static final String TetheringStartedCallback = "ConnectivityManagerOnTetheringStarted";
408     public static final String TetheringFailedCallback = "ConnectivityManagerOnTetheringFailed";
409 
410     /**
411      * Constant for Signal Strength fields
412      */
413     public static class SignalStrengthContainer {
414         public static final String SIGNAL_STRENGTH_GSM = "gsmSignalStrength";
415         public static final String SIGNAL_STRENGTH_GSM_DBM = "gsmDbm";
416         public static final String SIGNAL_STRENGTH_GSM_LEVEL = "gsmLevel";
417         public static final String SIGNAL_STRENGTH_GSM_ASU_LEVEL = "gsmAsuLevel";
418         public static final String SIGNAL_STRENGTH_GSM_BIT_ERROR_RATE = "gsmBitErrorRate";
419         public static final String SIGNAL_STRENGTH_CDMA_DBM = "cdmaDbm";
420         public static final String SIGNAL_STRENGTH_CDMA_LEVEL = "cdmaLevel";
421         public static final String SIGNAL_STRENGTH_CDMA_ASU_LEVEL = "cdmaAsuLevel";
422         public static final String SIGNAL_STRENGTH_CDMA_ECIO = "cdmaEcio";
423         public static final String SIGNAL_STRENGTH_EVDO_DBM = "evdoDbm";
424         public static final String SIGNAL_STRENGTH_EVDO_ECIO = "evdoEcio";
425         public static final String SIGNAL_STRENGTH_LTE = "lteSignalStrength";
426         public static final String SIGNAL_STRENGTH_LTE_DBM = "lteDbm";
427         public static final String SIGNAL_STRENGTH_LTE_LEVEL = "lteLevel";
428         public static final String SIGNAL_STRENGTH_LTE_ASU_LEVEL = "lteAsuLevel";
429         public static final String SIGNAL_STRENGTH_DBM = "dbm";
430         public static final String SIGNAL_STRENGTH_LEVEL = "level";
431         public static final String SIGNAL_STRENGTH_ASU_LEVEL = "asuLevel";
432     }
433 
434     public static class CallStateContainer {
435         public static final String INCOMING_NUMBER = "incomingNumber";
436         public static final String SUBSCRIPTION_ID = "subscriptionId";
437         public static final String CALL_STATE = "callState";
438     }
439 
440     public static class PreciseCallStateContainer {
441         public static final String TYPE = "type";
442         public static final String CAUSE = "cause";
443         public static final String SUBSCRIPTION_ID = "subscriptionId";
444         public static final String PRECISE_CALL_STATE = "preciseCallState";
445     }
446 
447     public static class DataConnectionRealTimeInfoContainer {
448         public static final String TYPE = "type";
449         public static final String TIME = "time";
450         public static final String SUBSCRIPTION_ID = "subscriptionId";
451         public static final String DATA_CONNECTION_POWER_STATE = "dataConnectionPowerState";
452     }
453 
454     public static class DataConnectionStateContainer {
455         public static final String TYPE = "type";
456         public static final String DATA_NETWORK_TYPE = "dataNetworkType";
457         public static final String STATE_CODE = "stateCode";
458         public static final String SUBSCRIPTION_ID = "subscriptionId";
459         public static final String DATA_CONNECTION_STATE = "dataConnectionState";
460     }
461 
462     public static class DisplayInfoContainer {
463         public static final String TIME = "time";
464         public static final String NETWORK = "network";
465         public static final String OVERRIDE = "override";
466         public static final String SUBSCRIPTION_ID = "subscriptionId";
467     }
468 
469     public static class ServiceStateContainer {
470         public static final String VOICE_REG_STATE = "voiceRegState";
471         public static final String VOICE_NETWORK_TYPE = "voiceNetworkType";
472         public static final String DATA_REG_STATE = "dataRegState";
473         public static final String DATA_NETWORK_TYPE = "dataNetworkType";
474         public static final String OPERATOR_NAME = "operatorName";
475         public static final String OPERATOR_ID = "operatorId";
476         public static final String IS_MANUAL_NW_SELECTION = "isManualNwSelection";
477         public static final String ROAMING = "roaming";
478         public static final String IS_EMERGENCY_ONLY = "isEmergencyOnly";
479         public static final String NETWORK_ID = "networkId";
480         public static final String SYSTEM_ID = "systemId";
481         public static final String SUBSCRIPTION_ID = "subscriptionId";
482         public static final String SERVICE_STATE = "serviceState";
483         public static final String CHANNEL_NUMBER = "channelNumber";
484         public static final String CELL_BANDWIDTHS = "cellBandwidths";
485         public static final String DUPLEX_MODE = "duplexMode";
486 
487         public static final String VOICE_ROAMING_TYPE = "voiceRoamingType";
488         public static final String DATA_ROAMING_TYPE = "dataRoamingType";
489         public static final String VOICE_OPERATOR_ALPHA_LONG = "voiceOperatorAlphaLong";
490         public static final String VOICE_OPERATOR_ALPHA_SHORT = "voiceOperatorAlphaShort";
491         public static final String DATA_OPERATOR_ALPHA_LONG = "dataOperatorAlphaLong";
492         public static final String DATA_OPERATOR_ALPHA_SHORT = "dataOperatorAlphaShort";
493         public static final String VOICE_OPERATOR_NUMERIC = "voiceOperatorNumeric";
494         public static final String DATA_OPERATOR_NUMERIC = "dataOperatorNumeric";
495         public static final String VOICE_RADIO_TECHNOLOGY = "voiceRadioTechnology";
496         public static final String DATA_RADIO_TECHNOLOGY = "dataRadioTechnology";
497         public static final String CSS_INDICATOR = "cssIndicator";
498         public static final String CDMA_ROAMING_INDICATOR = "cdmaRoamingIndicator";
499         public static final String CDMA_DEFAULT_ROAMING_INDICATOR = "cdmaDefaultRoamingIndicator";
500         public static final String IS_DATA_ROAMING_FROM_REGISTRATION =
501                 "isDataRoamingFromRegistration";
502         public static final String IS_USING_CARRIER_AGGREGATION = "isUsingCarrierAggregation";
503         public static final String LTE_EARFCN_RSRP_BOOST = "lteEarfcnRsrpBoost";
504     }
505 
506     public static class MessageWaitingIndicatorContainer {
507         public static final String IS_MESSAGE_WAITING = "isMessageWaiting";
508     }
509 
510     public static class VoLteServiceStateContainer {
511         public static final String SRVCC_STATE = "srvccState";
512     }
513 
514     public static class PhysicalChannelConfigContainer {
515         public static final String CONFIGS = "configs";
516         public static final String CELL_BANDWIDTH_DOWNLINK = "cellBandwidthDownlink";
517         public static final String CONNECTION_STATUS  = "cellConnectionStatus";
518     }
519 }
520