java.lang.Object | |
↳ | com.htc.net.FourG.FourGManager |
![]() |
![]() |
This class provides the primary API for managing all aspects of Wi-Fi
connectivity. Get an instance of this class by calling
Context.getSystemService(Context.WIFI_SERVICE)
.
It deals with several categories of items:
ConnectivityManager
.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
FourGManager.ConnectionStatistics | This class provides access to connection related information related to the current overall performance data communications between the Mobile Station and the serving Base Station. | ||||||||||
FourGManager.FourGLock | When an application is holding this lock, the application is indicating to the 4G Manager that the 4G radio should stay enabled. | ||||||||||
FourGManager.QosServiceFlowControl | This class provides access to and control of the potential QoS service flows between the Mobile Station and the serving Base Station. | ||||||||||
FourGManager.RadioInfoTemperature | This class returns information about operating temperatures of the 4G radio | ||||||||||
FourGManager.RtdRequestedSpec | Enum used with method startNeighborListScan( boolean wideScan , RtdRequestedSpec rtdSpec , Boolean dataSessionInterruptionAllowed |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | CINR_CHANGED_ACTION | The CINR (signal strength) has changed. | |||||||||
int | ERROR_ALREADY_CONNECTED | Error code indicating that seen from call to getLastError() indicating that the MS is already connected to a serving BS, in situations where the calling application has called reconnect() or connectDefaultNetwork() when a active connection already is established. | |||||||||
int | ERROR_AUTHENTICATING | Error code indicating that there was a problem authenticating. | |||||||||
int | ERROR_DEVICE_NOT_PROVISIONED | Error code typically seen from call to getLastError() indicating that the dev ice has not been provisioned and 4G operation is not possible | |||||||||
int | ERROR_DEVICE_PROVISIONING_DATA_ERROR | Error code typically seen from call to getLastError() indicating that the dev ice has been provisioned but there is a detectable error in the provisioning data and thus 4G operation is not possible | |||||||||
int | ERROR_INVALID_DEVICE_PROFILE | Error code typically seen from call to getLastError() broadly indicating that the dev ice profile is invalid and 4G operation is not possible | |||||||||
int | ERROR_NO_COVERAGE_AVAILABLE | Error code typically seen from call to getLastError() indicating that no coverage is available to the MS. | |||||||||
int | ERROR_OPERATION_ALREADY_IN_PROGRESS | Error code typically seen from call to getLastError() indicating that the MS is already in progress executing a previously initiated function | |||||||||
int | ERROR_OPERATION_NOT_ALLOWED | Error code typically seen from call to getLastError() indicating that the User Equirpment implementation does not allow the particular operation at this application interface. | |||||||||
int | ERROR_RADIO_OFF | Error code typically seen from call to getLastError() indicating that the MS 4G radio is off, having been disabled in a control panel and/or by a physical switch | |||||||||
int | ERROR_RADIO_POLICY_VIOLATION | Error code typically seen from call to getLastError() indicating that the MS has detected a radio policy violation. | |||||||||
int | ERROR_ROAMING_NOT_ALLOWED | Error code typically seen from call to getLastError() indicating that roaming is not supported at this time. | |||||||||
int | ERROR_SCAN_NOT_ALLOWED_NOW_NETWORK_IMPACTS | Error code indicating that a scan was not begin as there is a (typically) transient condition in the network that would be problematic for network operations if a MS initialed scan was executed at this time | |||||||||
int | ERROR_SCAN_NOT_ALLOWED_NOW_NETWORK_MGMT_PROHIBITED | Error code indicating that the requested scan was not initiated as there is policy in place where the network, possibly via OMA-DM, prohibits the specific scan operation at this time. | |||||||||
int | ERROR_SCAN_NOT_ALLOWED_NOW_UE_DATA_XFER_IMPACTS | Error code indicating that a scan was not begun as the scan would disrupt on-going data transports. | |||||||||
String | EXTRA_4G_CURRENT_SERVING_BS | The lookup key for a FourGBaseStationInfo describing the now serving BS Station. |
|||||||||
String | EXTRA_4G_INFO | The lookup key for the RAN-specific subclass of FourGInfo, describing the current User Equipment <-> base station connection, when a Intent is received. | |||||||||
String | EXTRA_4G_PREVIOUS_SERVING_BS | The lookup key for a FourGBaseStationInof describing the previous serving BS Station. | |||||||||
String | EXTRA_4G_STATE | The lookup key for an int that indicates the current 4G "enabled" state,
describing if 4G is enabled, disabled, enabling, disabling, or unknown
Retrieve it with
getIntExtra(String, int) . |
|||||||||
String | EXTRA_CURRENT_RADIO_TEMPERATURE | The lookup key for the current radio temperature in Celsius. | |||||||||
String | EXTRA_DOWNLINK_MODULATION | The lookup key for a Four4BaseStateionInfo.eNET_4G_MODULATION | |||||||||
String | EXTRA_DOWNLINK_THROUGHPUT | The lookup key for an int representing downlink throughput in LINK_SPEED_UNITS | |||||||||
String | EXTRA_HANDOVER_FAILURE_REASON | The lookup key for a enum FourGInfo.LINK_STATE_REASON that indicates the reason why a BAse Station to Base Station handover failed. | |||||||||
String | EXTRA_LINK_STATE_DETAIL | The lookup key for a FourGInfo.LINK_STATE_DETAIL | |||||||||
String | EXTRA_NETWORK_INFO | The lookup key for a NetworkInfo object associated with the
4G network. |
|||||||||
String | EXTRA_NEW_4G_STATE | The lookup key for a FourGSupplicantState describing the new state
Retrieve with
getParcelableExtra(String) . |
|||||||||
String | EXTRA_NEW_CINR | The lookup key for an int giving the new CINR in dB. |
|||||||||
String | EXTRA_NEW_RSSI | The lookup key for an int giving the new RSSI in dBm. |
|||||||||
String | EXTRA_PREVIOUS_4G_STATE | The lookup key for an int that indicates the previous 4G "enabled" state,
describing if 4G is enabled, disabled, enabling, disabling, or unknown. |
|||||||||
String | EXTRA_SCAN_RESULT_BS_LIST | The lookup key for the list of base station found after a scan has completed. | |||||||||
String | EXTRA_SERVICE_FLOW | The lookup key for the QosServiceFlowDescriptor | |||||||||
String | EXTRA_SF_SCHEDULING_CLASS | The lookup key for the new SF_SCHEDULING_CLASS | |||||||||
String | EXTRA_SF_STATE | The lookup key for the new SF_STATE | |||||||||
String | EXTRA_SUPPLICANT_ERROR | The lookup key for a FourGSupplicantState describing the supplicant
error code if any. |
|||||||||
String | EXTRA_UPLINK_MODULATION | The lookup key for a Four4BaseStateionInfo.eNET_4G_MODULATION | |||||||||
String | EXTRA_UPLINK_THROUGHPUT | The lookup key for an int representing uplink throughput in LINK_SPEED_UNITS | |||||||||
String | KEY_CINR_CHANGED | Key used for the Bundle extra holding a boolean indicating that the Intent is a CINR changed alert. | |||||||||
String | KEY_CINR_DELTA_THRESHOLD | Key used for the single Bundle extra, in an "CINR changed" alert Intent, to access a boolean which, if true, indicates that the Intent was fired based on the occurrence of an CINR change that exceeded the previous specified "CINR changed" by more that the minDelta threshold valuee. | |||||||||
String | KEY_CINR_MAX_THRESHOLD | Key used for the single Bundle extra, in an "CINR changed" alert Intent, to access an int which, if not equal to Integer.MAX_VALUE, indicates that the Intent was fired based on the occurrence of an CINR change, where, at some time during the alert minDelta peroid, the new CINR value was below the previously specifed "CINR maximum absolute" threshold value ceilingValue. | |||||||||
String | KEY_CINR_MIN_THRESHOLD | Key used for the single Bundle extra, in an "CINR changed" alert Intent, to access an int which, if not equal to Integer.MIN_VALUE, indicates that the Intent was fired based on the occurrence of an CINR change, where, at some time during the alert minDelta peroid, the new CINR value was below the previously specifed "CINR minimum absolute" threshold value floorValue. | |||||||||
String | KEY_CINR_PERIODIC_ALERT | Key used for the single Bundle extra, in an "CINR changed" alert Intent, to access a boolean which, if true, indicates that the Intent was fired based on the occurrence of an CINR change, and the previously specified minimum reporting time period has passed. | |||||||||
String | KEY_NEW_CINR | Key used for the single Bundle extra, in an "CINR changed" alert Intent, to access an int which is the new CINR value. | |||||||||
String | KEY_NEW_RSSI | Key used for the single Bundle extra, in an "RSSI changed" alert Intent, to access an int which is the new RSSI value. | |||||||||
String | KEY_RSSI_CHANGED | Key used for the Bundle extra holding a boolean indicating that the Intent is a RSSI changed alert. | |||||||||
String | KEY_RSSI_DELTA_THRESHOLD | Key used for the single Bundle extra, in an "RSSI changed" alert Intent, to access a boolean which, if true, indicates that the Intent was fired based on the occurrence of an RSSI change that exceeded the previous specified "RSSI changed" by more that the minDelta threshold valuee. | |||||||||
String | KEY_RSSI_MAX_THRESHOLD | Key used for the single Bundle extra, in an "RSSI changed" alert Intent, to access an int which, if not equal to Integer.MAX_VALUE, indicates that the Intent was fired based on the occurrence of an RSSI change, where, at some time during the alert minDelta peroid, the new RSSI value was below the previously specifed "RSSI maximum absolute" threshold value ceilingValue. | |||||||||
String | KEY_RSSI_MIN_THRESHOLD | Key used for the single Bundle extra, in an "RSSI changed" alert Intent, to access an int which, if not equal to Integer.MIN_VALUE, indicates that the Intent was fired based on the occurrence of an RSSI change, where, at some time during the alert minDelta peroid, the new RSSI value was below the previously specifed "RSSI minimum absolute" threshold value floorValue. | |||||||||
String | KEY_RSSI_PERIODIC_ALERT | Key used for the single Bundle extra, in an "RSSI changed" alert Intent, to access a boolean which, if true, indicates that the Intent was fired based on the occurrence of an RSSI change, and the previously specified minimum reporting time period has passed. | |||||||||
String | LINK_MODULATION_CHANGED_ACTION | Broadcast intent action indicating that the modulation on the 4G radio link state has changed. | |||||||||
String | LINK_STATE_DETAIL_CHANGED_ACTION | Broadcast intent action indicating that the state of 4G detailed link state has changed. | |||||||||
int | LOG_DEBUG | ||||||||||
int | LOG_ERROR | ||||||||||
int | LOG_FATAL | log Levels | |||||||||
int | LOG_WARNING | ||||||||||
String | NETWORK_IDS_CHANGED_ACTION | The network IDs of the configured networks could have changed. | |||||||||
String | NETWORK_STATE_CHANGED_ACTION | Broadcast intent action indicating that the state of 4G connectivity has changed. | |||||||||
String | NET_4G_HANDOVER_COMPLETE_ACTION | Broadcast intent action indicating that the 4G serving Base Station (BS) has changed. | |||||||||
String | NET_4G_HANDOVER_FAILED_ACTION | Broadcast intent action indicating that the handover between 4G serving Base Station has failed. | |||||||||
String | NET_4G_RADIO_OVERHEAT_ACTION | Broadcast intent action indicating that the 4G radio has overheated. | |||||||||
String | NET_4G_STATE_CHANGED_ACTION | Broadcast intent action indicating that the 4G "enabled" state (enabled, disabled, enabling, disabling, or unknown) has changed. | |||||||||
int | NET_4G_STATE_DISABLED | 4G is disabled | |||||||||
int | NET_4G_STATE_DISABLING | 4G is being disabled | |||||||||
int | NET_4G_STATE_ENABLED | 4G is enabled | |||||||||
int | NET_4G_STATE_ENABLING | 4G is being enabled | |||||||||
int | NET_4G_STATE_UNKNOWN | 4G is in an unknown state | |||||||||
String | QOS_SERVICE_FLOW_MODIFIED_ACTION | Broadcast intent action indicating that the state of 4G service flow has been modified by a change in serving BS, by the serving BS, etc. | |||||||||
String | QOS_SERVICE_FLOW_STATE_CHANGE_ACTION | Broadcast intent action indicating that the state of a 4G service flow has made a state transition. | |||||||||
String | RSSI_CHANGED_ACTION | The RSSI (signal strength) has changed. | |||||||||
String | SCAN_RESULTS_AVAILABLE_ACTION | A scan has completed, and result are available. | |||||||||
String | SUPPLICANT_STATE_CHANGED_ACTION | Broadcast intent action indicating that the state of establishing a connection to a Base Station has changed. | |||||||||
int | maxCINR | ||||||||||
int | maxRSSI | ||||||||||
int | minCINR | ||||||||||
int | minRSSI | defined for singal calculation |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
disconnectReason | |||||||||||
isRoaming | |||||||||||
lastError | |||||||||||
logLevel |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add a network description to the set of configured networks.
| |||||||||||
Calculates an ordinal number for signal level between 0 and numLevelsm mapping rssi
in dBm, and/or cinr in dB, to a single dimensionless number.
| |||||||||||
Calculates an ordinal number for singal level between 0 and numLevels, mapping rssi,
in dBm, to a single dimensionless number.
| |||||||||||
Compares two signal strengths.
| |||||||||||
Connect to the current default ("home") network(s) using the default MS credentials.
| |||||||||||
Compares two signal qualities.
| |||||||||||
Get the upload/download statistics object for the current connection session.
| |||||||||||
Creates a new FourGManager.Lock.
| |||||||||||
Create a new QoS control object for the 4G radio subsystem.
| |||||||||||
The specified network will not be candidate for MS association/connection.
| |||||||||||
Disassociate from the connected network and go to disconnected state.
| |||||||||||
Enable logLevel in the Java/JNI and 'C' driver level.
| |||||||||||
Allow a previously configured network to be associated with.
| |||||||||||
Returns the 4G enabled state, one of
NET_4G_STATE_DISABLED, NET_4G_STATE_DISABLING, NET_4G_STATE_ENABLED,
NET_4G_STATE_ENABLING, NET_4G_STATE_UNKNOWN
| |||||||||||
Return the available networks to connect.
| |||||||||||
Return a list of only those networks configured in the supplicant via means
outside of this API, e.g.
| |||||||||||
Return a list of al the networks configured in the supplicant.
| |||||||||||
Get the information about the currently connected network and base station, if any.
| |||||||||||
Get the information about the 4G radio device on the system.
| |||||||||||
Return the DHCP-assigned addresses from the last successful DHCP request, if any.
| |||||||||||
Returns the last disconnect reason.
| |||||||||||
Return the error code associated with the last operation.
| |||||||||||
This method returns an object that encapsulates information aboud the radio
attributes such as radio temp etc.
| |||||||||||
Return the list of base stations from either the latest API initiated network
scan and as may have been gathered as the result of other implementation-interanl,
network management operations.
| |||||||||||
Returns number of milliseconds since the base station scan list available from
getScanResults() was last compiled.
| |||||||||||
Return whether 4G is enabled or disabled.
| |||||||||||
Return whether network roaming is enabled or disable.
| |||||||||||
Reconnect to the currently active network, even if we are already connected.
| |||||||||||
Reconnect to the currently active network, even if we are currently disconnected.
| |||||||||||
Removes the CINR alert with the PendingIntent intent.
| |||||||||||
Remove the specified network from the list of configured networks.
| |||||||||||
Removes the RSSI alert with the PendingIntent intent.
| |||||||||||
Registers the current activity to be notified periodically and/or when CINR has chagned
enough to match the alert criteria as defined by the various parameters, with the spplied
PendingIntent being broadcast with current CINR.
| |||||||||||
Registers the current activity to be notified periodically and/or when RSSI has chagned
enough to match the alert criteria as defined by the various parameters, with the spplied
PendingIntent being broadcast with current RSSI.
| |||||||||||
Tell the supplicant to persist the current list of configured networks,
configured with this API.
| |||||||||||
Turns the 4G radio on or off.
| |||||||||||
Enables connection to roaming partner NSPs or disables such roaming.
| |||||||||||
Initiates various radio base station scanning modes.
| |||||||||||
Update the network description of an existing configured network.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
The CINR (signal strength) has changed. For 4G, it is likely that RSSI may also have changed.
Error code indicating that seen from call to getLastError() indicating that the MS is already connected to a serving BS, in situations where the calling application has called reconnect() or connectDefaultNetwork() when a active connection already is established.
Error code indicating that there was a problem authenticating. For 4G networks, this is the error that represents any network authentication error. (4G implementation detail note: Same name and value as WifiManager)
Error code typically seen from call to getLastError() indicating that the dev ice has not been provisioned and 4G operation is not possible
Error code typically seen from call to getLastError() indicating that the dev ice has been provisioned but there is a detectable error in the provisioning data and thus 4G operation is not possible
Error code typically seen from call to getLastError() broadly indicating that the dev ice profile is invalid and 4G operation is not possible
Error code typically seen from call to getLastError() indicating that no coverage is available to the MS.
Error code typically seen from call to getLastError() indicating that the MS is already in progress executing a previously initiated function
Error code typically seen from call to getLastError() indicating that the User Equirpment implementation does not allow the particular operation at this application interface. For example, FourGManager.disconnect() may not be allowed base on carrier and/or implemenation specific radio policies defined and enforced outside of this API.
Error code typically seen from call to getLastError() indicating that the MS 4G radio is off, having been disabled in a control panel and/or by a physical switch
Error code typically seen from call to getLastError() indicating that the MS has detected a radio policy violation.
Error code typically seen from call to getLastError() indicating that roaming is not supported at this time.
Error code indicating that a scan was not begin as there is a (typically) transient condition in the network that would be problematic for network operations if a MS initialed scan was executed at this time
Error code indicating that the requested scan was not initiated as there is policy in place where the network, possibly via OMA-DM, prohibits the specific scan operation at this time. This may or may not be a transient condition.
Error code indicating that a scan was not begun as the scan would disrupt on-going data transports.
The lookup key for a FourGBaseStationInfo
describing the now serving BS Station.
The lookup key for the RAN-specific subclass of FourGInfo, describing the current User Equipment <-> base station connection, when a Intent is received. Retrieve it with (FourGInfo) Intent.getParcelableExtra(FourGManager.EXTRA_4G_INFO)
The lookup key for a FourGBaseStationInof describing the previous serving BS Station.
The lookup key for an int
that indicates the current 4G "enabled" state,
describing if 4G is enabled, disabled, enabling, disabling, or unknown
Retrieve it with
getIntExtra(String, int)
.
The lookup key for the current radio temperature in Celsius.
The lookup key for a Four4BaseStateionInfo.eNET_4G_MODULATION
The lookup key for an int representing downlink throughput in LINK_SPEED_UNITS
The lookup key for a enum FourGInfo.LINK_STATE_REASON that indicates the reason why a BAse Station to Base Station handover failed. Retrieve it with {@link android.content.Intent#getSerializableExtra(String).
The lookup key for a FourGInfo.LINK_STATE_DETAIL
The lookup key for a NetworkInfo
object associated with the
4G network. Retrieve with
getParcelableExtra(String)
.
The lookup key for a FourGSupplicantState
describing the new state
Retrieve with
getParcelableExtra(String)
.
The lookup key for an int
giving the new CINR in dB.
The lookup key for an int
giving the new RSSI in dBm.
The lookup key for an int
that indicates the previous 4G "enabled" state,
describing if 4G is enabled, disabled, enabling, disabling, or unknown.
see EXTRA_4G_STATE.
Retrieve it with
getIntExtra(String, int)
.
The lookup key for the list of base station found after a scan has completed.
The lookup key for the QosServiceFlowDescriptor
The lookup key for the new SF_SCHEDULING_CLASS
The lookup key for the new SF_STATE
The lookup key for a FourGSupplicantState
describing the supplicant
error code if any.
The lookup key for a Four4BaseStateionInfo.eNET_4G_MODULATION
The lookup key for an int representing uplink throughput in LINK_SPEED_UNITS
Key used for the Bundle extra holding a boolean indicating that the Intent is a CINR changed alert.
Key used for the single Bundle extra, in an "CINR changed" alert Intent, to access a boolean which, if true, indicates that the Intent was fired based on the occurrence of an CINR change that exceeded the previous specified "CINR changed" by more that the minDelta threshold valuee.
Key used for the single Bundle extra, in an "CINR changed" alert Intent, to access an int which, if not equal to Integer.MAX_VALUE, indicates that the Intent was fired based on the occurrence of an CINR change, where, at some time during the alert minDelta peroid, the new CINR value was below the previously specifed "CINR maximum absolute" threshold value ceilingValue. The highest CINR sensed during this minDelta period is latched in this int.
Key used for the single Bundle extra, in an "CINR changed" alert Intent, to access an int which, if not equal to Integer.MIN_VALUE, indicates that the Intent was fired based on the occurrence of an CINR change, where, at some time during the alert minDelta peroid, the new CINR value was below the previously specifed "CINR minimum absolute" threshold value floorValue. The lowest CINR sensed during this minDelta period is latched in this int.
Key used for the single Bundle extra, in an "CINR changed" alert Intent, to access a boolean which, if true, indicates that the Intent was fired based on the occurrence of an CINR change, and the previously specified minimum reporting time period has passed.
Key used for the single Bundle extra, in an "CINR changed" alert Intent, to access an int which is the new CINR value. As a convenience to applications, this key is also present in RSSI chagnged alerts, as typically if RSSI has changed, CINR has also changed.
Key used for the single Bundle extra, in an "RSSI changed" alert Intent, to access an int which is the new RSSI value. As a convenience to applications, this key is also present in CINR chagnged alerts, as typically if CINR has changed, RSSI has also changed.
Key used for the Bundle extra holding a boolean indicating that the Intent is a RSSI changed alert.
Key used for the single Bundle extra, in an "RSSI changed" alert Intent, to access a boolean which, if true, indicates that the Intent was fired based on the occurrence of an RSSI change that exceeded the previous specified "RSSI changed" by more that the minDelta threshold valuee.
Key used for the single Bundle extra, in an "RSSI changed" alert Intent, to access an int which, if not equal to Integer.MAX_VALUE, indicates that the Intent was fired based on the occurrence of an RSSI change, where, at some time during the alert minDelta peroid, the new RSSI value was below the previously specifed "RSSI maximum absolute" threshold value ceilingValue. The highest RSSI sensed during this minDelta period is latched in this int.
Key used for the single Bundle extra, in an "RSSI changed" alert Intent, to access an int which, if not equal to Integer.MIN_VALUE, indicates that the Intent was fired based on the occurrence of an RSSI change, where, at some time during the alert minDelta peroid, the new RSSI value was below the previously specifed "RSSI minimum absolute" threshold value floorValue. The lowest RSSI sensed during this minDelta period is latched in this int.
Key used for the single Bundle extra, in an "RSSI changed" alert Intent, to access a boolean which, if true, indicates that the Intent was fired based on the occurrence of an RSSI change, and the previously specified minimum reporting time period has passed.
Broadcast intent action indicating that the modulation on the 4G radio link state has changed.
Broadcast intent action indicating that the state of 4G detailed link state has changed. An extra provides the new state as the enum LINK_STATE_DETAIL.
The network IDs of the configured networks could have changed.
Broadcast intent action indicating that the state of 4G connectivity
has changed. One extra provides the new state
in the form of a NetworkInfo
object. If the new state is
CONNECTED, a second extra provides information about the connected network by supplying a
FourGInfo
Object.
Broadcast intent action indicating that the 4G serving Base Station (BS) has changed.
One extra provides information about the new BS; another about the previous BS, where
the FourGBaseStationInfo
instance for the previous serving station shall contain
the last known values for BSID, frequencies (lat/lon), and RTD related data.
Broadcast intent action indicating that the handover between 4G serving Base Station has failed.
One extra provides information about the failure cause; another about the previous
FourGBaseStationInfo
instance for the previous serving station shall contain
the last known values for BSID, frequencies (lat/lon), and RTD related data.
EXTRA_4G_PREVIOUS_SERVING_BS
Broadcast intent action indicating that the 4G radio has overheated.
Intent Extra data is an int
representing the radio temperature.
Broadcast intent action indicating that the 4G "enabled" state (enabled, disabled, enabling, disabling, or unknown) has changed. This provides functional parity with the WifManager Intent WIFI_STATE_CHANGED_ACTION. One extra provides the new state. Another extra provides the previous state, if available.
4G is disabled
4G is being disabled
4G is enabled
4G is being enabled
4G is in an unknown state
Broadcast intent action indicating that the state of 4G service flow has been modified by a change in serving BS, by the serving BS, etc. This is never the result of an asynchronous method call.
EXTRA_SERVICE_FLOW
Broadcast intent action indicating that the state of a 4G service flow has made
a state transition. Intent Extra data is the new SF_STATE
value and the
QosServiceFlowDescriptor
representing the Service Flow that has had the
state chagned.
EXTRA_SERVICE_FLOW
The RSSI (signal strength) has changed. For 4G, it is likely that CINR may also have changed.
A scan has completed, and result are available. An extra provides information about the scan results, which is a #FourGBaseStationInfo object.
Broadcast intent action indicating that the state of establishing a connection to a Base Station has changed. Intent Extra data is the new Supplicant
defined for singal calculation
Add a network description to the set of configured networks.
Calculates an ordinal number for signal level between 0 and numLevelsm mapping rssi in dBm, and/or cinr in dB, to a single dimensionless number.
Calculates an ordinal number for singal level between 0 and numLevels, mapping rssi, in dBm, to a single dimensionless number.
Compares two signal strengths. Returns < 0 if the first signal, rssi A, is weaker than the second signal, rssi B Retruns 0 if the two signals have the same strength. Returns > 0 if the rssi A is stronger than rssi B.
Connect to the current default ("home") network(s) using the default MS credentials. If the connection process is successfully started, the method returns 0, or else an error code is returned.
Compares two signal qualities. Returns < 0 if the first signal, cinrA, is of lower quality than the second signal, cinrB Returns 0 if the two signals have the same quality. Returns > 0 if the cinrA is of better quality than cinrB.
Get the upload/download statistics object for the current connection session.
Creates a new FourGManager.Lock. Holding a Lock indicates to the underlying implementation that the 4G radio should not be turned off when there is no activity.
Create a new QoS control object for the 4G radio subsystem. This control object allows applications to submit QoS Service Flow descriptors (QosServiceFlowDescriptor) tp the implementation for realization service flows between the MS and BS on the 4G RAN.
The specified network will not be candidate for MS association/connection. Returns true if successful and false otherwise.
Disassociate from the connected network and go to disconnected state. Returns true if successful and false otherwise.
Enable logLevel in the Java/JNI and 'C' driver level. By default the log level is set 1 which is fatal error only. Log levels supported are: 1. Fatal - Default 2. Error 3. Warning 4. Debug
Allow a previously configured network to be associated with. If disableOthers is true, then all other configured networks are dsiabled, and an attempt to connect to the selected network is initiated.
Returns the 4G enabled state, one of NET_4G_STATE_DISABLED, NET_4G_STATE_DISABLING, NET_4G_STATE_ENABLED, NET_4G_STATE_ENABLING, NET_4G_STATE_UNKNOWN
Return the available networks to connect. This is a list of all networks that are currently "seen" by the MS.
Return a list of only those networks configured in the supplicant via means outside of this API, e.g. OMA_DM, etc. This allows for the display and potential user experience to select and connect to the default or other pre-configured networks. The networkId data of these preconfigured networks and the networkId of any API configured networks are all part of a single number space. Not all fields of FourGConfiguration are returned, Only the following fields are filled in: networked status
Return a list of al the networks configured in the supplicant. Not all fields of FourGConfiguration are returned, Only the following fields are filled in: networked status
Get the information about the currently connected network and base station, if any.
Get the information about the 4G radio device on the system.
Return the DHCP-assigned addresses from the last successful DHCP request, if any.
Returns the last disconnect reason.
Return the error code associated with the last operation.
This method returns an object that encapsulates information aboud the radio attributes such as radio temp etc.
Return the list of base stations from either the latest API initiated network scan and as may have been gathered as the result of other implementation-interanl, network management operations.
Returns number of milliseconds since the base station scan list available from getScanResults() was last compiled. In certain situations, e.g. where no List has yet been compiled at device power-on, the value Integer.MAX_VALUE is returned.
Return whether network roaming is enabled or disable.
Reconnect to the currently active network, even if we are already connected.
Reconnect to the currently active network, even if we are currently disconnected.
Removes the CINR alert with the PendingIntent intent.
Remove the specified network from the list of configured networks.
Removes the RSSI alert with the PendingIntent intent.
Registers the current activity to be notified periodically and/or when CINR has chagned enough to match the alert criteria as defined by the various parameters, with the spplied PendingIntent being broadcast with current CINR.
Registers the current activity to be notified periodically and/or when RSSI has chagned enough to match the alert criteria as defined by the various parameters, with the spplied PendingIntent being broadcast with current RSSI.
Tell the supplicant to persist the current list of configured networks, configured with this API.
Enables connection to roaming partner NSPs or disables such roaming.
Initiates various radio base station scanning modes. Method invocation causes the User Equipment to scan for all viable base station on.
Update the network description of an existing configured network. The parameter config is the set of variables that describe the configuration, contained in a FourGConfiguration object. config may be sparse, so that only the items that are being changed are non-null. The networkId field must be set to the ID of the existing network being updated.