TelephonyHelper
public
class
TelephonyHelper
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.device.helper.TelephonyHelper |
A utility to use and get information related to the telephony.
Summary
Nested classes | |
|---|---|
class |
TelephonyHelper.SimCardInformation
An information holder for the sim card related information. |
Fields | |
|---|---|
public
static
final
String |
CARRIER_PRIVILEGES_KEY
|
public
static
final
String |
PACKAGE_NAME
|
public
static
final
String |
SECURED_ELEMENT_KEY
|
public
static
final
String |
SE_SERVICE_KEY
|
public
static
final
String |
SIM_STATE_KEY
|
public
static
final
TestDescription |
SIM_TEST
|
Public methods | |
|---|---|
static
TelephonyHelper.SimCardInformation
|
getSimInfo(ITestDevice device)
Get the information related to sim card from a given device. |
Fields
CARRIER_PRIVILEGES_KEY
public static final String CARRIER_PRIVILEGES_KEY
PACKAGE_NAME
public static final String PACKAGE_NAME
SECURED_ELEMENT_KEY
public static final String SECURED_ELEMENT_KEY
SE_SERVICE_KEY
public static final String SE_SERVICE_KEY
SIM_STATE_KEY
public static final String SIM_STATE_KEY
Public methods
getSimInfo
public static TelephonyHelper.SimCardInformation getSimInfo (ITestDevice device)
Get the information related to sim card from a given device.
| Parameters | |
|---|---|
device |
ITestDevice: The device under tests |
| Returns | |
|---|---|
TelephonyHelper.SimCardInformation |
A SimCardInformation object populated with the sim card info or null if
anything goes wrong. |
| Throws | |
|---|---|
DeviceNotAvailableException |
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2023-03-08 UTC.