OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:toMillis
(Results
1 - 25
of
139
) sorted by null
1
2
3
4
5
6
/libcore/luni/src/main/java/android/system/
StructTimeval.java
45
public long
toMillis
() {
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
Utils.java
27
return t.
toMillis
(false);
/external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/
CallbackHelper.java
181
mLock.wait(unit.
toMillis
(timeout));
212
SystemClock.uptimeMillis() - startTime < unit.
toMillis
(timeout)) {
213
mLock.wait(unit.
toMillis
(timeout));
/libcore/luni/src/main/java/java/util/concurrent/
TimeUnit.java
46
public long
toMillis
(long d) { return d/(C2/C0); }
57
public long
toMillis
(long d) { return d/(C2/C1); }
68
public long
toMillis
(long d) { return d; }
73
public long convert(long d, TimeUnit u) { return u.
toMillis
(d); }
79
public long
toMillis
(long d) { return x(d, C3/C2, MAX/(C3/C2)); }
90
public long
toMillis
(long d) { return x(d, C4/C2, MAX/(C4/C2)); }
101
public long
toMillis
(long d) { return x(d, C5/C2, MAX/(C5/C2)); }
112
public long
toMillis
(long d) { return x(d, C6/C2, MAX/(C6/C2)); }
202
public long
toMillis
(long duration) {
291
long ms =
toMillis
(timeout)
[
all
...]
/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/
TimeUnit.java
17
public long
toMillis
(long d) { return d/(C2/C0); }
28
public long
toMillis
(long d) { return d/(C2/C1); }
39
public long
toMillis
(long d) { return d; }
44
public long convert(long d, TimeUnit u) { return u.
toMillis
(d); }
50
public long
toMillis
(long d) { return x(d, C3/C2, MAX/(C3/C2)); }
61
public long
toMillis
(long d) { return x(d, C4/C2, MAX/(C4/C2)); }
72
public long
toMillis
(long d) { return x(d, C5/C2, MAX/(C5/C2)); }
83
public long
toMillis
(long d) { return x(d, C6/C2, MAX/(C6/C2)); }
123
public long
toMillis
(long duration) {
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
RecordingReceiver.java
32
public static final long TIMEOUT_MILLIS = TimeUnit.SECONDS.
toMillis
(10);
75
long timeoutMillis = TimeUnit.NANOSECONDS.
toMillis
(System.nanoTime()) + TIMEOUT_MILLIS;
85
long nowMillis = TimeUnit.NANOSECONDS.
toMillis
(System.nanoTime());
/libcore/luni/src/test/java/libcore/java/lang/ref/
ReferenceQueueTest.java
56
long durationMillis = TimeUnit.NANOSECONDS.
toMillis
(durationNanos);
78
long durationMillis = TimeUnit.NANOSECONDS.
toMillis
(durationNanos);
88
long durationMillis = TimeUnit.NANOSECONDS.
toMillis
(durationNanos);
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
CacheStrategy.java
213
freshMillis = Math.min(freshMillis, SECONDS.
toMillis
(requestCaching.maxAgeSeconds()));
218
minFreshMillis = SECONDS.
toMillis
(requestCaching.minFreshSeconds());
224
maxStaleMillis = SECONDS.
toMillis
(requestCaching.maxStaleSeconds());
265
return SECONDS.
toMillis
(responseCaching.maxAgeSeconds());
296
? Math.max(apparentReceivedAge, SECONDS.
toMillis
(ageSeconds))
/frameworks/base/core/java/android/widget/
DateTimeView.java
95
mTimeMillis = t.
toMillis
(false);
115
long twelveHoursBefore = t.
toMillis
(false);
117
long twelveHoursAfter = t.
toMillis
(false);
120
long midnightBefore = t.
toMillis
(false);
122
long midnightAfter = t.
toMillis
(false);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DictionaryService.java
79
private static final long UPDATE_FREQUENCY = TimeUnit.DAYS.
toMillis
(4);
85
private static final int MAX_ALARM_DELAY = (int)TimeUnit.HOURS.
toMillis
(6);
91
private static final long VERY_LONG_TIME = TimeUnit.DAYS.
toMillis
(14);
/packages/providers/TvProvider/src/com/android/providers/tv/
EpgDataCleanupService.java
60
clearOldPrograms(nowMillis - TimeUnit.DAYS.
toMillis
(maxProgramAgeInDays));
66
clearOldWatchHistory(nowMillis - TimeUnit.DAYS.
toMillis
(maxWatchedProgramAgeInDays));
/external/chromium_org/chrome/test/android/javatests/src/org/chromium/chrome/test/util/
ApplicationData.java
24
scaleTimeout(TimeUnit.SECONDS.
toMillis
(3));
InfoBarTestAnimationListener.java
18
private static long WAIT_MILLIS = TimeUnit.SECONDS.
toMillis
(5);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
MobileDataController.java
128
start = policyTime.
toMillis
(false);
129
end = addMonth(policyTime, 1).
toMillis
(false);
131
start = addMonth(policyTime, -1).
toMillis
(false);
132
end = policyTime.
toMillis
(false);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/
DictionaryDecayBroadcastReciever.java
46
/* package */ static final long DICTIONARY_DECAY_INTERVAL = TimeUnit.MINUTES.
toMillis
(60);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
ImportantNoticeUtilsTests.java
150
+ TimeUnit.MILLISECONDS.
toMillis
(1000);
173
sleep(TimeUnit.MILLISECONDS.
toMillis
(600));
190
sleep(TimeUnit.MILLISECONDS.
toMillis
(600));
206
sleep(TimeUnit.MILLISECONDS.
toMillis
(600));
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
SyncCalendarTest.java
62
long dtStart = time.
toMillis
(false);
63
long dtEnd = time.
toMillis
(false) + ONE_HOUR_IN_MILLIS;
111
long newDtStart = time.
toMillis
(false);
113
long newDtEnd = time.
toMillis
(false);
/packages/apps/Calendar/src/com/android/calendar/
SearchActivity.java
193
event.startTime.
toMillis
(false), event.endTime.
toMillis
(false),
204
event.startTime != null ? event.startTime.
toMillis
(true) : -1);
206
EXTRA_EVENT_END_TIME, event.endTime != null ? event.endTime.
toMillis
(true) : -1);
357
long endTime = (event.endTime == null) ? -1 : event.endTime.
toMillis
(false);
361
deleteEvent(event.id, event.startTime.
toMillis
(false), endTime);
/packages/apps/Calendar/src/com/android/calendar/agenda/
AgendaFragment.java
252
timeToSave = mLastHandledEventTime.
toMillis
(true);
415
Log.d(TAG, "showEventInfo: start: " + new Date(event.startTime.
toMillis
(true)));
416
Log.d(TAG, "showEventInfo: end: " + new Date(event.endTime.
toMillis
(true)));
421
long startMillis = event.startTime.
toMillis
(true);
422
long endMillis = event.endTime.
toMillis
(true);
466
mController.setTime(t.
toMillis
(true));
/packages/apps/Calendar/src/com/android/calendar/month/
SimpleDayPickerFragment.java
130
long currentMillis = midnight.
toMillis
(true);
151
goTo(day.
toMillis
(true), true, true, false);
206
Time.getJulianDay(mSelectedDay.
toMillis
(false), mSelectedDay.gmtoff));
293
outState.putLong(KEY_CURRENT_TIME, mSelectedDay.
toMillis
(true));
308
goTo(mSelectedDay.
toMillis
(true), false, false, false);
360
return mSelectedDay.
toMillis
(true);
MonthByWeekFragment.java
182
long start = mTempTime.
toMillis
(true);
186
long end = mTempTime.
toMillis
(true);
275
Time.getJulianDay(mSelectedDay.
toMillis
(true), mSelectedDay.gmtoff));
351
Time.getJulianDay(mSelectedDay.
toMillis
(true), mSelectedDay.gmtoff)
381
goTo(mSelectedDay.
toMillis
(true), false, true, false);
430
Time.getJulianDay(event.selectedTime.
toMillis
(true), event.selectedTime.gmtoff)
431
- Time.getJulianDay(mFirstVisibleDay.
toMillis
(true), mFirstVisibleDay.gmtoff)
438
boolean delayAnimation = goTo(event.selectedTime.
toMillis
(true), animate, true, false);
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
DateTimePickerDialog.java
125
if (time.
toMillis
(true) < mMinTimeMillis) {
127
} else if (time.
toMillis
(true) > mMaxTimeMillis) {
/frameworks/base/core/java/android/text/format/
Time.java
218
* See {@link #
toMillis
(boolean)} for more information about when to
225
long timeInMillis = calculator.
toMillis
(ignoreDst);
708
* Here is an example where <tt>
toMillis
(true)</tt> adjusts the time,
716
* millis = time.
toMillis
(false); // millis is Nov 4, 2007, 11pm
717
* millis = time.
toMillis
(true); // millis is Nov 5, 2007, 12am
721
* To avoid this problem, use <tt>
toMillis
(true)</tt>
725
* <tt>
toMillis
(false)</tt>.
728
* You should also use <tt>
toMillis
(false)</tt> if you want
732
public long
toMillis
(boolean ignoreDst) {
734
return calculator.
toMillis
(ignoreDst)
[
all
...]
/packages/apps/Calendar/tests/src/com/android/calendar/
WeekNumberTest.java
211
long millis = test.date.
toMillis
(false /* use isDst */);
223
long millis = test.date.
toMillis
(false /* use isDst */);
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/
SensorCalibratedUncalibratedVerifier.java
58
Thread.sleep(TimeUnit.SECONDS.
toMillis
(10));
Completed in 1392 milliseconds
1
2
3
4
5
6