Searched refs:fetchKey (Results 1 – 8 of 8) sorted by relevance
80 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()
32 public String fetchKey(String key) { in fetchKey() method in DryRunKeyStore42 public String fetchKey(String key, String optionType) { in fetchKey() method in DryRunKeyStore
46 public String fetchKey(String key); in fetchKey() method
34 public String fetchKey(String key) { in fetchKey() method in StubKeyStoreClient
81 public String fetchKey(String key) { in fetchKey() method in JSONFileKeyStoreClient
343 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()
571 v = ((DryRunKeyStore) c).fetchKey(key, optionType); in getKeyStoreValueIfNeeded()573 v = c.fetchKey(key); in getKeyStoreValueIfNeeded()
1013 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()