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

Public constructors

TelephonyTokenProvider()

Public methods

boolean hasToken(ITestDevice device, TokenProperty token)

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

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.