Searched refs:TokenProperty (Results 1 – 12 of 12) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/token/ |
D | TokenProviderHelper.java | 27 private static Map<TokenProperty, ITokenProvider> sHandlerMap = new HashMap<>(); 30 sHandlerMap.put(TokenProperty.SIM_CARD, new TelephonyTokenProvider()); in sHandlerMap.put() 31 sHandlerMap.put(TokenProperty.UICC_SIM_CARD, new TelephonyTokenProvider()); in sHandlerMap.put() 32 sHandlerMap.put(TokenProperty.SECURE_ELEMENT_SIM_CARD, new TelephonyTokenProvider()); in sHandlerMap.put() 36 public static ITokenProvider getTokenProvider(TokenProperty param) { in getTokenProvider()
|
D | TelephonyTokenProvider.java | 38 public boolean hasToken(ITestDevice device, TokenProperty token) { in hasToken()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/token/ |
D | TelephonyTokenProviderTest.java | 57 assertTrue(provider.hasToken(mDevice, TokenProperty.SIM_CARD)); in testSimCard() 64 assertFalse(provider.hasToken(mDevice, TokenProperty.SIM_CARD)); in testSimCard_noSupport() 72 assertTrue(provider.hasToken(mDevice, TokenProperty.UICC_SIM_CARD)); in testSimCard_carrier() 84 assertTrue(provider.hasToken(mDevice, TokenProperty.SECURE_ELEMENT_SIM_CARD)); in testSimCard_securedElementOrange() 96 assertTrue(provider.hasToken(mDevice, TokenProperty.SECURE_ELEMENT_SIM_CARD)); in testSimCard_securedElementOrange_dualSim() 108 assertFalse(provider.hasToken(mDevice, TokenProperty.SECURE_ELEMENT_SIM_CARD)); in testSimCard_securedElement_anySim()
|
D | TokenProviderHelperTest.java | 30 for (TokenProperty prop : TokenProperty.values()) { in testAllKeysHaveProvider()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/ |
D | TokenTestClass.java | 21 import com.android.tradefed.invoker.shard.token.TokenProperty; 36 public Set<TokenProperty> getRequiredTokens() { in getRequiredTokens() 37 Set<TokenProperty> props = new HashSet<>(); in getRequiredTokens() 38 props.add(TokenProperty.SIM_CARD); in getRequiredTokens()
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/shard/token/ |
D | TokenProperty.java | 22 public enum TokenProperty { enum
|
D | ITokenProvider.java | 38 boolean hasToken(ITestDevice device, TokenProperty token); in hasToken()
|
D | ITokenRequest.java | 29 public Set<TokenProperty> getRequiredTokens(); in getRequiredTokens()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/ |
D | TestsPoolPoller.java | 35 import com.android.tradefed.invoker.shard.token.TokenProperty; 134 Set<TokenProperty> tokens = test.getRequiredTokens(); in poll() 344 private boolean isSupported(Set<TokenProperty> requiredTokens) { in isSupported() 345 for (TokenProperty prop : requiredTokens) { in isSupported()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ModuleDefinition.java | 43 import com.android.tradefed.invoker.shard.token.TokenProperty; 159 private Set<TokenProperty> mRequiredTokens = new HashSet<>(); 212 mRequiredTokens.add(TokenProperty.valueOf(token.toUpperCase())); in ModuleDefinition() 943 public Set<TokenProperty> getRequiredTokens() { in getRequiredTokens()
|
D | ITestSuite.java | 45 import com.android.tradefed.invoker.shard.token.TokenProperty; 1172 public Set<TokenProperty> getRequiredTokens() { in getRequiredTokens()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ModuleDefinitionTest.java | 45 import com.android.tradefed.invoker.shard.token.TokenProperty; 599 assertEquals(TokenProperty.SIM_CARD, mModule.getRequiredTokens().iterator().next()); in testParseTokens()
|