/libcore/ojluni/src/main/java/java/util/ |
D | ServiceLoader.java | 190 private final Class<S> service; field in ServiceLoader 218 lookupIterator = new LazyIterator(service, loader); in reload() 222 service = Objects.requireNonNull(svc, "Service interface cannot be null"); in ServiceLoader() 230 private static void fail(Class<?> service, String msg, Throwable cause) in fail() argument 233 throw new ServiceConfigurationError(service.getName() + ": " + msg, in fail() 237 private static void fail(Class<?> service, String msg) in fail() argument 240 throw new ServiceConfigurationError(service.getName() + ": " + msg); in fail() 243 private static void fail(Class<?> service, URL u, int line, String msg) in fail() argument 246 fail(service, u + ":" + line + ": " + msg); in fail() 252 private int parseLine(Class<?> service, URL u, BufferedReader r, int lc, in parseLine() argument [all …]
|
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
D | ExecutorServiceAutoCloseable.java | 25 private final ExecutorService service; field in ExecutorServiceAutoCloseable 27 public ExecutorServiceAutoCloseable(ExecutorService service) { in ExecutorServiceAutoCloseable() argument 28 this.service = service; in ExecutorServiceAutoCloseable() 34 service.shutdown(); in close() 36 if(!service.awaitTermination(5000, TimeUnit.MILLISECONDS)) { in close() 37 service.shutdownNow(); in close() 38 service.awaitTermination(1000, TimeUnit.MILLISECONDS); in close()
|
D | AbstractExecutorServiceTest.java | 74 ExecutorService service = new TestExecutorService(); in testSubmitRunnableWithValue() local 76 Future<Integer> future = service.submit(() -> didRun.set(true), value); in testSubmitRunnableWithValue()
|
/libcore/support/src/test/java/tests/resources/manifest/ |
D | hyts_MANIFEST.MF | 7 com.ibm.ive.eccomm.service.registry; specification-version=1.0.0, 8 com.ibm.ive.eccomm.service.session; specification-version=1.0.0, 9 com.ibm.ive.eccomm.service.framework; specification-version=1.2.0, 11 org.osgi.service.log; specification-version=1.0.0, 16 Import-Service: org.osgi.service.log.LogReaderService 17 org.osgi.service.log.LogService, 18 com.ibm.ive.eccomm.service.registry.RegistryService 20 com.ibm.ive.eccomm.service.authentication; specification-version=1.0.0, 23 Export-Service: com.ibm.ive.eccomm.service.authentication.AuthenticationService, 24 com.ibm.ive.eccomm.service.session.SessionService
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | ProviderTest.java | 116 for (Provider.Service service : services) { in test_Provider_getServices() 117 String type = service.getType(); in test_Provider_getServices() 118 String algorithm = service.getAlgorithm().toUpperCase(); in test_Provider_getServices() 119 String className = service.getClassName(); in test_Provider_getServices() 388 Provider.Service service = getService(bc, conscryptAlg); in test_Provider_ConscryptOverridesBouncyCastle() local 389 if (service != null) { in test_Provider_ConscryptOverridesBouncyCastle() 390 bcClasses.add(service.getClassName()); in test_Provider_ConscryptOverridesBouncyCastle() 408 Provider.Service service = getService(bc, key); in test_Provider_ConscryptOverridesBouncyCastle() local 409 if (bcClasses.contains(service.getClassName())) { in test_Provider_ConscryptOverridesBouncyCastle() 459 for (Provider.Service service : services) { in test_Provider_getServices_supportsParameter() [all …]
|
D | SecureRandomTest.java | 39 for (Provider.Service service : services) { in test_getInstance() 40 String type = service.getType(); in test_getInstance() 45 String algorithm = service.getAlgorithm(); in test_getInstance()
|
D | SignatureTest.java | 473 Provider.Service service = spy(new Provider.Service(provider, "Signature", in testGetParameters_IsCalled() local 479 doReturn(service).when(provider).getService(service.getType(), service.getAlgorithm()); in testGetParameters_IsCalled() 480 doReturn(signatureSpi).when(service).newInstance(null); in testGetParameters_IsCalled() 482 Signature sig = Signature.getInstance(service.getAlgorithm(), provider); in testGetParameters_IsCalled()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | Provider2Test.java | 137 Provider.Service service = new Provider.Service(mockProvider, in test_getAlias() local 139 mockProvider.putService(service); in test_getAlias() 162 public void putService(Provider.Service service) { in putService() argument 163 super.putService(service); in putService() 166 public void removeService(Provider.Service service) { in removeService() argument 167 super.removeService(service); in removeService()
|
/libcore/ojluni/src/main/java/sun/security/jca/ |
D | Providers.java | 331 String service, String algorithm) throws NoSuchAlgorithmException { in checkBouncyCastleDeprecation() argument 336 checkBouncyCastleDeprecation(service, algorithm); in checkBouncyCastleDeprecation() 348 String service, String algorithm) throws NoSuchAlgorithmException { in checkBouncyCastleDeprecation() argument 352 checkBouncyCastleDeprecation(service, algorithm); in checkBouncyCastleDeprecation() 371 private static void checkBouncyCastleDeprecation(String service, String algorithm) in checkBouncyCastleDeprecation() argument 373 String key = service + "." + algorithm; in checkBouncyCastleDeprecation()
|
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
D | XMLReaderFactory.java | 122 String service = "META-INF/services/" + property; in createXMLReader() local 127 in = ClassLoader.getSystemResourceAsStream (service); in createXMLReader() 129 in = loader.getResourceAsStream (service); in createXMLReader()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | SpiEngUtils.java | 47 public static Provider isSupport(String algorithm, String service) { in isSupport() argument 49 Provider[] provs = Security.getProviders(service.concat(".") in isSupport()
|
/libcore/ojluni/annotations/hiddenapi/sun/security/jca/ |
D | Providers.java | 98 java.lang.String provider, java.lang.String service, java.lang.String algorithm) in checkBouncyCastleDeprecation() argument 104 java.security.Provider provider, java.lang.String service, java.lang.String algorithm) in checkBouncyCastleDeprecation() argument 110 java.lang.String service, java.lang.String algorithm) in checkBouncyCastleDeprecation() argument
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | Cipher.java | 2685 static boolean matchAttribute(Provider.Service service, String attr, String value) { in matchAttribute() argument 2689 final String pattern = service.getAttribute(attr); in matchAttribute() 2873 Provider.Service service = provider.getService("Cipher", transform.name); in tryCombinations() local 2874 if (service == null) { in tryCombinations() 2878 service); in tryCombinations() 2883 Provider.Service service = prov.getService("Cipher", transform.name); in tryCombinations() local 2884 if (service == null) { in tryCombinations() 2889 || service.supportsParameter(initParams.key)) { in tryCombinations() 2892 tokenizedTransformation, transform.needToSet, service); in tryCombinations() 2946 String[] tokenizedTransformation, NeedToSet type, Provider.Service service) in tryTransformWithProvider() argument [all …]
|
/libcore/ojluni/annotations/mmodule/sun/security/jca/ |
D | Providers.annotated.java | 81 …checkBouncyCastleDeprecation(java.lang.String provider, java.lang.String service, java.lang.String… in checkBouncyCastleDeprecation() argument 84 …ouncyCastleDeprecation(java.security.Provider provider, java.lang.String service, java.lang.String… in checkBouncyCastleDeprecation() argument
|
/libcore/ojluni/src/main/java/java/security/ |
D | Provider.java | 1075 Service service = serviceMap.get(key); in getService() local 1076 if (service != null) { in getService() 1077 return service; in getService()
|
/libcore/benchmarks/libs/ |
D | caliper.jar.txt | 140 names, trademarks, service marks, or product names of the Licensor,
|
/libcore/ |
D | LICENSE | 24 distribute copies of free software (and charge for this service if you wish),
|
/libcore/ojluni/ |
D | NOTICE | 310 distribute copies of free software (and charge for this service if you wish),
|