/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | TimeTest.java | 41 Time t = new Time(Time.TIMEZONE_UTC); in testNormalize0() 190 Time local = new Time("America/Los_Angeles"); in testNormalize1() 281 Time t = new Time(Time.TIMEZONE_UTC); in testSwitchTimezone0() 289 Time t = new Time(Time.TIMEZONE_UTC); in testCtor0() 290 assertEquals(Time.TIMEZONE_UTC, t.timezone); in testCtor0() 295 Time t = new Time(Time.TIMEZONE_UTC); in testGetActualMaximum0() 296 t.getActualMaximum(Time.SECOND); in testGetActualMaximum0() 302 Time t = new Time(Time.TIMEZONE_UTC); in testClear0() 303 t.clear(Time.TIMEZONE_UTC); in testClear0() 308 Time a = new Time(Time.TIMEZONE_UTC); in testCompare0() [all …]
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
D | RecurrenceProcessor.java | 20 import android.text.format.Time; 28 private Time mIterator = new Time(Time.TIMEZONE_UTC); 29 private Time mUntil = new Time(Time.TIMEZONE_UTC); 31 private Time mGenerated = new Time(Time.TIMEZONE_UTC); 60 public long getLastOccurence(Time dtstart, in getLastOccurence() 82 public long getLastOccurence(Time dtstart, Time maxtime, in getLastOccurence() 195 private static int filter(EventRecurrence r, Time iterator) in filter() 216 iterator.getActualMaximum(Time.WEEK_NUM)); in filter() 226 iterator.yearDay, iterator.getActualMaximum(Time.YEAR_DAY)); in filter() 235 iterator.getActualMaximum(Time.MONTH_DAY)); in filter() [all …]
|
D | EventRecurrence.java | 20 import android.text.format.Time; 49 public Time startDate; // set by setStartDate(), not parse() 159 public void setStartDate(Time date) { in setStartDate() 195 case Time.SUNDAY: in timeDay2Day() 197 case Time.MONDAY: in timeDay2Day() 199 case Time.TUESDAY: in timeDay2Day() 201 case Time.WEDNESDAY: in timeDay2Day() 203 case Time.THURSDAY: in timeDay2Day() 205 case Time.FRIDAY: in timeDay2Day() 207 case Time.SATURDAY: in timeDay2Day() [all …]
|
D | RecurrenceSet.java | 23 import android.text.format.Time; 151 String tz = Time.TIMEZONE_UTC; in parseRecurrenceDates() 157 Time time = new Time(tz); in parseRecurrenceDates() 198 Time start = new Time(tzidParam == null ? Time.TIMEZONE_UTC : tzid); in populateContentValues() 205 tzid = Time.TIMEZONE_UTC; in populateContentValues() 227 start.timezone = Time.TIMEZONE_UTC; in populateContentValues() 288 Time dtstartTime = null; in populateComponent() 293 dtstartTime = new Time(tzid); in populateComponent() 296 dtstartTime = new Time(Time.TIMEZONE_UTC); in populateComponent() 347 Time dtstartTime = null; in populateComponent() [all …]
|
/frameworks/base/core/java/android/hardware/display/ |
D | Time.java | 27 public final class Time implements Parcelable { class 34 public Time(LocalTime localTime) { in Time() method in Time 41 public Time(Parcel parcel) { in Time() method in Time 65 …c final @android.annotation.NonNull Parcelable.Creator<Time> CREATOR = new Parcelable.Creator<Time… 68 public Time createFromParcel(Parcel source) { 69 return new Time(source); 73 public Time[] newArray(int size) { 74 return new Time[size];
|
D | IColorDisplayManager.aidl | 19 import android.hardware.display.Time; 38 Time getNightDisplayCustomStartTime(); in getNightDisplayCustomStartTime() 39 boolean setNightDisplayCustomStartTime(in Time time); in setNightDisplayCustomStartTime() 40 Time getNightDisplayCustomEndTime(); in getNightDisplayCustomEndTime() 41 boolean setNightDisplayCustomEndTime(in Time time); in setNightDisplayCustomEndTime()
|
D | ColorDisplayManager.java | 306 return mManager.setNightDisplayCustomStartTime(new Time(startTime)); in setNightDisplayCustomStartTime() 338 return mManager.setNightDisplayCustomEndTime(new Time(endTime)); in setNightDisplayCustomEndTime() 589 Time getNightDisplayCustomStartTime() { in getNightDisplayCustomStartTime() 597 boolean setNightDisplayCustomStartTime(Time startTime) { in setNightDisplayCustomStartTime() 605 Time getNightDisplayCustomEndTime() { in getNightDisplayCustomEndTime() 613 boolean setNightDisplayCustomEndTime(Time endTime) { in setNightDisplayCustomEndTime()
|
D | Time.aidl | 19 parcelable Time;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | GSMPhoneTest.java.broken | 100 assertNotNull("Message Time Out", msg); 166 assertNotNull("Message Time Out", msg); 201 assertNotNull("Message Time Out", mGSMTestHandler.waitForMessage(ANY_MESSAGE)); 229 assertNotNull("Message Time Out", mGSMTestHandler.waitForMessage(ANY_MESSAGE)); 255 assertNotNull("Message Time Out", msg); 306 assertNotNull("Message Time Out", msg); 340 assertNotNull("Message Time Out", mGSMTestHandler.waitForMessage(ANY_MESSAGE)); 376 assertNotNull("Message Time Out", msg); 435 assertNotNull("Message Time Out", mGSMTestHandler.waitForMessage(ANY_MESSAGE)); 462 assertNotNull("Message Time Out", mGSMTestHandler.waitForMessage(ANY_MESSAGE)); [all …]
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
D | RecurrenceProcessorTest.java | 25 import android.text.format.Time; 37 private static String[] getFormattedDates(long[] dates, Time time) { in getFormattedDates() 89 Time dtstart = new Time(tz); in verifyRecurrence() 90 Time rangeStart = new Time(tz); in verifyRecurrence() 91 Time rangeEnd = new Time(tz); in verifyRecurrence() 92 Time outCal = new Time(tz); in verifyRecurrence() 156 Time expectedLast = new Time(tz); in verifyRecurrence() 2455 Time dtstart = new Time(tz); in performanceTextExpand() 2456 Time rangeStart = new Time(tz); in performanceTextExpand() 2457 Time rangeEnd = new Time(tz); in performanceTextExpand() [all …]
|
D | RRuleTest.java | 27 import android.text.format.Time; 45 private static String[] getFormattedDates(long[] dates, Time time, boolean truncate) { in getFormattedDates() 98 Time dtstart = new Time(tz); in runRecurrenceIteratorTest() 99 Time rangeStart = new Time(tz); in runRecurrenceIteratorTest() 100 Time rangeEnd = new Time(tz); in runRecurrenceIteratorTest() 101 Time outCal = new Time(tz); in runRecurrenceIteratorTest()
|
/frameworks/base/core/java/android/text/format/ |
D | Time.java | 56 public class Time { class 172 public Time(String timezoneId) { in Time() method in Time 183 public Time() { in Time() method in Time 193 public Time(Time other) { in Time() method in Time 336 public static int compare(Time a, Time b) { in compare() 783 public void set(Time that) { in set() 850 public boolean before(Time that) { in before() 851 return Time.compare(this, that) < 0; in before() 866 public boolean after(Time that) { in after() 867 return Time.compare(this, that) > 0; in after() [all …]
|
D | DateUtils.java | 505 Time time = new Time(); in isToday() 816 sNowTime = new Time(); in getRelativeTimeSpanString() 820 sThenTime = new Time(); in getRelativeTimeSpanString() 864 private static Time sNowTime; 865 private static Time sThenTime;
|
/frameworks/base/core/java/android/hardware/hdmi/ |
D | HdmiTimerRecordSources.java | 150 public static Time timeOf(int hour, int minute) { in timeOf() 152 return new Time(hour, minute); in timeOf() 217 public static final class Time extends TimeUnit { class in HdmiTimerRecordSources 218 private Time(int hour, int minute) { in Time() method in HdmiTimerRecordSources.Time 271 public static TimerInfo timerInfoOf(int dayOfMonth, int monthOfYear, Time startTime, in timerInfoOf() 322 private final Time mStartTime; 336 private TimerInfo(int dayOfMonth, int monthOfYear, Time startTime, in TimerInfo()
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/ |
D | Utils.java | 24 import android.text.format.Time; 37 public static final int MONDAY_BEFORE_JULIAN_EPOCH = Time.EPOCH_JULIAN_DAY - 3; 115 int diff = Time.THURSDAY - firstDayOfWeek; in getWeeksSinceEpochFromJulianDay() 119 int refDay = Time.EPOCH_JULIAN_DAY - diff; in getWeeksSinceEpochFromJulianDay()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | SmsCbEtwsInfo.java | 21 import android.text.format.Time; 169 Time time = new Time(Time.TIMEZONE_UTC); in getPrimaryNotificationTimestamp()
|
/frameworks/ex/common/java/com/android/common/ |
D | LegacyHttpDateTime.java | 19 import android.text.format.Time; 118 Time time = new Time(Time.TIMEZONE_UTC); in parse()
|
D | OperationScheduler.java | 20 import android.text.format.Time; 360 Time time = new Time(); in toString()
|
/frameworks/base/core/java/com/android/internal/http/ |
D | HttpDateTime.java | 20 import android.text.format.Time; 120 Time time = new Time(Time.TIMEZONE_UTC); in parse()
|
/frameworks/base/core/java/android/widget/ |
D | AnalogClock.java | 29 import android.text.format.Time; 48 private Time mCalendar; 102 mCalendar = new Time(); in AnalogClock() 135 mCalendar = new Time(); in onAttachedToWindow() 262 mCalendar = new Time(TimeZone.getTimeZone(tz).getID()); 271 private void updateContentDescription(Time time) { in updateContentDescription()
|
D | DateTimeView.java | 23 import static android.text.format.Time.getJulianDay; 35 import android.text.format.Time; 132 Time t = new Time(); in setTime() 179 Time t = new Time(); in update()
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
D | TimeZonePickerUtils.java | 25 import android.text.format.Time; 83 Time time = new Time(tz.getID()); in buildGmtDisplayName()
|
/frameworks/base/sax/tests/saxtests/src/android/sax/ |
D | SafeSaxTest.java | 29 import android.text.format.Time; 228 video.dateAdded = new Time(Time.TIMEZONE_UTC); in newContentHandler() 475 video.dateAdded = new Time(Time.TIMEZONE_UTC); in endElement() 535 public Time dateAdded;
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
D | MonthAdapter.java | 21 import android.text.format.Time; 52 private Time time; 89 time = new Time(); in setJulianDay()
|
D | MonthView.java | 33 import android.text.format.Time; 362 final Time today = new Time(Time.getCurrentTimezone()); in setMonthParams() 408 private boolean sameDay(int day, Time today) { in sameDay() 449 Time.getCurrentTimezone()).toString(); in getMonthAndYearString()
|