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