/libcore/luni/src/main/java/java/util/logging/ |
LogRecord.java | 108 private long millis; field in class:LogRecord 142 * level and message. The millis property is set to the current time. The 160 this.millis = System.currentTimeMillis(); 252 return millis; 258 * @param millis 261 public void setMillis(long millis) { 262 this.millis = millis;
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
callimts.h | 18 * which it can handle. It also verifies the behavior for large values of millis. 27 virtual void test(UDate millis, Calendar *cal, DateFormat *fmt);
|
callimts.cpp | 52 CalendarLimitTest::test(UDate millis, icu::Calendar* cal, icu::DateFormat* fmt) 58 cal->setTime(millis, exception); 60 fmt->format(millis, theDate); 63 if(! withinErr(dt, millis, kDrift)) { 65 dt, millis, uprv_fabs(millis-dt), uprv_fabs(dt*kDrift)); 68 logln(UnicodeString("OK: got ") + dt + ", wanted " + millis); local 330 UDate millis = ucal_getNow(); local 331 UDate mark = millis + 5000; // 5 sec 332 millis -= testDuration * 1000; // stop time if testDuration< [all...] |
/external/icu/icu4c/source/test/intltest/ |
callimts.h | 18 * which it can handle. It also verifies the behavior for large values of millis. 27 virtual void test(UDate millis, Calendar *cal, DateFormat *fmt);
|
callimts.cpp | 52 CalendarLimitTest::test(UDate millis, icu::Calendar* cal, icu::DateFormat* fmt) 58 cal->setTime(millis, exception); 60 fmt->format(millis, theDate); 63 if(! withinErr(dt, millis, kDrift)) { 65 dt, millis, uprv_fabs(millis-dt), uprv_fabs(dt*kDrift)); 68 logln(UnicodeString("OK: got ") + dt + ", wanted " + millis); local 330 UDate millis = ucal_getNow(); local 331 UDate mark = millis + 5000; // 5 sec 332 millis -= testDuration * 1000; // stop time if testDuration< [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/analytics/ |
Tracker.java | 31 void sendTiming(String category, long millis, String name, String label);
|
/external/chromium_org/remoting/host/ |
remote_input_filter.cc | 100 int64 millis = local 102 if (millis < kRemoteBlockTimeoutMillis)
|
/packages/apps/InCallUI/src/com/android/incallui/ |
InCallDateUtils.java | 18 public static String formatDetailedDuration(long millis) { 22 int elapsedSeconds = (int) (millis / 1000);
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/execution/ |
ExecutionUtils.java | 42 public static void sleep(final int millis) { 46 Thread.sleep(millis); 56 public static void waitEventLoop(int millis) { 59 long nanos = millis * 1000000L; 68 sleep(millis);
|
/frameworks/base/core/java/android/text/format/ |
DateUtils.java | 482 public static CharSequence formatDuration(long millis) { 484 if (millis >= HOUR_IN_MILLIS) { 485 final int hours = (int) ((millis + 1800000) / HOUR_IN_MILLIS); 488 } else if (millis >= MINUTE_IN_MILLIS) { 489 final int minutes = (int) ((millis + 30000) / MINUTE_IN_MILLIS); 493 final int seconds = (int) ((millis + 500) / SECOND_IN_MILLIS); [all...] |
/external/chromium_org/third_party/icu/source/samples/date/ |
date.c | 48 static UDate getWhen(const char *millis, const char *seconds, const char *format, UDateFormatStyle style, const char *parse, const UChar *tz, UErrorCode *status); 75 char *millis = NULL; local 123 millis = argv[optInd]; 161 when = getWhen(millis, seconds, format, style, parse, tz, &status); 163 format = FORMAT_MILLIS; /* output in millis */ 189 puts(" (Special formats: \"%\" alone is Millis since 1970, \"%%\" alone is Seconds since 1970)"); 191 puts(" -R <millis> Use <millis> as the time (Epoch 1970) rather than now."); 192 puts(" -P <string> Parse <string> as the time, output in millis format."); 291 static UDate getWhen(const char *millis, const char *seconds, const char *format, [all...] |
/external/icu/icu4c/source/samples/date/ |
date.c | 48 static UDate getWhen(const char *millis, const char *seconds, const char *format, UDateFormatStyle style, const char *parse, const UChar *tz, UErrorCode *status); 75 char *millis = NULL; local 123 millis = argv[optInd]; 161 when = getWhen(millis, seconds, format, style, parse, tz, &status); 163 format = FORMAT_MILLIS; /* output in millis */ 189 puts(" (Special formats: \"%\" alone is Millis since 1970, \"%%\" alone is Seconds since 1970)"); 191 puts(" -R <millis> Use <millis> as the time (Epoch 1970) rather than now."); 192 puts(" -P <string> Parse <string> as the time, output in millis format."); 291 static UDate getWhen(const char *millis, const char *seconds, const char *format, [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ref/ |
FinalizeTest.java | 110 public void createSlowFinalizer(final long millis, final CountDownLatch latch) { 113 System.out.println("finalize sleeping " + millis + " ms"); 114 Thread.sleep(millis);
|
/libcore/luni/src/main/java/java/util/ |
GregorianCalendar.java | 471 int millis = (int) (time % 86400000); local 474 if (millis < 0) { 475 millis += 86400000; 479 // it to millis (the number of milliseconds in the current day) instead. 480 millis += fields[ZONE_OFFSET]; 481 while (millis < 0) { 482 millis += 86400000; 485 while (millis >= 86400000) { 486 millis -= 86400000; 504 fields[YEAR], month, date, fields[DAY_OF_WEEK], millis); 1053 int millis = (int) (localTime % 86400000); local [all...] |
/external/chromium_org/tools/perf/page_sets/tough_scrolling_cases/ |
busy.js | 5 function busyLoop(millis) { 6 for (var d = Date.now(); Date.now() - d < millis; ) { }
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
WeekNumberTest.java | 211 long millis = test.date.toMillis(false /* use isDst */); local 213 String output = DateUtils.formatDateTime(mContext, millis, flags); 223 long millis = test.date.toMillis(false /* use isDst */); local 225 String output = DateUtils.formatDateTime(mContext, millis, flags);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowTime.java | 67 long millis = time.toMillis(true); local 68 return getJulianDay(millis, 0) == Time.EPOCH_JULIAN_DAY; 73 public static int getJulianDay(long millis, long gmtoff) { 75 long julianDay = (millis + offsetMillis) / DAY_IN_MILLIS; 84 //long millis = (julianDay - EPOCH_JULIAN_DAY) * DateUtils.DAY_IN_MILLIS; 85 long millis = (julianDay - Time.EPOCH_JULIAN_DAY) * DAY_IN_MILLIS; local 86 set(millis); 90 int approximateDay = getJulianDay(millis, time.gmtoff); 98 millis = time.normalize(true); 99 return millis; [all...] |
/external/chromium_org/base/android/java/src/org/chromium/base/ |
SystemMessageHandler.java | 64 private void scheduleDelayedWork(long delayedTimeTicks, long millis) { 69 sendMessageDelayed(obtainAsyncMessage(DELAYED_SCHEDULED_WORK), millis); local
|
/external/chromium_org/base/message_loop/ |
message_pump_android.cc | 148 jlong millis = local 154 delayed_work_time.ToInternalValue(), millis);
|
/external/chromium_org/v8/tools/testrunner/local/ |
verbose.py | 83 millis = round(d * 1000) % 1000 84 return time.strftime("%M:%S.", time.gmtime(d)) + ("%03i" % millis)
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
TimeTest.java | 201 long millis = time.normalize(true); local 204 int julianDay = Time.getJulianDay(millis, time.gmtoff); 211 millis = time.normalize(true); 212 int day = Time.getJulianDay(millis, time.gmtoff); 224 long millis = time.normalize(true); local 226 int julianDay = Time.getJulianDay(millis, time.gmtoff); 233 millis = time.toMillis(false); 234 int day = Time.getJulianDay(millis, time.gmtoff);
|
/external/chromium_org/third_party/libusb/src/libusb/os/ |
threads_windows.c | 183 DWORD millis; local 199 millis = 0; 201 millis = delta_time.tv_usec/1000; 202 millis += delta_time.tv_sec *1000; 204 millis++; 207 return usbi_cond_intwait(cond, mutex, millis);
|
/external/valgrind/main/drd/tests/ |
tsan_thread_wrappers_pthread.h | 218 bool ReaderLockWhenWithTimeout(Condition cond, int millis) 219 { Lock(); return WaitLoopWithTimeout(cond, millis); } 220 bool LockWhenWithTimeout(Condition cond, int millis) 221 { Lock(); return WaitLoopWithTimeout(cond, millis); } 222 bool AwaitWithTimeout(Condition cond, int millis) 223 { return WaitLoopWithTimeout(cond, millis); } 235 bool WaitLoopWithTimeout(Condition cond, int millis) { 240 timeval2timespec(&now, &timeout, millis); 281 bool WaitWithTimeout(Mutex *mu, int millis) { 285 timeval2timespec(&now, &timeout, millis); [all...] |
/frameworks/base/core/java/android/util/ |
TimeUtils.java | 319 int millis = (int)(duration%1000); local 343 myLen += accumField(millis, 2, true, myLen > 0 ? 3 : 0) + 1; 360 pos = printField(formatStr, millis, 'm', pos, true, (zeropad && pos != start) ? 3 : 0); 411 * @param millis since the epoch (1/1/1970) 415 public static String logTimeOfDay(long millis) { 417 if (millis >= 0) { 418 c.setTimeInMillis(millis); 421 return Long.toString(millis);
|
/external/chromium_org/third_party/icu/source/i18n/ |
simpletz.cpp | 394 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const 408 return getOffset(era, year, month, day, dayOfWeek, millis, Grego::monthLength(year, month), status); 413 uint8_t dayOfWeek, int32_t millis, 432 return getOffset(era, year, month, day, dayOfWeek, millis, 440 uint8_t dayOfWeek, int32_t millis, 453 || millis < 0 454 || millis >= U_MILLIS_PER_DAY 476 (int8_t)day, (int8_t)dayOfWeek, millis, 490 (int8_t)day, (int8_t)dayOfWeek, millis, 518 int32_t millis = (int32_t) (date - day * U_MILLIS_PER_DAY) local [all...] |