ITokenRequest

public interface ITokenRequest
implements IRemoteTest

com.android.tradefed.invoker.shard.token.ITokenRequest


Interface a IRemoteTest can implement to expose the fact that it requires a device with a special token.

Summary

Public methods

default getRequiredTokens(TestInformation testInfo)

Returns the list of required tokens by the test.

default getRequiredTokens()

Returns the list of required tokens by the test.

Public methods

getRequiredTokens

public  getRequiredTokens (TestInformation testInfo)

Returns the list of required tokens by the test. Returns null if no token support.

Parameters
testInfo TestInformation

Returns

getRequiredTokens

public  getRequiredTokens ()

Returns the list of required tokens by the test. Returns null if no token support.

Returns