TelephonyHelper
public
class
TelephonyHelper
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.device.helper.TelephonyHelper |
Utilitaire permettant d'utiliser et d'obtenir des informations liées à la téléphonie.
Résumé
Classes imbriquées | |
|---|---|
class |
TelephonyHelper.SimCardInformation
Support d'informations sur la carte SIM. |
Constantes | |
|---|---|
String |
CARRIER_PRIVILEGES_KEY
|
String |
PACKAGE_NAME
|
String |
SECURED_ELEMENT_KEY
|
String |
SE_SERVICE_KEY
|
String |
SIM_STATE_KEY
|
Champs | |
|---|---|
public
static
final
TestDescription |
SIM_TEST
|
Méthodes publiques | |
|---|---|
static
TelephonyHelper.SimCardInformation
|
getSimInfo(ITestDevice device)
Obtenez les informations liées à la carte SIM d'un appareil donné. |
Constantes
CARRIER_PRIVILEGES_KEY
public static final String CARRIER_PRIVILEGES_KEY
Valeur de constante : "has_carried_privileges"
PACKAGE_NAME
public static final String PACKAGE_NAME
Valeur de constante : "android.telephony.utility"
SECURED_ELEMENT_KEY
public static final String SECURED_ELEMENT_KEY
Valeur de constante : "has_secured_element"
SE_SERVICE_KEY
public static final String SE_SERVICE_KEY
Valeur de constante : "has_se_service"
SIM_STATE_KEY
public static final String SIM_STATE_KEY
Valeur constante : "sim_state"
Champs
Méthodes publiques
getSimInfo
public static TelephonyHelper.SimCardInformation getSimInfo (ITestDevice device)
Obtenez les informations liées à la carte SIM d'un appareil donné.
| Paramètres | |
|---|---|
device |
ITestDevice : appareil testé |
| Renvoie | |
|---|---|
TelephonyHelper.SimCardInformation |
Objet SimCardInformation renseigné avec les informations de la carte SIM ou valeur nulle en cas de problème. |
| Génère | |
|---|---|
DeviceNotAvailableException |
|