Home
last modified time | relevance | path

Searched refs:elapsed (Results 1 – 25 of 45) sorted by relevance

12

/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/
DSourceLatency.java144 long elapsed = end - start; in checkSourceInternal() local
146 Log.d(TAG, src + ": null cursor in " + formatTime(elapsed) in checkSourceInternal()
149 Log.d(TAG, src + ": " + cursor.getCount() + " rows in " + formatTime(elapsed) in checkSourceInternal()
152 return elapsed; in checkSourceInternal()
239 long elapsed = (end - start); in run() local
241 Log.d(TAG, mSrc + ": null cursor in " + formatTime(elapsed) in run()
244 Log.d(TAG, mSrc + ": " + cursor.getCount() + " rows in " + formatTime(elapsed) in run()
294 long elapsed = end - mStart; in onChanged() local
297 + " rows in " + formatTime(elapsed)); in onChanged()
/packages/modules/DnsResolver/doh/
Dboot_time.rs74 pub fn elapsed(&self) -> Duration { in elapsed() method
176 BootTime::now().elapsed(); in monotonic_smoke()
198 let taken = start.elapsed(); in timeout_drift()
206 let taken = start.elapsed(); in timeout_drift()
216 let taken = start.elapsed(); in timeout_duration_zero()
Dmetrics.rs101 handshake_event_atom.latency_micros = handshake_info.elapsed as i32; in construct_handshake_event_stats()
131 elapsed: 42596, in test_metrics_write()
/packages/modules/NeuralNetworks/tools/systrace_parser/parser/
Dtracker.py214 elapsed = 0.0
216 elapsed = elapsed + (async_ends[i] - async_starts[i])
225 elapsed = elapsed + (sync_ends[i] - sync_starts[i])
226 return elapsed
/packages/modules/Virtualization/compos/tests/java/android/compos/test/
DComposTestCase.java140 long elapsed = System.currentTimeMillis() - start; in testOdrefresh() local
142 CLog.i("Local compilation took " + elapsed + "ms"); in testOdrefresh()
159 long elapsed = System.currentTimeMillis() - start; in testOdrefresh() local
161 CLog.i("Comp OS compilation took " + elapsed + "ms"); in testOdrefresh()
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/include/netdutils/
DStopwatch.h37 int64_t elapsed = getElapsedUs(now); in getTimeAndResetUs() local
39 return elapsed; in getTimeAndResetUs()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoCarousel.java76 long elapsed = now - mLastFlipTime; in run() local
78 if (elapsed < mDropPeriod) { in run()
79 scheduleNext((int) mDropPeriod - elapsed); in run()
83 (elapsed > (5 * mDropPeriod) && canFlip())) { in run()
/packages/modules/Virtualization/libs/devicemapper/src/
Dutil.rs32 if begin.elapsed() > TIMEOUT { in wait_for_path()
47 if begin.elapsed() > TIMEOUT { in wait_for_path_disappears()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/measurement/load/scenarios/
DCallRegisterSource.java85 timer.elapsed(TimeUnit.MILLISECONDS), in runRegisterSource()
97 timer.elapsed(TimeUnit.MILLISECONDS), in runRegisterSource()
/packages/modules/DnsResolver/doh/connection/
Ddriver.rs57 pub elapsed: u128, field
258 self.handshake_info.elapsed = self.connection_start.elapsed().as_micros(); in drive_once()
284 self.handshake_info.elapsed = self.connection_start.elapsed().as_micros(); in drive_once()
Dmod.rs164 elapsed: 0, in new()
/packages/modules/NeuralNetworks/runtime/test/
DTestStatsdTelemetry.cpp234 const auto elapsed = Clock::now() - start; in TEST() local
235 EXPECT_LT(elapsed, kLongTime); in TEST()
248 const auto elapsed = Clock::now() - start; in TEST() local
250 EXPECT_LT(elapsed, kLongTime); in TEST()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/measurement/
DAbstractMeasurementLatencyTest.java110 Log.i(TAG, generateLogLabel(testClassName, testName, timer.elapsed(TimeUnit.MILLISECONDS))); in runRegisterSource()
131 Log.i(TAG, generateLogLabel(testClassName, testName, timer.elapsed(TimeUnit.MILLISECONDS))); in runGetMeasurementApiStatus()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DSelectedMediaPreloader.java273 final long elapsed = System.currentTimeMillis() - start; in openFileDescriptor() local
274 Log.d(TAG, "openFileDescriptor() DONE, took " + humanReadableTimeDuration(elapsed) in openFileDescriptor()
/packages/apps/Messaging/src/com/android/messaging/util/
DGifTranscoder.java51 final long elapsedMs = stopwatch.elapsed(TimeUnit.MILLISECONDS); in transcode()
/packages/modules/Virtualization/microdroid_manager/src/
Dioutil.rs45 if begin.elapsed() > timeout { in wait_for_file()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DTrackRecordTest.kt158 val elapsed = measureTimeMillis { assertEquals(4, record.poll(LONG_TIMEOUT, 0)) } in <lambda>() constant
160 assertTrue(elapsed < LONG_TIMEOUT) in <lambda>()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/
DMpegTsPlayerV2.java485 public void onDroppedFrames(int count, long elapsed) { in onDroppedFrames() argument
486 TunerDebug.notifyVideoFrameDrop(count, elapsed); in onDroppedFrames()
/packages/apps/Launcher3/protos/
Dlauncher_trace_file.proto45 /* required: elapsed realtime in nanos since boot of when this entry was logged */
/packages/services/Telecomm/proto/
Dtelecom.proto103 // The elapsed time since the last event, rounded to one significant digit.
131 // The elapsed time since the last event, rounded to one significant digit.
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DMpegTsPlayer.java590 public void onDroppedFrames(int count, long elapsed) { in onDroppedFrames() argument
591 TunerDebug.notifyVideoFrameDrop(count, elapsed); in onDroppedFrames()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsMetrics.java364 long elapsed = in procDataConnectionChangedForHandoverPingPong() local
369 log("HandoverPingPong elapsed:" + elapsed in procDataConnectionChangedForHandoverPingPong()
372 if (elapsed > pingPongTimeLimit || !bActiveState) { in procDataConnectionChangedForHandoverPingPong()
/packages/modules/Bluetooth/system/gd/rust/common/src/
Dtime.rs156 assert_near!(timer.elapsed().as_millis(), 20, 3); in alarm_clear_ready_after_expired()
/packages/modules/Virtualization/authfs/service/src/
Dauthfs.rs178 if start_time.elapsed() > AUTHFS_SETUP_TIMEOUT_SEC { in wait_until_authfs_ready()
/packages/modules/Virtualization/virtualizationmanager/src/
Datom.rs77 Some(vm_start_timestamp) => vm_start_timestamp.elapsed().unwrap_or_default(), in get_duration()

12