TelephonyTokenProvider

public class TelephonyTokenProvider
extends Object implements ITokenProvider

java.lang.Object
   ↳ com.android.tradefed.invoker.shard.token.TelephonyTokenProvider


Fournisseur de jetons pour les jetons liés à la téléphonie.

Résumé

Champs

public static final String GSM_OPERATOR_PROP

public static final String ORANGE_SIM_ID

public static final String THALES_GEMALTO_SIM_ID

Constructeurs publics

TelephonyTokenProvider()

Méthodes publiques

boolean hasToken(ITestDevice device, TokenProperty token)

Interrogez l'appareil pour savoir s'il possède un jeton particulier, puis renvoyez la réponse.

Champs

GSM_OPERATOR_PROP

public static final String GSM_OPERATOR_PROP

ORANGE_SIM_ID

public static final String ORANGE_SIM_ID

THALES_GEMALTO_SIM_ID

public static final String THALES_GEMALTO_SIM_ID

Constructeurs publics

TelephonyTokenProvider

public TelephonyTokenProvider ()

Méthodes publiques

hasToken

public boolean hasToken (ITestDevice device, 
                TokenProperty token)

Interrogez l'appareil pour savoir s'il possède un jeton particulier, puis renvoyez la réponse.

Paramètres
device ITestDevice: l'appareil a interrogé ses jetons.

token TokenProperty: jeton à vérifier

Renvoie
boolean "True" si l'appareil dispose du jeton, "false" dans le cas contraire.