/development/samples/browseable/AlwaysOn/src/com.example.android.wearable.wear.alwayson/ |
MainActivity.java | 75 private static final long ACTIVE_INTERVAL_MS = TimeUnit.SECONDS.toMillis(1); 76 private static final long AMBIENT_INTERVAL_MS = TimeUnit.SECONDS.toMillis(20);
|
/development/samples/browseable/WearSpeakerSample/src/com.example.android.wearable.speaker/ |
MainActivity.java | 50 private static final long COUNT_DOWN_MS = TimeUnit.SECONDS.toMillis(10); 51 private static final long MILLIS_IN_SECOND = TimeUnit.SECONDS.toMillis(1);
|
/external/apache-http/src/org/apache/http/impl/conn/ |
SingleClientConnManager.java | 334 connectionExpiresTime = timeUnit.toMillis(validDuration) + lastReleaseTime; 358 System.currentTimeMillis() - tunit.toMillis(idletime);
|
/external/caliper/caliper/src/test/java/com/google/caliper/runner/ |
WorkerProcessTest.java | 119 FakeWorkers.Sleeper.class, Long.toString(MINUTES.toMillis(1))).startWorker(); 148 FakeWorkers.Sleeper.class, Long.toString(MINUTES.toMillis(1))).startWorker();
|
/frameworks/base/core/java/android/net/ |
NetworkPolicyManager.java | 277 return cycle.toMillis(true); 307 return cycle.toMillis(true);
|
/frameworks/base/services/core/java/com/android/server/policy/ |
BurnInProtectionHelper.java | 46 private static final long BURNIN_PROTECTION_WAKEUP_INTERVAL_MS = TimeUnit.MINUTES.toMillis(1); 47 private static final long BURNIN_PROTECTION_MINIMAL_INTERVAL_MS = TimeUnit.SECONDS.toMillis(10);
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
FormatDateRangeTest.java | 185 long startMillis = dateTest.date1.toMillis(false /* use isDst */); 186 long endMillis = dateTest.date2.toMillis(false /* use isDst */);
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
AgendaWindowAdapter.java | 262 long goToTimeMillis = goToTime.toMillis(false); 282 if (goToTime.toMillis(false) != other.goToTime.toMillis(false)) { 639 agendaItem.begin = time.toMillis(false /* use isDst */); 646 agendaItem.begin = time.toMillis(false /* use isDst */); 655 agendaItem.end = time.toMillis(false /* use isDst */); 698 int startDay = Time.getJulianDay(goToTime.toMillis(false), goToTime.gmtoff); 723 sendViewEvent(item, goToTime.toMillis(false)); [all...] |
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/ |
MockWebServerTest.java | 207 long elapsedMillis = NANOSECONDS.toMillis(elapsedNanos); 233 long elapsedMillis = NANOSECONDS.toMillis(elapsedNanos); 250 long elapsedMillis = NANOSECONDS.toMillis(elapsedNanos);
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
OkHttpClient.java | 242 long millis = unit.toMillis(timeout); 262 long millis = unit.toMillis(timeout); 280 long millis = unit.toMillis(timeout);
|
/packages/apps/TV/src/com/android/tv/data/epg/ |
EpgFetcher.java | 62 private static final long EPG_PREFETCH_RECURRING_PERIOD_MS = TimeUnit.HOURS.toMillis(4); 63 private static final long EPG_READER_INIT_WAIT_MS = TimeUnit.MINUTES.toMillis(1); 64 private static final long PROGRAM_QUERY_DURATION = TimeUnit.DAYS.toMillis(30);
|
/cts/tests/tests/text/src/android/text/format/cts/ |
TimeTest.java | 373 long millis = local.toMillis(true /* ignore isDst */); 379 Fields.assertTimeEquals("day test index " + index + ", toMillis():", 407 long millis = local.toMillis(false /* use isDst */); 414 Fields.assertTimeEquals("minute test index " + index + ", toMillis():", 508 assertEquals(-1, t.toMillis(false)); 714 // This date is outside of the valid set of dates that can be calculated so toMillis() 722 assertEquals(-1, a.toMillis(false)); 728 assertEquals(-1, b.toMillis(false)); [all...] |
/cts/tests/backup/src/android/backup/cts/ |
BackupQuotaTest.java | 121 long timeout = System.currentTimeMillis() + TimeUnit.SECONDS.toMillis(maxTimeoutInSeconds);
|
/external/apache-http/android/src/android/net/http/ |
LegacyHttpDateTime.java | 121 return time.toMillis(false /* use isDst */);
|
/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
AbstractConnPool.java | 253 idleConnHandler.closeIdleConnections(tunit.toMillis(idletime));
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/prefill/ |
BitmapPreFillRunner.java | 54 static final long MAX_BACKOFF_MS = TimeUnit.SECONDS.toMillis(1);
|
/external/glide/library/src/main/java/com/bumptech/glide/request/ |
RequestFutureTarget.java | 121 return doGet(timeUnit.toMillis(time));
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
MapMaker.java | 186 this.expirationMillis = unit.toMillis(duration);
|
/frameworks/base/core/java/com/android/internal/http/ |
HttpDateTime.java | 121 return time.toMillis(false /* use isDst */);
|
/frameworks/ex/common/java/com/android/common/ |
LegacyHttpDateTime.java | 121 return time.toMillis(false /* use isDst */);
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
RecurrenceSet.java | 173 dates[i] = time.toMillis(false /* use isDst */); 231 long millis = start.toMillis(false /* use isDst */); 489 long durationMillis = end.toMillis(false /* use isDst */) 490 - start.toMillis(false /* use isDst */);
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
GalleryGridItemView.java | 155 dateSeconds * TimeUnit.SECONDS.toMillis(1));
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
ProgramUtils.java | 38 private static final long PROGRAM_INSERT_DURATION_MS = TimeUnit.DAYS.toMillis(7);
|
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/ |
RecommendationUtils.java | 126 latestWatchEndTimeMs += TimeUnit.MINUTES.toMillis(mRandom.nextInt(30) + 1);
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
RRuleTest.java | 118 long[] out = rp.expand(dtstart, recur, rangeStart.toMillis(false /* use isDst */), 119 rangeEnd.toMillis(false /* use isDst */)); [all...] |