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
112
) sorted by null
1
2
3
4
5
/libcore/luni/src/main/java/libcore/io/
StructTimeval.java
41
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
179
mLock.wait(unit.
toMillis
(timeout));
210
System.currentTimeMillis() - startTime < unit.
toMillis
(timeout)) {
211
mLock.wait(unit.
toMillis
(timeout));
/external/okhttp/src/test/java/com/squareup/okhttp/internal/
RecordingReceiver.java
30
public static final long TIMEOUT_MILLIS = TimeUnit.SECONDS.
toMillis
(10);
50
long timeoutMillis = TimeUnit.NANOSECONDS.
toMillis
(System.nanoTime()) + TIMEOUT_MILLIS;
58
long nowMillis = TimeUnit.NANOSECONDS.
toMillis
(System.nanoTime());
/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) {
/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);
/frameworks/base/core/jni/
Time.cpp
58
int64_t am = a.
toMillis
(false /* use isDst */);
59
int64_t bm = b.
toMillis
(false /* use isDst */);
166
(int)(((Time*)this)->
toMillis
(false /* use isDst */)/1000));
180
Time::
toMillis
(bool ignoreDst)
TimeUtils.h
66
int64_t
toMillis
(bool ignoreDst);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
ReplayerService.java
36
private static final long MAX_REPLAY_TIME = TimeUnit.SECONDS.
toMillis
(60);
Statistics.java
107
public static final long MIN_TYPING_INTERMISSION = TimeUnit.SECONDS.
toMillis
(2);
108
public static final long MIN_DELETION_INTERMISSION = TimeUnit.SECONDS.
toMillis
(10);
/frameworks/base/core/java/android/widget/
DateTimeView.java
98
mTimeMillis = t.
toMillis
(false);
118
long twelveHoursBefore = t.
toMillis
(false);
120
long twelveHoursAfter = t.
toMillis
(false);
123
long midnightBefore = t.
toMillis
(false);
125
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);
/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);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/
DictionaryDecayBroadcastReciever.java
46
private static final long DICTIONARY_DECAY_INTERVAL = TimeUnit.MINUTES.
toMillis
(60);
/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);
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
ResponseHeaders.java
297
ageSeconds != -1 ? Math.max(apparentReceivedAge, TimeUnit.SECONDS.
toMillis
(ageSeconds))
310
return TimeUnit.SECONDS.
toMillis
(maxAgeSeconds);
404
freshMillis = Math.min(freshMillis, TimeUnit.SECONDS.
toMillis
(request.getMaxAgeSeconds()));
409
minFreshMillis = TimeUnit.SECONDS.
toMillis
(request.getMinFreshSeconds());
414
maxStaleMillis = TimeUnit.SECONDS.
toMillis
(request.getMaxStaleSeconds());
/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
138
if (time.
toMillis
(true) < mMinTimeMillis) {
140
} else if (time.
toMillis
(true) > mMaxTimeMillis) {
/frameworks/base/tools/layoutlib/bridge/src/android/text/format/
Time_Delegate.java
44
long millis =
toMillis
(thisTime, ignoreDst);
108
/*package*/ static long
toMillis
(Time thisTime, boolean ignoreDst) {
/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 */);
Completed in 1742 milliseconds
1
2
3
4
5