/external/libdrm/tests/ttmtest/src/ |
ttmtest.c | 172 unsigned long curTime, oldTime; 185 curTime = fastrdtsc(); 186 *ticks++ = time_diff(oldTime, curTime); 191 curTime = fastrdtsc(); 192 *ticks++ = time_diff(oldTime, curTime); 196 curTime = fastrdtsc(); 197 *ticks++ = time_diff(oldTime, curTime); 201 curTime = fastrdtsc(); 202 *ticks++ = time_diff(oldTime, curTime); 206 curTime = fastrdtsc() [all...] |
/development/ndk/platforms/android-4/samples/san-angeles/jni/ |
app-android.c | 118 long curTime; 124 curTime = sTimeStopped + sTimeOffset; 126 curTime = _getTime() + sTimeOffset; 129 sTimeOffset = -curTime; 130 curTime = 0; 134 //__android_log_print(ANDROID_LOG_INFO, "SanAngeles", "curTime=%ld", curTime); 136 appRender(curTime, sWindowWidth, sWindowHeight);
|
/external/deqp/framework/qphelper/ |
qpWatchDog.c | 69 deUint64 curTime = deGetMicroseconds(); 70 int totalSecondsPassed = (int)((curTime - dog->resetTime) / 1000000ull); 71 int secondsSinceLastTouch = (int)((curTime - dog->lastTouchTime) / 1000000ull); 120 deUint64 curTime = deGetMicroseconds(); 125 dog->resetTime = curTime; 126 dog->lastTouchTime = curTime;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
ThroughputFilter.java | 76 long curTime = SystemClock.elapsedRealtime(); 79 if ((curTime - mLastTime) >= (mPeriod * 1000)) { 84 curTime - mLastTime, 89 mLastTime = curTime;
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/performance/ |
ThroughputFilter.java | 84 long curTime = SystemClock.elapsedRealtime(); 87 if ((curTime - mLastTime) >= (mPeriod * 1000)) { 97 mLastTime = curTime;
|
/external/deqp/execserver/ |
xsExecutionServer.cpp | 249 deUint64 curTime = deGetMicroseconds(); 251 lastIoTime = curTime; 252 else if (curTime-lastIoTime > SERVER_IDLE_THRESHOLD*1000) 312 deUint64 curTime = deGetMicroseconds(); 313 m_lastKeepAliveSent = curTime; 314 m_lastKeepAliveReceived = curTime; 324 deUint64 curTime = deGetMicroseconds(); 327 if (curTime - m_lastKeepAliveReceived > KEEPALIVE_TIMEOUT*1000) 331 if (curTime - m_lastKeepAliveSent > KEEPALIVE_SEND_INTERVAL*1000 &&
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
HdmiLogger.java | 111 long curTime = SystemClock.uptimeMillis(); 113 if (shouldLogNow(timing, curTime)) { 115 cache.put(logMessage, new Pair<>(curTime, 1)); 137 private static boolean shouldLogNow(@Nullable Pair<Long, Integer> timing, long curTime) { 138 return timing == null || curTime - timing.first > ERROR_LOG_DURATTION_MILLIS;
|
/external/pdfium/xfa/src/fgas/src/localization/ |
fx_datetime.cpp | 147 timeval curTime;
148 gettimeofday(&curTime, NULL);
150 struct timespec curTime;
151 clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &curTime);
154 localtime_r(&curTime.tv_sec, &st);
162 utLocal.wMilliseconds = curTime.tv_usec / 1000;
175 timeval curTime;
176 gettimeofday(&curTime, NULL);
178 struct timespec curTime;
179 clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &curTime);
[all...] |
/external/deqp/framework/platform/android/ |
tcuAndroidExecService.cpp | 225 deUint64 curTime = deGetMicroseconds(); 228 if (curTime-m_launchTime < PROCESS_START_TIMEOUT || 229 curTime-m_lastQueryTime < PROCESS_QUERY_INTERVAL) 237 m_lastQueryTime = curTime;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
DimLayer.java | 284 long curTime = SystemClock.uptimeMillis(); 294 mStartTime = curTime; 339 final long curTime = SystemClock.uptimeMillis(); 341 float alpha = mStartAlpha + alphaDelta * (curTime - mStartTime) / mDuration; 347 if (DEBUG_DIM_LAYER) Slog.v(TAG, "stepAnimation: curTime=" + curTime + " alpha=" + alpha); 373 pw.print(" curTime="); pw.println(SystemClock.uptimeMillis());
|
/external/deqp/execserver/tools/ |
xsTest.cpp | 729 int curTime = 0; 736 curTime = clock.getMilliseconds(); 738 while (curTime < testTime) 742 if (curTime-lastSendTime > sendInterval) 744 printf(" %d ms: sending keepalive\n", curTime); 746 curTime = clock.getMilliseconds(); 747 lastSendTime = curTime; 754 printf(" %d ms: waiting for keepalive\n", curTime); 761 printf(" %d ms: got keepalive\n", curTime); 770 curTime = clock.getMilliseconds() [all...] |
/frameworks/av/media/libstagefright/mpeg2ts/ |
AnotherPacketSource.cpp | 543 HLSTime curTime(buffer->meta()); 544 if (!(curTime < stopTime)) { 546 (long long)curTime.mTimeUs); 550 newLastQueuedTimeUs = curTime.mTimeUs; 614 HLSTime curTime(buffer->meta()); 615 if (startTime < curTime) { 617 (long long)curTime.mTimeUs); 619 firstTimeUs = curTime.mTimeUs;
|
/device/google/contexthub/firmware/src/platform/stm32f4xx/ |
platform.c | 407 uint64_t intState, curTime = timGetTime(); 409 if (wakeupTime && curTime >= wakeupTime) 421 platSetTimerAlarm(wakeupTime - curTime); 595 uint64_t predecrement = 0, curTime = timGetTime(), length = mWakeupTime - curTime, intState; 601 if (mWakeupTime && mWakeupTime < curTime)
|
/external/pdfium/fpdfsdk/src/ |
fsdk_baseannot.cpp | 86 time_t curTime; 87 time(&curTime); 89 // newtime = gmtime(&curTime); 90 newtime = localtime(&curTime);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
DeleteDropTarget.java | 345 long curTime = AnimationUtils.currentAnimationTimeMillis(); 357 mFrom.left += (mVelocity.x * (curTime - mPrevTime) / 1000f); 358 mFrom.top += (mVelocity.y * (curTime - mPrevTime) / 1000f); 366 mPrevTime = curTime;
|
/cts/tests/tests/widget/src/android/widget/cts/ |
MediaControllerTest.java | 214 final long curTime = System.currentTimeMillis(); 224 final MotionEvent event = MotionEvent.obtain(curTime, 100,
|
/device/google/contexthub/firmware/src/ |
timer.c | 148 uint64_t curTime = timGetTime(); 163 t->expires = curTime + length;
|
/external/vogar/src/vogar/ |
ClassFileIndex.java | 122 long curTime = new Date().getTime(); 123 boolean cacheExpired = lastModified < curTime - CACHE_EXPIRY;
|
/frameworks/base/services/net/java/android/net/apf/ |
ApfFilter.java | 215 private static long curTime() { 376 mLastSeen = curTime(); 476 return mMinLifetime - (curTime() - mLastSeen); [all...] |
/external/lzma/CPP/7zip/UI/FileManager/ |
ProgressDialog2.cpp | 685 UInt32 curTime = ::GetTickCount();
709 _elapsedTime += (curTime - _prevTime);
710 _prevTime = curTime;
1074 UInt32 curTime = ::GetTickCount();
1076 _elapsedTime += (curTime - _prevTime);
1078 _prevTime = curTime;
|
/external/deqp/executor/ |
xeTcpIpLink.cpp | 517 deUint64 curTime = deGetMicroseconds(); 520 if ((deInt64)curTime-(deInt64)lastKeepalive > xs::KEEPALIVE_TIMEOUT*1000)
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppManager.java | 158 long curTime = SystemClock.elapsedRealtime(); 161 if (curTime - entry.second > WHITELIST_DURATION_MS) {
|
/frameworks/base/services/core/java/com/android/server/am/ |
ActivityRecord.java | [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
BatteryStatsImpl.java | 707 public long computeUptime(long curTime, int which) { 710 return mUptime + getUptime(curTime); 712 return getUptime(curTime); 714 return getUptime(curTime) - mUnpluggedUptime; 719 public long computeRealtime(long curTime, int which) { 722 return mRealtime + getRealtime(curTime); 724 return getRealtime(curTime); 726 return getRealtime(curTime) - mUnpluggedRealtime; 731 public long getUptime(long curTime) { 734 time += curTime - mUptimeStart [all...] |
/external/opencv3/modules/videoio/src/ |
cap_qtkit.mm | 712 QTTime curTime; 713 curTime = [mCaptureSession currentTime]; 714 bool isEnd=(QTTimeCompare(curTime,endOfMovie) == NSOrderedSame); [all...] |