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 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_LTE_CA = "LTE_CA"; 168 public static final String RAT_UNKNOWN = "UNKNOWN"; 169 170 /** 171 * Constant for Phone Type 172 * **/ 173 public static final String PHONE_TYPE_GSM = "GSM"; 174 public static final String PHONE_TYPE_NONE = "NONE"; 175 public static final String PHONE_TYPE_CDMA = "CDMA"; 176 public static final String PHONE_TYPE_SIP = "SIP"; 177 178 /** 179 * Constant for SIM State 180 * **/ 181 public static final String SIM_STATE_READY = "READY"; 182 public static final String SIM_STATE_UNKNOWN = "UNKNOWN"; 183 public static final String SIM_STATE_ABSENT = "ABSENT"; 184 public static final String SIM_STATE_PUK_REQUIRED = "PUK_REQUIRED"; 185 public static final String SIM_STATE_PIN_REQUIRED = "PIN_REQUIRED"; 186 public static final String SIM_STATE_NETWORK_LOCKED = "NETWORK_LOCKED"; 187 public static final String SIM_STATE_NOT_READY = "NOT_READY"; 188 public static final String SIM_STATE_PERM_DISABLED = "PERM_DISABLED"; 189 public static final String SIM_STATE_CARD_IO_ERROR = "CARD_IO_ERROR"; 190 191 /** 192 * Constant for Data Connection State 193 * **/ 194 public static final String DATA_STATE_CONNECTED = "CONNECTED"; 195 public static final String DATA_STATE_DISCONNECTED = "DISCONNECTED"; 196 public static final String DATA_STATE_CONNECTING = "CONNECTING"; 197 public static final String DATA_STATE_SUSPENDED = "SUSPENDED"; 198 public static final String DATA_STATE_UNKNOWN = "UNKNOWN"; 199 200 /** 201 * Constant for Telephony Manager Call State 202 * **/ 203 public static final String TELEPHONY_STATE_RINGING = "RINGING"; 204 public static final String TELEPHONY_STATE_IDLE = "IDLE"; 205 public static final String TELEPHONY_STATE_OFFHOOK = "OFFHOOK"; 206 public static final String TELEPHONY_STATE_UNKNOWN = "UNKNOWN"; 207 208 /** 209 * Constant for TTY Mode 210 * **/ 211 public static final String TTY_MODE_FULL = "FULL"; 212 public static final String TTY_MODE_HCO = "HCO"; 213 public static final String TTY_MODE_OFF = "OFF"; 214 public static final String TTY_MODE_VCO ="VCO"; 215 216 /** 217 * Constant for Service State 218 * **/ 219 public static final String SERVICE_STATE_EMERGENCY_ONLY = "EMERGENCY_ONLY"; 220 public static final String SERVICE_STATE_IN_SERVICE = "IN_SERVICE"; 221 public static final String SERVICE_STATE_OUT_OF_SERVICE = "OUT_OF_SERVICE"; 222 public static final String SERVICE_STATE_POWER_OFF = "POWER_OFF"; 223 public static final String SERVICE_STATE_UNKNOWN = "UNKNOWN"; 224 225 /** 226 * Constant for VoLTE Hand-over Service State 227 * **/ 228 public static final String VOLTE_SERVICE_STATE_HANDOVER_STARTED = "STARTED"; 229 public static final String VOLTE_SERVICE_STATE_HANDOVER_COMPLETED = "COMPLETED"; 230 public static final String VOLTE_SERVICE_STATE_HANDOVER_FAILED = "FAILED"; 231 public static final String VOLTE_SERVICE_STATE_HANDOVER_CANCELED = "CANCELED"; 232 public static final String VOLTE_SERVICE_STATE_HANDOVER_UNKNOWN = "UNKNOWN"; 233 234 /** 235 * Constant for precise call state state listen level 236 * **/ 237 public static final String PRECISE_CALL_STATE_LISTEN_LEVEL_FOREGROUND = "FOREGROUND"; 238 public static final String PRECISE_CALL_STATE_LISTEN_LEVEL_RINGING = "RINGING"; 239 public static final String PRECISE_CALL_STATE_LISTEN_LEVEL_BACKGROUND = "BACKGROUND"; 240 241 /** 242 * Constant for Video Call Session Event Name 243 * **/ 244 public static final String SESSION_EVENT_RX_PAUSE = "SESSION_EVENT_RX_PAUSE"; 245 public static final String SESSION_EVENT_RX_RESUME = "SESSION_EVENT_RX_RESUME"; 246 public static final String SESSION_EVENT_TX_START = "SESSION_EVENT_TX_START"; 247 public static final String SESSION_EVENT_TX_STOP = "SESSION_EVENT_TX_STOP"; 248 public static final String SESSION_EVENT_CAMERA_FAILURE = "SESSION_EVENT_CAMERA_FAILURE"; 249 public static final String SESSION_EVENT_CAMERA_READY = "SESSION_EVENT_CAMERA_READY"; 250 public static final String SESSION_EVENT_UNKNOWN = "SESSION_EVENT_UNKNOWN"; 251 252 /** 253 * Constants used to Register or de-register for Video Call Callbacks 254 * **/ 255 public static final String EVENT_VIDEO_SESSION_MODIFY_REQUEST_RECEIVED = "EVENT_VIDEO_SESSION_MODIFY_REQUEST_RECEIVED"; 256 public static final String EVENT_VIDEO_SESSION_MODIFY_RESPONSE_RECEIVED = "EVENT_VIDEO_SESSION_MODIFY_RESPONSE_RECEIVED"; 257 public static final String EVENT_VIDEO_SESSION_EVENT = "EVENT_VIDEO_SESSION_EVENT"; 258 public static final String EVENT_VIDEO_PEER_DIMENSIONS_CHANGED = "EVENT_VIDEO_PEER_DIMENSIONS_CHANGED"; 259 public static final String EVENT_VIDEO_QUALITY_CHANGED = "EVENT_VIDEO_QUALITY_CHANGED"; 260 public static final String EVENT_VIDEO_DATA_USAGE_CHANGED = "EVENT_VIDEO_DATA_USAGE_CHANGED"; 261 public static final String EVENT_VIDEO_CAMERA_CAPABILITIES_CHANGED = "EVENT_VIDEO_CAMERA_CAPABILITIES_CHANGED"; 262 public static final String EVENT_VIDEO_INVALID = "EVENT_VIDEO_INVALID"; 263 264 /** 265 * Constant for Network Preference 266 * **/ 267 public static final String NETWORK_MODE_WCDMA_PREF = "NETWORK_MODE_WCDMA_PREF"; 268 public static final String NETWORK_MODE_GSM_ONLY = "NETWORK_MODE_GSM_ONLY"; 269 public static final String NETWORK_MODE_WCDMA_ONLY = "NETWORK_MODE_WCDMA_ONLY"; 270 public static final String NETWORK_MODE_GSM_UMTS = "NETWORK_MODE_GSM_UMTS"; 271 public static final String NETWORK_MODE_CDMA = "NETWORK_MODE_CDMA"; 272 public static final String NETWORK_MODE_CDMA_NO_EVDO = "NETWORK_MODE_CDMA_NO_EVDO"; 273 public static final String NETWORK_MODE_EVDO_NO_CDMA = "NETWORK_MODE_EVDO_NO_CDMA"; 274 public static final String NETWORK_MODE_GLOBAL = "NETWORK_MODE_GLOBAL"; 275 public static final String NETWORK_MODE_LTE_CDMA_EVDO = "NETWORK_MODE_LTE_CDMA_EVDO"; 276 public static final String NETWORK_MODE_LTE_GSM_WCDMA = "NETWORK_MODE_LTE_GSM_WCDMA"; 277 public static final String NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA = "NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA"; 278 public static final String NETWORK_MODE_LTE_ONLY = "NETWORK_MODE_LTE_ONLY"; 279 public static final String NETWORK_MODE_LTE_WCDMA = "NETWORK_MODE_LTE_WCDMA"; 280 public static final String NETWORK_MODE_TDSCDMA_ONLY = "NETWORK_MODE_TDSCDMA_ONLY"; 281 public static final String NETWORK_MODE_TDSCDMA_WCDMA = "NETWORK_MODE_TDSCDMA_WCDMA"; 282 public static final String NETWORK_MODE_LTE_TDSCDMA = "NETWORK_MODE_LTE_TDSCDMA"; 283 public static final String NETWORK_MODE_TDSCDMA_GSM = "NETWORK_MODE_TDSCDMA_GSM"; 284 public static final String NETWORK_MODE_LTE_TDSCDMA_GSM = "NETWORK_MODE_LTE_TDSCDMA_GSM"; 285 public static final String NETWORK_MODE_TDSCDMA_GSM_WCDMA = "NETWORK_MODE_TDSCDMA_GSM_WCDMA"; 286 public static final String NETWORK_MODE_LTE_TDSCDMA_WCDMA = "NETWORK_MODE_LTE_TDSCDMA_WCDMA"; 287 public static final String NETWORK_MODE_LTE_TDSCDMA_GSM_WCDMA = "NETWORK_MODE_LTE_TDSCDMA_GSM_WCDMA"; 288 public static final String NETWORK_MODE_TDSCDMA_CDMA_EVDO_GSM_WCDMA = "NETWORK_MODE_TDSCDMA_CDMA_EVDO_GSM_WCDMA"; 289 public static final String NETWORK_MODE_LTE_TDSCDMA_CDMA_EVDO_GSM_WCDMA = "NETWORK_MODE_LTE_TDSCDMA_CDMA_EVDO_GSM_WCDMA"; 290 public static final String NETWORK_MODE_INVALID = "INVALID"; 291 292 /** 293 * Constant for Messaging Event Name 294 * **/ 295 public static final String EventSmsDeliverSuccess = "SmsDeliverSuccess"; 296 public static final String EventSmsDeliverFailure = "SmsDeliverFailure"; 297 public static final String EventSmsSentSuccess = "SmsSentSuccess"; 298 public static final String EventSmsSentFailure = "SmsSentFailure"; 299 public static final String EventSmsReceived = "SmsReceived"; 300 public static final String EventMmsSentSuccess = "MmsSentSuccess"; 301 public static final String EventMmsSentFailure = "MmsSentFailure"; 302 public static final String EventMmsDownloaded = "MmsDownloaded"; 303 public static final String EventWapPushReceived = "WapPushReceived"; 304 public static final String EventDataSmsReceived = "DataSmsReceived"; 305 public static final String EventCmasReceived = "CmasReceived"; 306 public static final String EventEtwsReceived = "EtwsReceived"; 307 308 /** 309 * Constant for Telecom Event Names 310 * **/ 311 public static final String EventTelecomCallAdded = "TelecomCallAdded"; 312 public static final String EventTelecomCallRemoved = "TelecomCallRemoved"; 313 314 /** 315 * Constant for Telecom Call Event Names 316 * **/ 317 public static final String EventTelecomCallStateChanged = "TelecomCallStateChanged"; 318 public static final String EventTelecomCallParentChanged = "TelecomCallParentChanged"; 319 public static final String EventTelecomCallChildrenChanged = "TelecomCallChildrenChanged"; 320 public static final String EventTelecomCallDetailsChanged = "TelecomCallDetailsChanged"; 321 public static final String EventTelecomCallCannedTextResponsesLoaded = "TelecomCallCannedTextResponsesLoaded"; 322 public static final String EventTelecomCallPostDialWait = "TelecomCallPostDialWait"; 323 public static final String EventTelecomCallVideoCallChanged = "TelecomCallVideoCallChanged"; 324 public static final String EventTelecomCallDestroyed = "TelecomCallDestroyed"; 325 public static final String EventTelecomCallConferenceableCallsChanged = "TelecomCallConferenceableCallsChanged"; 326 327 /** 328 * Constant for Video Call Event Name 329 * **/ 330 public static final String EventTelecomVideoCallSessionModifyRequestReceived = "TelecomVideoCallSessionModifyRequestReceived"; 331 public static final String EventTelecomVideoCallSessionModifyResponseReceived = "TelecomVideoCallSessionModifyResponseReceived"; 332 public static final String EventTelecomVideoCallSessionEvent = "TelecomVideoCallSessionEvent"; 333 public static final String EventTelecomVideoCallPeerDimensionsChanged = "TelecomVideoCallPeerDimensionsChanged"; 334 public static final String EventTelecomVideoCallVideoQualityChanged = "TelecomVideoCallVideoQualityChanged"; 335 public static final String EventTelecomVideoCallDataUsageChanged = "TelecomVideoCallDataUsageChanged"; 336 public static final String EventTelecomVideoCallCameraCapabilities = "TelecomVideoCallCameraCapabilities"; 337 338 /** 339 * Constant for Other Event Name 340 * **/ 341 public static final String EventCellInfoChanged = "CellInfoChanged"; 342 public static final String EventCallStateChanged = "CallStateChanged"; 343 public static final String EventPreciseStateChanged = "PreciseStateChanged"; 344 public static final String EventDataConnectionRealTimeInfoChanged = "DataConnectionRealTimeInfoChanged"; 345 public static final String EventDataConnectionStateChanged = "DataConnectionStateChanged"; 346 public static final String EventServiceStateChanged = "ServiceStateChanged"; 347 public static final String EventSignalStrengthChanged = "SignalStrengthChanged"; 348 public static final String EventVolteServiceStateChanged = "VolteServiceStateChanged"; 349 public static final String EventMessageWaitingIndicatorChanged = "MessageWaitingIndicatorChanged"; 350 351 /** 352 * Constants for OnStartTetheringCallback 353 */ 354 public static final String TetheringStartedCallback = "ConnectivityManagerOnTetheringStarted"; 355 public static final String TetheringFailedCallback = "ConnectivityManagerOnTetheringFailed"; 356 357 /** 358 * Constant for Signal Strength fields 359 */ 360 public static class SignalStrengthContainer { 361 public static final String SIGNAL_STRENGTH_GSM = "gsmSignalStrength"; 362 public static final String SIGNAL_STRENGTH_GSM_DBM = "gsmDbm"; 363 public static final String SIGNAL_STRENGTH_GSM_LEVEL = "gsmLevel"; 364 public static final String SIGNAL_STRENGTH_GSM_ASU_LEVEL = "gsmAsuLevel"; 365 public static final String SIGNAL_STRENGTH_GSM_BIT_ERROR_RATE = "gsmBitErrorRate"; 366 public static final String SIGNAL_STRENGTH_CDMA_DBM = "cdmaDbm"; 367 public static final String SIGNAL_STRENGTH_CDMA_LEVEL = "cdmaLevel"; 368 public static final String SIGNAL_STRENGTH_CDMA_ASU_LEVEL = "cdmaAsuLevel"; 369 public static final String SIGNAL_STRENGTH_CDMA_ECIO = "cdmaEcio"; 370 public static final String SIGNAL_STRENGTH_EVDO_DBM = "evdoDbm"; 371 public static final String SIGNAL_STRENGTH_EVDO_ECIO = "evdoEcio"; 372 public static final String SIGNAL_STRENGTH_LTE = "lteSignalStrength"; 373 public static final String SIGNAL_STRENGTH_LTE_DBM = "lteDbm"; 374 public static final String SIGNAL_STRENGTH_LTE_LEVEL = "lteLevel"; 375 public static final String SIGNAL_STRENGTH_LTE_ASU_LEVEL = "lteAsuLevel"; 376 public static final String SIGNAL_STRENGTH_DBM = "dbm"; 377 public static final String SIGNAL_STRENGTH_LEVEL = "level"; 378 public static final String SIGNAL_STRENGTH_ASU_LEVEL = "asuLevel"; 379 } 380 381 public static class CallStateContainer { 382 public static final String INCOMING_NUMBER = "incomingNumber"; 383 public static final String SUBSCRIPTION_ID = "subscriptionId"; 384 public static final String CALL_STATE = "callState"; 385 } 386 387 public static class PreciseCallStateContainer { 388 public static final String TYPE = "type"; 389 public static final String CAUSE = "cause"; 390 public static final String SUBSCRIPTION_ID = "subscriptionId"; 391 public static final String PRECISE_CALL_STATE = "preciseCallState"; 392 } 393 394 public static class DataConnectionRealTimeInfoContainer { 395 public static final String TYPE = "type"; 396 public static final String TIME = "time"; 397 public static final String SUBSCRIPTION_ID = "subscriptionId"; 398 public static final String DATA_CONNECTION_POWER_STATE = "dataConnectionPowerState"; 399 } 400 401 public static class DataConnectionStateContainer { 402 public static final String TYPE = "type"; 403 public static final String DATA_NETWORK_TYPE = "dataNetworkType"; 404 public static final String STATE_CODE = "stateCode"; 405 public static final String SUBSCRIPTION_ID = "subscriptionId"; 406 public static final String DATA_CONNECTION_STATE = "dataConnectionState"; 407 } 408 409 public static class ServiceStateContainer { 410 public static final String VOICE_REG_STATE = "voiceRegState"; 411 public static final String VOICE_NETWORK_TYPE = "voiceNetworkType"; 412 public static final String DATA_REG_STATE = "dataRegState"; 413 public static final String DATA_NETWORK_TYPE = "dataNetworkType"; 414 public static final String OPERATOR_NAME = "operatorName"; 415 public static final String OPERATOR_ID = "operatorId"; 416 public static final String IS_MANUAL_NW_SELECTION = "isManualNwSelection"; 417 public static final String ROAMING = "roaming"; 418 public static final String IS_EMERGENCY_ONLY = "isEmergencyOnly"; 419 public static final String NETWORK_ID = "networkId"; 420 public static final String SYSTEM_ID = "systemId"; 421 public static final String SUBSCRIPTION_ID = "subscriptionId"; 422 public static final String SERVICE_STATE = "serviceState"; 423 } 424 425 public static class MessageWaitingIndicatorContainer { 426 public static final String IS_MESSAGE_WAITING = "isMessageWaiting"; 427 } 428 429 public static class VoLteServiceStateContainer { 430 public static final String SRVCC_STATE = "srvccState"; 431 } 432 } 433