Searched refs:getTimeNanos (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DSecurityLogMonitor.java246 if (newLogs.get(i).getTimeNanos() > newLogs.get(i+1).getTimeNanos()) {
249 newLogs.sort((e1, e2) -> Long.signum(e1.getTimeNanos() - e2.getTimeNanos()));
269 mLastEventNanos = newLogs.get(newLogs.size() - 1).getTimeNanos();
273 while (pos >= 0 && mLastEventNanos - newLogs.get(pos).getTimeNanos() < OVERLAP_NANOS) {
298 final long currentNanos = curEvent.getTimeNanos();
304 final long lastNanos = lastEvent.getTimeNanos();
/frameworks/base/core/java/android/app/admin/
H A DSecurityLog.java140 public long getTimeNanos() { method in class:SecurityLog.SecurityEvent
141 return mEvent.getTimeNanos();
/frameworks/base/core/java/android/metrics/
H A DMetricsReader.java171 nativeEvent.getTimeNanos(), TimeUnit.NANOSECONDS);
/frameworks/base/core/java/android/util/
H A DEventLog.java115 public long getTimeNanos() { method in class:EventLog.Event
/frameworks/base/location/java/android/location/
H A DGnssClock.java139 public long getTimeNanos() { method in class:GnssClock
202 * Gets the difference between hardware clock ({@link #getTimeNanos()}) inside GPS receiver and

Completed in 142 milliseconds