Home
last modified time | relevance | path

Searched refs:fetchKey (Results 1 – 8 of 8) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/util/keystore/
DJSONFileKeyStoreClientTest.java80 assertEquals("value 1", keystore.fetchKey("key1")); in testKeyStoreFetchFile()
108 mKeyStore.fetchKey("invalid key")); in testFetchMissingKey()
115 mKeyStore.fetchKey(null)); in testFetchNullKey()
121 assertEquals("value 1", mKeyStore.fetchKey("key1")); in testFetchValidKey()
/tools/tradefederation/core/src/com/android/tradefed/util/keystore/
DDryRunKeyStore.java32 public String fetchKey(String key) { in fetchKey() method in DryRunKeyStore
42 public String fetchKey(String key, String optionType) { in fetchKey() method in DryRunKeyStore
DIKeyStoreClient.java46 public String fetchKey(String key); in fetchKey() method
DStubKeyStoreClient.java34 public String fetchKey(String key) { in fetchKey() method in StubKeyStoreClient
DJSONFileKeyStoreClient.java81 public String fetchKey(String key) { in fetchKey() method in JSONFileKeyStoreClient
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DShardHelperTest.java343 doReturn(SuccessTestCase.class.getName()).when(mockClient).fetchKey("test"); in testClone_withKeystore()
403 doReturn(SuccessTestCase.class.getName()).when(mockClient).fetchKey("test"); in testClone_withKeystore_loadingFails()
404 doThrow(new RuntimeException()).when(mockClient).fetchKey("test"); in testClone_withKeystore_loadingFails()
/tools/tradefederation/core/src/com/android/tradefed/config/
DArgsOptionParser.java571 v = ((DryRunKeyStore) c).fetchKey(key, optionType); in getKeyStoreValueIfNeeded()
573 v = c.fetchKey(key); in getKeyStoreValueIfNeeded()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DArgsOptionParserTest.java1013 EasyMock.expect(c.fetchKey("foo")).andReturn(expectedValue); in testKeyStore_string()
1117 EasyMock.expect(c.fetchKey("foobar")).andReturn(expValue); in testKeyStore_mapOptions()
1145 EasyMock.expect(c.fetchKey("foobar")).andReturn(expValue); in testKeyStore_mapOptionsSingleValue()
1177 EasyMock.expect(c.fetchKey("bar")).andReturn(expValue2); in testKeyStore_mapOptionsMixedValue()
1211 EasyMock.expect(c.fetchKey("foobar")).andReturn(expValue); in testKeyStore_mapOptionsMixedValue_allKeys()
1213 EasyMock.expect(c.fetchKey("bar")).andReturn(expValue2); in testKeyStore_mapOptionsMixedValue_allKeys()