Home
last modified time | relevance | path

Searched refs:time (Results 1 – 25 of 103) sorted by relevance

12345

/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/
DDERGeneralizedTime.java15 String time; field in DERGeneralizedTime
63 String time) in DERGeneralizedTime() argument
65 this.time = time; in DERGeneralizedTime()
72 Date time) in DERGeneralizedTime() argument
78 this.time = dateF.format(time); in DERGeneralizedTime()
94 this.time = new String(dateC); in DERGeneralizedTime()
114 if (time.charAt(time.length() - 1) == 'Z') in getTime()
116 return time.substring(0, time.length() - 1) + "GMT+00:00"; in getTime()
120 int signPos = time.length() - 5; in getTime()
121 char sign = time.charAt(signPos); in getTime()
[all …]
DDERUTCTime.java14 String time; field in DERUTCTime
64 String time) in DERUTCTime() argument
66 this.time = time; in DERUTCTime()
73 Date time) in DERUTCTime() argument
79 this.time = dateF.format(time); in DERUTCTime()
95 this.time = new String(dateC); in DERUTCTime()
119 if (time.length() == 11) in getTime()
121 return time.substring(0, 10) + "00GMT+00:00"; in getTime()
123 else if (time.length() == 13) in getTime()
125 return time.substring(0, 12) + "GMT+00:00"; in getTime()
[all …]
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/cms/
DTime.java17 DERObject time; field in Time
27 DERObject time) in Time() argument
29 if (!(time instanceof DERUTCTime) in Time()
30 && !(time instanceof DERGeneralizedTime)) in Time()
35 this.time = time; in Time()
56 time = new DERGeneralizedTime(d); in Time()
60 time = new DERUTCTime(d.substring(2)); in Time()
85 if (time instanceof DERUTCTime) in getTime()
87 return ((DERUTCTime)time).getAdjustedTime(); in getTime()
91 return ((DERGeneralizedTime)time).getTime(); in getTime()
[all …]
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/x509/
DTime.java19 DERObject time; field in Time
29 DERObject time) in Time() argument
31 if (!(time instanceof DERUTCTime) in Time()
32 && !(time instanceof DERGeneralizedTime)) in Time()
37 this.time = time; in Time()
58 time = new DERGeneralizedTime(d); in Time()
62 time = new DERUTCTime(d.substring(2)); in Time()
87 if (time instanceof DERUTCTime) in getTime()
89 return ((DERUTCTime)time).getAdjustedTime(); in getTime()
93 return ((DERGeneralizedTime)time).getTime(); in getTime()
[all …]
/dalvik/dx/tests/089-dex-define-object/
DObject.java45 public final void wait(long time) { in wait() argument
46 wait(time, 0); in wait()
49 public final native void wait(long time, int frac); in wait() argument
/dalvik/libcore/archive/src/main/java/java/util/zip/
DZipEntry.java51 int compressionMethod = -1, time = -1, modDate = -1; field in ZipEntry
126 time = -1; in ZipEntry()
218 if (time != -1) { in getTime()
222 modDate & 0x1f, (time >> 11) & 0x1f, (time >> 5) & 0x3f, in getTime()
223 (time & 0x1f) << 1); in getTime()
340 time = 0; in setTime()
345 time = cal.get(Calendar.SECOND) >> 1; in setTime()
346 time = (cal.get(Calendar.MINUTE) << 5) | time; in setTime()
347 time = (cal.get(Calendar.HOUR_OF_DAY) << 11) | time; in setTime()
388 time = ze.time; in ZipEntry()
[all …]
/dalvik/libcore/luni/src/main/java/java/util/
DSimpleTimeZone.java398 int time) { in getOffset() argument
402 checkRange(month, dayOfWeek, time); in getOffset()
460 if (ruleDay > day || ruleDay == day && time < startTime) { in getOffset()
520 if (ruleDay < day || ruleDay == day && time >= ruleTime) { in getOffset()
532 public int getOffset(long time) { in getOffset() argument
541 return daylightSavings.getOffset(time + rawOffset); in getOffset()
590 public boolean inDaylightTime(Date time) { in inDaylightTime() argument
594 long millis = time.getTime(); in inDaylightTime()
633 private void checkRange(int month, int dayOfWeek, int time) { in checkRange() argument
641 if (time < 0 || time >= 24 * 3600000) { in checkRange()
[all …]
DTimerTask.java59 void setScheduledTime(long time) { in setScheduledTime() argument
61 scheduledTime = time; in setScheduledTime()
DCalendar.java317 protected long time; field in Calendar
890 long orgTime = time; in getActualMaximum()
897 time = orgTime; in getActualMaximum()
915 long orgTime = time; in getActualMinimum()
922 time = orgTime; in getActualMinimum()
1075 return time; in getTimeInMillis()
1298 if (!isTimeSet || !areFieldsSet || time != milliseconds) { in setTimeInMillis()
1299 time = milliseconds; in setTimeInMillis()
1326 + (isTimeSet ? String.valueOf(time) : "?") in toString()
1404 putFields.put("time", time); //$NON-NLS-1$ in writeObject()
[all …]
DGregorianCalendar.java412 time += value; in add()
415 time += value * 1000L; in add()
418 time += value * 60000L; in add()
422 time += value * 3600000L; in add()
440 int offset = getOffset(time + zoneOffset); in add()
441 time += value * multiplier; in add()
442 int newOffset = getOffset(time + zoneOffset); in add()
445 time += offset - newOffset; in add()
601 int millis = (int) (time % 86400000); in computeFields()
606 long newTime = time + offset; in computeFields()
[all …]
DTimeZone.java354 public int getOffset(long time) { in getOffset() argument
355 if (inDaylightTime(new Date(time))) { in getOffset()
382 int dayOfWeek, int time); in getOffset() argument
502 abstract public boolean inDaylightTime(Date time); in inDaylightTime() argument
/dalvik/libcore/luni-kernel/src/main/java/java/lang/
DLangAccessImpl.java52 public void parkUntil(long time) { in parkUntil() argument
53 Thread.currentThread().parkUntil(time); in parkUntil()
/dalvik/libcore/suncompat/src/main/java/sun/misc/
DUnsafe.java313 public void park(boolean absolute, long time) { in park() argument
315 lang.parkUntil(time); in park()
317 lang.parkFor(time); in park()
/dalvik/tests/064-field-access/
Dinfo.txt3 more exceptional conditions exist at the same time. For example,
7 same time, we can only throw one or the other.
/dalvik/tools/dmtracedump/
DCreateTestTrace.c63 unsigned int time; member
121 unsigned int time = 0, threadId; in parseInputFile() local
144 int time = strtoul(cp, &cp, 0); in parseInputFile() local
179 time += 2; in parseInputFile()
182 time = strtoul(cp, &cp, 0); in parseInputFile()
203 records[nextRecord].time = time; in parseInputFile()
414 writeDataRecord(dataFp, pRecord->threadId, val, pRecord->time); in writeDataRecords()
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
DSSLSessionImpl.java184 long time = creationTime / 1000; in SSLSessionImpl() local
185 id[28] = (byte) ((time & 0xFF000000) >>> 24); in SSLSessionImpl()
186 id[29] = (byte) ((time & 0x00FF0000) >>> 16); in SSLSessionImpl()
187 id[30] = (byte) ((time & 0x0000FF00) >>> 8); in SSLSessionImpl()
188 id[31] = (byte) ((time & 0x000000FF)); in SSLSessionImpl()
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/io/
DFileCanonPathCache.java80 long time = System.currentTimeMillis(); in get() local
81 if (time - element.timestamp > timeout) { in get()
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/locks/
DLock.java291 boolean tryLock(long time, TimeUnit unit) throws InterruptedException; in tryLock() argument
DCondition.java342 boolean await(long time, TimeUnit unit) throws InterruptedException; in await() argument
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/cert/
DX509CertImpl.java160 long time = System.currentTimeMillis(); in checkValidity() local
161 if (time < notBefore) { in checkValidity()
164 if (time > notAfter) { in checkValidity()
181 long time = date.getTime(); in checkValidity() local
182 if (time < notBefore) { in checkValidity()
188 if (time > notAfter) { in checkValidity()
/dalvik/libcore/sql/src/main/java/java/sql/
DTime.java173 public void setTime(long time) { in setTime() argument
174 super.setTime(time); in setTime()
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/
DScheduledThreadPoolExecutor.java121 private long time; field in ScheduledThreadPoolExecutor.ScheduledFutureTask
144 this.time = ns; in ScheduledFutureTask()
154 this.time = ns; in ScheduledFutureTask()
164 this.time = ns; in ScheduledFutureTask()
170 long d = time - now(); in getDelay()
179 long diff = time - x.time; in compareTo()
209 time += p; in setNextRunTime()
211 time = now() - p; in setNextRunTime()
/dalvik/tests/054-uncaught/
Dinfo.txt1 This is a miscellaneous test that was imported into the new-at-the-time
/dalvik/tests/051-thread/
Dinfo.txt1 This is a miscellaneous test that was imported into the new-at-the-time
/dalvik/tests/019-wrong-array-type/
Dinfo.txt1 This is a miscellaneous test that was imported into the new-at-the-time

12345