Home
last modified time | relevance | path

Searched defs:time (Results 1 – 25 of 971) sorted by relevance

12345678910>>...39

/aosp12/bionic/tests/
H A Dtime_test.cpp36 TEST(time, time) { in TEST() argument
61 TEST(time, gmtime) { in TEST() argument
73 TEST(time, gmtime_r) { in TEST() argument
186 TEST(time, strftime) { in TEST() argument
246 TEST(time, strftime_l) { in TEST() argument
267 TEST(time, strptime) { in TEST() argument
284 TEST(time, strptime_l) { in TEST() argument
851 TEST(time, clock) { in TEST() argument
1023 TEST(time, asctime) { in TEST() argument
1035 TEST(time, ctime) { in TEST() argument
[all …]
/aosp12/packages/apps/Messaging/src/com/android/messaging/util/
H A DDates.java65 public static CharSequence getRelativeTimeSpanString(final long time) { in getRelativeTimeSpanString()
84 public static CharSequence getConversationTimeString(final long time) { in getConversationTimeString()
88 public static CharSequence getMessageTimeString(final long time) { in getMessageTimeString()
96 public static CharSequence getFastScrollPreviewTimeString(final long time) { in getFastScrollPreviewTimeString()
100 public static CharSequence getMessageDetailsTimeString(final long time) { in getMessageDetailsTimeString()
113 private static CharSequence getTimeString(final long time, final boolean abbreviated, in getTimeString()
127 public static CharSequence getTimestamp(final long time, final long now, in getTimestamp()
161 private static CharSequence getTodayTimeStamp(final long time, final int flags) { in getTodayTimeStamp()
177 private static CharSequence getThisWeekTimestamp(final long time, in getThisWeekTimestamp()
215 private static CharSequence getOlderThanAYearTimestamp(final long time, in getOlderThanAYearTimestamp()
[all …]
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/
H A DLayerHistoryTest.cpp181 nsecs_t time = systemTime(); in TEST_F() local
206 nsecs_t time = systemTime(); in TEST_F() local
229 nsecs_t time = systemTime(); in TEST_F() local
256 nsecs_t time = systemTime(); in TEST_F() local
284 nsecs_t time = systemTime(); in TEST_F() local
312 nsecs_t time = systemTime(); in TEST_F() local
344 nsecs_t time = systemTime(); in TEST_F() local
382 nsecs_t time = systemTime(); in TEST_F() local
529 nsecs_t time = systemTime(); in TEST_F() local
593 nsecs_t time = systemTime(); in TEST_F() local
[all …]
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/
H A DInputPointersTests.java73 final int time = i * 4; in testAdd() local
81 final int time = i * 4; in testAdd() local
97 final int time = i * 4; in testAddAt() local
105 final int time = i * 4; in testAddAt() local
121 final int time = i * 4; in testSet() local
141 final int time = i * 4; in testCopy() local
170 final int time = i; in testAppend() local
186 final int time = i * 4 + dstLength; in testAppend() local
240 final int time = i; in testAppendResizableIntArray() local
327 final int time = i * 4; in testShift() local
[all …]
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DClientWakelockAccountant.java41 int token, int concurrentRequests, long time) { in startAttributingWakelock()
50 public void stopAttributingWakelock(int request, int token, long time) { in stopAttributingWakelock()
58 public void stopAllPendingRequests(long time) { in stopAllPendingRequests()
68 public void changeConcurrentRequests(int concurrentRequests, long time) { in changeConcurrentRequests()
76 private void completeRequest(RilWakelockInfo wlInfo, long time) { in completeRequest()
/aosp12/frameworks/base/tests/notification/src/com/android/frameworks/tests/notification/
H A DNotificationTests.java256 final long time = SystemClock.currentThreadTimeMillis(); in testCreate() local
273 final long time = SystemClock.currentThreadTimeMillis(); in testCreate() local
295 final long time = SystemClock.currentThreadTimeMillis(); in testCreate() local
308 final long time = SystemClock.currentThreadTimeMillis(); in testCreate() local
331 final long time = SystemClock.currentThreadTimeMillis(); in testCreate() local
353 final long time = SystemClock.currentThreadTimeMillis(); in testCreate() local
388 long time = SystemClock.currentThreadTimeMillis(); in testCreate() local
403 long time = SystemClock.currentThreadTimeMillis(); in testCreate() local
422 long time = SystemClock.currentThreadTimeMillis(); in testCreate() local
433 long time = SystemClock.currentThreadTimeMillis(); in testCreate() local
[all …]
/aosp14/frameworks/base/tests/notification/src/com/android/frameworks/tests/notification/
H A DNotificationTests.java256 final long time = SystemClock.currentThreadTimeMillis(); in testCreate() local
273 final long time = SystemClock.currentThreadTimeMillis(); in testCreate() local
295 final long time = SystemClock.currentThreadTimeMillis(); in testCreate() local
308 final long time = SystemClock.currentThreadTimeMillis(); in testCreate() local
331 final long time = SystemClock.currentThreadTimeMillis(); in testCreate() local
353 final long time = SystemClock.currentThreadTimeMillis(); in testCreate() local
388 long time = SystemClock.currentThreadTimeMillis(); in testCreate() local
403 long time = SystemClock.currentThreadTimeMillis(); in testCreate() local
422 long time = SystemClock.currentThreadTimeMillis(); in testCreate() local
433 long time = SystemClock.currentThreadTimeMillis(); in testCreate() local
[all …]
/aosp12/frameworks/av/media/libaaudio/src/utility/
H A DAudioClock.h35 struct timespec time; variable
55 struct timespec time; variable
84 struct timespec time; variable
/aosp12/packages/services/Iwlan/test/com/google/android/iwlan/
H A DErrorPolicyManagerTest.java151 long time = mErrorPolicyManager.reportIwlanError(apn, iwlanError); in testValidCarrierConfig() local
223 long time = mErrorPolicyManager.reportIwlanError(apn, iwlanError); in testInvalidCarrierConfig() local
269 long time = mErrorPolicyManager.reportIwlanError(apn, iwlanError); in testChoosingFallbackPolicy() local
321 long time = mErrorPolicyManager.reportIwlanError(apn, iwlanError); in testCanBringUpTunnel() local
373 long time = mErrorPolicyManager.reportIwlanError(apn, iwlanError); in testNoErrorScenario() local
419 long time = mErrorPolicyManager.reportIwlanError(apn, iwlanError); in testWifiDisableUnthrottle() local
470 long time = mErrorPolicyManager.reportIwlanError(apn, iwlanError); in testWFCDisableUnthrottle() local
521 long time = mErrorPolicyManager.reportIwlanError(apn, iwlanError); in testAPMUnthrottle() local
574 long time = mErrorPolicyManager.reportIwlanError(apn1, iwlanError); in testGetDataFailCauseRetryTime() local
632 long time = mErrorPolicyManager.reportIwlanError(apn, iwlanError, 2); in testBackOffTime() local
[all …]
/aosp12/system/update_engine/common/
H A Dfake_clock.h35 void SetWallclockTime(const base::Time& time) { wallclock_time_ = time; } in SetWallclockTime()
37 void SetMonotonicTime(const base::Time& time) { monotonic_time_ = time; } in SetMonotonicTime()
39 void SetBootTime(const base::Time& time) { boot_time_ = time; } in SetBootTime()
/aosp12/packages/apps/Contacts/src/com/android/contacts/util/concurrent/
H A DFuturesUtil.java26 public static <V> ListenableFuture<V> withTimeout(final ListenableFuture<V> future, long time, in withTimeout()
39 public static <V> ListenableFuture<V> withTimeout(final ListenableFuture<V> future, long time, in withTimeout()
/aosp12/frameworks/base/core/java/android/service/notification/
H A DScheduleCalendar.java103 final long time = getTime(now, hr, min); in getNextTime() local
120 public boolean isInSchedule(long time) { in isInSchedule()
152 public boolean shouldExitForAlarm(long time) { in shouldExitForAlarm()
162 private boolean isInSchedule(int daysOffset, long time, long start, long end) { in isInSchedule()
170 private int getDayOfWeek(long time) { in getDayOfWeek()
184 private long addDays(long time, int days) { in addDays()
/aosp12/frameworks/base/services/core/java/com/android/server/display/utils/
H A DAmbientFilter.java75 public boolean addValue(long time, float value) { in addValue()
95 public float getEstimate(long time) { in getEstimate()
146 private void truncateOldValues(long time) { in truncateOldValues()
151 protected abstract float filter(long time, RollingBuffer buffer); in filter()
199 protected float filter(long time, RollingBuffer buffer) { in filter()
227 private float[] getWeights(long time, RollingBuffer buffer) { in getWeights()
/aosp14/frameworks/base/core/java/android/service/notification/
H A DScheduleCalendar.java107 final long time = adjust ? getClosestActualTime(now, hr, min) : getTime(now, hr, min); in getNextTime() local
128 public boolean isInSchedule(long time) { in isInSchedule()
160 public boolean shouldExitForAlarm(long time) { in shouldExitForAlarm()
170 private boolean isInSchedule(int daysOffset, long time, long start, long end) { in isInSchedule()
178 private int getDayOfWeek(long time) { in getDayOfWeek()
192 private long addDays(long time, int days) { in addDays()
/aosp14/frameworks/base/services/core/java/com/android/server/display/utils/
H A DAmbientFilter.java75 public boolean addValue(long time, float value) { in addValue()
95 public float getEstimate(long time) { in getEstimate()
146 private void truncateOldValues(long time) { in truncateOldValues()
151 protected abstract float filter(long time, RollingBuffer buffer); in filter()
199 protected float filter(long time, RollingBuffer buffer) { in filter()
227 private float[] getWeights(long time, RollingBuffer buffer) { in getWeights()
/aosp12/system/extras/tests/timetest/
H A Drtc_test.cpp186 TEST(time, rtc_rollover_1970_1990) { in TEST() argument
190 TEST(time, rtc_rollover_1990_2010) { in TEST() argument
194 TEST(time, rtc_rollover_2010_2030) { in TEST() argument
198 TEST(time, rtc_rollover_2030_2037) { in TEST() argument
/aosp12/system/update_engine/update_manager/
H A Dweekly_time.h30 WeeklyTime(const int& day_of_week, const base::TimeDelta& time) in WeeklyTime()
56 base::TimeDelta time() const { return time_; } in time() function
/aosp14/frameworks/base/core/java/android/util/
H A DTimeUtils.java357 public static void formatDuration(long time, long now, StringBuilder sb) { in formatDuration()
366 public static void formatDuration(long time, long now, PrintWriter pw) { in formatDuration()
375 public static String formatUptime(long time) { in formatUptime()
380 public static String formatRealtime(long time) { in formatRealtime()
385 public static String formatTime(long time, long referenceTime) { in formatTime()
429 public static void dumpTime(PrintWriter pw, long time) { in dumpTime()
460 public static void dumpTimeWithDelta(PrintWriter pw, long time, long now) { in dumpTimeWithDelta()
H A DTimeSparseArray.java38 public int closestIndexOnOrAfter(long time) { in closestIndexOnOrAfter()
85 public int closestIndexOnOrBefore(long time) { in closestIndexOnOrBefore()
/aosp12/packages/apps/TV/tests/robotests/src/com/android/tv/data/
H A DWatchedHistoryManagerTest.java74 long time = System.currentTimeMillis(); in testLogChannelViewStop() local
92 long time = System.currentTimeMillis(); in testCircularHistoryQueue() local
124 long time = System.currentTimeMillis(); in testEncodeDecodeWatchedRecord() local
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
H A DFakePowerManagerWrapper.java43 void wakeUp(long time, int reason, String details) { in wakeUp()
49 void goToSleep(long time, int reason, int flags) { in goToSleep()
/aosp12/frameworks/base/core/java/android/text/format/
H A DRelativeDateTimeFormatter.java93 public static String getRelativeTimeSpanString(Locale locale, java.util.TimeZone tz, long time, in getRelativeTimeSpanString()
104 public static String getRelativeTimeSpanString(Locale locale, java.util.TimeZone tz, long time, in getRelativeTimeSpanString()
119 android.icu.util.TimeZone icuTimeZone, long time, long now, long minResolution, in getRelativeTimeSpanString()
260 public static String getRelativeDateTimeString(Locale locale, java.util.TimeZone tz, long time, in getRelativeDateTimeString()
355 private static int julianDay(android.icu.util.TimeZone icuTimeZone, long time) { in julianDay()
/aosp14/frameworks/base/core/java/android/text/format/
H A DRelativeDateTimeFormatter.java93 public static String getRelativeTimeSpanString(Locale locale, java.util.TimeZone tz, long time, in getRelativeTimeSpanString()
104 public static String getRelativeTimeSpanString(Locale locale, java.util.TimeZone tz, long time, in getRelativeTimeSpanString()
119 android.icu.util.TimeZone icuTimeZone, long time, long now, long minResolution, in getRelativeTimeSpanString()
260 public static String getRelativeDateTimeString(Locale locale, java.util.TimeZone tz, long time, in getRelativeDateTimeString()
355 private static int julianDay(android.icu.util.TimeZone icuTimeZone, long time) { in julianDay()
/aosp12/frameworks/base/core/java/android/app/usage/
H A DTimeSparseArray.java43 public int closestIndexOnOrAfter(long time) { in closestIndexOnOrAfter()
98 public int closestIndexOnOrBefore(long time) { in closestIndexOnOrBefore()
/aosp14/frameworks/base/services/core/java/com/android/server/hdmi/
H A DPowerManagerWrapper.java39 void wakeUp(long time, int reason, String details) { in wakeUp()
43 void goToSleep(long time, int reason, int flags) { in goToSleep()

12345678910>>...39