Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/util/keystore/
DJSONFileKeyStoreFactoryTest.java189 assertEquals("value 3", client.fetchKey("key1")); // from file "json-keystore-3" in testLoadKeyStore_valueOverriddenWhenHostNameMatches()
190 assertEquals("foo 2", client.fetchKey("key2")); // from file "json-keystore-2" in testLoadKeyStore_valueOverriddenWhenHostNameMatches()
191 assertEquals("bar", client.fetchKey("key3")); // from file "json-keystore" in testLoadKeyStore_valueOverriddenWhenHostNameMatches()
205 assertEquals("value 1", client.fetchKey("key1")); in testLoadKeyStore_valueUnchangedWhenNoHostNameMatch()
206 assertEquals("foo", client.fetchKey("key2")); in testLoadKeyStore_valueUnchangedWhenNoHostNameMatch()
207 assertEquals("bar", client.fetchKey("key3")); in testLoadKeyStore_valueUnchangedWhenNoHostNameMatch()
DJSONFileKeyStoreClientTest.java93 assertEquals("value 1", keystore.fetchKey("key1")); in testKeyStoreFetchFile()
125 mKeyStore.fetchKey("invalid key")); in testFetchMissingKey()
133 mKeyStore.fetchKey(null)); in testFetchNullKey()
140 assertEquals("value 1", mKeyStore.fetchKey("key1")); in testFetchValidKey()
148 assertEquals("value 2", mKeyStore.fetchKey("key1")); in testSetKey()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DArgsOptionParserTest.java1028 EasyMock.expect(c.fetchKey("foo")).andReturn(expectedValue); in testKeyStore_string()
1132 EasyMock.expect(c.fetchKey("foobar")).andReturn(expValue); in testKeyStore_mapOptions()
1160 EasyMock.expect(c.fetchKey("foobar")).andReturn(expValue); in testKeyStore_mapOptionsSingleValue()
1192 EasyMock.expect(c.fetchKey("bar")).andReturn(expValue2); in testKeyStore_mapOptionsMixedValue()
1226 EasyMock.expect(c.fetchKey("foobar")).andReturn(expValue); in testKeyStore_mapOptionsMixedValue_allKeys()
1228 EasyMock.expect(c.fetchKey("bar")).andReturn(expValue2); in testKeyStore_mapOptionsMixedValue_allKeys()
/tools/tradefederation/core/global_configuration/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/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/invoker/shard/
DShardHelperTest.java361 doReturn(SuccessTestCase.class.getName()).when(mockClient).fetchKey("test"); in testClone_withKeystore()