Searched refs:seconds (Results 1 - 11 of 11) sorted by relevance

/libcore/luni/src/main/java/javax/net/ssl/
H A DSSLSessionContext.java56 * @return the timeout in seconds, or {@code zero} if unlimited.
75 * @param seconds
76 * the timeout in seconds, or {@code zero} if unlimited.
78 * if {@code seconds} is negative.
80 public void setSessionTimeout(int seconds) throws IllegalArgumentException; argument
/libcore/luni/src/main/java/javax/sql/
H A DCommonDataSource.java33 * time in seconds that this data source can wait.
53 * time in seconds that this data source can wait.
55 * @param seconds
60 void setLoginTimeout(int seconds) throws SQLException; argument
H A DRowSet.java187 * @return the timeout value in seconds.
1436 * @param seconds
1437 * the number of seconds for the timeout.
1441 public void setQueryTimeout(int seconds) throws SQLException; argument
/libcore/luni/src/main/java/javax/xml/datatype/
H A DDatatypeFactory.java208 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p>
224 * @param seconds of this <code>Duration</code>
238 final BigDecimal seconds);
242 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p>
253 * @param seconds of this <code>Duration</code>
266 * BigDecimal seconds)
275 final int seconds) {
292 // seconds may not be set
293 BigDecimal realSeconds = (seconds != DatatypeConstants.FIELD_UNDEFINED) ? BigDecimal.valueOf((long) seconds)
231 newDuration( final boolean isPositive, final BigInteger years, final BigInteger months, final BigInteger days, final BigInteger hours, final BigInteger minutes, final BigDecimal seconds) argument
268 newDuration( final boolean isPositive, final int years, final int months, final int days, final int hours, final int minutes, final int seconds) argument
922 newXMLGregorianCalendarTime( final int hours, final int minutes, final int seconds, final int timezone) argument
960 newXMLGregorianCalendarTime( final int hours, final int minutes, final int seconds, final BigDecimal fractionalSecond, final int timezone) argument
998 newXMLGregorianCalendarTime( final int hours, final int minutes, final int seconds, final int milliseconds, final int timezone) argument
[all...]
H A DDuration.java35 * minutes, and seconds) plus a sign (+/-) field.</p>
39 * and the seconds field has a non-negative decimal or null.
294 * @return seconds in the integer value. The fraction of seconds
305 * <p>If the seconds field carries more digits than millisecond order,
342 * <p>If the seconds field carries more digits than millisecond order,
384 * number will be a non-negative integer. In case of seconds,
645 * "PT1M" (1 min) * "0.3" = "PT18S" (18 seconds)
656 * of {@link BigDecimal}. Since all the fields except seconds are
714 * <li>the computed days, along with the hours, minutes and seconds
[all...]
/libcore/support/src/test/java/tests/support/
H A DSupport_PortManager.java94 * Returns a different port number every 6 seconds or so. The port number
100 int seconds = c.get(Calendar.SECOND);
102 return 6000 + (1000 * minutes) + ((seconds / 6) * 100);
/libcore/luni/src/test/java/libcore/sqlite/
H A DQueryTimeoutTest.java62 int seconds = Integer.parseInt(args[0]);
63 Thread.sleep(seconds * 1000);
/libcore/luni/src/main/java/java/sql/
H A DDriverManager.java272 * Returns the login timeout when connecting to a database in seconds.
274 * @return the login timeout in seconds.
344 * Sets the login timeout when connecting to a database in seconds.
346 * @param seconds
347 * seconds until timeout. 0 indicates wait forever.
349 public static void setLoginTimeout(int seconds) { argument
350 loginTimeout = seconds;
H A DStatement.java642 * Sets the timeout, in seconds, for queries - how long the driver will
646 * @param seconds
647 * timeout in seconds. 0 means no timeout ("wait forever")
649 * if an error occurs accessing the database or if seconds <
652 public void setQueryTimeout(int seconds) throws SQLException; argument
/libcore/crypto/src/main/java/org/conscrypt/
H A DAbstractSessionContext.java140 public void setSessionTimeout(int seconds) argument
142 if (seconds < 0) {
143 throw new IllegalArgumentException("seconds < 0");
145 timeout = seconds;
/libcore/luni/src/main/java/libcore/io/
H A DIoBridge.java342 int seconds = 0;
345 seconds = Math.min((Integer) value, 65535);
347 StructLinger linger = new StructLinger(booleanToInt(on), seconds);

Completed in 376 milliseconds