Home
last modified time | relevance | path

Searched refs:time (Results 1 – 25 of 2229) sorted by relevance

12345678910>>...90

/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/
H A DLayerHistoryTest.cpp208 history().record(layer.get(), time, time, LayerHistory::LayerUpdateType::Buffer); in TEST_F()
231 history().record(layer.get(), time, time, LayerHistory::LayerUpdateType::Buffer); in TEST_F()
258 history().record(layer.get(), time, time, LayerHistory::LayerUpdateType::Buffer); in TEST_F()
410 history().record(layer1.get(), time, time, LayerHistory::LayerUpdateType::Buffer); in TEST_F()
455 history().record(layer3.get(), time, time, LayerHistory::LayerUpdateType::Buffer); in TEST_F()
544 history().record(layer.get(), time, time, LayerHistory::LayerUpdateType::Buffer); in TEST_F()
569 history().record(layer.get(), time, time, LayerHistory::LayerUpdateType::Buffer); in TEST_F()
570 time += HI_FPS_PERIOD; in TEST_F()
597 history().record(explicitInvisiblelayer.get(), time, time, in TEST_F()
635 history().record(layer.get(), time, time, LayerHistory::LayerUpdateType::Buffer); in TEST_F()
[all …]
H A DVSyncReactorTest.cpp96 signalFenceWithTime(ft, time); in generateSignalledFenceWithTime()
332 auto time = 0; in TEST_F() local
335 time += period; in TEST_F()
340 time += newPeriod; in TEST_F()
345 time += newPeriod; in TEST_F()
352 auto time = 0; in TEST_F() local
357 time += period; in TEST_F()
361 time += newPeriod; in TEST_F()
368 auto time = 0; in TEST_F() local
395 auto time = 0; in TEST_F() local
[all …]
/aosp12/packages/services/Iwlan/test/com/google/android/iwlan/
H A DErrorPolicyManagerTest.java152 assertEquals(4, time); in testValidCarrierConfig()
154 assertEquals(8, time); in testValidCarrierConfig()
156 assertEquals(16, time); in testValidCarrierConfig()
163 assertEquals(4, time); in testValidCarrierConfig()
165 assertEquals(8, time); in testValidCarrierConfig()
174 assertEquals(0, time); in testValidCarrierConfig()
184 assertEquals(5, time); in testValidCarrierConfig()
224 assertEquals(5, time); in testInvalidCarrierConfig()
270 assertEquals(4, time); in testChoosingFallbackPolicy()
272 assertEquals(8, time); in testChoosingFallbackPolicy()
[all …]
/aosp12/packages/apps/Messaging/src/com/android/messaging/util/
H A DDates.java67 if (now - time < DateUtils.MINUTE_IN_MILLIS) { in getRelativeTimeSpanString()
80 return getShortRelativeTimeSpanString(time); in getRelativeTimeSpanString()
108 return getOlderThanAYearTimestamp(time, in getMessageDetailsTimeString()
130 final long timeDiff = now - time; in getTimestamp()
137 return getTodayTimeStamp(time, flags); in getTimestamp()
174 return formatter.format(new Date(time)); in getExplicitFormattedTime()
181 return DateUtils.formatDateTime(context, time, in getThisWeekTimestamp()
199 return DateUtils.formatDateTime(context, time, in getThisYearTimestamp()
240 final long duration = Math.abs(now - time); in getShortRelativeTimeSpanString()
254 count = getNumberOfDaysPassed(time, now); in getShortRelativeTimeSpanString()
[all …]
/aosp12/art/test/2029-contended-monitors/
H A Dexpected-stdout.txt3 Hold time 2, shared lock
4 Hold time 20, shared lock
5 Hold time 200, shared lock
6 Hold time 2000, shared lock
7 Hold time 20000, shared lock
8 Hold time 200000, shared lock
9 Hold time 2, pause time 18, shared lock
10 Hold time 20, pause time 180, shared lock
11 Hold time 200, pause time 1800, shared lock
12 Hold time 2000, pause time 18000, shared lock
[all …]
/aosp12/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
H A DTimeTest.java416 public boolean equals(Time time) {
417 return time.getYear() == year2 && time.getMonth() == month2 && time.getDay() == day2
418 && time.getHour() == hour2 && time.getMinute() == minute2;
615 time.toMillis());
622 time.toMillis());
718 int julianDay = Time.getJulianDay(time.normalize(), time.getGmtOffset());
724 int day = Time.getJulianDay(time.normalize(), time.getGmtOffset());
747 time.setJulianDay(julianDay);
752 assertTrue(time.getHour() == 0 || time.getHour() == 1);
756 millis = time.toMillis();
[all …]
/aosp12/packages/modules/adb/
H A Dbenchmark_device.py22 import time
73 begin = time.time()
75 end = time.time()
89 begin = time.time()
91 end = time.time()
108 begin = time.time()
110 end = time.time()
126 begin = time.time()
128 end = time.time()
139 begin = time.time()
[all …]
/aosp12/frameworks/av/media/libaaudio/src/utility/
H A DAudioClock.h35 struct timespec time; variable
36 int result = clock_gettime(clockId, &time);
40 return (time.tv_sec * AAUDIO_NANOS_PER_SECOND) + time.tv_nsec;
55 struct timespec time; variable
56 time.tv_sec = nanoTime / AAUDIO_NANOS_PER_SECOND;
58 time.tv_nsec = nanoTime - (time.tv_sec * AAUDIO_NANOS_PER_SECOND);
59 int err = clock_nanosleep(clockId, TIMER_ABSTIME, &time, nullptr);
84 struct timespec time; variable
85 time.tv_sec = nanoseconds / AAUDIO_NANOS_PER_SECOND;
87 time.tv_nsec = nanoseconds - (time.tv_sec * AAUDIO_NANOS_PER_SECOND);
[all …]
/aosp12/hardware/interfaces/tv/tuner/1.0/
H A DITimeFilter.hal24 * Set time stamp for time based filter.
26 * It is used by the client to set initial time stamp and enable time
28 * the content which time stamp is older than the time in the time filter.
30 * @param timeStamp initial time stamp for the time filter. It based on
39 * Clear the time stamp in the time filter.
41 * It is used by the client to clear the time value of the time filter,
42 * then disable time filter.
51 * Get the current time in the time filter.
53 * It is used by the client to inquiry current time in the time filter.
59 * @return timeStamp current time stamp in the time filter.
[all …]
/aosp12/bionic/tests/
H A Dtime_test.cpp36 TEST(time, time) { in TEST() argument
38 time_t p1, t1 = time(&p1); in TEST()
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
851 TEST(time, clock) { in TEST() argument
1023 TEST(time, asctime) { in TEST() argument
1035 TEST(time, ctime) { in TEST() argument
[all …]
/aosp12/frameworks/base/core/java/android/service/notification/
H A DScheduleCalendar.java103 final long time = getTime(now, hr, min); in getNextTime() local
104 return time <= now ? addDays(time, 1) : time; in getNextTime()
120 public boolean isInSchedule(long time) { in isInSchedule() argument
127 return isInSchedule(-1, time, start, end) || isInSchedule(0, time, start, end); in isInSchedule()
152 public boolean shouldExitForAlarm(long time) { in shouldExitForAlarm() argument
158 && time >= mSchedule.nextAlarm in shouldExitForAlarm()
167 return mDays.contains(day) && time >= start && time < end; in isInSchedule()
170 private int getDayOfWeek(long time) { in getDayOfWeek() argument
171 mCalendar.setTimeInMillis(time); in getDayOfWeek()
184 private long addDays(long time, int days) { in addDays() argument
[all …]
/aosp12/frameworks/native/opengl/specs/
H A DEGL_ANDROID_presentation_time.txt59 EGLnsecsANDROID time);
74 surface, EGLnsecsANDROID time);
77 presented to the viewer. The time parameter should be a time in
79 window system's use of the presentation time. In situations where
80 an absolute time is needed such as displaying the color buffer on a
81 display device, the time should correspond to the system monotonic up-time
87 The presentation time may be set multiple times, with each call to
89 presentation time alone does not cause the color buffer to be made
94 If the surface presentation time is successfully set, EGL_TRUE is
102 1. How is the presentation time used?
[all …]
/aosp12/frameworks/base/tests/notification/src/com/android/frameworks/tests/notification/
H A DNotificationTests.java391 time = SystemClock.currentThreadTimeMillis() - time; in testCreate()
405 time = SystemClock.currentThreadTimeMillis() - time; in testCreate()
406 L(" %s: cancel=%dms", summarize(n), time); in testCreate()
424 time = SystemClock.currentThreadTimeMillis() - time; in testCreate()
426 summarize(n), time, p.dataPosition(), in testCreate()
435 time = SystemClock.currentThreadTimeMillis() - time; in testCreate()
438 time = SystemClock.currentThreadTimeMillis(); in testCreate()
440 time = SystemClock.currentThreadTimeMillis() - time; in testCreate()
441 L(" %s: notify=%dms", summarize(n2), time); in testCreate()
451 time = SystemClock.currentThreadTimeMillis() - time; in testCreate()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/display/utils/
H A DAmbientFilter.java75 public boolean addValue(long time, float value) { in addValue() argument
79 truncateOldValues(time); in addValue()
81 Slog.d(mTag, "add value: " + value + " @ " + time); in addValue()
83 mBuffer.add(time, value); in addValue()
95 public float getEstimate(long time) { in getEstimate() argument
96 truncateOldValues(time); in getEstimate()
97 final float value = filter(time, mBuffer); in getEstimate()
99 Slog.d(mTag, "get estimate: " + value + " @ " + time); in getEstimate()
146 private void truncateOldValues(long time) { in truncateOldValues() argument
147 final long minTime = time - mHorizon; in truncateOldValues()
[all …]
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DGestureStrokeRecognitionPoints.java180 public void duplicateLastPointWith(final int time) { in duplicateLastPointWith() argument
187 x, y, time)); in duplicateLastPointWith()
190 appendPoint(x, y, time); in duplicateLastPointWith()
191 updateIncrementalRecognitionSize(x, y, time); in duplicateLastPointWith()
217 mEventTimes.add(time); in appendPoint()
223 mLastMajorEventTime = time; in updateMajorEvent()
254 mDetectFastMoveTime = time; in detectFastMove()
277 appendPoint(x, y, time); in addEventPoint()
278 updateMajorEvent(x, y, time); in addEventPoint()
282 appendPoint(x, y, time); in addEventPoint()
[all …]
/aosp12/frameworks/av/services/mediametrics/
H A DTimeMachine.h82 , mCreationTime(time) in KeyHistory()
83 , mLastModificationTime(time) in KeyHistory()
110 if (time == 0) time = systemTime(SYSTEM_TIME_REALTIME);
135 putValue(name, prop.get(), time);
141 if (time == 0) time = systemTime(SYSTEM_TIME_REALTIME);
142 mLastModificationTime = time;
186 int64_t time) { in dump() argument
200 last_timestring.time); in dump()
297 key, allowUid, time);
377 if (time == 0) time = systemTime(SYSTEM_TIME_REALTIME);
[all …]
/aosp12/packages/apps/Camera2/src/com/android/camera/stats/profiler/
H A DProfileBase.java54 long time = System.nanoTime(); in mark() local
55 onMark(getTotalMillis(time), getTimeFromLastMillis(time), reason); in mark()
56 mLastMark = time; in mark()
61 long time = System.nanoTime(); in stop() local
62 onStop(getTotalMillis(time), getTimeFromLastMillis(time)); in stop()
63 mLastMark = time; in stop()
68 long time = System.nanoTime(); in stop() local
69 onStop(getTotalMillis(time), getTimeFromLastMillis(time), reason); in stop()
70 mLastMark = time; in stop()
/aosp12/packages/apps/Calendar/src/com/android/calendar/month/
H A DSimpleWeekView.java247 Time time = new Time(tz); in setWeekParams() local
270 time.normalize(true); in setWeekParams()
273 mFirstJulianDay = Time.getJulianDay(time.toMillis(true), time.gmtoff); in setWeekParams()
274 mFirstMonth = time.month; in setWeekParams()
296 if (time.year == today.year && time.yearDay == today.yearDay) { in setWeekParams()
301 time.normalize(true); in setWeekParams()
306 time.monthDay--; in setWeekParams()
309 mLastMonth = time.month; in setWeekParams()
385 return time; in getDayFromLocation()
389 time.setJulianDay(day); in getDayFromLocation()
[all …]
/aosp12/hardware/qcom/sm8150p/gps/android/2.0/
H A DGnssDebug.cpp125 data.time.timeEstimate = reports.mTime.timeEstimate; in getDebugData()
127 data.time.frequencyUncertaintyNsPerSec = in getDebugData()
131 if (data.time.timeEstimate < GNSS_DEBUG_UNKNOWN_UTC_TIME) { in getDebugData()
132 data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME; in getDebugData()
134 if (data.time.timeUncertaintyNs <= 0) { in getDebugData()
139 if (data.time.frequencyUncertaintyNsPerSec <= 0 || in getDebugData()
243 data.time.timeEstimate = reports.mTime.timeEstimate; in getDebugData_2_0()
245 data.time.frequencyUncertaintyNsPerSec = in getDebugData_2_0()
250 data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME; in getDebugData_2_0()
252 if (data.time.timeUncertaintyNs <= 0) { in getDebugData_2_0()
[all …]
/aosp12/hardware/qcom/sm7250/gps/android/2.0/
H A DGnssDebug.cpp125 data.time.timeEstimate = reports.mTime.timeEstimate; in getDebugData()
127 data.time.frequencyUncertaintyNsPerSec = in getDebugData()
131 if (data.time.timeEstimate < GNSS_DEBUG_UNKNOWN_UTC_TIME) { in getDebugData()
132 data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME; in getDebugData()
134 if (data.time.timeUncertaintyNs <= 0) { in getDebugData()
139 if (data.time.frequencyUncertaintyNsPerSec <= 0 || in getDebugData()
243 data.time.timeEstimate = reports.mTime.timeEstimate; in getDebugData_2_0()
245 data.time.frequencyUncertaintyNsPerSec = in getDebugData_2_0()
250 data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME; in getDebugData_2_0()
252 if (data.time.timeUncertaintyNs <= 0) { in getDebugData_2_0()
[all …]
/aosp12/hardware/qcom/sm7250/gps/android/2.1/
H A DGnssDebug.cpp125 data.time.timeEstimate = reports.mTime.timeEstimate; in getDebugData()
127 data.time.frequencyUncertaintyNsPerSec = in getDebugData()
131 if (data.time.timeEstimate < GNSS_DEBUG_UNKNOWN_UTC_TIME) { in getDebugData()
132 data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME; in getDebugData()
134 if (data.time.timeUncertaintyNs <= 0) { in getDebugData()
139 if (data.time.frequencyUncertaintyNsPerSec <= 0 || in getDebugData()
243 data.time.timeEstimate = reports.mTime.timeEstimate; in getDebugData_2_0()
245 data.time.frequencyUncertaintyNsPerSec = in getDebugData_2_0()
250 data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME; in getDebugData_2_0()
252 if (data.time.timeUncertaintyNs <= 0) { in getDebugData_2_0()
[all …]
/aosp12/hardware/qcom/sm7150/gps/android/2.0/
H A DGnssDebug.cpp125 data.time.timeEstimate = reports.mTime.timeEstimate; in getDebugData()
127 data.time.frequencyUncertaintyNsPerSec = in getDebugData()
131 if (data.time.timeEstimate < GNSS_DEBUG_UNKNOWN_UTC_TIME) { in getDebugData()
132 data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME; in getDebugData()
134 if (data.time.timeUncertaintyNs <= 0) { in getDebugData()
139 if (data.time.frequencyUncertaintyNsPerSec <= 0 || in getDebugData()
243 data.time.timeEstimate = reports.mTime.timeEstimate; in getDebugData_2_0()
245 data.time.frequencyUncertaintyNsPerSec = in getDebugData_2_0()
250 data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME; in getDebugData_2_0()
252 if (data.time.timeUncertaintyNs <= 0) { in getDebugData_2_0()
[all …]
/aosp12/hardware/qcom/sm8150/gps/android/2.0/
H A DGnssDebug.cpp125 data.time.timeEstimate = reports.mTime.timeEstimate; in getDebugData()
127 data.time.frequencyUncertaintyNsPerSec = in getDebugData()
131 if (data.time.timeEstimate < GNSS_DEBUG_UNKNOWN_UTC_TIME) { in getDebugData()
132 data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME; in getDebugData()
134 if (data.time.timeUncertaintyNs <= 0) { in getDebugData()
139 if (data.time.frequencyUncertaintyNsPerSec <= 0 || in getDebugData()
243 data.time.timeEstimate = reports.mTime.timeEstimate; in getDebugData_2_0()
245 data.time.frequencyUncertaintyNsPerSec = in getDebugData_2_0()
250 data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME; in getDebugData_2_0()
252 if (data.time.timeUncertaintyNs <= 0) { in getDebugData_2_0()
[all …]
/aosp12/hardware/qcom/sm8150/gps/android/2.1/
H A DGnssDebug.cpp125 data.time.timeEstimate = reports.mTime.timeEstimate; in getDebugData()
127 data.time.frequencyUncertaintyNsPerSec = in getDebugData()
131 if (data.time.timeEstimate < GNSS_DEBUG_UNKNOWN_UTC_TIME) { in getDebugData()
132 data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME; in getDebugData()
134 if (data.time.timeUncertaintyNs <= 0) { in getDebugData()
139 if (data.time.frequencyUncertaintyNsPerSec <= 0 || in getDebugData()
243 data.time.timeEstimate = reports.mTime.timeEstimate; in getDebugData_2_0()
245 data.time.frequencyUncertaintyNsPerSec = in getDebugData_2_0()
250 data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME; in getDebugData_2_0()
252 if (data.time.timeUncertaintyNs <= 0) { in getDebugData_2_0()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/power/
H A DWakeLockLog.java235 time); in onWakeLockEvent()
247 long time) { in handleWakeLockEventInternal() argument
368 public long time; field in WakeLockLog.LogEntry
383 set(time, type, tag, flags); in LogEntry()
396 this.time = time; in set()
630 long time = entry.time; in toBytes() local
661 if (time < timeReference) { in getRelativeTime()
667 long relativeTime = time - timeReference; in getRelativeTime()
811 mLatestTime = entry.time; in addEntry()
925 timeReference = entry.time; in removeTagIndex()
[all …]

12345678910>>...90