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

/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/tsp/
H A DAccuracy.java15 DERInteger seconds; field in class:Accuracy
35 DERInteger seconds,
39 this.seconds = seconds;
70 seconds = null;
76 // seconds
79 seconds = (DERInteger) seq.getObjectAt(i);
130 return seconds;
146 * seconds INTEGER OPTIONAL,
157 if (seconds !
34 Accuracy( DERInteger seconds, DERInteger millis, DERInteger micros) argument
[all...]
/dalvik/libcore/luni/src/test/java/com/google/coretests/
H A DCoreTestPrinter.java94 int seconds = fRunTime;
96 int hours = seconds / 3600;
97 seconds = seconds % 3600;
99 int minutes = seconds / 60;
100 seconds = seconds % 60;
102 String text = String.format("%02d:%02d:%02d", hours, minutes, seconds);
/dalvik/libcore/x-net/src/main/java/javax/net/ssl/
H A DSSLSessionContext.java57 * @return the timeout in seconds, or {@code zero} if unlimited.
76 * @param seconds
77 * the timeout in seconds, or {@code zero} if unlimited.
79 * if {@code seconds} is negative.
81 public void setSessionTimeout(int seconds) throws IllegalArgumentException; argument
/dalvik/libcore/xml/src/main/java/javax/xml/datatype/
H A DDatatypeFactory.java201 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p>
217 * @param seconds of this <code>Duration</code>
231 final BigDecimal seconds);
235 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p>
246 * @param seconds of this <code>Duration</code>
259 * BigDecimal seconds)
268 final int seconds) {
285 // seconds may not be set
286 BigDecimal realSeconds = (seconds != DatatypeConstants.FIELD_UNDEFINED) ? BigDecimal.valueOf((long) seconds)
224 newDuration( final boolean isPositive, final BigInteger years, final BigInteger months, final BigInteger days, final BigInteger hours, final BigInteger minutes, final BigDecimal seconds) argument
261 newDuration( final boolean isPositive, final int years, final int months, final int days, final int hours, final int minutes, final int seconds) argument
915 newXMLGregorianCalendarTime( final int hours, final int minutes, final int seconds, final int timezone) argument
953 newXMLGregorianCalendarTime( final int hours, final int minutes, final int seconds, final BigDecimal fractionalSecond, final int timezone) argument
991 newXMLGregorianCalendarTime( final int hours, final int minutes, final int seconds, final int milliseconds, final int timezone) argument
[all...]
H A DDuration.java36 * minutes, and seconds) plus a sign (+/-) field.</p>
40 * and the seconds field has a non-negative decimal or null.
295 * @return seconds in the integer value. The fraction of seconds
306 * <p>If the seconds field carries more digits than millisecond order,
343 * <p>If the seconds field carries more digits than millisecond order,
385 * number will be a non-negative integer. In case of seconds,
650 * "PT1M" (1 min) * "0.3" = "PT18S" (18 seconds)
661 * of {@link BigDecimal}. Since all the fields except seconds are
719 * <li>the computed days, along with the hours, minutes and seconds
[all...]
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DServerSessionContext.java76 public void setSessionTimeout(int seconds) argument
78 if (seconds < 0) {
79 throw new IllegalArgumentException("seconds < 0");
81 timeout = seconds;
H A DClientSessionContext.java72 public final void setSessionTimeout(int seconds) argument
74 if (seconds < 0) {
75 throw new IllegalArgumentException("seconds < 0");
77 timeout = seconds;
/dalvik/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);
/dalvik/libcore/sql/src/main/java/java/sql/
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
H A DDriverManager.java301 * Returns the login timeout when connecting to a database in seconds.
303 * @return the login timeout in seconds.
374 * Sets the login timeout when connecting to a database in seconds.
376 * @param seconds
377 * seconds until timeout. 0 indicates wait forever.
379 public static void setLoginTimeout(int seconds) { argument
380 loginTimeout = seconds;
/dalvik/libcore/sql/src/main/java/SQLite/JDBC2y/
H A DJDBCStatement.java52 public void setQueryTimeout(int seconds) throws SQLException { argument
53 conn.timeout = seconds * 1000;
/dalvik/libcore/sql/src/main/java/javax/sql/
H A DRowSet.java183 * @return the timeout value in seconds.
701 * @param seconds
702 * the number of seconds for the timeout.
706 public void setQueryTimeout(int seconds) throws SQLException; argument
/dalvik/libcore/sql/src/test/java/tests/java/sql/
H A DQueryTimeoutTest.java55 * seconds even though the data volume is really low. The fetch operations take
84 private static final int TIMEOUT = 1; // In seconds
402 * constant is in seconds, while the execution time is in milliseconds).
488 * constant is in seconds, while the execution time is in milliseconds).
664 * arg0 : int seconds
670 int seconds = new Integer(args[0]).intValue();
673 Thread.sleep(seconds * 1000);
/dalvik/libcore/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/
H A DImpl_RowSet.java200 public void setQueryTimeout(int seconds) throws SQLException { argument

Completed in 1055 milliseconds