/frameworks/base/core/tests/InputMethodCoreTests/src/com/android/internal/inputmethod/ |
D | CompletableFutureUtilTest.kt | 71 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/ |
D | LocationTime.java | 35 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/ |
D | UsageStatsDatabasePerfTest.java | 123 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/ |
D | JobStorePerfTests.java | 90 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/ |
D | WindowAddRemovePerfTest.java | 107 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()
|
D | InTaskTransitionTest.java | 72 final long startTime = SystemClock.elapsedRealtimeNanos(); in testStartActivityInSameTask() 81 measuredTimeNs = SystemClock.elapsedRealtimeNanos() - startTime; in testStartActivityInSameTask()
|
D | InternalWindowOperationPerfTest.java | 88 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/ |
D | UserMetricsTest.java | 164 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/ |
D | SystemClockImpl.java | 37 public long elapsedRealtimeNanos() { in elapsedRealtimeNanos() method in SystemClockImpl 38 return android.os.SystemClock.elapsedRealtimeNanos(); in elapsedRealtimeNanos()
|
D | SystemClock.java | 36 long elapsedRealtimeNanos(); in elapsedRealtimeNanos() method
|
/frameworks/base/core/java/android/os/ |
D | SystemClock.java | 246 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/ |
D | AnimatedVectorDrawableDupPerf.java | 99 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()
|
D | VectorDrawablePerformance.java | 120 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()
|
D | BitmapDrawableDupe.java | 64 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/ |
D | TelephonyCountryDetectorTest.java | 200 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/ |
D | PerfettoTransitionTracer.java | 88 SystemClock.elapsedRealtimeNanos()); in doLogDispatched() 133 SystemClock.elapsedRealtimeNanos()); in doLogMergeRequested() 165 SystemClock.elapsedRealtimeNanos()); in doLogMerged() 196 SystemClock.elapsedRealtimeNanos()); in doLogAborted()
|
D | LegacyTransitionTracer.java | 117 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/ |
D | ViewCapture.java | 204 .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/ |
D | ImeTracingPerfettoImpl.java | 85 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/ |
D | Gnss.cpp | 57 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()
|
D | Gnss.h | 96 jlong timestamp, jint elapsedRealtimeFlags, jlong elapsedRealtimeNanos, 103 jlong timestamp, jint elapsedRealtimeFlags, jlong elapsedRealtimeNanos,
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssPowerStats.java | 49 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/ |
D | MapsEnterPipTest.kt | 85 location.elapsedRealtimeNanos = SystemClock.elapsedRealtimeNanos() in run()
|
/frameworks/layoutlib/bridge/src/android/os/ |
D | SystemClock_Delegate.java | 72 /*package*/ static long elapsedRealtimeNanos() { in elapsedRealtimeNanos() method in SystemClock_Delegate
|
/frameworks/base/tests/Internal/src/com/android/internal/protolog/ |
D | LegacyProtoLogImplTest.java | 277 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()
|