nsIGonkMobileConnectionService

Methods

notifyNetworkInfoChanged(clientId, networkInfo)

notifyVoiceInfoChanged(clientId, voiceInfo)

notifyDataInfoChanged(clientId, dataInfo)

notifyDataError(clientId, message)

notifySignalStrengthChanged(clientId, signal)

notifyOperatorChanged(clientId, info)

notifyOtaStatusChanged(clientId, status)

notifyRadioStateChanged(clientId, radioState)

notifyUssdReceived(clientId, message, sessionEnded)

notifyEmergencyCallbackModeChanged(clientId, active, timeoutMs)

notifyIccChanged(clientId, iccId)

notifyNetworkSelectModeChanged(clientId, mode)

notifySpnAvailable(clientId)

notifyLastHomeNetworkChanged(clientId, network)

notifyCFStateChanged(clientId, action, reason, number, timeSeconds, serviceClass)

notifyCdmaInfoRecDisplay(clientId, display)

Notify Display Info from received Cdma-Info-Record.
See 3.7.4.1 Display in 3GPP2 C.S0005-F.

Parameters

clientId The ID of radioInterface where this info is notified from.
display The string to be displayed.

notifyCdmaInfoRecCalledPartyNumber(clientId, type, plan, number, pi, si)

Notify Called Party Number from received Cdma-Info-Record.
See 3.7.4.2 Called Party Number in 3GPP2 C.S0005-F.

Parameters

clientId The ID of radioInterface where this info is notified from.
type The type of number. (3-bit binary) See Table 2.7.1.3.2.4-2 in 3GPP2 C.S0005-F.
plan The numbering plan. (4-bit binary) See Table 2.7.1.3.2.4-3 in 3GPP2 C.S0005-F.
number The string presentation of the number.
pi (2-bit binary) The Presentation indicator of the number. See Table 2.7.4.4-1 in 3GPP2 C.S0005-F.
si (2-bit binary) The Screening Indicator of the number. See Table 2.7.4.4-2 in 3GPP2 C.S0005-F.

notifyCdmaInfoRecCallingPartyNumber(clientId, type, plan, number, pi, si)

Notify Calling Party Number from received Cdma-Info-Record.
See 3.7.4.3 Calling Party Number in 3GPP2 C.S0005-F.

Parameters

clientId The ID of radioInterface where this info is notified from.
type The type of number. (3-bit binary) See Table 2.7.1.3.2.4-2 in 3GPP2 C.S0005-F.
plan The numbering plan. (4-bit binary) See Table 2.7.1.3.2.4-3 in 3GPP2 C.S0005-F.
number The string presentation of the number.
pi (2-bit binary) The Presentation indicator of the number. See Table 2.7.4.4-1 in 3GPP2 C.S0005-F.
si (2-bit binary) The Screening Indicator of the number. See Table 2.7.4.4-2 in 3GPP2 C.S0005-F.

notifyCdmaInfoRecConnectedPartyNumber(clientId, type, plan, number, pi, si)

Notify Connected Party Number from received Cdma-Info-Record.
See 3.7.4.4 Connected Party Number in 3GPP2 C.S0005-F.

Parameters

clientId The ID of radioInterface where this info is notified from.
type The type of number. (3-bit binary) See Table 2.7.1.3.2.4-2 in 3GPP2 C.S0005-F.
plan The numbering plan. (4-bit binary) See Table 2.7.1.3.2.4-3 in 3GPP2 C.S0005-F.
number The string presentation of the number.
pi (2-bit binary) The Presentation indicator of the number. See Table 2.7.4.4-1 in 3GPP2 C.S0005-F.
si (2-bit binary) The Screening Indicator of the number. See Table 2.7.4.4-2 in 3GPP2 C.S0005-F.

notifyCdmaInfoRecSignal(clientId, type, alertPitch, signal)

Notify Signal Info from received Cdma-Info-Record.
See 3.7.4.5 Signal in 3GPP2 C.S0005-F.

Parameters

clientId The ID of radioInterface where this info is notified from.
type The signal type. (2-bit binary) See Table 3.7.5.5-1 in 3GPP2 C.S0005-F.
alertPitch The pitch of the alerting signal. (2-bit binary) See Table 3.7.5.5-2 in 3GPP2 C.S0005-F.
signal The signal code. (6-bit binary) See Table 3.7.5.5-3, 3.7.5.5-4, 3.7.5.5-5 in 3GPP2 C.S0005-F.

notifyCdmaInfoRecRedirectingNumber(clientId, type, plan, number, pi, si, reason)

Notify Redirecting Number from received Cdma-Info-Record.
See 3.7.4.11 Redirecting Number in 3GPP2 C.S0005-F.

Parameters

clientId The ID of radioInterface where this info is notified from.
type The type of number. (3-bit binary) See Table 2.7.1.3.2.4-2 in 3GPP2 C.S0005-F.
plan The numbering plan. (4-bit binary) See Table 2.7.1.3.2.4-3 in 3GPP2 C.S0005-F.
number The string presentation of the number.
pi (2-bit binary) The Presentation indicator of the number. See Table 2.7.4.4-1 in 3GPP2 C.S0005-F.
si (2-bit binary) The Screening Indicator of the number. See Table 2.7.4.4-2 in 3GPP2 C.S0005-F.
reason (4-bit binary) The redirection reason. See Table 3.7.5.11-1 in 3GPP2 C.S0005-F.

notifyCdmaInfoRecLineControl(clientId, polarityIncluded, toggle, reverse, powerDenial)

Notify Line Control from received Cdma-Info-Record.
See 3.7.4.15 Line Control in 3GPP2 C.S0005-F.

Parameters

clientId The ID of radioInterface where this info is notified from.
polarityIncluded (1-bit) Polarity parameter included.
toggle (1-bit) Toggle mode.
reverse (1-bit) Reverse polarity.
powerDenial (8-bit) Power denial timeout.

notifyCdmaInfoRecClir(clientId, cause)

Notify CLIR from received Cdma-Info-Record.
See ‘ANNEX 1 Country-Specific Record Type for Japan’ in T53.
http://www.arib.or.jp/english/html/overview/doc/T53v6_5_pdf/5_ANNEX_v6_5.pdf

Parameters

clientId The ID of radioInterface where this info is notified from.
cause Reason code. (8-bit binary) See Table A 1.1-1 in T53.

Notify Audio Control from received Cdma-Info-Record.

Note: No information from ARIB about Audio Control.
It seems obsolete according to ANNEX 1 in T53.
upLink/downLink are ‘byte’ value according to ril.h.
Treat them as ‘signed short’ to preserve the flexibility when needed.

Parameters

clientId The ID of radioInterface where this info is notified from.
upLink
downLink