1 /*
2  * Copyright (C) 2016 Google Inc.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5  * use this file except in compliance with the License. You may obtain a copy of
6  * 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, WITHOUT
12  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13  * License for the specific language governing permissions and limitations under
14  * 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 Call Property
124      * **/
125     public static final String CALL_PROPERTY_HIGH_DEF_AUDIO = "HIGH_DEF_AUDIO";
126     public static final String CALL_PROPERTY_CONFERENCE = "CONFERENCE";
127     public static final String CALL_PROPERTY_GENERIC_CONFERENCE = "GENERIC_CONFERENCE";
128     public static final String CALL_PROPERTY_WIFI = "WIFI";
129     public static final String CALL_PROPERTY_EMERGENCY_CALLBACK_MODE = "EMERGENCY_CALLBACK_MODE";
130     public static final String CALL_PROPERTY_UNKNOWN = "UNKNOWN";
131 
132     /**
133      * Constant for Call Presentation
134      * **/
135     public static final String CALL_PRESENTATION_ALLOWED = "ALLOWED";
136     public static final String CALL_PRESENTATION_RESTRICTED = "RESTRICTED";
137     public static final String CALL_PRESENTATION_PAYPHONE = "PAYPHONE";
138     public static final String CALL_PRESENTATION_UNKNOWN = "UNKNOWN";
139 
140     /**
141      * Constant for Network RAT
142      * **/
143     public static final String RAT_IWLAN = "IWLAN";
144     public static final String RAT_LTE = "LTE";
145     public static final String RAT_4G = "4G";
146     public static final String RAT_3G = "3G";
147     public static final String RAT_2G = "2G";
148     public static final String RAT_WCDMA = "WCDMA";
149     public static final String RAT_UMTS = "UMTS";
150     public static final String RAT_1XRTT = "1XRTT";
151     public static final String RAT_EDGE = "EDGE";
152     public static final String RAT_GPRS = "GPRS";
153     public static final String RAT_HSDPA = "HSDPA";
154     public static final String RAT_HSUPA = "HSUPA";
155     public static final String RAT_CDMA = "CDMA";
156     public static final String RAT_EVDO = "EVDO";
157     public static final String RAT_EVDO_0 = "EVDO_0";
158     public static final String RAT_EVDO_A = "EVDO_A";
159     public static final String RAT_EVDO_B = "EVDO_B";
160     public static final String RAT_IDEN = "IDEN";
161     public static final String RAT_EHRPD = "EHRPD";
162     public static final String RAT_HSPA = "HSPA";
163     public static final String RAT_HSPAP = "HSPAP";
164     public static final String RAT_GSM = "GSM";
165     public static final String RAT_TD_SCDMA = "TD_SCDMA";
166     public static final String RAT_GLOBAL = "GLOBAL";
167     public static final String RAT_UNKNOWN = "UNKNOWN";
168 
169     /**
170      * Constant for Phone Type
171      * **/
172     public static final String PHONE_TYPE_GSM = "GSM";
173     public static final String PHONE_TYPE_NONE = "NONE";
174     public static final String PHONE_TYPE_CDMA = "CDMA";
175     public static final String PHONE_TYPE_SIP = "SIP";
176 
177     /**
178      * Constant for SIM State
179      * **/
180     public static final String SIM_STATE_READY = "READY";
181     public static final String SIM_STATE_UNKNOWN = "UNKNOWN";
182     public static final String SIM_STATE_ABSENT = "ABSENT";
183     public static final String SIM_STATE_PUK_REQUIRED = "PUK_REQUIRED";
184     public static final String SIM_STATE_PIN_REQUIRED = "PIN_REQUIRED";
185     public static final String SIM_STATE_NETWORK_LOCKED = "NETWORK_LOCKED";
186     public static final String SIM_STATE_NOT_READY = "NOT_READY";
187     public static final String SIM_STATE_PERM_DISABLED = "PERM_DISABLED";
188     public static final String SIM_STATE_CARD_IO_ERROR = "CARD_IO_ERROR";
189 
190     /**
191      * Constant for Data Connection State
192      * **/
193     public static final String DATA_STATE_CONNECTED = "CONNECTED";
194     public static final String DATA_STATE_DISCONNECTED = "DISCONNECTED";
195     public static final String DATA_STATE_CONNECTING = "CONNECTING";
196     public static final String DATA_STATE_SUSPENDED = "SUSPENDED";
197     public static final String DATA_STATE_UNKNOWN = "UNKNOWN";
198 
199     /**
200      * Constant for Telephony Manager Call State
201      * **/
202     public static final String TELEPHONY_STATE_RINGING = "RINGING";
203     public static final String TELEPHONY_STATE_IDLE = "IDLE";
204     public static final String TELEPHONY_STATE_OFFHOOK = "OFFHOOK";
205     public static final String TELEPHONY_STATE_UNKNOWN = "UNKNOWN";
206 
207     /**
208      * Constant for TTY Mode
209      * **/
210     public static final String TTY_MODE_FULL = "FULL";
211     public static final String TTY_MODE_HCO = "HCO";
212     public static final String TTY_MODE_OFF = "OFF";
213     public static final String TTY_MODE_VCO ="VCO";
214 
215     /**
216      * Constant for Service State
217      * **/
218     public static final String SERVICE_STATE_EMERGENCY_ONLY = "EMERGENCY_ONLY";
219     public static final String SERVICE_STATE_IN_SERVICE = "IN_SERVICE";
220     public static final String SERVICE_STATE_OUT_OF_SERVICE = "OUT_OF_SERVICE";
221     public static final String SERVICE_STATE_POWER_OFF = "POWER_OFF";
222     public static final String SERVICE_STATE_UNKNOWN = "UNKNOWN";
223 
224     /**
225      * Constant for VoLTE Hand-over Service State
226      * **/
227     public static final String VOLTE_SERVICE_STATE_HANDOVER_STARTED = "STARTED";
228     public static final String VOLTE_SERVICE_STATE_HANDOVER_COMPLETED = "COMPLETED";
229     public static final String VOLTE_SERVICE_STATE_HANDOVER_FAILED = "FAILED";
230     public static final String VOLTE_SERVICE_STATE_HANDOVER_CANCELED = "CANCELED";
231     public static final String VOLTE_SERVICE_STATE_HANDOVER_UNKNOWN = "UNKNOWN";
232 
233     /**
234      * Constant for precise call state state listen level
235      * **/
236     public static final String PRECISE_CALL_STATE_LISTEN_LEVEL_FOREGROUND = "FOREGROUND";
237     public static final String PRECISE_CALL_STATE_LISTEN_LEVEL_RINGING = "RINGING";
238     public static final String PRECISE_CALL_STATE_LISTEN_LEVEL_BACKGROUND = "BACKGROUND";
239 
240     /**
241      * Constant for Video Call Session Event Name
242      * **/
243     public static final String SESSION_EVENT_RX_PAUSE = "SESSION_EVENT_RX_PAUSE";
244     public static final String SESSION_EVENT_RX_RESUME = "SESSION_EVENT_RX_RESUME";
245     public static final String SESSION_EVENT_TX_START = "SESSION_EVENT_TX_START";
246     public static final String SESSION_EVENT_TX_STOP = "SESSION_EVENT_TX_STOP";
247     public static final String SESSION_EVENT_CAMERA_FAILURE = "SESSION_EVENT_CAMERA_FAILURE";
248     public static final String SESSION_EVENT_CAMERA_READY = "SESSION_EVENT_CAMERA_READY";
249     public static final String SESSION_EVENT_UNKNOWN = "SESSION_EVENT_UNKNOWN";
250 
251     /**
252      * Constants used to Register or de-register for Video Call Callbacks
253      * **/
254     public static final String EVENT_VIDEO_SESSION_MODIFY_REQUEST_RECEIVED = "EVENT_VIDEO_SESSION_MODIFY_REQUEST_RECEIVED";
255     public static final String EVENT_VIDEO_SESSION_MODIFY_RESPONSE_RECEIVED = "EVENT_VIDEO_SESSION_MODIFY_RESPONSE_RECEIVED";
256     public static final String EVENT_VIDEO_SESSION_EVENT = "EVENT_VIDEO_SESSION_EVENT";
257     public static final String EVENT_VIDEO_PEER_DIMENSIONS_CHANGED = "EVENT_VIDEO_PEER_DIMENSIONS_CHANGED";
258     public static final String EVENT_VIDEO_QUALITY_CHANGED = "EVENT_VIDEO_QUALITY_CHANGED";
259     public static final String EVENT_VIDEO_DATA_USAGE_CHANGED = "EVENT_VIDEO_DATA_USAGE_CHANGED";
260     public static final String EVENT_VIDEO_CAMERA_CAPABILITIES_CHANGED = "EVENT_VIDEO_CAMERA_CAPABILITIES_CHANGED";
261     public static final String EVENT_VIDEO_INVALID = "EVENT_VIDEO_INVALID";
262 
263     /**
264      * Constant for Network Preference
265      * **/
266     public static final String NETWORK_MODE_WCDMA_PREF = "NETWORK_MODE_WCDMA_PREF";
267     public static final String NETWORK_MODE_GSM_ONLY = "NETWORK_MODE_GSM_ONLY";
268     public static final String NETWORK_MODE_WCDMA_ONLY = "NETWORK_MODE_WCDMA_ONLY";
269     public static final String NETWORK_MODE_GSM_UMTS = "NETWORK_MODE_GSM_UMTS";
270     public static final String NETWORK_MODE_CDMA = "NETWORK_MODE_CDMA";
271     public static final String NETWORK_MODE_CDMA_NO_EVDO = "NETWORK_MODE_CDMA_NO_EVDO";
272     public static final String NETWORK_MODE_EVDO_NO_CDMA = "NETWORK_MODE_EVDO_NO_CDMA";
273     public static final String NETWORK_MODE_GLOBAL = "NETWORK_MODE_GLOBAL";
274     public static final String NETWORK_MODE_LTE_CDMA_EVDO = "NETWORK_MODE_LTE_CDMA_EVDO";
275     public static final String NETWORK_MODE_LTE_GSM_WCDMA = "NETWORK_MODE_LTE_GSM_WCDMA";
276     public static final String NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA = "NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA";
277     public static final String NETWORK_MODE_LTE_ONLY = "NETWORK_MODE_LTE_ONLY";
278     public static final String NETWORK_MODE_LTE_WCDMA = "NETWORK_MODE_LTE_WCDMA";
279     public static final String NETWORK_MODE_TDSCDMA_ONLY = "NETWORK_MODE_TDSCDMA_ONLY";
280     public static final String NETWORK_MODE_TDSCDMA_WCDMA = "NETWORK_MODE_TDSCDMA_WCDMA";
281     public static final String NETWORK_MODE_LTE_TDSCDMA = "NETWORK_MODE_LTE_TDSCDMA";
282     public static final String NETWORK_MODE_TDSCDMA_GSM = "NETWORK_MODE_TDSCDMA_GSM";
283     public static final String NETWORK_MODE_LTE_TDSCDMA_GSM = "NETWORK_MODE_LTE_TDSCDMA_GSM";
284     public static final String NETWORK_MODE_TDSCDMA_GSM_WCDMA = "NETWORK_MODE_TDSCDMA_GSM_WCDMA";
285     public static final String NETWORK_MODE_LTE_TDSCDMA_WCDMA = "NETWORK_MODE_LTE_TDSCDMA_WCDMA";
286     public static final String NETWORK_MODE_LTE_TDSCDMA_GSM_WCDMA = "NETWORK_MODE_LTE_TDSCDMA_GSM_WCDMA";
287     public static final String NETWORK_MODE_TDSCDMA_CDMA_EVDO_GSM_WCDMA = "NETWORK_MODE_TDSCDMA_CDMA_EVDO_GSM_WCDMA";
288     public static final String NETWORK_MODE_LTE_TDSCDMA_CDMA_EVDO_GSM_WCDMA = "NETWORK_MODE_LTE_TDSCDMA_CDMA_EVDO_GSM_WCDMA";
289     public static final String NETWORK_MODE_INVALID = "INVALID";
290 
291     /**
292      * Constant for Messaging Event Name
293      * **/
294     public static final String EventSmsDeliverSuccess = "SmsDeliverSuccess";
295     public static final String EventSmsDeliverFailure = "SmsDeliverFailure";
296     public static final String EventSmsSentSuccess = "SmsSentSuccess";
297     public static final String EventSmsSentFailure = "SmsSentFailure";
298     public static final String EventSmsReceived = "SmsReceived";
299     public static final String EventMmsSentSuccess = "MmsSentSuccess";
300     public static final String EventMmsSentFailure = "MmsSentFailure";
301     public static final String EventMmsDownloaded = "MmsDownloaded";
302     public static final String EventWapPushReceived = "WapPushReceived";
303     public static final String EventDataSmsReceived = "DataSmsReceived";
304     public static final String EventCmasReceived = "CmasReceived";
305     public static final String EventEtwsReceived = "EtwsReceived";
306 
307     /**
308      * Constant for Telecom Event Names
309      * **/
310     public static final String EventTelecomCallAdded = "TelecomCallAdded";
311     public static final String EventTelecomCallRemoved = "TelecomCallRemoved";
312 
313     /**
314      * Constant for Telecom Call Event Names
315      * **/
316     public static final String EventTelecomCallStateChanged = "TelecomCallStateChanged";
317     public static final String EventTelecomCallParentChanged = "TelecomCallParentChanged";
318     public static final String EventTelecomCallChildrenChanged = "TelecomCallChildrenChanged";
319     public static final String EventTelecomCallDetailsChanged = "TelecomCallDetailsChanged";
320     public static final String EventTelecomCallCannedTextResponsesLoaded = "TelecomCallCannedTextResponsesLoaded";
321     public static final String EventTelecomCallPostDialWait = "TelecomCallPostDialWait";
322     public static final String EventTelecomCallVideoCallChanged = "TelecomCallVideoCallChanged";
323     public static final String EventTelecomCallDestroyed = "TelecomCallDestroyed";
324     public static final String EventTelecomCallConferenceableCallsChanged = "TelecomCallConferenceableCallsChanged";
325 
326     /**
327      * Constant for Video Call Event Name
328      * **/
329     public static final String EventTelecomVideoCallSessionModifyRequestReceived = "TelecomVideoCallSessionModifyRequestReceived";
330     public static final String EventTelecomVideoCallSessionModifyResponseReceived = "TelecomVideoCallSessionModifyResponseReceived";
331     public static final String EventTelecomVideoCallSessionEvent = "TelecomVideoCallSessionEvent";
332     public static final String EventTelecomVideoCallPeerDimensionsChanged = "TelecomVideoCallPeerDimensionsChanged";
333     public static final String EventTelecomVideoCallVideoQualityChanged = "TelecomVideoCallVideoQualityChanged";
334     public static final String EventTelecomVideoCallDataUsageChanged = "TelecomVideoCallDataUsageChanged";
335     public static final String EventTelecomVideoCallCameraCapabilities = "TelecomVideoCallCameraCapabilities";
336 
337     /**
338      * Constant for Other Event Name
339      * **/
340     public static final String EventCellInfoChanged = "CellInfoChanged";
341     public static final String EventCallStateChanged = "CallStateChanged";
342     public static final String EventPreciseStateChanged = "PreciseStateChanged";
343     public static final String EventDataConnectionRealTimeInfoChanged = "DataConnectionRealTimeInfoChanged";
344     public static final String EventDataConnectionStateChanged = "DataConnectionStateChanged";
345     public static final String EventServiceStateChanged = "ServiceStateChanged";
346     public static final String EventSignalStrengthChanged = "SignalStrengthChanged";
347     public static final String EventVolteServiceStateChanged = "VolteServiceStateChanged";
348     public static final String EventMessageWaitingIndicatorChanged = "MessageWaitingIndicatorChanged";
349     public static final String EventConnectivityChanged = "ConnectivityChanged";
350 
351     /**
352      * Constant for Packet Keep Alive Call Back
353      * **/
354     public static final String EventPacketKeepaliveCallback = "PacketKeepaliveCallback";
355 
356     /*Sub-Event Names*/
357     public static final String PacketKeepaliveCallbackStarted = "Started";
358     public static final String PacketKeepaliveCallbackStopped = "Stopped";
359     public static final String PacketKeepaliveCallbackError = "Error";
360     public static final String PacketKeepaliveCallbackInvalid = "Invalid";
361 
362     /**
363      * Constant for Network Call Back
364      * **/
365     public static final String EventNetworkCallback = "NetworkCallback";
366 
367     /*Sub-Event Names*/
368     public static final String NetworkCallbackPreCheck = "PreCheck";
369     public static final String NetworkCallbackAvailable = "Available";
370     public static final String NetworkCallbackLosing = "Losing";
371     public static final String NetworkCallbackLost = "Lost";
372     public static final String NetworkCallbackUnavailable = "Unavailable";
373     public static final String NetworkCallbackCapabilitiesChanged = "CapabilitiesChanged";
374     public static final String NetworkCallbackSuspended = "Suspended";
375     public static final String NetworkCallbackResumed = "Resumed";
376     public static final String NetworkCallbackLinkPropertiesChanged = "LinkPropertiesChanged";
377     public static final String NetworkCallbackInvalid = "Invalid";
378 
379     /**
380      * Constant for Signal Strength fields
381      * **/
382     public static class SignalStrengthContainer {
383         public static final String SIGNAL_STRENGTH_GSM = "gsmSignalStrength";
384         public static final String SIGNAL_STRENGTH_GSM_DBM = "gsmDbm";
385         public static final String SIGNAL_STRENGTH_GSM_LEVEL = "gsmLevel";
386         public static final String SIGNAL_STRENGTH_GSM_ASU_LEVEL = "gsmAsuLevel";
387         public static final String SIGNAL_STRENGTH_GSM_BIT_ERROR_RATE = "gsmBitErrorRate";
388         public static final String SIGNAL_STRENGTH_CDMA_DBM = "cdmaDbm";
389         public static final String SIGNAL_STRENGTH_CDMA_LEVEL = "cdmaLevel";
390         public static final String SIGNAL_STRENGTH_CDMA_ASU_LEVEL = "cdmaAsuLevel";
391         public static final String SIGNAL_STRENGTH_CDMA_ECIO = "cdmaEcio";
392         public static final String SIGNAL_STRENGTH_EVDO_DBM = "evdoDbm";
393         public static final String SIGNAL_STRENGTH_EVDO_ECIO = "evdoEcio";
394         public static final String SIGNAL_STRENGTH_LTE = "lteSignalStrength";
395         public static final String SIGNAL_STRENGTH_LTE_DBM = "lteDbm";
396         public static final String SIGNAL_STRENGTH_LTE_LEVEL = "lteLevel";
397         public static final String SIGNAL_STRENGTH_LTE_ASU_LEVEL = "lteAsuLevel";
398         public static final String SIGNAL_STRENGTH_DBM = "dbm";
399         public static final String SIGNAL_STRENGTH_LEVEL = "level";
400         public static final String SIGNAL_STRENGTH_ASU_LEVEL = "asuLevel";
401     }
402 
403     public static class CallStateContainer {
404         public static final String INCOMING_NUMBER = "incomingNumber";
405         public static final String SUBSCRIPTION_ID = "subscriptionId";
406         public static final String CALL_STATE = "callState";
407     }
408 
409     public static class PreciseCallStateContainer {
410         public static final String TYPE = "type";
411         public static final String CAUSE = "cause";
412         public static final String SUBSCRIPTION_ID = "subscriptionId";
413         public static final String PRECISE_CALL_STATE = "preciseCallState";
414     }
415 
416     public static class DataConnectionRealTimeInfoContainer {
417         public static final String TYPE = "type";
418         public static final String TIME = "time";
419         public static final String SUBSCRIPTION_ID = "subscriptionId";
420         public static final String DATA_CONNECTION_POWER_STATE = "dataConnectionPowerState";
421     }
422 
423     public static class DataConnectionStateContainer {
424         public static final String TYPE = "type";
425         public static final String DATA_NETWORK_TYPE = "dataNetworkType";
426         public static final String STATE_CODE = "stateCode";
427         public static final String SUBSCRIPTION_ID = "subscriptionId";
428         public static final String DATA_CONNECTION_STATE = "dataConnectionState";
429     }
430 
431     public static class ServiceStateContainer {
432         public static final String VOICE_REG_STATE = "voiceRegState";
433         public static final String VOICE_NETWORK_TYPE = "voiceNetworkType";
434         public static final String DATA_REG_STATE = "dataRegState";
435         public static final String DATA_NETWORK_TYPE = "dataNetworkType";
436         public static final String OPERATOR_NAME = "operatorName";
437         public static final String OPERATOR_ID = "operatorId";
438         public static final String IS_MANUAL_NW_SELECTION = "isManualNwSelection";
439         public static final String ROAMING = "roaming";
440         public static final String IS_EMERGENCY_ONLY = "isEmergencyOnly";
441         public static final String NETWORK_ID = "networkId";
442         public static final String SYSTEM_ID = "systemId";
443         public static final String SUBSCRIPTION_ID = "subscriptionId";
444         public static final String SERVICE_STATE = "serviceState";
445     }
446 
447     public static class MessageWaitingIndicatorContainer {
448         public static final String IS_MESSAGE_WAITING = "isMessageWaiting";
449     }
450 
451     public static class VoLteServiceStateContainer {
452         public static final String SRVCC_STATE = "srvccState";
453     }
454 
455     public static class PacketKeepaliveContainer {
456         public static final String ID = "id";
457         public static final String PACKET_KEEPALIVE_EVENT = "packetKeepaliveEvent";
458     }
459 
460     public static class NetworkCallbackContainer {
461         public static final String ID = "id";
462         public static final String NETWORK_CALLBACK_EVENT = "networkCallbackEvent";
463         public static final String MAX_MS_TO_LIVE = "maxMsToLive";
464         public static final String RSSI = "rssi";
465     }
466 }
467