HomeSort by relevance Sort by last modified time
    Searched refs:timeMillis (Results 1 - 25 of 75) sorted by null

1 2 3

  /frameworks/ex/common/tests/src/com/android/common/
OperationSchedulerTest.java 27 * Set {@link #timeMillis} to whatever value you like.
31 public long timeMillis = DEFAULT_TIME;
34 protected long currentTimeMillis() { return timeMillis; }
52 long beforeTrigger = scheduler.timeMillis;
69 long beforeError = (scheduler.timeMillis += 100);
79 beforeError = (scheduler.timeMillis += 100);
100 long beforeSuccess = (scheduler.timeMillis += 100);
133 long beforeError = (scheduler.timeMillis += 10);
140 beforeError = (scheduler.timeMillis += 10);
146 beforeError = (scheduler.timeMillis += 10)
    [all...]
  /cts/hostsidetests/usage/src/android/app/usage/cts/
AppIdleHostTest.java 107 private static void sleepUninterrupted(long timeMillis) {
111 Thread.sleep(timeMillis);
  /frameworks/base/core/java/android/app/
IActivityController.aidl 48 long timeMillis, String stackTrace);
  /frameworks/opt/timezonepicker/src/com/android/timezonepicker/
TimeZonePickerDialog.java 60 long timeMillis = 0;
64 timeMillis = b.getLong(BUNDLE_START_TIME_MILLIS);
72 mView = new TimeZonePickerView(getActivity(), null, timeZone, timeMillis, this,
TimeZonePickerUtils.java 82 private CharSequence buildGmtDisplayName(TimeZone tz, long timeMillis, boolean grayGmt) {
84 time.set(timeMillis);
92 final int gmtOffset = tz.getOffset(timeMillis);
TimeZoneData.java 66 public TimeZoneData(Context context, String defaultTimeZoneId, long timeMillis) {
72 if (timeMillis == 0) {
75 mTimeMillis = timeMillis;
90 public void setTime(long timeMillis) {
91 mTimeMillis = timeMillis;
TimeZonePickerView.java 56 String timeZone, long timeMillis, OnTimeZoneSetListener l,
66 TimeZoneData tzd = new TimeZoneData(mContext, timeZone, timeMillis);
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
MigrateEstimateTask.java 110 long timeMillis = (mSizeBytes * DateUtils.SECOND_IN_MILLIS) / SPEED_ESTIMATE_BPS;
111 timeMillis = Math.max(timeMillis, DateUtils.SECOND_IN_MILLIS);
114 final String time = DateUtils.formatDuration(timeMillis).toString();
  /external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/utils/
Timer.java 101 long update (long timeMillis, long waitMillis) {
105 if (task.executeTimeMillis > timeMillis) {
106 waitMillis = Math.min(waitMillis, task.executeTimeMillis - timeMillis);
121 task.executeTimeMillis = timeMillis + task.intervalMillis;
213 long timeMillis = TimeUtils.nanoTime() / 1000000;
217 waitMillis = instances.get(i).update(timeMillis, waitMillis);
  /external/libgdx/gdx/src/com/badlogic/gdx/utils/
Timer.java 114 long update (long timeMillis, long waitMillis) {
119 if (task.executeTimeMillis > timeMillis) {
120 waitMillis = Math.min(waitMillis, task.executeTimeMillis - timeMillis);
132 task.executeTimeMillis = timeMillis + task.intervalMillis;
244 long timeMillis = System.nanoTime() / 1000000;
248 waitMillis = instances.get(i).update(timeMillis, waitMillis);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
RestrictedProfilePinDialogFragment.java 62 public static void setDisablePinUntil(Context context, long timeMillis) {
64 PREF_DISABLE_PIN_UNTIL, timeMillis).apply();
  /packages/services/Telephony/src/com/android/phone/vvm/omtp/scheduling/
BaseTask.java 112 public void setExecutionTime(long timeMillis) {
114 mExecutionTime = timeMillis;
  /cts/tests/tests/text/src/android/text/format/cts/
TimeTest.java     [all...]
  /frameworks/base/services/core/java/com/android/server/twilight/
TwilightService.java 271 * @param timeMillis the reference time to use
274 private static TwilightState calculateTwilightState(Location location, long timeMillis) {
283 noon.setTimeInMillis(timeMillis);
293 if (sunsetTimeMillis < timeMillis) {
297 } else if (sunriseTimeMillis > timeMillis) {
  /packages/apps/Contacts/src/com/android/contacts/interactions/
CalendarInteractionsLoader.java 88 long timeMillis = System.currentTimeMillis();
96 long pastTimeCutoff = timeMillis - mNumberPastMillisecondToSearchLocalCalendar;
97 long futureTimeCutoff = timeMillis
99 String[] timeArguments = {String.valueOf(timeMillis), String.valueOf(pastTimeCutoff),
  /frameworks/base/core/tests/coretests/src/com/android/internal/os/
KernelWakelockReaderTest.java 42 public ProcFileBuilder addLine(String name, int count, long timeMillis) {
45 .append(timeMillis).append("\t0\t0\t0\n");
  /packages/apps/Calendar/src/com/android/calendar/
AllInOneActivity.java 329 long timeMillis = -1;
333 timeMillis = icicle.getLong(BUNDLE_KEY_RESTORE_TIME);
339 timeMillis = parseViewAction(intent);
342 if (timeMillis == -1) {
343 timeMillis = Utils.timeFromIntentInMillis(intent);
352 t.set(timeMillis);
428 initFragments(timeMillis, viewType, icicle);
438 long timeMillis = -1;
451 timeMillis = mIntentEventStartMillis;
458 return timeMillis;
    [all...]
DayFragment.java 77 public DayFragment(long timeMillis, int numOfDays) {
79 if (timeMillis == 0) {
82 mSelectedDay.set(timeMillis);
SearchActivity.java 173 private void initFragments(long timeMillis, String query) {
177 AgendaFragment searchResultsFragment = new AgendaFragment(timeMillis, true);
183 t.set(timeMillis);
  /frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
UiAutomationShellWrapper.java 101 long timeMillis, String stackTrace) throws RemoteException {
  /packages/apps/TV/src/com/android/tv/util/
TvSettings.java 257 public static void setDisablePinUntil(Context context, long timeMillis) {
259 PREF_DISABLE_PIN_UNTIL, timeMillis).apply();
Utils.java 514 public static String toTimeString(long timeMillis) {
515 return new Date(timeMillis).toString();
521 public static String toIsoDateTimeString(long timeMillis) {
522 return ISO_8601.format(new Date(timeMillis));
  /packages/apps/Settings/src/com/android/settings/widget/
ChartDataUsageView.java 456 long timeMillis = time.toMillis(true);
457 while (timeMillis > mMin) {
458 if (timeMillis <= mMax) {
459 ticks[i++] = convertToPoint(timeMillis);
463 timeMillis = time.toMillis(true);
  /frameworks/base/services/core/java/com/android/server/am/
AppErrors.java 317 long timeMillis = System.currentTimeMillis();
335 timeMillis)) {
415 appErrorIntent = createAppErrorIntentLocked(r, timeMillis, crashInfo);
437 String stackTrace, long timeMillis) {
447 shortMsg, longMsg, timeMillis, crashInfo.stackTrace)) {
531 long timeMillis, ApplicationErrorReport.CrashInfo crashInfo) {
532 ApplicationErrorReport report = createAppErrorReportLocked(r, timeMillis, crashInfo);
544 long timeMillis, ApplicationErrorReport.CrashInfo crashInfo) {
557 report.time = timeMillis;
    [all...]
  /platform_testing/utils/crashcollector/src/android/test/crashcollector/
Collector.java 189 long timeMillis, String stackTrace) throws RemoteException {

Completed in 968 milliseconds

1 2 3