/frameworks/base/core/java/android/util/ |
TimedRemoteCaller.java | 117 final long startMillis = SystemClock.uptimeMillis(); 123 final long elapsedMillis = SystemClock.uptimeMillis() - startMillis;
|
/frameworks/base/core/java/com/android/internal/os/ |
SamplingProfilerIntegration.java | 87 private static long startMillis; 104 Log.e(TAG, "SamplingProfilerIntegration already started at " + new Date(startMillis)); 112 startMillis = System.currentTimeMillis(); 156 startMillis = 0; 175 String path = SNAPSHOT_DIR + "/" + name + "-" + startMillis + ".snapshot";
|
/frameworks/base/core/java/com/android/internal/util/ |
FileRotator.java | 292 if (info.startMillis <= matchEndMillis && matchStartMillis <= info.endMillis) { 313 if (info.isActive() && info.startMillis < currentTimeMillis 314 && info.startMillis < oldestActiveStart) { 316 oldestActiveStart = info.startMillis; 324 info.startMillis = currentTimeMillis; 343 if (info.startMillis <= rotateBefore) { 400 public long startMillis; 413 startMillis = endMillis = -1; 425 startMillis = Long.parseLong(name.substring(dotIndex + 1, dashIndex)); 444 name.append(prefix).append('.').append(startMillis).append('-') [all...] |
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertReceiver.java | 202 long startMillis, long endMillis, int notificationId) { 203 return createDismissAlarmsIntent(context, eventId, startMillis, endMillis, notificationId, 208 long startMillis, long endMillis, int notificationId) { 209 return createDismissAlarmsIntent(context, eventId, startMillis, endMillis, notificationId, 214 long startMillis, long endMillis, int notificationId, String action) { 219 intent.putExtra(AlertUtils.EVENT_START_KEY, startMillis); 230 ContentUris.appendId(builder, startMillis); 236 long startMillis, long endMillis, int notificationId) { 240 intent.putExtra(AlertUtils.EVENT_START_KEY, startMillis); 246 ContentUris.appendId(builder, startMillis); [all...] |
AlertUtils.java | 154 static String formatTimeLocation(Context context, long startMillis, boolean allDay, 160 time.set(startMillis); 177 StringBuilder sb = new StringBuilder(Utils.formatDateRange(context, startMillis, 178 startMillis, flags)); 182 time.set(startMillis); 321 private static int getIntervalInDays(long startMillis, long endMillis, Time timeObj) { 322 timeObj.set(startMillis); 323 int startDay = Time.getJulianDay(startMillis, timeObj.gmtoff);
|
AlertAdapter.java | 75 long startMillis = cursor.getLong(AlertActivity.INDEX_BEGIN); 79 updateView(context, view, eventName, location, startMillis, endMillis, allDay); 83 long startMillis, long endMillis, boolean allDay) { 128 time.set(startMillis); 131 Utils.formatDateRange(context, startMillis, endMillis, flags));
|
AlertService.java | 132 long startMillis, long endMillis, boolean doPopup) { 135 mBegin = startMillis; 342 String summaryText = AlertUtils.formatTimeLocation(context, info.startMillis, 361 String summaryText = AlertUtils.formatTimeLocation(context, info.startMillis, 378 String summaryText = AlertUtils.formatTimeLocation(context, info.startMillis, 381 summaryText, info.startMillis, info.endMillis, info.eventId, 514 long startAdjustedForAllDay = info.startMillis; 518 startAdjustedForAllDay = Utils.convertAlldayUtcToLocal(t, info.startMillis, 520 endAdjustedForAllDay = Utils.convertAlldayUtcToLocal(t, info.startMillis, [all...] |
AlertActivity.java | 185 long startMillis = cursor.getLong(AlertActivity.INDEX_BEGIN); 188 dismissAlarm(alarmId, eventId, startMillis); 194 startMillis, endMillis);
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
ThreadingTest.java | 76 final long startMillis = mSystemFacade.currentTimeMillis(); 80 d.first.waitForStatus(DownloadManager.STATUS_SUCCESSFUL, startMillis);
|
AbstractPublicApiTest.java | 108 final long startMillis = mSystemFacade.currentTimeMillis(); 110 waitForStatus(status, startMillis); 114 final long startMillis = mSystemFacade.currentTimeMillis(); 116 waitForStatus(status, startMillis, timeout);
|
/packages/apps/Calendar/src/com/android/calendar/ |
GoogleCalendarUriIntentFilter.java | 172 long startMillis = eventCursor.getLong(EVENT_INDEX_START); 175 if (debug) Log.d(TAG, "startMillis: " + startMillis); 188 endMillis = startMillis + d.getMillis(); 189 if (debug) Log.d(TAG, "startMillis! " + startMillis); 191 if (endMillis < startMillis) { 225 intent.putExtra(CalendarContract.EXTRA_EVENT_BEGIN_TIME, startMillis);
|
CalendarController.java | 318 public void sendEventRelatedEvent(Object sender, long eventType, long eventId, long startMillis, 324 sendEventRelatedEventWithExtra(sender, eventType, eventId, startMillis, endMillis, x, y, 335 * @param startMillis start time 344 long startMillis, long endMillis, int x, int y, long extraLong, long selectedMillis) { 346 startMillis, endMillis, x, y, extraLong, selectedMillis, null, -1); 355 * @param startMillis start time 366 long eventId, long startMillis, long endMillis, int x, int y, long extraLong, 376 info.startTime.set(startMillis); 473 long startMillis = 0; 475 startMillis = event.startTime.toMillis(false) [all...] |
Event.java | 133 public long startMillis; // UTC milliseconds since the epoch 169 e.startMillis = startMillis; 190 dest.startMillis = startMillis; 211 e.startMillis = 0; 397 e.startMillis = eStart; 622 public void setStartMillis(long startMillis) { 623 this.startMillis = startMillis; [all...] |
Utils.java | 299 * @param startMillis the start time in UTC milliseconds 306 Context context, long startMillis, long endMillis, int flags) { 307 return mTZUtils.formatDateRange(context, startMillis, endMillis, flags); [all...] |
CalendarUtils.java | 164 * @param startMillis the start time in UTC milliseconds 170 public String formatDateRange(Context context, long startMillis, 181 date = DateUtils.formatDateRange(context, mF, startMillis, endMillis, flags,
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
AlarmSchedulerTest.java | 176 long startMillis = currentMillis + DateUtils.HOUR_IN_MILLIS; 178 mMockProvider.addEventInfo(1, false, startMillis, reminderMin); 179 expectAlarmAt(startMillis - reminderMin * DateUtils.MINUTE_IN_MILLIS); 222 long startMillis = currentMillis + DateUtils.HOUR_IN_MILLIS; 224 mMockProvider.addEventInfo(1, false, startMillis, reminderMin); 236 long startMillis = currentMillis + DateUtils.DAY_IN_MILLIS * 3; 238 mMockProvider.addEventInfo(1, false, startMillis, reminderMin);
|
AlertServiceTest.java | [all...] |
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
ErrorCalculator.java | 73 private static long startMillis, middleMillis; 77 startMillis = System.currentTimeMillis(); 111 Log.d(LOG_TAG, "rs: first part took " + (middleMillis - startMillis) + "ms"); 137 startMillis = System.currentTimeMillis(); 171 Log.d(LOG_TAG, "dvk: first part took " + (middleMillis - startMillis) + "ms");
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
HprofData.java | 242 private long startMillis; 285 return startMillis; 291 public void setStartMillis(long startMillis) { 292 this.startMillis = startMillis;
|
/frameworks/base/services/java/com/android/server/net/ |
NetworkStatsRecorder.java | 347 final long startMillis = collection.getStartMillis(); 353 mRotator.rewriteActive(new CombiningRewriter(collection), startMillis); 365 final long startMillis = collection.getStartMillis(); 371 mRotator.rewriteActive(new CombiningRewriter(collection), startMillis);
|
/libcore/luni/src/test/java/tests/api/org/apache/harmony/kernel/dalvik/ |
ThreadsTest.java | 156 private long startMillis; 196 startMillis = startNanos / 1000000; 222 return endMillis - startMillis;
|
/packages/apps/Settings/src/com/android/settings/location/ |
SettingsInjector.java | 390 public long startMillis; 407 * {@link #preference} and {@link #startMillis} so that it's safe to use in sets. 447 startMillis = SystemClock.elapsedRealtime(); 449 startMillis = 0; 459 return end - startMillis; 463 if (Log.isLoggable(TAG, Log.DEBUG) && startMillis != 0) {
|
/cts/tests/tests/provider/src/android/provider/cts/ |
CalendarTest.java | [all...] |
/frameworks/base/core/java/android/text/format/ |
DateUtils.java | 619 * @param startMillis the start time in UTC milliseconds 625 public static String formatDateRange(Context context, long startMillis, 628 return formatDateRange(context, f, startMillis, endMillis, flags).toString(); 643 * @param startMillis the start time in UTC milliseconds 649 public static Formatter formatDateRange(Context context, Formatter formatter, long startMillis, 651 return formatDateRange(context, formatter, startMillis, endMillis, flags, null); [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/ |
FormatDateRangeTest.java | 185 long startMillis = dateTest.date1.toMillis(false /* use isDst */); 188 String output = DateUtils.formatDateRange(mContext, startMillis, endMillis, flags);
|