/libcore/luni/src/test/java/libcore/sun/security/jca/ |
H A D | ProvidersTest.java | 19 import com.android.org.bouncycastle.jce.provider.BouncyCastleProvider; 47 * Tests that the deprecation of algorithms from the BC provider works as expected. Requests 69 // A concrete algorithm, provider by name 76 // A concrete algorithm, provider by instance 83 // An alias for another algorithm, provider by name 90 // An alias for another algorithm, provider by instance 97 // An alias with unusual characters, provider by name 104 // An alias with unusual characters, provider by instance 111 // An alias by OID, provider by name 119 // An alias by OID, provider b [all...] |
/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | AsynchronousServerSocketChannelImpl.java | 70 super(group.provider());
|
H A D | ServerSocketChannelImpl.java | 266 sc = new SocketChannelImpl(provider(), newfd, isa);
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
H A D | BasicChecker.java | 26 package sun.security.provider.certpath; 77 * @param sigProvider the name of the signature provider
|
H A D | PKIX.java | 25 package sun.security.provider.certpath;
|
H A D | PolicyNodeImpl.java | 26 package sun.security.provider.certpath;
|
H A D | X509CertPath.java | 26 package sun.security.provider.certpath;
|
H A D | ForwardBuilder.java | 26 package sun.security.provider.certpath; 45 import sun.security.provider.certpath.PKIX.BuilderParams;
|
H A D | AlgorithmChecker.java | 26 package sun.security.provider.certpath;
|
H A D | URICertStore.java | 26 package sun.security.provider.certpath;
|
H A D | RevocationChecker.java | 26 package sun.security.provider.certpath; 44 import static sun.security.provider.certpath.OCSP.*; 45 import static sun.security.provider.certpath.PKIX.*;
|
H A D | OCSPResponse.java | 26 package sun.security.provider.certpath;
|
H A D | PolicyChecker.java | 26 package sun.security.provider.certpath;
|
/libcore/ojluni/src/main/java/sun/util/locale/provider/ |
H A D | CalendarDataUtility.java | 26 package sun.util.locale.provider;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
H A D | DatagramChannelTest.java | 110 .provider()); 123 .provider()); 125 assertNull(testMocknull.provider()); 126 assertNotNull(testMock.provider()); 127 assertEquals(this.channel1.provider(), testMock.provider()); 137 .provider()); 173 .provider()); 199 .provider()); 235 .provider()); [all...] |
H A D | SocketChannelTest.java | 134 SelectorProvider.provider()); 135 assertNull(testMSChannel.provider()); 136 assertNotNull(testMSChannelnotnull.provider()); 138 assertEquals(this.channel1.provider(), testMSChannelnotnull.provider()); 233 SelectorProvider.provider()); 266 SelectorProvider.provider()); 294 SelectorProvider.provider()); 319 SelectorProvider.provider()); 3741 public MockSocketChannel(SelectorProvider provider) { argument [all...] |
/libcore/ojluni/src/main/java/sun/security/x509/ |
H A D | X509CertImpl.java | 40 import sun.security.provider.X509Factory; 157 * If verifiedPublicKey is not null, name of the provider used to 159 * empty String if no provider was explicitly specified. 401 * @exception NoSuchProviderException if there's no default provider. 419 * @param sigProvider the name of the provider. 424 * @exception NoSuchProviderException on incorrect provider. 473 * engine supplied by the specified provider. Note that the specified 474 * Provider object does not have to be registered in the provider list. 479 * @param sigProvider the provider. 538 * @exception NoSuchProviderException if there's no default provider 565 sign(PrivateKey key, String algorithm, String provider) argument [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | AlgorithmParametersTest.java | 159 assertNull(format); // null is passed to spi-provider 291 assertNull(paramSpec); // null is passed to spi-provider 330 fail("IllegalArgumentException was not thrown for NULL provider"); 411 assertNull(paramSpec);// null is passed to spi-provider 479 assertNull(params); // null is passed to spi-provider 554 // null is passed to spi-provider 589 * Tests DSA AlgorithmParameters provider 636 * Tests OAEP AlgorithmParameters provider 695 Provider provider, String algorithm) { 696 super(paramSpi, provider, algorith 694 DummyAlgorithmParameters(AlgorithmParametersSpi paramSpi, Provider provider, String algorithm) argument [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
H A D | CipherTest.java | 175 Provider provider = providers[i]; 176 Cipher cipher = Cipher.getInstance("AES", provider.getName()); 178 assertTrue("Cipher provider is not the same as that " 180 .equals(provider)); 601 * javax.crypto.Cipher#Cipher(CipherSpi cipherSpi, Provider provider, 614 fail("NullPointerException expected for 'null' provider");
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
H A D | FilesTest.java | 81 when(mockFileSystem.provider()).thenReturn(mockFileSystemProvider);
|
H A D | LinuxPathTest.java | 68 assertTrue(dummyPath.getFileSystem().provider() instanceof
|
/libcore/luni/src/test/java/libcore/java/security/ |
H A D | SignatureTest.java | 96 super(name, 1.0, "Mock provider used for testing"); 229 fail("Non-RI should select the right provider"); 478 for (Provider provider : providers) { 482 if (provider.getName().startsWith("AndroidKeyStore")) { 485 Set<Provider.Service> services = provider.getServices(); 493 KeyPair kp = keyPair(algorithm, provider.getName()); 500 Signature sig2 = Signature.getInstance(algorithm, provider); 502 assertEquals(provider, sig2.getProvider()); 506 Signature sig3 = Signature.getInstance(algorithm, provider.getName()); 508 assertEquals(provider, sig [all...] |
/libcore/luni/src/test/java/libcore/java/security/cert/ |
H A D | X509CRLTest.java | 23 import sun.security.provider.X509Factory; 220 // Test the "verify" method that doesn't specify the provider. 223 // Test the "verify" method that does specify the provider. 237 // Test the "verify" method that does specify the provider. 244 // Test the "verify" method that does specify the provider.
|
/libcore/ojluni/src/main/java/java/time/format/ |
H A D | DateTimeTextProvider.java | 93 import sun.util.locale.provider.CalendarDataUtility; 96 * A provider to obtain the textual form of a date-time field. 119 * Gets the provider of text. 121 * @return the provider, not null
|
H A D | DateTimeFormatterBuilder.java | 778 DateTimeTextProvider provider = new DateTimeTextProvider() { 788 appendInternal(new TextPrinterParser(field, TextStyle.FULL, provider)); 3074 private final DateTimeTextProvider provider; field in class:DateTimeFormatterBuilder.TextPrinterParser 3086 * @param provider the text provider, not null 3088 TextPrinterParser(TemporalField field, TextStyle textStyle, DateTimeTextProvider provider) { argument 3092 this.provider = provider; 3104 text = provider.getText(field, value, textStyle, context.getLocale()); 3106 text = provider [all...] |