OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:toMillis
(Results
26 - 50
of
246
) sorted by null
1
2
3
4
5
6
7
8
9
10
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
RecommenderTest.java
40
System.currentTimeMillis() - TimeUnit.DAYS.
toMillis
(2);
42
System.currentTimeMillis() - TimeUnit.DAYS.
toMillis
(1);
43
private static final long DEFAULT_MAX_WATCH_DURATION_MS = TimeUnit.HOURS.
toMillis
(1);
233
System.currentTimeMillis() - TimeUnit.MINUTES.
toMillis
(10));
239
TimeUnit.MINUTES.
toMillis
(10)));
240
latestWatchEndTimeMs += TimeUnit.MINUTES.
toMillis
(10);
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
WifiTest.java
47
private static final long UPDATE_TIMEOUT_MS = TimeUnit.MINUTES.
toMillis
(5);
48
private static final long UPDATE_INTERVAL_MS = TimeUnit.SECONDS.
toMillis
(1);
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/
ScheduledProgramReaperTest.java
33
public static final long DURATION = TimeUnit.HOURS.
toMillis
(1);
103
long startTime = mFakeClock.currentTimeMillis() + TimeUnit.DAYS.
toMillis
(1);
SchedulerTest.java
76
long startTime = now + TimeUnit.HOURS.
toMillis
(12);
79
startTime + TimeUnit.HOURS.
toMillis
(1));
BaseDvrDataManagerTest.java
68
mFakeClock.currentTimeMillis() + TimeUnit.MINUTES.
toMillis
(5)))
/packages/providers/TvProvider/src/com/android/providers/tv/
EpgDataCleanupService.java
59
clearOldPrograms(nowMillis - TimeUnit.DAYS.
toMillis
(maxProgramAgeInDays));
65
clearOldWatchHistory(nowMillis - TimeUnit.DAYS.
toMillis
(maxWatchedProgramAgeInDays));
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
AuptTestRunner.java
72
private long mTestCaseTimeout = TimeUnit.MINUTES.
toMillis
(10);
145
TimeUnit.MINUTES.
toMillis
(parseLongParam("bugreportInterval", 0)),
146
TimeUnit.MINUTES.
toMillis
(parseLongParam("meminfoInterval", 0)),
147
TimeUnit.MINUTES.
toMillis
(parseLongParam("cpuinfoInterval", 0)),
148
TimeUnit.MINUTES.
toMillis
(parseLongParam("fragmentationInterval", 0)),
149
TimeUnit.MINUTES.
toMillis
(parseLongParam("ionInterval", 0)),
150
TimeUnit.MINUTES.
toMillis
(parseLongParam("pagetypeinfoInterval", 0)),
151
TimeUnit.MINUTES.
toMillis
(parseLongParam("traceInterval", 0)),
/packages/apps/TV/src/com/android/tv/guide/
ProgramRow.java
38
private static final long ONE_HOUR_MILLIS = TimeUnit.HOURS.
toMillis
(1);
153
long
toMillis
= mProgramManager.getToUtcMillis();
163
if (focusedEntry.entryEndUtcMillis >
toMillis
+ ONE_HOUR_MILLIS) {
173
if (focusedEntry.entryEndUtcMillis !=
toMillis
) {
TimeListAdapter.java
37
private static final long TIME_UNIT_MS = TimeUnit.MINUTES.
toMillis
(30);
/libcore/jsr166-tests/src/test/java/jsr166/
TimeUnitTest.java
152
*
toMillis
correctly converts sample values in different units to
158
DAYS.
toMillis
(t));
160
HOURS.
toMillis
(t));
162
MINUTES.
toMillis
(t));
164
SECONDS.
toMillis
(t));
166
MILLISECONDS.
toMillis
(t));
168
MICROSECONDS.
toMillis
(t*1000L));
170
NANOSECONDS.
toMillis
(t*1000000L));
/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/okhttp/okio/okio/src/test/java/okio/
SocketTimeoutTest.java
83
assertTrue("elapsed: " + elapsed, TimeUnit.NANOSECONDS.
toMillis
(elapsed) >= 500);
84
assertTrue("elapsed: " + elapsed, TimeUnit.NANOSECONDS.
toMillis
(elapsed) <= 750);
/frameworks/base/core/java/android/text/format/
Time.java
223
* See {@link #
toMillis
(boolean)} for more information about when to
231
long timeInMillis = calculator.
toMillis
(ignoreDst);
719
* Here is an example where <tt>
toMillis
(true)</tt> adjusts the time,
727
* millis = time.
toMillis
(false); // millis is Nov 4, 2007, 11pm
728
* millis = time.
toMillis
(true); // millis is Nov 5, 2007, 12am
732
* To avoid this problem, use <tt>
toMillis
(true)</tt>
736
* <tt>
toMillis
(false)</tt>.
739
* You should also use <tt>
toMillis
(false)</tt> if you want
751
public long
toMillis
(boolean ignoreDst) {
753
return calculator.
toMillis
(ignoreDst)
[
all
...]
/libcore/luni/src/main/java/libcore/icu/
TimeZoneNames.java
79
long nativeDuration = TimeUnit.NANOSECONDS.
toMillis
(nativeEnd - nativeStart);
80
long duration = TimeUnit.NANOSECONDS.
toMillis
(end - start);
/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 */);
/packages/apps/TV/src/com/android/tv/dvr/
Scheduler.java
46
private final static long SOON_DURATION_IN_MS = TimeUnit.MINUTES.
toMillis
(5);
47
@VisibleForTesting final static long MS_TO_WAKE_BEFORE_START = TimeUnit.MINUTES.
toMillis
(1);
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/
SensorCalibratedUncalibratedVerifier.java
60
Thread.sleep(TimeUnit.SECONDS.
toMillis
(10));
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
OkHttp.java
73
total, TimeUnit.NANOSECONDS.
toMillis
(finish - start)));
UrlConnection.java
74
total, TimeUnit.NANOSECONDS.
toMillis
(finish - start)));
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DataUsageController.java
143
start = policyTime.
toMillis
(false);
144
end = addMonth(policyTime, 1).
toMillis
(false);
146
start = addMonth(policyTime, -1).
toMillis
(false);
147
end = policyTime.
toMillis
(false);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
ImageFilterKMeans.java
34
mSeed = (int) t.
toMillis
(false);
/packages/apps/TV/src/com/android/tv/analytics/
SendChannelStatusRunnable.java
40
private static final long SEND_CHANNEL_STATUS_INTERVAL_MS = TimeUnit.DAYS.
toMillis
(1);
Completed in 2003 milliseconds
1
2
3
4
5
6
7
8
9
10