Home
last modified time | relevance | path

Searched refs:services (Results 1 – 20 of 20) sorted by relevance

/libcore/luni/src/main/java/org/apache/harmony/security/fortress/
DEngine.java98 private final ArrayList<Provider.Service> services; field in Engine.ServiceCacheEntry
102 ArrayList<Provider.Service> services) { in ServiceCacheEntry() argument
105 this.services = services; in ServiceCacheEntry()
137 ArrayList<Provider.Service> services = getServices(algorithm); in getInstance() local
138 if (services == null) { in getInstance()
141 … return new SpiAndProvider(services.get(0).newInstance(param), services.get(0).getProvider()); in getInstance()
164 return cacheEntry.services; in getServices()
167 ArrayList<Provider.Service> services = Services.getServices(name); in getServices() local
168 this.serviceCache = new ServiceCacheEntry(algoUC, newCacheVersion, services); in getServices()
169 return services; in getServices()
DServices.java39 private static final HashMap<String, ArrayList<Provider.Service>> services field in Services
152 ArrayList<Provider.Service> serviceList = services.get(key); in appendServiceLocked()
155 services.put(key, serviceList); in appendServiceLocked()
164 return services.isEmpty(); in isEmpty()
178 return services.get(key); in getServices()
206 synchronized (services) { in getCacheVersion()
207 services.clear(); in getCacheVersion()
/libcore/luni/src/main/java/java/util/
DServiceLoader.java75 private final Set<URL> services; field in ServiceLoader
85 this.services = new HashSet<URL>(); in ServiceLoader()
126 services.clear(); in internalLoad()
129 services.addAll(Collections.list(classLoader.getResources(name))); in internalLoad()
188 private final Set<URL> services; field in ServiceLoader.ServiceIterator
197 this.services = sl.services; in ServiceIterator()
221 for (URL url : services) { in readClass()
/libcore/support/src/test/java/tests/resources/manifest/
Dhyts_MANIFEST.MF5 Import-Package: com.ibm.ive.eccomm.client.services.log,
6 com.ibm.ive.eccomm.client.services.registry,
19 Export-Package: com.ibm.ive.eccomm.client.services.authentication; specification-version=1.0.0,
22 com.ibm.ive.eccomm.client.services.registry.store; specification-version=1.0.0
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DSignature2Test.java502 private Set<Provider.Service> services = null; field in Signature2Test.MyProvider
509 if (services != null) { in MyProvider()
510 services.clear(); in MyProvider()
512 services = new HashSet<Service>(); in MyProvider()
518 if (services != null) { in MyProvider()
519 services.clear(); in MyProvider()
521 services = new HashSet<Service>(); in MyProvider()
527 services.add(s); in putService()
532 services.remove(s); in removeService()
536 return services.size(); in getNumServices()
DProviderTest.java265 Set services = p.getServices(); in testPutObjectObject() local
266 assertEquals(3, services.size()); in testPutObjectObject()
268 for (Iterator it = services.iterator(); it.hasNext();) { in testPutObjectObject()
385 Set<Provider.Service> services = myProvider.getServices(); in testGetServices() local
386 assertEquals(0, services.size()); in testGetServices()
/libcore/luni/src/test/java/libcore/java/security/
DProviderTest.java77 Set<Provider.Service> services = provider.getServices(); in test_Provider_getServices() local
78 assertNotNull(services); in test_Provider_getServices()
79 assertFalse(services.isEmpty()); in test_Provider_getServices()
81 for (Provider.Service service : services) { in test_Provider_getServices()
263 Set<Provider.Service> services = provider.getServices(); in test_Provider_getServices_supportsParameter() local
264 assertNotNull(services); in test_Provider_getServices_supportsParameter()
265 assertFalse(services.isEmpty()); in test_Provider_getServices_supportsParameter()
267 for (Provider.Service service : services) { in test_Provider_getServices_supportsParameter()
DSecureRandomTest.java39 Set<Provider.Service> services = provider.getServices(); in test_getInstance() local
40 for (Provider.Service service : services) { in test_getInstance()
DKeyPairGeneratorTest.java116 Set<Provider.Service> services = provider.getServices(); local
117 for (Provider.Service service : services) {
309 Set<Provider.Service> services = p.getServices(); in test_KeyWithAllKeyFactories() local
310 for (Provider.Service service : services) { in test_KeyWithAllKeyFactories()
DMessageDigestTest.java52 Set<Provider.Service> services = provider.getServices(); in test_getInstance() local
53 for (Provider.Service service : services) { in test_getInstance()
DSignatureTest.java241 Set<Provider.Service> services = provider.getServices(); in test_getInstance() local
242 for (Provider.Service service : services) { in test_getInstance()
DKeyStoreTest.java162 Set<Provider.Service> services = provider.getServices(); in keyStores() local
163 for (Provider.Service service : services) { in keyStores()
438 Set<Provider.Service> services = provider.getServices(); in test_KeyStore_create() local
439 for (Provider.Service service : services) { in test_KeyStore_create()
/libcore/luni/src/main/java/javax/crypto/
DKeyAgreement.java200 ArrayList<Provider.Service> services = ENGINE.getServices(algorithm); in tryAlgorithm() local
201 if (services == null) { in tryAlgorithm()
204 for (Provider.Service service : services) { in tryAlgorithm()
DMac.java204 ArrayList<Provider.Service> services = ENGINE.getServices(algorithm); in tryAlgorithm() local
205 if (services == null) { in tryAlgorithm()
208 for (Provider.Service service : services) { in tryAlgorithm()
DCipher.java424 ArrayList<Provider.Service> services = ENGINE.getServices(transform); in tryTransform() local
425 if (services == null) { in tryTransform()
428 for (Provider.Service service : services) { in tryTransform()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DTrustManagerFactoryTest.java179 Set<Provider.Service> services = provider.getServices(); in test_TrustManagerFactory_getInstance() local
180 for (Provider.Service service : services) { in test_TrustManagerFactory_getInstance()
225 Set<Provider.Service> services = provider.getServices(); in test_TrustManagerFactory_intermediate() local
226 for (Provider.Service service : services) { in test_TrustManagerFactory_intermediate()
DKeyManagerFactoryTest.java267 Set<Provider.Service> services = provider.getServices(); in test_KeyManagerFactory_getInstance() local
268 for (Provider.Service service : services) { in test_KeyManagerFactory_getInstance()
/libcore/luni/src/test/java/libcore/javax/crypto/
DKeyGeneratorTest.java41 Set<Provider.Service> services = provider.getServices(); in test_getInstance() local
42 for (Provider.Service service : services) { in test_getInstance()
DCipherTest.java990 Set<Provider.Service> services = provider.getServices(); in test_getInstance() local
991 for (Provider.Service service : services) { in test_getInstance()
/libcore/luni/src/main/java/java/security/
DSignature.java198 ArrayList<Provider.Service> services = ENGINE.getServices(algorithm); in tryAlgorithm() local
199 if (services == null) { in tryAlgorithm()
202 for (Provider.Service service : services) { in tryAlgorithm()