/external/skqp/gm/ |
SkAnimTimer.h | 147 double now = SkTime::GetNSecs(); local 148 fBaseTimeNanos += now - fCurrTimeNanos; 149 fCurrTimeNanos = now;
|
/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/internal/ |
ProgressListenerImpl.java | 56 long now = System.currentTimeMillis(); local 57 if (now - lastUpdate < UPDATE_THRESHOLD) { 60 lastUpdate = now;
|
/external/syslinux/core/fs/pxe/ |
isr.c | 37 uint32_t now; local 75 now = jiffies(); 78 while (jiffies() - now < 4 && (ok = !pxe_need_poll)) 124 jiffies_t now = jiffies(); local 127 /* If we need polling now, activate polling */ 132 if (now != last_jiffies) { 133 last_jiffies = now;
|
/external/syslinux/core/lwip/src/core/ |
timers.c | 364 u32_t now; local 366 now = sys_now(); 369 diff = LWIP_U32_DIFF(now, timeouts_last_time); 377 timeouts_last_time = now; 438 could be fetched. We should now call the timeout handler and
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
file_block_cache_test.cc | 213 // Now read the first block; this should yield an INTERNAL error because we 285 // Now advance the clock one second at a time and redo the read. The call 293 // Now create a cache with max staleness of 0, and verify that it also works 343 // All four blocks should be in the cache now. 382 uint64 now = Env::Default()->NowSeconds(); local 383 env->SetNowSeconds(now); 386 // with each read. Start with a block of "a" at the current timestamp `now`. 388 // Now load a block of a different file "b" at timestamp `now` + 1 389 env->SetNowSeconds(now + 1) [all...] |
/external/toybox/toys/pending/ |
dd.c | 63 struct timeval now; local 65 gettimeofday(&now, NULL); 66 seconds = ((now.tv_sec * 1000000 + now.tv_usec) -
|
/external/vboot_reference/futility/ |
dump_kernel_config_lib.c | 77 uint32_t now = 0; local 90 now += key_block.key_block_size; 102 now += preamble.preamble_size; 114 CROS_CONFIG_SIZE) + now; 115 to_skip = offset - now;
|
/external/webrtc/talk/session/media/ |
currentspeakermonitor.cc | 95 // add it now with a "not speaking" state. 183 uint32_t now = rtc::Time(); local 184 if (earliest_permitted_switch_time_ <= now && 188 earliest_permitted_switch_time_ = now + min_time_between_switches_;
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/ |
remote_estimator_proxy.cc | 72 int64_t now = clock_->TimeInMilliseconds(); local 75 now - last_process_time_ms_ < kDefaultProcessIntervalMs) { 76 time_until_next = (last_process_time_ms_ + kDefaultProcessIntervalMs - now);
|
/external/webrtc/webrtc/modules/utility/source/ |
process_thread_impl.cc | 29 // Falling behind, we should call the callback now. 144 // Now that we know the module isn't in the list, we'll call out to notify 191 int64_t now = TickTime::MillisecondTimestamp(); local 192 int64_t next_checkpoint = now + (1000 * 60); 204 m.next_callback = GetNextCallbackTime(m.module, now); 206 if (m.next_callback <= now || 209 // Use a new 'now' reference to calculate when the next callback 210 // should occur. We'll continue to use 'now' above for the baseline
|
/external/webrtc/webrtc/video/ |
call_stats.cc | 28 void RemoveOldReports(int64_t now, std::list<CallStats::RttTime>* reports) { 32 (now - reports->front().time) > kRttTimeoutMs) { 112 int64_t now = clock_->TimeInMilliseconds(); local 113 if (now < last_process_time_ + kUpdateIntervalMs) 116 last_process_time_ = now; 118 RemoveOldReports(now, &reports_);
|
/external/wpa_supplicant_8/src/ap/ |
ap_list.c | 253 struct os_reltime now; local 260 os_get_reltime(&now); 264 if (!os_reltime_expired(&now, &ap->last_beacon,
|
/external/wpa_supplicant_8/wpa_supplicant/ |
bgscan_simple.c | 48 * every now and then) to reduce effect on the data connection. 206 struct os_reltime now; local 220 os_get_reltime(&now); 221 if (now.sec > data->last_bgscan.sec + 1 && 231 now.sec + data->scan_interval) { 254 os_get_reltime(&now); 255 if (now.sec > data->last_bgscan.sec + 10)
|
/frameworks/base/cmds/statsd/tests/guardrail/ |
StatsdStats_test.cpp | 187 // now the config stats should only contain the stats about the new event. 212 time_t now = time(nullptr); local 216 stats.noteAtomLogged(android::util::SENSOR_STATE_CHANGED, now + 1); 217 stats.noteAtomLogged(android::util::SENSOR_STATE_CHANGED, now + 2); 218 stats.noteAtomLogged(android::util::APP_CRASH_OCCURRED, now + 3); 220 stats.noteAtomLogged(android::util::WIFI_BYTES_TRANSFER, now + 4); 277 // now it should trigger removing oldest timestamp
|
/frameworks/base/core/java/android/util/ |
TimingLogger.java | 124 long now = SystemClock.elapsedRealtime(); local 125 mSplits.add(now); 138 long now = first; local 140 now = mSplits.get(i); 144 Log.d(mTag, mLabel + ": " + (now - prev) + " ms, " + splitLabel); 146 Log.d(mTag, mLabel + ": end, " + (now - first) + " ms");
|
/frameworks/base/core/tests/coretests/src/android/os/ |
TestHandlerThread.java | 39 long now = System.currentTimeMillis(); local 40 long endTime = now + timeout; 41 while (!mDone && now < endTime) { 43 wait(endTime-now); 47 now = System.currentTimeMillis();
|
/frameworks/base/libs/hwui/thread/ |
WorkQueue.h | 35 static nsecs_t now() { return systemTime(CLOCK_MONOTONIC); } function in struct:android::uirenderer::MonotonicClock 64 auto now = clock::now(); local 71 [&now](WorkItem& item) { return item.runAt > now; }); 90 enqueue(WorkItem{clock::now() + delay, std::function<void()>(std::forward<F>(func))});
|
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
BluetoothPacketDecoder.java | 99 long now = System.nanoTime(); local 100 nanoTimestamp = mTimeTracker.convertTimestampToNanotime(currentTimestamp, now);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
TrackedCollections.java | 75 long now = SystemClock.uptimeMillis(); local 77 pw.format("%s: %.2f (start-30min) / %.2f (30min-now) / %.2f (start-now)" 81 ratePerHour(startUptime + HALFWAY_DELAY, halfwayCount, now, lastCount), 82 ratePerHour(startUptime, 0, now, lastCount),
|
/frameworks/native/libs/vr/libpdx_uds/ |
client_channel_factory.cpp | 75 auto now = steady_clock::now(); local 76 auto time_end = now + std::chrono::milliseconds{timeout_ms}; 82 auto remaining = time_end - now; 137 now = steady_clock::now();
|
/frameworks/native/opengl/tests/fillrate/ |
fillrate.cpp | 145 nsecs_t now = systemTime(); local 150 nsecs_t t = systemTime() - now;
|
/frameworks/native/opengl/tests/finish/ |
finish.cpp | 77 long long now, t; local 90 now = systemTime(); 93 printf("memcpy() time = %llu us\n", (t-now)/1000); 107 now = systemTime(); 111 printf("glFinish() time = %llu us\n", (t-now)/1000); 121 now = systemTime(); 125 printf("glFinish() time = %llu us\n", (t-now)/1000); 135 now = systemTime(); 140 printf("glFinish() time = %llu us\n", (t-now)/1000); 150 now = systemTime() [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
SelfRecovery.java | 104 long now = mClock.getElapsedSinceBootMillis(); local 107 if (now - restartTimeMillis > MAX_RESTARTS_TIME_WINDOW_MILLIS) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
AnqpCache.java | 75 long now = mClock.getElapsedSinceBootMillis(); local 77 if (now < mLastSweep + CACHE_SWEEP_INTERVAL_MILLISECONDS) { 84 if (entry.getValue().expired(now)) { 93 mLastSweep = now;
|
/frameworks/support/app-toolkit/core-testing/src/main/java/androidx/arch/core/executor/testing/ |
CountingTaskExecutorRule.java | 114 long now = SystemClock.uptimeMillis(); local 115 long remaining = end - now;
|