/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
D | TimeTest.java | 35 Time t = new Time(null); in testNullTimezone() 44 Time t = new Time(Time.TIMEZONE_UTC); in testTimezone() 45 assertEquals(Time.TIMEZONE_UTC, t.getTimezone()); in testTimezone() 50 Time t = new Time(Time.TIMEZONE_UTC); in testSwitchTimezone() 58 Time t = new Time(Time.TIMEZONE_UTC); in testGetActualMaximum() 60 assertEquals(59, t.getActualMaximum(Time.SECOND)); in testGetActualMaximum() 61 assertEquals(59, t.getActualMaximum(Time.MINUTE)); in testGetActualMaximum() 62 assertEquals(23, t.getActualMaximum(Time.HOUR)); in testGetActualMaximum() 63 assertEquals(31, t.getActualMaximum(Time.MONTH_DAY)); in testGetActualMaximum() 64 assertEquals(11, t.getActualMaximum(Time.MONTH)); in testGetActualMaximum() [all …]
|
D | RecurrenceProcessorTest.java | 36 private static String[] getFormattedDates(long[] dates, Time time) { in getFormattedDates() 88 Time dtstart = new Time(tz); in verifyRecurrence() 89 Time rangeStart = new Time(tz); in verifyRecurrence() 90 Time rangeEnd = new Time(tz); in verifyRecurrence() 91 Time outCal = new Time(tz); in verifyRecurrence() 154 Time expectedLast = new Time(tz); in verifyRecurrence() 2453 Time dtstart = new Time(tz); in performanceTextExpand() 2454 Time rangeStart = new Time(tz); in performanceTextExpand() 2455 Time rangeEnd = new Time(tz); in performanceTextExpand() 2499 Time date = new Time(tz); in performanceTestNormalize() [all …]
|
D | RRuleTest.java | 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/av/media/libstagefright/rtsp/include/media/stagefright/rtsp/ |
D | TrafficRecorder.h | 27 template <class Time, class Bytes> 35 Time *mTimeArray = NULL; 42 const Time mRecordLimit; 43 Time mClock; 44 Time mLastTimeOfPrint; 48 TrafficRecorder(size_t size, Time accuTimeLimit); 52 void updateClock(Time now); 54 Bytes readBytesForLastPeriod(Time period); 56 void printAccuBitsForLastPeriod(Time period, Time unit); 59 template <class Time, class Bytes> [all …]
|
/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 …]
|
D | TimeMigrationUtilsTest.java | 108 Time time = new Time(); in formatMillisAsDateTime_matchesOldBehavior()
|
/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; 45 Time getNightDisplayCustomStartTime(); in getNightDisplayCustomStartTime() 47 boolean setNightDisplayCustomStartTime(in Time time); in setNightDisplayCustomStartTime() 48 Time getNightDisplayCustomEndTime(); in getNightDisplayCustomEndTime() 50 boolean setNightDisplayCustomEndTime(in Time time); in setNightDisplayCustomEndTime()
|
D | ColorDisplayManager.java | 309 return mManager.setNightDisplayCustomStartTime(new Time(startTime)); in setNightDisplayCustomStartTime() 341 return mManager.setNightDisplayCustomEndTime(new Time(endTime)); in setNightDisplayCustomEndTime() 689 Time getNightDisplayCustomStartTime() { in getNightDisplayCustomStartTime() 697 boolean setNightDisplayCustomStartTime(Time startTime) { in setNightDisplayCustomStartTime() 705 Time getNightDisplayCustomEndTime() { in getNightDisplayCustomEndTime() 713 boolean setNightDisplayCustomEndTime(Time endTime) { in setNightDisplayCustomEndTime()
|
D | Time.aidl | 19 parcelable Time;
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
D | RecurrenceProcessor.java | 27 private Time mIterator = new Time(Time.TIMEZONE_UTC); 28 private Time mUntil = new Time(Time.TIMEZONE_UTC); 30 private Time mGenerated = new Time(Time.TIMEZONE_UTC); 59 public long getLastOccurence(Time dtstart, in getLastOccurence() 81 public long getLastOccurence(Time dtstart, Time maxtime, in getLastOccurence() 193 private static int filter(EventRecurrence r, Time iterator) in filter() 214 iterator.getActualMaximum(Time.WEEK_NUM)); in filter() 224 iterator.getYearDay(), iterator.getActualMaximum(Time.YEAR_DAY)); in filter() 233 iterator.getActualMaximum(Time.MONTH_DAY)); in filter() 257 iterator.getActualMaximum(Time.HOUR)); in filter() [all …]
|
D | RecurrenceSet.java | 149 String tz = Time.TIMEZONE_UTC; in parseRecurrenceDates() 155 Time time = new Time(tz); in parseRecurrenceDates() 196 Time start = new Time(tzidParam == null ? Time.TIMEZONE_UTC : tzid); in populateContentValues() 204 tzid = Time.TIMEZONE_UTC; in populateContentValues() 226 start.setTimezone(Time.TIMEZONE_UTC); in populateContentValues() 287 Time dtstartTime = null; in populateComponent() 292 dtstartTime = new Time(tzid); in populateComponent() 295 dtstartTime = new Time(Time.TIMEZONE_UTC); in populateComponent() 346 Time dtstartTime = null; in populateComponent() 351 dtstartTime = new Time(tzid); in populateComponent() [all …]
|
D | EventRecurrence.java | 47 public Time startDate; // set by setStartDate(), not parse() 157 public void setStartDate(Time date) { in setStartDate() 193 case Time.SUNDAY: in timeDay2Day() 195 case Time.MONDAY: in timeDay2Day() 197 case Time.TUESDAY: in timeDay2Day() 199 case Time.WEDNESDAY: in timeDay2Day() 201 case Time.THURSDAY: in timeDay2Day() 203 case Time.FRIDAY: in timeDay2Day() 205 case Time.SATURDAY: in timeDay2Day() 216 return Time.SUNDAY; in day2TimeDay() [all …]
|
D | Time.java | 27 public class Time { class 100 public Time() { in Time() method in Time 104 public Time(String timezone) { in Time() method in Time 149 public void set(Time other) { in set() 183 return android.text.format.Time.getJulianDay(begin, gmtOff); in getJulianDay() 277 public int compareTo(Time other) { in compareTo() 484 android.text.format.Time tmp = generateInstance(); in parse3339() 495 private android.text.format.Time generateInstance() { in generateInstance() 496 android.text.format.Time tmp = new android.text.format.Time(timezone); in generateInstance() 516 private void copyAndWriteInstance(android.text.format.Time time) { in copyAndWriteInstance()
|
/frameworks/base/core/java/com/android/internal/jank/ |
D | EventLogTags.logtags | 6 37001 jank_cuj_events_begin_request (CUJ Type|1|5),(Unix Time Ns|2|3),(Elapsed Time Ns|2|3),(Uptime… 8 …002 jank_cuj_events_end_request (CUJ Type|1|5),(Unix Time Ns|2|3),(Elapsed Time Ns|2|3),(Uptime Ti… 10 … jank_cuj_events_cancel_request (CUJ Type|1|5),(Unix Time Ns|2|3),(Elapsed Time Ns|2|3),(Uptime Ti…
|
/frameworks/libs/binary_translation/tests/ndk_program_tests/ |
D | time_test.cc | 22 TEST(Time, Time) { in TEST() argument 32 TEST(Time, Localtime) { in TEST() argument 39 TEST(Time, Gmtime) { in TEST() argument 48 TEST(Time, Ctime) { in TEST() argument 56 TEST(Time, ClockGetres) { in TEST() argument 62 TEST(Time, ClockGettime) { in TEST() argument 68 TEST(Time, Gettimeofday) { in TEST() argument
|
/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 …]
|
/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/proto_logging/stats/atoms/appsearch/ |
D | appsearch_extension_atoms.proto | 90 // Time used for verifying the incoming call. 93 // Time used for creating or waiting the user executor. 96 // Time used for rebuilding objects from bundles. 99 // Time passed while waiting to acquire the lock during Java function calls. 102 // Time used for the rewrite schema to proto. 108 // Time used for the apply visibility settings function call. 111 // Time used for the dispatch change notification function call. 114 // Time used for the optimization function call. 120 /** Time used for the get old schema. */ 123 /** Time used for the get registered observer function call. */ [all …]
|
/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/proto_logging/stats/atoms/wearpas/ |
D | wearpas_extension_atoms.proto | 41 * Time spent in suspend with duration >= configured break-even, 47 * Time spent in suspend with duration < configured break-even, 59 * Time spent doing suspend/resume work for all successful suspends during 65 * Time spent doing suspend/resume work for all failed suspend attempts during 82 * Time spent in backoff during this interval. i.e. Total of individual
|
/frameworks/base/core/tests/benchmarks/src/android/text/format/ |
D | AndroidTimeVsOthersBenchmark.java | 38 Time time = new Time(timezoneId); in toMillis_androidTime()
|
/frameworks/base/core/proto/android/server/ |
D | usagestatsservice.proto | 48 // Time attributes stored as an offset of the IntervalStats's beginTime. 54 // Time attributes stored as an offset of the IntervalStats's beginTime. 57 // Time attributes stored as an offset of the IntervalStats's beginTime. 60 // Time attributes stored as an offset of the IntervalStats's beginTime.
|
/frameworks/ex/common/java/com/android/common/ |
D | OperationScheduler.java | 20 import android.text.format.Time; 360 Time time = new Time(); in toString()
|
/frameworks/rs/script_api/ |
D | rs_time.spec | 18 summary: Time Functions and Types 30 January 1, 1970, Coordinated Universal Time (UTC)).
|