TelephonyTokenProvider

public class TelephonyTokenProvider
extends Object implements ITokenProvider

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


Token provider for telephony related tokens.

Summary

Fields

public static final String GSM_OPERATOR_PROP

public static final String ORANGE_SIM_ID

public static final String THALES_GEMALTO_SIM_ID

Public constructors

TelephonyTokenProvider()

Public methods

boolean hasToken(ITestDevice device, TokenProperty token)

Query and return whether or not the device has a particular token.

Fields

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

Public constructors

TelephonyTokenProvider

public TelephonyTokenProvider ()

Public methods

hasToken

public boolean hasToken (ITestDevice device, 
                TokenProperty token)

Query and return whether or not the device has a particular token.

Parameters
device ITestDevice: Device queried for its tokens.

token TokenProperty: The token to check

Returns
boolean True if the device has the token, false otherwise.