Home
last modified time | relevance | path

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

123

/frameworks/base/location/java/android/location/
DLocationTime.java32 public LocationTime(long time, long elapsedRealtimeNanos) { in LocationTime() argument
34 mElapsedRealtimeNanos = elapsedRealtimeNanos; in LocationTime()
65 long elapsedRealtimeNanos = in.readLong();
66 return new LocationTime(time, elapsedRealtimeNanos);
DGnssClock.java445 public void setElapsedRealtimeNanos(long elapsedRealtimeNanos) { in setElapsedRealtimeNanos() argument
447 mElapsedRealtimeNanos = elapsedRealtimeNanos; in setElapsedRealtimeNanos()
/frameworks/base/tests/UsageStatsPerfTests/src/com/android/frameworks/perftests/usage/tests/
DUsageStatsDatabasePerfTest.java122 final long startTime = SystemClock.elapsedRealtimeNanos(); in runQueryUsageStatsTest()
125 final long endTime = SystemClock.elapsedRealtimeNanos(); in runQueryUsageStatsTest()
137 final long startTime = SystemClock.elapsedRealtimeNanos(); in runPutUsageStatsTest()
139 final long endTime = SystemClock.elapsedRealtimeNanos(); in runPutUsageStatsTest()
151 final long startTime = SystemClock.elapsedRealtimeNanos(); in runObfuscateStatsTest()
154 final long endTime = SystemClock.elapsedRealtimeNanos(); in runObfuscateStatsTest()
168 final long startTime = SystemClock.elapsedRealtimeNanos(); in runDeobfuscateStatsTest()
170 final long endTime = SystemClock.elapsedRealtimeNanos(); in runDeobfuscateStatsTest()
/frameworks/base/apex/statsd/framework/test/src/android/util/
DStatsEventTest.java47 final long minTimestamp = SystemClock.elapsedRealtimeNanos(); in testNoFields()
49 final long maxTimestamp = SystemClock.elapsedRealtimeNanos(); in testNoFields()
92 final long minTimestamp = SystemClock.elapsedRealtimeNanos(); in testOnlyAtomId()
97 final long maxTimestamp = SystemClock.elapsedRealtimeNanos(); in testOnlyAtomId()
135 final long minTimestamp = SystemClock.elapsedRealtimeNanos(); in testIntBooleanIntInt()
144 final long maxTimestamp = SystemClock.elapsedRealtimeNanos(); in testIntBooleanIntInt()
205 final long minTimestamp = SystemClock.elapsedRealtimeNanos(); in testStringFloatByteArray()
213 final long maxTimestamp = SystemClock.elapsedRealtimeNanos(); in testStringFloatByteArray()
270 final long minTimestamp = SystemClock.elapsedRealtimeNanos(); in testAttributionChainLong()
277 final long maxTimestamp = SystemClock.elapsedRealtimeNanos(); in testAttributionChainLong()
[all …]
/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/
DRecentsAnimationPerfTest.java188 long startTime = SystemClock.elapsedRealtimeNanos(); in testRecentsAnimation()
190 final long elapsedTimeNsOfFinish = SystemClock.elapsedRealtimeNanos() - startTime; in testRecentsAnimation()
197 startTime = SystemClock.elapsedRealtimeNanos(); in testRecentsAnimation()
199 final long elapsedTimeNs = SystemClock.elapsedRealtimeNanos() - startTime; in testRecentsAnimation()
226 final long startTime = SystemClock.elapsedRealtimeNanos(); in testRecentsAnimation()
228 final long elapsedTimeNsOfStart = SystemClock.elapsedRealtimeNanos() - startTime; in testRecentsAnimation()
DWindowAddRemovePerfTest.java111 long startTime = SystemClock.elapsedRealtimeNanos(); in runBenchmark()
115 final long elapsedTimeNsOfAdd = SystemClock.elapsedRealtimeNanos() - startTime; in runBenchmark()
118 startTime = SystemClock.elapsedRealtimeNanos(); in runBenchmark()
120 final long elapsedTimeNsOfRemove = SystemClock.elapsedRealtimeNanos() - startTime; in runBenchmark()
DInternalWindowOperationPerfTest.java87 final long startTime = SystemClock.elapsedRealtimeNanos(); in testLaunchAndFinishActivity()
91 measuredTimeNs = SystemClock.elapsedRealtimeNanos() - startTime; in testLaunchAndFinishActivity()
/frameworks/base/tests/JobSchedulerPerfTests/src/com/android/frameworks/perftests/job/
DJobStorePerfTests.java91 final long startTime = SystemClock.elapsedRealtimeNanos(); in runPersistedJobWriting()
93 final long endTime = SystemClock.elapsedRealtimeNanos(); in runPersistedJobWriting()
121 final long startTime = SystemClock.elapsedRealtimeNanos(); in runPersistedJobReading()
123 final long endTime = SystemClock.elapsedRealtimeNanos(); in runPersistedJobReading()
/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/tests/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/base/core/java/android/hardware/camera2/legacy/
DPerfMeasurement.java162 mStartTimeNs = SystemClock.elapsedRealtimeNanos(); in startTimer()
177 long endTimeNs = SystemClock.elapsedRealtimeNanos(); in stopTimer()
DRequestThreadManager.java147 long nextTime = SystemClock.elapsedRealtimeNanos(); in countFrame()
260 mCaptureCollector.jpegCaptured(SystemClock.elapsedRealtimeNanos());
700 startTime = SystemClock.elapsedRealtimeNanos();
725 long totalTime = SystemClock.elapsedRealtimeNanos() - startTime;
961 long totalTime = SystemClock.elapsedRealtimeNanos() - startTime;
/frameworks/base/core/java/android/os/
DSystemClock.java224 public static native long elapsedRealtimeNanos();
338 long currentNanos = elapsedRealtimeNanos();
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DClock.java49 return SystemClock.elapsedRealtimeNanos(); in getElapsedSinceBootNanos()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tracing/
DProtoTracer.java84 proto.elapsedRealtimeNanos = SystemClock.elapsedRealtimeNanos(); in updateBufferProto()
/frameworks/layoutlib/bridge/src/android/os/
DSystemClock_Delegate.java62 /*package*/ static long elapsedRealtimeNanos() { in elapsedRealtimeNanos() method in SystemClock_Delegate
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/
DLocationUtils.java48 location.setElapsedRealtimeNanos(SystemClock.elapsedRealtimeNanos()); in createLocation()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/time/
DFakeSystemClock.java53 public long elapsedRealtimeNanos() { in elapsedRealtimeNanos() method in FakeSystemClock
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DTestUtils.java36 event.timestamp = SystemClock.elapsedRealtimeNanos(); in createSensorEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/protolog/
DProtoLogImplTest.java342 long before = SystemClock.elapsedRealtimeNanos(); in log_protoEnabled()
347 long after = SystemClock.elapsedRealtimeNanos(); in log_protoEnabled()
367 long before = SystemClock.elapsedRealtimeNanos(); in log_invalidParamsMask()
372 long after = SystemClock.elapsedRealtimeNanos(); in log_invalidParamsMask()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DBackgroundJobsController.java162 final long start = DEBUG ? SystemClock.elapsedRealtimeNanos() : 0; in updateJobRestrictionsLocked()
171 final long time = DEBUG ? (SystemClock.elapsedRealtimeNanos() - start) : 0; in updateJobRestrictionsLocked()
/frameworks/base/services/core/java/com/android/server/policy/
DWindowOrientationListener.java198 long whenElapsedNanos = SystemClock.elapsedRealtimeNanos(); in onTouchEnd()
598 final long delta = SystemClock.elapsedRealtimeNanos() - mLastFilteredTimestampNanos; in dumpLocked()
1041 final long now = SystemClock.elapsedRealtimeNanos(); in onTouchEndLocked()
1095 final long now = SystemClock.elapsedRealtimeNanos(); in evaluateRotationChangeLocked()

123