Searched refs:fetchKey (Results 1 – 9 of 9) sorted by relevance
/tools/tradefederation/core/tests/src/com/android/tradefed/util/keystore/ |
D | JSONFileKeyStoreFactoryTest.java | 189 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()
|
D | JSONFileKeyStoreClientTest.java | 93 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/ |
D | ArgsOptionParserTest.java | 1028 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/ |
D | DryRunKeyStore.java | 32 public String fetchKey(String key) { in fetchKey() method in DryRunKeyStore 42 public String fetchKey(String key, String optionType) { in fetchKey() method in DryRunKeyStore
|
D | IKeyStoreClient.java | 46 public String fetchKey(String key); in fetchKey() method
|
D | StubKeyStoreClient.java | 34 public String fetchKey(String key) { in fetchKey() method in StubKeyStoreClient
|
D | JSONFileKeyStoreClient.java | 81 public String fetchKey(String key) { in fetchKey() method in JSONFileKeyStoreClient
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | ArgsOptionParser.java | 571 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/ |
D | ShardHelperTest.java | 361 doReturn(SuccessTestCase.class.getName()).when(mockClient).fetchKey("test"); in testClone_withKeystore()
|