Home
last modified time | relevance | path

Searched refs:elapsedRealtimeNanos (Results 1 – 25 of 91) sorted by relevance

1234

/frameworks/base/core/tests/InputMethodCoreTests/src/com/android/internal/inputmethod/
DCompletableFutureUtilTest.kt71 val beginNanos = SystemClock.elapsedRealtimeNanos() in assertCompletionTiming()
75 val elapsedNanos = SystemClock.elapsedRealtimeNanos() - beginNanos in assertCompletionTiming()
90 val beginNanos = SystemClock.elapsedRealtimeNanos() in testCharSequenceTimedOut()
93 val elapsed = SystemClock.elapsedRealtimeNanos() - beginNanos in testCharSequenceTimedOut()
114 beginNanosRef.set(SystemClock.elapsedRealtimeNanos()) in testCharSequenceTimedOutWithInterruption()
117 endNanosRef.set(SystemClock.elapsedRealtimeNanos()) in testCharSequenceTimedOutWithInterruption()
140 val beginNanos = SystemClock.elapsedRealtimeNanos() in testCharSequenceAfterCompletion()
144 val elapsed = SystemClock.elapsedRealtimeNanos() - beginNanos in testCharSequenceAfterCompletion()
158 val beginNanos = SystemClock.elapsedRealtimeNanos() in testCharSequenceAfterError()
161 val elapsed = SystemClock.elapsedRealtimeNanos() - beginNanos in testCharSequenceAfterError()
[all …]
/frameworks/base/core/java/android/location/
DLocationTime.java35 public LocationTime(long unixEpochTimeMillis, long elapsedRealtimeNanos) { in LocationTime() argument
37 mElapsedRealtimeNanos = elapsedRealtimeNanos; in LocationTime()
79 long elapsedRealtimeNanos = in.readLong();
80 return new LocationTime(time, elapsedRealtimeNanos);
/frameworks/base/tests/UsageStatsPerfTests/src/com/android/frameworks/perftests/usage/tests/
DUsageStatsDatabasePerfTest.java123 final long startTime = SystemClock.elapsedRealtimeNanos(); in runQueryUsageStatsTest()
126 final long endTime = SystemClock.elapsedRealtimeNanos(); in runQueryUsageStatsTest()
138 final long startTime = SystemClock.elapsedRealtimeNanos(); in runPutUsageStatsTest()
140 final long endTime = SystemClock.elapsedRealtimeNanos(); in runPutUsageStatsTest()
152 final long startTime = SystemClock.elapsedRealtimeNanos(); in runObfuscateStatsTest()
155 final long endTime = SystemClock.elapsedRealtimeNanos(); in runObfuscateStatsTest()
169 final long startTime = SystemClock.elapsedRealtimeNanos(); in runDeobfuscateStatsTest()
171 final long endTime = SystemClock.elapsedRealtimeNanos(); in runDeobfuscateStatsTest()
/frameworks/base/tests/JobSchedulerPerfTests/src/com/android/frameworks/perftests/job/
DJobStorePerfTests.java90 final long startTime = SystemClock.elapsedRealtimeNanos(); in runPersistedJobWriting()
92 final long endTime = SystemClock.elapsedRealtimeNanos(); in runPersistedJobWriting()
126 final long startTime = SystemClock.elapsedRealtimeNanos(); in runPersistedJobWriting_delta()
128 final long endTime = SystemClock.elapsedRealtimeNanos(); in runPersistedJobWriting_delta()
178 final long startTime = SystemClock.elapsedRealtimeNanos(); in runPersistedJobReading()
180 final long endTime = SystemClock.elapsedRealtimeNanos(); in runPersistedJobReading()
/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/
DWindowAddRemovePerfTest.java107 long startTime = SystemClock.elapsedRealtimeNanos(); in runBenchmark()
111 final long elapsedTimeNsOfAdd = SystemClock.elapsedRealtimeNanos() - startTime; in runBenchmark()
114 startTime = SystemClock.elapsedRealtimeNanos(); in runBenchmark()
116 final long elapsedTimeNsOfRemove = SystemClock.elapsedRealtimeNanos() - startTime; in runBenchmark()
DInTaskTransitionTest.java72 final long startTime = SystemClock.elapsedRealtimeNanos(); in testStartActivityInSameTask()
81 measuredTimeNs = SystemClock.elapsedRealtimeNanos() - startTime; in testStartActivityInSameTask()
DInternalWindowOperationPerfTest.java88 final long startTime = SystemClock.elapsedRealtimeNanos(); in testLaunchAndFinishActivity()
92 measuredTimeNs = SystemClock.elapsedRealtimeNanos() - startTime; in testLaunchAndFinishActivity()
/frameworks/opt/car/services/updatableServices/tests/src/com/android/internal/car/updatable/
DUserMetricsTest.java164 long timestampMs = SystemClock.elapsedRealtimeNanos(); in sendStartingEvent()
171 long timestampMs = SystemClock.elapsedRealtimeNanos(); in sendSwitchingEvent()
177 long timestampMs = SystemClock.elapsedRealtimeNanos(); in sendUnlockingEvent()
184 long timestampMs = SystemClock.elapsedRealtimeNanos(); in sendUnlockedEvent()
191 long timestampMs = SystemClock.elapsedRealtimeNanos(); in sendStopingEvent()
198 long timestampMs = SystemClock.elapsedRealtimeNanos(); in sendStoppedEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/time/
DSystemClockImpl.java37 public long elapsedRealtimeNanos() { in elapsedRealtimeNanos() method in SystemClockImpl
38 return android.os.SystemClock.elapsedRealtimeNanos(); in elapsedRealtimeNanos()
DSystemClock.java36 long elapsedRealtimeNanos(); in elapsedRealtimeNanos() method
/frameworks/base/core/java/android/os/
DSystemClock.java246 return elapsedRealtimeNanos() / 1_000_000;
271 public static native long elapsedRealtimeNanos();
274 public static long elapsedRealtimeNanos$ravenwood() {
418 long currentNanos = elapsedRealtimeNanos();
/frameworks/base/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/
DAnimatedVectorDrawableDupPerf.java99 long time = android.os.SystemClock.elapsedRealtimeNanos(); in onCreate()
103 time = android.os.SystemClock.elapsedRealtimeNanos()-time; in onCreate()
108 time = android.os.SystemClock.elapsedRealtimeNanos(); in onCreate()
116 time = android.os.SystemClock.elapsedRealtimeNanos()-time; in onCreate()
DVectorDrawablePerformance.java120 long time = android.os.SystemClock.elapsedRealtimeNanos(); in onCreate()
124 time = android.os.SystemClock.elapsedRealtimeNanos()-time; in onCreate()
129 time = android.os.SystemClock.elapsedRealtimeNanos(); in onCreate()
137 time = android.os.SystemClock.elapsedRealtimeNanos()-time; in onCreate()
DBitmapDrawableDupe.java64 long time = android.os.SystemClock.elapsedRealtimeNanos(); in onCreate()
73 time = android.os.SystemClock.elapsedRealtimeNanos()-time; in onCreate()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyCountryDetectorTest.java200 mCountryDetectorUT.elapsedRealtimeNanos = 2; in testCachedNetworkCountryCodeUpdate()
207 mCountryDetectorUT.elapsedRealtimeNanos = 3; in testCachedNetworkCountryCodeUpdate()
216 mCountryDetectorUT.elapsedRealtimeNanos = 4; in testCachedNetworkCountryCodeUpdate()
223 mCountryDetectorUT.elapsedRealtimeNanos = 5; in testCachedNetworkCountryCodeUpdate()
230 mCountryDetectorUT.elapsedRealtimeNanos = 6; in testCachedNetworkCountryCodeUpdate()
248 mCountryDetectorUT.elapsedRealtimeNanos = 2; in testCachedLocationCountryCodeUpdate()
350 public long elapsedRealtimeNanos = 0; field in TelephonyCountryDetectorTest.TestTelephonyCountryDetector
371 return elapsedRealtimeNanos; in getElapsedRealtimeNanos()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/tracing/
DPerfettoTransitionTracer.java88 SystemClock.elapsedRealtimeNanos()); in doLogDispatched()
133 SystemClock.elapsedRealtimeNanos()); in doLogMergeRequested()
165 SystemClock.elapsedRealtimeNanos()); in doLogMerged()
196 SystemClock.elapsedRealtimeNanos()); in doLogAborted()
DLegacyTransitionTracer.java117 proto.dispatchTimeNs = SystemClock.elapsedRealtimeNanos(); in logDispatched()
140 proto.mergeRequestTimeNs = SystemClock.elapsedRealtimeNanos(); in logMergeRequested()
156 proto.mergeTimeNs = SystemClock.elapsedRealtimeNanos(); in logMerged()
171 proto.abortTimeNs = SystemClock.elapsedRealtimeNanos(); in logAborted()
251 - SystemClock.elapsedRealtimeNanos(); in writeTraceToFileLocked()
/frameworks/libs/systemui/viewcapturelib/src/com/android/app/viewcapture/
DViewCapture.java204 .toNanos(System.currentTimeMillis()) - SystemClock.elapsedRealtimeNanos())
233 protected void onCapturedViewPropertiesBg(long elapsedRealtimeNanos, String windowName,
314 captured.elapsedRealtimeNanos = SystemClock.elapsedRealtimeNanos();
329 long elapsedRealtimeNanos = viewRefStart.elapsedRealtimeNanos;
334 mFrameTimesNanosBg[mFrameIndexBg] = elapsedRealtimeNanos;
398 onCapturedViewPropertiesBg(elapsedRealtimeNanos, name, resultStart);
613 public long elapsedRealtimeNanos = 0;
/frameworks/base/core/java/com/android/internal/inputmethod/
DImeTracingPerfettoImpl.java85 os.write(TracePacket.TIMESTAMP, SystemClock.elapsedRealtimeNanos()); in triggerClientDump()
119 os.write(TracePacket.TIMESTAMP, SystemClock.elapsedRealtimeNanos()); in triggerServiceDump()
149 os.write(TracePacket.TIMESTAMP, SystemClock.elapsedRealtimeNanos()); in triggerManagerServiceDump()
/frameworks/base/services/core/jni/gnss/
DGnss.cpp57 jint elapsedRealtimeFlags, jlong elapsedRealtimeNanos, in createGnssLocation() argument
73 location.elapsedRealtime.timestampNs = static_cast<uint64_t>(elapsedRealtimeNanos); in createGnssLocation()
110 jint elapsedRealtimeFlags, jlong elapsedRealtimeNanos, in createGnssLocation_V2_0() argument
120 location.elapsedRealtime.timestampNs = static_cast<uint64_t>(elapsedRealtimeNanos); in createGnssLocation_V2_0()
391 jlong timestamp, jint elapsedRealtimeFlags, jlong elapsedRealtimeNanos, in injectLocation() argument
399 elapsedRealtimeFlags, elapsedRealtimeNanos, in injectLocation()
420 jlong elapsedRealtimeNanos, in injectBestLocation() argument
428 elapsedRealtimeFlags, elapsedRealtimeNanos, in injectBestLocation()
441 timestamp, elapsedRealtimeFlags, elapsedRealtimeNanos, in injectBestLocation()
DGnss.h96 jlong timestamp, jint elapsedRealtimeFlags, jlong elapsedRealtimeNanos,
103 jlong timestamp, jint elapsedRealtimeFlags, jlong elapsedRealtimeNanos,
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssPowerStats.java49 long elapsedRealtimeNanos, in GnssPowerStats() argument
58 mElapsedRealtimeNanos = elapsedRealtimeNanos; in GnssPowerStats()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/apps/
DMapsEnterPipTest.kt85 location.elapsedRealtimeNanos = SystemClock.elapsedRealtimeNanos() in run()
/frameworks/layoutlib/bridge/src/android/os/
DSystemClock_Delegate.java72 /*package*/ static long elapsedRealtimeNanos() { in elapsedRealtimeNanos() method in SystemClock_Delegate
/frameworks/base/tests/Internal/src/com/android/internal/protolog/
DLegacyProtoLogImplTest.java277 long before = SystemClock.elapsedRealtimeNanos(); in log_protoEnabled()
282 long after = SystemClock.elapsedRealtimeNanos(); in log_protoEnabled()
302 long before = SystemClock.elapsedRealtimeNanos(); in log_invalidParamsMask()
307 long after = SystemClock.elapsedRealtimeNanos(); in log_invalidParamsMask()

1234