TelephonyHelper

public class TelephonyHelper
extends Object

java.lang.Object
   ↳ com.android.tradefed.device.helper.TelephonyHelper


Un'utilità per utilizzare e ottenere informazioni relative alla telefonia.

Riepilogo

Classi nidificate

class TelephonyHelper.SimCardInformation

Un contenitore di informazioni per le informazioni relative alla scheda SIM. 

Costanti

String CARRIER_PRIVILEGES_KEY

String PACKAGE_NAME

String SECURED_ELEMENT_KEY

String SE_SERVICE_KEY

String SIM_STATE_KEY

Campi

public static final TestDescription SIM_TEST

Metodi pubblici

static TelephonyHelper.SimCardInformation getSimInfo(ITestDevice device)

Recupera le informazioni relative alla scheda SIM da un determinato dispositivo.

Costanti

CARRIER_PRIVILEGES_KEY

public static final String CARRIER_PRIVILEGES_KEY

Constant Value: "has_carried_privileges"

PACKAGE_NAME

public static final String PACKAGE_NAME

Constant Value: "android.telephony.utility"

SECURED_ELEMENT_KEY

public static final String SECURED_ELEMENT_KEY

Valore costante: "has_secured_element"

SE_SERVICE_KEY

public static final String SE_SERVICE_KEY

Constant Value: "has_se_service"

SIM_STATE_KEY

public static final String SIM_STATE_KEY

Constant Value: "sim_state"

Campi

SIM_TEST

public static final TestDescription SIM_TEST

Metodi pubblici

getSimInfo

public static TelephonyHelper.SimCardInformation getSimInfo (ITestDevice device)

Recupera le informazioni relative alla scheda SIM da un determinato dispositivo.

Parametri
device ITestDevice: Il dispositivo in fase di test

Ritorni
TelephonyHelper.SimCardInformation Un oggetto SimCardInformation compilato con i dati della scheda SIM o null se si verifica un errore.

Lanci
DeviceNotAvailableException