/frameworks/base/core/tests/coretests/src/android/provider/ |
SmsProviderTest.java | 42 Long.toString(new GregorianCalendar(1970, 1, 1, 0, 0, 0).getTimeInMillis()), 43 Long.toString(new GregorianCalendar(1971, 2, 13, 16, 35, 3).getTimeInMillis()), 44 Long.toString(new GregorianCalendar(1978, 10, 22, 0, 1, 0).getTimeInMillis()), 45 Long.toString(new GregorianCalendar(1980, 1, 11, 10, 22, 30).getTimeInMillis()),
|
/frameworks/base/core/java/android/webkit/ |
DateSorter.java | 56 mBins[0] = c.getTimeInMillis(); // Today 58 mBins[1] = c.getTimeInMillis(); // Yesterday 60 mBins[2] = c.getTimeInMillis(); // Five days ago 63 mBins[3] = c.getTimeInMillis(); // One month ago 79 * returned by Calendar.getTimeInMillis()
|
/libcore/luni/src/main/java/java/util/ |
Calendar.java | 167 * {@code getTime()}, or {@code getTimeInMillis()} is made. Thus, 324 * Accessing the time via {@code getTimeInMillis} will always return the correct value. 330 * Accessing the time via {@code getTimeInMillis} will always return the correct value. 759 return getTimeInMillis() > ((Calendar) calendar).getTimeInMillis(); 778 return getTimeInMillis() < ((Calendar) calendar).getTimeInMillis(); 877 return getTimeInMillis() == cal.getTimeInMillis() [all...] |
Date.java | 72 milliseconds = cal.getTimeInMillis(); 97 milliseconds = cal.getTimeInMillis(); 124 milliseconds = cal.getTimeInMillis(); 567 milliseconds = cal.getTimeInMillis(); 582 milliseconds = cal.getTimeInMillis(); 597 milliseconds = cal.getTimeInMillis(); 612 milliseconds = cal.getTimeInMillis(); 627 milliseconds = cal.getTimeInMillis(); 653 milliseconds = cal.getTimeInMillis(); 752 return cal.getTimeInMillis(); [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/ |
PhoneCallDetailsHelperTest.java | 45 new GregorianCalendar(2011, 5, 3, 13, 0, 0).getTimeInMillis(); 74 new GregorianCalendar(2011, 5, 4, 13, 0, 0).getTimeInMillis()); 130 new GregorianCalendar(2011, 5, 3, 13, 0, 0).getTimeInMillis()); 133 new GregorianCalendar(2011, 5, 3, 13, 0, 0).getTimeInMillis()); 137 new GregorianCalendar(2011, 5, 3, 12, 0, 0).getTimeInMillis()); 141 new GregorianCalendar(2011, 5, 2, 13, 0, 0).getTimeInMillis()); 145 new GregorianCalendar(2011, 5, 1, 13, 0, 0).getTimeInMillis());
|
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/ |
CalendarSyncAdapterTests.java | 115 Long startTime = startCalendar.getTimeInMillis(); 117 Long endTime = endCalendar.getTimeInMillis(); 133 Long startTime = startCalendar.getTimeInMillis(); 135 Long endTime = endCalendar.getTimeInMillis(); 150 Long startTime = startCalendar.getTimeInMillis(); 152 Long endTime = endCalendar.getTimeInMillis(); 160 startTime = startCalendar.getTimeInMillis(); 178 Long startTime = startCalendar.getTimeInMillis(); 180 Long endTime = endCalendar.getTimeInMillis(); 183 cv.put(Events.ORIGINAL_INSTANCE_TIME, instanceCalendar.getTimeInMillis()); [all...] |
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
RssService.java | 132 long timeTillNextUpdate = mLastCheckedTime.getTimeInMillis() - GregorianCalendar.getInstance().getTimeInMillis(); 180 if(lastUpdated.getTimeInMillis() == 0 || 188 mCur.updateLong(lastUpdatedColumnIndex, feedPubDate.getTimeInMillis());
|
/frameworks/base/core/tests/coretests/src/android/webkit/ |
WebkitTest.java | 47 long time = c.getTimeInMillis();
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
MediaPlayerInvokeTest.java | 42 rnd = new Random(Calendar.getInstance().getTimeInMillis());
|
/packages/apps/Phone/src/com/android/phone/ |
DataUsageListener.java | 160 long cycleTime = mEnd.getTimeInMillis() - mStart.getTimeInMillis(); 161 long currentTime = GregorianCalendar.getInstance().getTimeInMillis() 162 - mStart.getTimeInMillis();
|
/frameworks/base/core/java/android/widget/ |
DatePicker.java | 175 mTempDate.setTimeInMillis(mCurrentDate.getTimeInMillis()); 260 setMinDate(mTempDate.getTimeInMillis()); 271 setMaxDate(mTempDate.getTimeInMillis()); 317 mCurrentDate.setTimeInMillis(mMinDate.getTimeInMillis()); 353 mCurrentDate.setTimeInMillis(mMaxDate.getTimeInMillis()); 389 mCurrentDate.getTimeInMillis(), flags); 481 final long currentTimeMillis = oldCalendar.getTimeInMillis(); 598 mCurrentDate.setTimeInMillis(mMinDate.getTimeInMillis()); 600 mCurrentDate.setTimeInMillis(mMaxDate.getTimeInMillis()); 653 mCalendarView.setDate(mCurrentDate.getTimeInMillis(), false, false) [all...] |
CalendarView.java | 445 return mMinDate.getTimeInMillis(); 472 setDate(mTempDate.getTimeInMillis()); 493 return mMaxDate.getTimeInMillis(); 513 setDate(mMaxDate.getTimeInMillis()); 602 return mAdapter.mSelectedDate.getTimeInMillis(); 672 final long currentTimeMillis = oldCalendar.getTimeInMillis(); 812 mFirstDayOfMonth.setTimeInMillis(date.getTimeInMillis()); [all...] |
/frameworks/base/services/java/com/android/server/ |
ThrottleService.java | 773 long offset = end.getTimeInMillis() - now; [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/ |
GeomagneticFieldTest.java | 35 private static final long TEST_TIME = new GregorianCalendar(2010, 5, 1).getTimeInMillis();
|
/packages/apps/Exchange/tests/src/com/android/exchange/utility/ |
CalendarUtilitiesTests.java | 622 long startTime = calendar.getTimeInMillis(); 627 long transitionTime = transitionCalendar.getTimeInMillis(); 637 transitionTime = transitionCalendar.getTimeInMillis(); 652 startTime = calendar.getTimeInMillis(); [all...] |
/frameworks/base/core/java/android/util/ |
MonthDisplayHelper.java | 60 mCalendar.getTimeInMillis();
|
/libcore/luni/src/test/java/libcore/java/util/ |
OldGregorianCalendarTest.java | 48 g1.getTimeInMillis();
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
TimeZoneTest.java | 80 .getTimeInMillis(); 85 .getTimeInMillis();
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
Duration.java | 332 public long getTimeInMillis(final Calendar startInstant) { 368 * @see #getTimeInMillis(Calendar) 370 public long getTimeInMillis(final Date startInstant) { [all...] |
/cts/tests/tests/util/src/android/util/cts/ |
TimeUtilsTest.java | 477 c.getTimeInMillis(),
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
AlarmController.java | 102 am.set(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), sender);
|
/frameworks/base/core/tests/coretests/src/android/util/ |
TimeUtilsTest.java | 429 c.getTimeInMillis(),
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
HandleSetAlarm.java | 64 new Alarm.DaysOfWeek(0)).getTimeInMillis();
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/ |
DisplaySyncHistogram.java | 168 long start = calendar.getTimeInMillis() + hoursOfYear * 3600 * 1000;
|
/libcore/luni/src/test/java/libcore/java/text/ |
SimpleDateFormatTest.java | 117 assertEquals(1293104697000L, parseDate(Locale.UK, fmt, date).getTimeInMillis()); 119 assertEquals(1293104697000L, parseDate(Locale.US, fmt, date).getTimeInMillis());
|