TelephonyHelper
public class TelephonyHelper
extends Object
java.lang.Object | |
↳ | com.android.tradefed.device.helper.TelephonyHelper |
Una utilidad para utilizar y obtener información relacionada con la telefonía.
Resumen
Clases anidadas | |
---|---|
class | TelephonyHelper.SimCardInformation Un soporte de información para la información relacionada con la tarjeta SIM. |
Campos | |
---|---|
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
|
Métodos públicos | |
---|---|
static TelephonyHelper.SimCardInformation | getSimInfo (ITestDevice device) Obtenga la información relacionada con la tarjeta SIM de un dispositivo determinado. |
Campos
CARRIER_PRIVILEGES_KEY
public static final String CARRIER_PRIVILEGES_KEY
NOMBRE DEL PAQUETE
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
SIM_TEST
public static final TestDescription SIM_TEST
Métodos públicos
getSimInfo
public static TelephonyHelper.SimCardInformation getSimInfo (ITestDevice device)
Obtenga la información relacionada con la tarjeta SIM de un dispositivo determinado.
Parámetros | |
---|---|
device | ITestDevice : el dispositivo bajo pruebas |
Devoluciones | |
---|---|
TelephonyHelper.SimCardInformation | Un objeto SimCardInformation poblado con la información de la tarjeta SIM o nulo si algo sale mal. |
Lanza | |
---|---|
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 2020-09-08 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Falta la información que necesito"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Muy complicado o demasiados pasos"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Desactualizado"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Problema de traducción"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Problema con las muestras o los códigos"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Otro"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Fácil de comprender"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Resolvió mi problema"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Otro"
}]