Home
last modified time | relevance | path

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

12345678910>>...30

/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 …]
/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()
/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
/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
/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()
/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()
/aosp12/system/extras/boottime_tools/io_analysis/
H A Dcheck_file_read.py68 def add_access(self, time, offset, size, process_name, read_sizes): argument
81 def add_merged_access(self, time, offsets, lens, process_names): argument
143 def add_access(self, is_read, time, offset, size, process_name, read_sizes): argument
149 def add_merged_access(self, is_read, time, offsets, lens, process_names): argument
176 def __init__(self, process_name, pid, time, dev, inode, lblk, pblk, len, fevent): argument
215 def handle_req_complete(self, time, is_read): argument
219 def handle_merged_req(self, time, offsets, lens, names, is_read): argument
/aosp12/frameworks/av/media/libaaudio/examples/utils/
H A DAAudioExampleUtils.h111 void convertNanosecondsToTimespec(int64_t nanoseconds, struct timespec *time) { in convertNanosecondsToTimespec()
119 struct timespec time; variable
177 android::status_t futex_wait(void *addr, int current, struct timespec *time) { in futex_wait()
202 struct timespec time; in wait() local
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DBatteryStatsBackgroundStatsTest.java185 long time = bi.getUidStats().get(UID).getWifiScanTime(curr, STATS_SINCE_CHARGED); in testWifiScan() local
261 long time = timer.getTotalTimeLocked(curr, STATS_SINCE_CHARGED); in doTestAppBluetoothScanInternal() local
321 long time = timer.getTotalTimeLocked(curr, STATS_SINCE_CHARGED); in testJob() local
382 long time = timer.getTotalTimeLocked(curr, STATS_SINCE_CHARGED); in testSyncs() local
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
H A DRecentAppOpsAccessesTest.java171 private List<PackageOps> createTestPackageOpsList(String[] packageNameList, long[] time) { in createTestPackageOpsList()
184 private PackageOps createPackageOps(String packageName, int uid, int op, long time) { in createPackageOps()
191 private OpEntry createOpEntryWithTime(int op, long time) { in createOpEntryWithTime()
/aosp12/frameworks/base/services/usage/java/com/android/server/usage/
H A DUnixCalendar.java30 public UnixCalendar(long time) { in UnixCalendar()
50 public void setTimeInMillis(long time) { in setTimeInMillis()
/aosp12/frameworks/base/core/java/android/util/
H A DTimeUtils.java357 public static void formatDuration(long time, long now, PrintWriter pw) { in formatDuration()
366 public static String formatUptime(long time) { in formatUptime()
371 public static String formatRealtime(long time) { in formatRealtime()
376 public static String formatTime(long time, long referenceTime) { in formatTime()
420 public static void dumpTime(PrintWriter pw, long time) { in dumpTime()
451 public static void dumpTimeWithDelta(PrintWriter pw, long time, long now) { in dumpTimeWithDelta()
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DGestureStrokeRecognitionPoints.java180 public void duplicateLastPointWith(final int time) { in duplicateLastPointWith()
206 private void appendPoint(final int x, final int y, final int time) { in appendPoint()
222 private void updateMajorEvent(final int x, final int y, final int time) { in updateMajorEvent()
232 private int detectFastMove(final int x, final int y, final int time) { in detectFastMove()
272 public boolean addEventPoint(final int x, final int y, final int time, in addEventPoint()
292 private void updateIncrementalRecognitionSize(final int x, final int y, final int time) { in updateIncrementalRecognitionSize()
/aosp12/frameworks/base/core/java/android/os/health/
H A DTimerStat.java60 public TimerStat(int count, long time) { in TimerStat()
106 public void setTime(long time) { in setTime()

12345678910>>...30