public class RadioCapability extends Object
Modifier and Type | Field and Description |
---|---|
static int |
RC_PHASE_APPLY
APPLY is sent after all LM's receive START and returned
RIL_RadioCapability. status = 0, if any START's fail no APPLY will
be sent.
|
static int |
RC_PHASE_CONFIGURED
LM is configured is initial value and value after FINISH completes.
|
static int |
RC_PHASE_FINISH
RC_PHASE_FINISH is sent after all previous phases have completed.
|
static int |
RC_PHASE_START
START is sent before Apply and indicates that an APPLY will be
forthcoming with these same parameters.
|
static int |
RC_PHASE_UNSOL_RSP
UNSOL_RSP is sent with RIL_UNSOL_RADIO_CAPABILITY.
|
static int |
RC_STATUS_FAIL
tell modem the action transaction of set radio capability is fail
with RC_Phase_FINISH
|
static int |
RC_STATUS_NONE
this parameter is no meaning with RC_Phase_START, RC_Phase_APPLY
|
static int |
RC_STATUS_SUCCESS
Tell modem the action transaction of set radio capability is
success with RC_Phase_FINISH.
|
Constructor and Description |
---|
RadioCapability(int phoneId,
int session,
int phase,
int radioAccessFamily,
String logicalModemUuid,
int status)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getLogicalModemUuid()
get logical modem Universally Unique ID.
|
int |
getPhase()
get radio capability phase.
|
int |
getPhoneId()
Get phone ID.
|
int |
getRadioAccessFamily()
get radio access family.
|
int |
getSession()
Get unique session id.
|
int |
getStatus()
get request status.
|
int |
getVersion()
Get radio capability version.
|
String |
toString()
Returns a string representation of the object.
|
public static final int RC_PHASE_CONFIGURED
public static final int RC_PHASE_START
public static final int RC_PHASE_APPLY
public static final int RC_PHASE_UNSOL_RSP
public static final int RC_PHASE_FINISH
public static final int RC_STATUS_NONE
public static final int RC_STATUS_SUCCESS
public static final int RC_STATUS_FAIL
public RadioCapability(int phoneId, int session, int phase, int radioAccessFamily, String logicalModemUuid, int status)
phoneId
- the phone IDsession
- the request transaction idphase
- the request phase idradioAccessFamily
- the phone radio access family defined in
RadioAccessFamily. It's a bit mask value to represent
the support type.logicalModemUuid
- the logicalModem UUID which phone connected tostatus
- tell modem the action transaction of
set radio capability is success or fail with RC_Phase_FINISHpublic int getPhoneId()
public int getVersion()
public int getSession()
public int getPhase()
public int getRadioAccessFamily()
public String getLogicalModemUuid()
public int getStatus()
public String toString()
Object
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())