/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLSessionTest.java | 80 KeyStore store = server.getStore(); in test_getPeerPrincipal() local 81 X509Certificate cert = (X509Certificate)store.getCertificate("mykey"); in test_getPeerPrincipal() 122 KeyStore store = client.getStore(); in test_getLocalCertificates() local 123 Certificate cert = store.getCertificate("mykey"); in test_getLocalCertificates() 133 KeyStore store = client.getStore(); in test_getLocalPrincipal() local 134 X509Certificate cert = (X509Certificate)store.getCertificate("mykey"); in test_getLocalPrincipal() 470 private KeyStore store; field in SSLSessionTest.TestServer 479 store = provideKeys ? getKeyStore(keys) : null; in TestServer() 480 KeyManager[] keyManagers = store != null ? getKeyManagers(store) : null; in TestServer() 532 return store; in getStore() [all …]
|
/libcore/ojluni/src/test/java/util/Properties/ |
D | PropertiesTest.java | 195 props.store(baos, "EscapeSpace Test"); in EscapeSpace() 208 props.store(new OutputStreamWriter(baos, "UTF-8"), in EscapeSpace() 255 props.store(baos,"A test"); in SaveEncoding() 275 props.store(new OutputStreamWriter(baos, "EUC_JP"), "A test"); in SaveEncoding() 357 originalProps.store(baos, "test properties"); in SaveLoadBasher() 363 originalProps.store(new OutputStreamWriter(baos, "UTF-8"), in SaveLoadBasher() 378 props.store(baos, "A test"); in SaveSeparator() 388 props.store(new OutputStreamWriter(baos, "UTF-8"), "A test"); in SaveSeparator() 407 p.store(myos, "Test"); in SaveClose() 411 p.store(new OutputStreamWriter(myos, "UTF-8"), "Test"); in SaveClose() [all …]
|
D | EscapeSpace.java | 80 static void store(Properties p, File file) throws Exception in store() method in EscapeSpace 90 p.store( bos, "Omitting escape characters for non leading space \" \" in properties"); in store() 141 store(props1, out); in main()
|
D | LoadAndStoreNPE.java | 45 props.store((OutputStream)null, "comments"); in main() 52 props.store((Writer)null, "comments"); in main()
|
D | SaveComments.java | 68 props.store(baos, input[i]); in main() 82 props.store(baos, input[i]); in main()
|
D | SaveSeparator.java | 46 myProps.store(myOut, "A test"); in main()
|
D | SaveClose.java | 61 p.store(o, "Test"); in main()
|
D | StoreDeadlock.java | 56 sp.store(System.out, null); in run()
|
D | Save.java | 60 myProperties.store(myOutput,"A test"); in main()
|
D | SaveEncoding.java | 69 myProperties.store(myOutput,"A test"); in main()
|
D | SaveLoadBasher.java | 105 originalProps.store(out, "test properties"); in main()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyStore4Test.java | 286 keyStore.store(os, password); in testStoreOutputStreamCharArray() 298 keyStore.store(os, null); in testStoreOutputStreamCharArray() 311 keyStore.store(os, "".toCharArray()); in testStoreOutputStreamCharArray() 324 keyStore.store(null, null); in testStoreOutputStreamCharArray() 337 uninitialized.store(null, null); in testStoreOutputStreamCharArray() 356 keyStore.store(new KeyStore.LoadStoreParameter() { in testStoreLoadStoreParameter() 372 keyStore.store(null); in testStoreLoadStoreParameter() 385 keyStore.store(new KeyStore.LoadStoreParameter() { in testStoreLoadStoreParameter() 404 keyStore.store(new KeyStore.LoadStoreParameter() { in testStoreLoadStoreParameter() 420 keyStore.store(new KeyStore.LoadStoreParameter() { in testStoreLoadStoreParameter() [all …]
|
D | KeyStore3Test.java | 58 mockKeyStore.store(null); in test_store() 66 mockKeyStore.store(null); in test_store()
|
/libcore/ojluni/src/main/java/java/time/zone/ |
D | Ser.java | 254 int store = (int) ((epochSec + 4575744000L) / 900); in writeEpochSec() local 255 out.writeByte((store >>> 16) & 255); in writeEpochSec() 256 out.writeByte((store >>> 8) & 255); in writeEpochSec() 257 out.writeByte(store & 255); in writeEpochSec()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeTextProvider.java | 146 Object store = findStore(field, locale); in getText() local 147 if (store instanceof LocaleStore) { in getText() 148 return ((LocaleStore) store).getText(value, style); in getText() 224 Object store = findStore(field, locale); in getTextIterator() local 225 if (store instanceof LocaleStore) { in getTextIterator() 226 return ((LocaleStore) store).getTextIterator(style); in getTextIterator() 315 Object store = CACHE.get(key); in findStore() local 316 if (store == null) { in findStore() 317 store = createStore(field, locale); in findStore() 318 CACHE.putIfAbsent(key, store); in findStore() [all …]
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | OldPKIXParametersTest.java | 182 KeyStore store = KeyStore.getInstance("PKCS12"); in testPKIXParametersKeyStore04() local 187 PKIXParameters p = new PKIXParameters(store); in testPKIXParametersKeyStore04() 192 store = KeyStore.getInstance("PKCS12"); in testPKIXParametersKeyStore04() 193 store.load(stream, new String(KeyStoreTestPKCS12.keyStorePassword) in testPKIXParametersKeyStore04() 198 PKIXParameters p = new PKIXParameters(store); in testPKIXParametersKeyStore04()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | PropertiesTest.java | 678 myProps.store(out, "A Header"); in test_storeLjava_io_OutputStreamLjava_lang_String() 712 myProps.store(new OutputStreamWriter(out), "A Header"); in test_storeLjava_io_WriterLjava_lang_String() 730 myProps.store((Writer) null, "some comments"); in test_storeLjava_io_WriterLjava_lang_String() 738 myProps.store(new OutputStreamWriter(new ByteArrayOutputStream()), in test_storeLjava_io_WriterLjava_lang_String() 745 myProps.store(new OutputStreamWriter(new ByteArrayOutputStream()), in test_storeLjava_io_WriterLjava_lang_String() 750 myProps.store(new OutputStreamWriter(new ByteArrayOutputStream()), in test_storeLjava_io_WriterLjava_lang_String() 967 props.store(baos, comment1 + '\r' + comment2); in testStore_scenario0() 976 props.store(baos, comment1 + '\n' + comment2); in testStore_scenario1() 985 props.store(baos, comment1 + '\r' + '\n' + comment2); in testStore_scenario2() 994 props.store(baos, comment1 + '\n' + '\r' + comment2); in testStore_scenario3() [all …]
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
D | TestUtils.java | 771 private static CertStore store; 796 store = CertStore.getInstance("Collection", params); 831 buildParams.addCertStore(store);
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | PKIXParameters.java | 302 public void addCertStore(CertStore store) { in addCertStore() argument 303 if (store != null) { in addCertStore() 304 this.certStores.add(store); in addCertStore()
|
/libcore/ojluni/src/main/java/java/net/ |
D | CookieManager.java | 153 public CookieManager(CookieStore store, in CookieManager() argument 161 if (store == null) { in CookieManager() 164 cookieJar = store; in CookieManager()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Properties.java | 78 public void store(java.io.Writer writer, java.lang.String comments) throws java.io.IOException { in store() method in Properties 82 public void store(java.io.OutputStream out, java.lang.String comments) in store() method in Properties
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
D | HttpsURLConnectionTest.java | 101 private static File store; field in HttpsURLConnectionTest 105 store = File.createTempFile("key_store", "bks"); 669 if (store != null) { in setUp() 673 FileOutputStream out = new FileOutputStream(store); in setUp() 688 if (store != null) { in tearDown() 689 store.delete(); in tearDown() 718 return store.getAbsolutePath(); in getKeyStoreFileName()
|
/libcore/ojluni/src/test/java/security/KeyStore/ |
D | ProbeKeystores.java | 102 ks.store(stream, PASSWORD); in init() 114 ks.store(stream, PASSWORD); in init()
|
D | TestKeystoreBasic.java | 187 ks.store(baos, PASSWDK); in runTest() 205 ks2.store(baos, PASSWD2); in runTest()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | PKIX.java | 249 for (CertStore store : stores) { in getTargetSubject() 253 store.getCertificates(sel); in getTargetSubject()
|