Home
last modified time | relevance | path

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

12

/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.java440 public void setElapsedRealtimeNanos(long elapsedRealtimeNanos) { in setElapsedRealtimeNanos() argument
442 mElapsedRealtimeNanos = elapsedRealtimeNanos; in setElapsedRealtimeNanos()
/frameworks/base/core/tests/coretests/src/android/util/
DStatsEventTest.java46 final long minTimestamp = SystemClock.elapsedRealtimeNanos(); in testNoFields()
48 final long maxTimestamp = SystemClock.elapsedRealtimeNanos(); in testNoFields()
95 final long minTimestamp = SystemClock.elapsedRealtimeNanos(); in testIntBooleanIntInt()
104 final long maxTimestamp = SystemClock.elapsedRealtimeNanos(); in testIntBooleanIntInt()
165 final long minTimestamp = SystemClock.elapsedRealtimeNanos(); in testStringFloatByteArray()
173 final long maxTimestamp = SystemClock.elapsedRealtimeNanos(); in testStringFloatByteArray()
230 final long minTimestamp = SystemClock.elapsedRealtimeNanos(); in testAttributionChainLong()
237 final long maxTimestamp = SystemClock.elapsedRealtimeNanos(); in testAttributionChainLong()
301 final long minTimestamp = SystemClock.elapsedRealtimeNanos(); in testKeyValuePairs()
307 final long maxTimestamp = SystemClock.elapsedRealtimeNanos(); in testKeyValuePairs()
[all …]
/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/tests/UsageStatsPerfTests/src/com/android/frameworks/perftests/usage/tests/
DUsageStatsDatabasePerfTest.java120 final long startTime = SystemClock.elapsedRealtimeNanos(); in runQueryUsageStatsTest()
123 final long endTime = SystemClock.elapsedRealtimeNanos(); in runQueryUsageStatsTest()
135 final long startTime = SystemClock.elapsedRealtimeNanos(); in runPutUsageStatsTest()
137 final long endTime = SystemClock.elapsedRealtimeNanos(); in runPutUsageStatsTest()
/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.java232 public static native long elapsedRealtimeNanos();
346 long currentNanos = elapsedRealtimeNanos();
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DClock.java49 return SystemClock.elapsedRealtimeNanos(); in getElapsedSinceBootNanos()
/frameworks/layoutlib/bridge/src/android/os/
DSystemClock_Delegate.java62 /*package*/ static long elapsedRealtimeNanos() { in elapsedRealtimeNanos() method in SystemClock_Delegate
/frameworks/base/services/core/java/com/android/server/job/controllers/
DBackgroundJobsController.java165 final long start = DEBUG ? SystemClock.elapsedRealtimeNanos() : 0; in updateJobRestrictionsLocked()
174 final long time = DEBUG ? (SystemClock.elapsedRealtimeNanos() - start) : 0; in updateJobRestrictionsLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DTestUtils.java36 event.timestamp = SystemClock.elapsedRealtimeNanos(); in createSensorEvent()
DBrightnessTrackerTest.java816 long mElapsedRealtimeNanos = SystemClock.elapsedRealtimeNanos();
930 public long elapsedRealtimeNanos() { in elapsedRealtimeNanos() method in BrightnessTrackerTest.TestInjector
/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()
/frameworks/base/core/java/com/android/internal/util/
DStatLogger.java86 return SystemClock.elapsedRealtimeNanos() / 1000; in getTime()
/frameworks/base/location/java/com/android/internal/location/gnssmetrics/
DGnssMetrics.java328 TimeUtils.formatDuration(SystemClock.elapsedRealtimeNanos() / 1000000L, s); in dumpGnssMetricsAsText()
479 TimeUtils.formatDuration(SystemClock.elapsedRealtimeNanos() / 1000000L, s); in reset()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java356 long elapsedTimeNanos = mInjector.elapsedRealtimeNanos(); in handleBrightnessChanged()
845 long horizon = mInjector.elapsedRealtimeNanos() - LUX_EVENT_HORIZON; in recordSensorEvent()
1065 public long elapsedRealtimeNanos() { in elapsedRealtimeNanos() method in BrightnessTracker.Injector
1066 return SystemClock.elapsedRealtimeNanos(); in elapsedRealtimeNanos()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/hardware/
DFakeSensorManager.java278 event.timestamp = SystemClock.elapsedRealtimeNanos(); in createSensorEvent()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowTracing.java287 os.write(ELAPSED_REALTIME_NANOS, SystemClock.elapsedRealtimeNanos()); in log()
/frameworks/base/core/java/com/android/internal/os/
DLooperStats.java271 return SystemClock.elapsedRealtimeNanos() / 1000; in getElapsedRealtimeMicro()
/frameworks/base/services/core/java/com/android/server/location/
DGeofenceManager.java258 long now = SystemClock.elapsedRealtimeNanos(); in getFreshLocationLocked()
DGnssLocationProvider.java836 long elapsedRealtimeNanos = location.getElapsedRealtimeNanos(); in injectBestLocation() local
844 elapsedRealtimeFlags, elapsedRealtimeNanos, elapsedRealtimeUncertaintyNanos); in injectBestLocation()
2303 long timestamp, int elapsedRealtimeFlags, long elapsedRealtimeNanos,
/frameworks/base/core/java/android/util/
DStatsEvent.java342 mTimestampNs = SystemClock.elapsedRealtimeNanos(); in Builder()

12