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
Set<TokenProperty>
|
getRequiredTokens(TestInformation testInfo)
Returns the list of required tokens by the test. |
default
Set<TokenProperty>
|
getRequiredTokens()
Returns the list of required tokens by the test. |
Public methods
getRequiredTokens
public Set<TokenProperty> getRequiredTokens (TestInformation testInfo)
Returns the list of required tokens by the test. Returns null if no token support.
| Parameters | |
|---|---|
testInfo |
TestInformation |
| Returns | |
|---|---|
Set<TokenProperty> |
|
getRequiredTokens
public Set<TokenProperty> getRequiredTokens ()
Returns the list of required tokens by the test. Returns null if no token support.
| Returns | |
|---|---|
Set<TokenProperty> |
|