Home
last modified time | relevance | path

Searched refs:nowMs (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DScanResultUtil.java170 public static void dumpScanResults(PrintWriter pw, List<ScanResult> scanResults, long nowMs) { in dumpScanResults() argument
179 } else if (nowMs < timeStampMs) { in dumpScanResults()
181 } else if (timeStampMs < nowMs - 1000000) { in dumpScanResults()
184 age = String.format("%3.3f", (nowMs - timeStampMs) / 1000.0); in dumpScanResults()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiUtils.java116 long nowMs = SystemClock.elapsedRealtime(); in getVisibilityStatus() local
132 nowMs)); in getVisibilityStatus()
145 nowMs)); in getVisibilityStatus()
175 String bssid, long nowMs) { in verboseScanResultSummary() argument
188 int ageSeconds = (int) (nowMs - result.timestamp / 1000) / 1000; in verboseScanResultSummary()
DWifiTracker.java507 long nowMs = SystemClock.elapsedRealtime(); in evictOldScans() local
511 if (nowMs - result.timestamp / 1000 > evictionTimeoutMillis) { in evictOldScans()
/frameworks/base/media/java/android/media/
DSubtitleTrack.java326 long nowMs = -1; in addCue() local
329 nowMs = mTimeProvider.getCurrentTimeUs( in addCue()
337 cue.mStartTimeMs + " <= " + nowMs + ", " + in addCue()
341 cue.mStartTimeMs <= nowMs && in addCue()
348 final long thenMs = nowMs; in addCue()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWificondScannerImpl.java486 long nowMs = mClock.getElapsedSinceBootMillis(); in dump() local
492 ScanResultUtil.dumpScanResults(pw, scanResults, nowMs); in dump()
499 ScanResultUtil.dumpScanResults(pw, pnoScanResults, nowMs); in dump()
DWifiScanningServiceImpl.java2181 long nowMs = mClock.getElapsedSinceBootMillis(); in dump() local
2182 ScanResultUtil.dumpScanResults(pw, scanResults, nowMs); in dump()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/rtt/
DRttMetrics.java212 long nowMs = mClock.getElapsedSinceBootMillis(); in updatePeerInfoWithRequestInfo() local
231 addValueToLogHistogram(nowMs - perUidInfo.lastRequestMs, in updatePeerInfoWithRequestInfo()
234 perUidInfo.lastRequestMs = nowMs; in updatePeerInfoWithRequestInfo()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationUsageStats.java1126 long nowMs = System.currentTimeMillis(); in SQLiteLog()
1132 writeEvent(nowMs, EVENT_TYPE_CLICK, r); in SQLiteLog()
1135 writeEvent(nowMs, EVENT_TYPE_REMOVE, r); in SQLiteLog()
1138 writeEvent(nowMs, EVENT_TYPE_DISMISS, r); in SQLiteLog()
1294 long nowMs = System.currentTimeMillis(); in pruneIfNecessary() local
1296 nowMs - sLastPruneMs > PRUNE_MIN_DELAY_MS) { in pruneIfNecessary()
1298 sLastPruneMs = nowMs; in pruneIfNecessary()
1299 long horizonStartMs = nowMs - HORIZON_MS; in pruneIfNecessary()