CecControllerTokenProvider

public class CecControllerTokenProvider
extends Object implements ITokenProvider

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


Token provider for Consumer Electronics Control (CEC) related tokens.

Summary

Public constructors

CecControllerTokenProvider()

Public methods

boolean hasToken(ITestDevice device, TokenProperty token)

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

Public constructors

CecControllerTokenProvider

public CecControllerTokenProvider ()

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.