/aosp14/frameworks/base/core/tests/coretests/src/android/text/format/ |
H A D | TimeTest.java | 41 Time t = new Time(Time.TIMEZONE_UTC); in testNormalize0() 281 Time t = new Time(Time.TIMEZONE_UTC); in testSwitchTimezone0() 289 Time t = new Time(Time.TIMEZONE_UTC); in testCtor0() 295 Time t = new Time(Time.TIMEZONE_UTC); in testGetActualMaximum0() 302 Time t = new Time(Time.TIMEZONE_UTC); in testClear0() 308 Time a = new Time(Time.TIMEZONE_UTC); in testCompare0() 316 Time t = new Time(Time.TIMEZONE_UTC); in testFormat0() 323 Time t = new Time(Time.TIMEZONE_UTC); in testToString0() 336 Time t = new Time(Time.TIMEZONE_UTC); in testSetToNow0() 343 Time t = new Time(Time.TIMEZONE_UTC); in testMillis0() [all …]
|
H A D | TimeMigrationUtilsTest.java | 108 Time time = new Time(); in formatMillisAsDateTime_matchesOldBehavior()
|
/aosp14/frameworks/base/core/java/android/hardware/display/ |
H A 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];
|
H A D | IColorDisplayManager.aidl | 19 import android.hardware.display.Time; 41 Time getNightDisplayCustomStartTime(); in getNightDisplayCustomStartTime() 42 boolean setNightDisplayCustomStartTime(in Time time); in setNightDisplayCustomStartTime() 43 Time getNightDisplayCustomEndTime(); in getNightDisplayCustomEndTime() 44 boolean setNightDisplayCustomEndTime(in Time time); in setNightDisplayCustomEndTime()
|
H A D | ColorDisplayManager.java | 306 return mManager.setNightDisplayCustomStartTime(new Time(startTime)); in setNightDisplayCustomStartTime() 338 return mManager.setNightDisplayCustomEndTime(new Time(endTime)); in setNightDisplayCustomEndTime() 680 Time getNightDisplayCustomStartTime() { in getNightDisplayCustomStartTime() 688 boolean setNightDisplayCustomStartTime(Time startTime) { in setNightDisplayCustomStartTime() 696 Time getNightDisplayCustomEndTime() { in getNightDisplayCustomEndTime() 704 boolean setNightDisplayCustomEndTime(Time endTime) { in setNightDisplayCustomEndTime()
|
H A D | Time.aidl | 19 parcelable Time;
|
/aosp14/frameworks/base/core/java/com/android/internal/jank/ |
H A 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…
|
/aosp14/frameworks/base/core/java/android/text/format/ |
H A 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 …]
|
H A D | DateUtils.java | 838 sNowTime = new Time(); in getRelativeTimeSpanString() 842 sThenTime = new Time(); in getRelativeTimeSpanString() 886 private static Time sNowTime; 887 private static Time sThenTime;
|
/aosp14/frameworks/base/core/java/android/hardware/hdmi/ |
H A 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()
|
/aosp14/frameworks/base/core/proto/android/server/ |
H A 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.
|
/aosp14/frameworks/base/core/tests/benchmarks/src/android/text/format/ |
H A D | AndroidTimeVsOthersBenchmark.java | 38 Time time = new Time(timezoneId); in toMillis_androidTime()
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/gnss/hal/ |
H A D | FakeGnssHal.java | 151 public final long Time; field in FakeGnssHal.GnssHalInjectedTime 156 Time = time; in GnssHalInjectedTime() 171 return Time == that.Time in equals() 178 return Objects.hash(Time); in hashCode()
|
/aosp14/frameworks/base/core/proto/android/os/ |
H A D | batterystats.proto | 41 // Time (milliseconds) spent in the idle state. 43 // Time (milliseconds) spent in the receive state. 57 // Time spent in this specific transmit level state. 522 // Time spent started. 714 // Time spent executing in user code. 716 // Time spent executing in kernel code. 718 // Time the process was running in the foreground. 741 // Time this uid has any processes in the top state. 743 // Time this uid has any process with a started foreground service, but 749 // Time this uid has any process in an active background state, but none [all …]
|
H A D | backtrace.proto | 32 // Time it took to dump the stacktrace.
|
H A D | appbatterystats.proto | 37 // Time spent in this state in the past 24 hours
|
/aosp14/frameworks/base/services/core/java/com/android/server/display/color/ |
H A D | ColorDisplayService.java | 55 import android.hardware.display.Time; 922 private Time getNightDisplayCustomStartTimeInternal() { in getNightDisplayCustomStartTimeInternal() 929 return new Time(LocalTime.ofSecondOfDay(startTimeValue / 1000)); in getNightDisplayCustomStartTimeInternal() 932 private boolean setNightDisplayCustomStartTimeInternal(Time startTime) { in setNightDisplayCustomStartTimeInternal() 939 private Time getNightDisplayCustomEndTimeInternal() { in getNightDisplayCustomEndTimeInternal() 946 return new Time(LocalTime.ofSecondOfDay(endTimeValue / 1000)); in getNightDisplayCustomEndTimeInternal() 949 private boolean setNightDisplayCustomEndTimeInternal(Time endTime) { in setNightDisplayCustomEndTimeInternal() 1877 public boolean setNightDisplayCustomStartTime(Time startTime) { in setNightDisplayCustomStartTime() 1890 public Time getNightDisplayCustomStartTime() { in getNightDisplayCustomStartTime() 1900 public boolean setNightDisplayCustomEndTime(Time endTime) { in setNightDisplayCustomEndTime() [all …]
|
/aosp14/frameworks/base/core/proto/android/service/ |
H A D | dropbox.proto | 29 // Time when entry was originally created.
|
/aosp14/frameworks/base/services/core/jni/gnss/ |
H A D | Utils.cpp | 193 SET(Time, location.timestampMillis); in translateGnssLocation() 239 SET(Time, location.timestamp); in translateGnssLocation()
|
/aosp14/frameworks/base/services/core/java/com/android/server/ |
H A D | EventLogTags.logtags | 128 2825 backup_success (Packages|1|1),(Time|1|3) 137 2834 restore_success (Packages|1|1),(Time|1|3) 187 32000 imf_force_reconnect_ime (IME|4),(Time Since Connect|2|3),(Showing|1|1)
|
/aosp14/frameworks/base/services/core/java/com/android/server/am/ |
H A D | EventLogTags.logtags | 49 30035 am_schedule_service_restart (User|1|5),(Component Name|3),(Time|2|3) 89 …taRssTotal|2|2),(DeltaRssFile|2|2),(DeltaRssAnon|2|2),(DeltaRssSwap|2|2),(Time|2|3),(LastAction|1|…
|
/aosp14/frameworks/base/core/proto/android/server/alarm/ |
H A D | alarmmanagerservice.proto | 59 // Time since the last wakeup was set. 115 // Time when the next while-idle is allowed, in the 'elapsed' timebase. 260 // Time when this entry was created, in terms of elapsed realtime.
|
/aosp14/frameworks/base/proto/src/ |
H A D | gnss.proto | 83 // Time spent in signal quality level (ms)
|
/aosp14/system/core/fs_mgr/libsnapshot/android/snapshot/ |
H A D | snapshot.proto | 232 // Time from boot to sys.boot_completed, in milliseconds. 235 // Time from sys.boot_completed to merge start, in milliseconds.
|
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/color/ |
H A D | ColorDisplayServiceTest.java | 38 import android.hardware.display.Time; 1161 new Time(getLocalTimeRelativeToNow(startTimeOffset))); in setAutoModeCustom() 1163 .setNightDisplayCustomEndTime(new Time(getLocalTimeRelativeToNow(endTimeOffset))); in setAutoModeCustom()
|