/libcore/ojluni/src/test/java/nio/file/attribute/ |
H A D | BasicFileAttributeViewTest.java | 45 static void check(boolean okay, String msg) { method in class:BasicFileAttributeViewTest 54 check(attrs.isDirectory(), "is a directory"); 55 check(!attrs.isRegularFile(), "is not a regular file"); 56 check(!attrs.isSymbolicLink(), "is not a link"); 57 check(!attrs.isOther(), "is not other"); 61 check(f.lastModified()/1000 == attrs.lastModifiedTime().to(TimeUnit.SECONDS), 69 check(attrs.isRegularFile(), "is a regular file"); 70 check(!attrs.isDirectory(), "is not a directory"); 71 check(!attrs.isSymbolicLink(), "is not a link"); 72 check(!attr [all...] |
/libcore/ojluni/src/main/java/java/security/cert/ |
H A D | CertPathChecker.java | 34 * may check for and process a critical private extension of each certificate 45 * be passed to the {@link #check check} method (forward or reverse). 48 * {@code check} method. If {@code true}, certificates are 52 * unable to check certificates in the specified order 59 * when certificates are presented to the {@code check} method in the 68 * Performs the check(s) on the specified certificate using its internal 74 * not pass the check 76 void check(Certificate cert) throws CertPathValidatorException; method in interface:CertPathChecker
|
H A D | PKIXCertPathChecker.java | 37 * For example, an implementation may check for and process a critical private 44 * class. Each of the {@code PKIXCertPathChecker}s {@link #check check} 52 * check successive certificates. The {@link #init init} method is used 72 * Additional input parameters required for executing the check may be 102 * certificates will be passed to the {@link #check check} method 107 * the {@code check} method. If {@code true}, certificates 111 * {@code PKIXCertPathChecker} is unable to check certificates in 122 * its checks when certificates are presented to the {@code check} 164 public abstract void check(Certificate cert, method in class:PKIXCertPathChecker 175 public void check(Certificate cert) throws CertPathValidatorException { method in class:PKIXCertPathChecker [all...] |
/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | IOStatus.java | 55 // assert IOStatus.check(n); // Checks other negative values 65 public static boolean check(int n) { method in class:IOStatus 75 public static boolean check(long n) { method in class:IOStatus
|
H A D | SinkChannelImpl.java | 173 assert IOStatus.check(n); 196 assert IOStatus.check(n);
|
H A D | SourceChannelImpl.java | 177 assert IOStatus.check(n); 208 assert IOStatus.check(n);
|
/libcore/ojluni/src/main/java/sun/net/ |
H A D | ExtendedOptionsImpl.java | 64 String check = "setOption." + option.name(); 65 sm.checkPermission(new NetworkPermission(check)); 73 String check = "getOption." + option.name(); 74 sm.checkPermission(new NetworkPermission(check));
|
/libcore/luni/src/test/java/libcore/javax/crypto/spec/ |
H A D | KeyFactoryTestDH.java | 31 protected void check(KeyPair keyPair) throws Exception { method in class:KeyFactoryTestDH
|
H A D | KeyFactoryTestDSA.java | 32 protected void check(KeyPair keyPair) throws Exception { method in class:KeyFactoryTestDSA
|
H A D | KeyFactoryTestRSA.java | 39 protected void check(KeyPair keyPair) throws Exception { method in class:KeyFactoryTestRSA
|
/libcore/ojluni/src/main/java/java/security/ |
H A D | Signer.java | 109 check("getSignerPrivateKey"); 134 check("setSignerKeyPair"); 176 private static void check(String directive) { method in class:Signer
|
H A D | Identity.java | 187 check("setIdentityPublicKey"); 209 check("setIdentityInfo"); 249 check("addIdentityCertificate"); 298 check("removeIdentityCertificate"); 413 check("printIdentity"); 495 private static void check(String directive) { method in class:Identity
|
H A D | IdentityScope.java | 166 check("setSystemScope"); 253 private static void check(String directive) { method in class:IdentityScope
|
H A D | SecureClassLoader.java | 191 check(); 221 private void check() { method in class:SecureClassLoader
|
H A D | Provider.java | 216 check("clearProviderProperties."+name); 233 check("putProviderProperty."+name); 251 check("putProviderProperty."+name); 328 check("putProviderProperty."+name); 355 check("putProviderProperty."+name); 381 check("removeProviderProperty."+name); 406 check("removeProviderProperty."+name); 432 check("putProviderProperty." + name); 458 check("putProviderProperty." + name); 486 check("putProviderPropert 665 private void check(String directive) { method in class:Provider [all...] |
/libcore/ojluni/src/main/java/java/io/ |
H A D | SerialCallbackContext.java | 63 public void check() throws NotActiveException { method in class:SerialCallbackContext
|
/libcore/luni/src/test/java/tests/security/cert/ |
H A D | PKIXCertPathCheckerTest.java | 79 pc.check(new MyCertificate("", null), new HashSet<String>()); 89 public void check(Certificate cert, method in class:PKIXCertPathCheckerTest.MyPKIXCertPathChecker
|
/libcore/ojluni/src/main/java/sun/misc/ |
H A D | URLClassPath.java | 204 * or null if not found or security check fails. 207 * @param check whether to perform a security check 211 public URL findResource(String name, boolean check) { argument 215 URL url = loader.findResource(name, check); 228 * @param check whether to perform a security check 231 public Resource getResource(String name, boolean check) { argument 239 Resource res = loader.getResource(name, check); 255 final boolean check) { 254 findResources(final String name, final boolean check) argument 302 getResources(final String name, final boolean check) argument 654 static void check(URL url) throws IOException { method in class:URLClassPath 707 findResource(final String name, boolean check) argument 743 getResource(final String name, boolean check) argument 974 checkResource(final String name, boolean check, final JarEntry entry) argument 1039 findResource(final String name, boolean check) argument 1050 getResource(final String name, boolean check) argument 1080 getResource(final String name, boolean check, Set<String> visited) argument 1268 findResource(final String name, boolean check) argument 1276 getResource(final String name, boolean check) argument [all...] |
/libcore/support/src/test/java/tests/security/ |
H A D | KeyFactoryTest.java | 60 check(new KeyPair(publicKey, privateKey)); 63 protected void check(KeyPair keyPair) throws Exception {} method in class:KeyFactoryTest
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
H A D | TestLocalTime.java | 87 private void check(LocalTime time, int h, int m, int s, int n) { method in class:TestLocalTime 97 check(LocalTime.MIDNIGHT, 0, 0, 0, 0); 108 check(LocalTime.NOON, 12, 0, 0, 0); 120 check(LocalTime.MIN, 0, 0, 0, 0); 130 check(LocalTime.MAX, 23, 59, 59, 999999999);
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
H A D | OCSP.java | 60 * just check the revocation status of a certificate, and you don't want to 77 * used for the OCSP check. A timeout of zero is interpreted as 114 public static RevocationStatus check(X509Certificate cert, method in class:OCSP 131 OCSPResponse ocspResponse = check(Collections.singletonList(certId), 152 public static RevocationStatus check(X509Certificate cert, method in class:OCSP 159 return check(cert, issuerCert, responderURI, responderCert, date, 164 public static RevocationStatus check(X509Certificate cert, method in class:OCSP 179 OCSPResponse ocspResponse = check(Collections.singletonList(certId), 199 static OCSPResponse check(List<CertId> certIds, URI responderURI, method in class:OCSP
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
H A D | SelectionKeyTest.java | 101 Object check = mockSelectionKey.attach(o); 102 assertNull(check); 105 check = mockSelectionKey.attach(null); 106 assertSame(o, check); 108 check = mockSelectionKey.attach(o); 109 assertNull(check);
|
/libcore/xml/src/main/java/org/kxml2/io/ |
H A D | KXmlSerializer.java | 86 private final void check(boolean close) throws IOException { method in class:KXmlSerializer 207 check(false); 312 check(false); 398 check(false); 502 check(false); 507 check(); 527 check(true); 564 check(false); 577 check(false); 617 check(fals [all...] |
/libcore/ojluni/src/test/java/time/tck/java/time/ |
H A D | TCKLocalDateTime.java | 228 private void check(LocalDateTime test, int y, int m, int d, int h, int mi, int s, int n) { method in class:TCKLocalDateTime 250 check(LocalDateTime.MIN, Year.MIN_VALUE, 1, 1, 0, 0, 0, 0); 255 check(LocalDateTime.MAX, Year.MAX_VALUE, 12, 31, 23, 59, 59, 999999999); 387 check(dateTime, 2007, 7, 15, 12, 30, 0, 0); 434 check(dateTime, 2007, 7, 15, 12, 30, 40, 0); 491 check(dateTime, 2007, 7, 15, 12, 30, 40, 987654321); 558 check(dateTime, 2007, 7, 15, 12, 30, 0, 0); 610 check(dateTime, 2007, 7, 15, 12, 30, 40, 0); 672 check(dateTime, 2007, 7, 15, 12, 30, 40, 987654321); 744 check(dateTim [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
H A D | FileTest.java | 1226 boolean[] check = new boolean[flist.length]; 1227 for (int i = 0; i < check.length; i++) { 1228 check[i] = false; 1233 check[i] = true; 1239 for (int i = 0; i < check.length; i++) { 1240 if (check[i] == false) { 1339 boolean[] check = new boolean[flist.length]; 1340 for (int i = 0; i < check.length; i++) { 1341 check[i] = false; 1346 check[ [all...] |