Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DSubtitleTrack.java323 long nowMs = -1; in addCue() local
326 nowMs = mTimeProvider.getCurrentTimeUs( in addCue()
334 cue.mStartTimeMs + " <= " + nowMs + ", " + in addCue()
338 cue.mStartTimeMs <= nowMs && in addCue()
345 final long thenMs = nowMs; in addCue()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationUsageStats.java1096 long nowMs = System.currentTimeMillis(); in SQLiteLog()
1102 writeEvent(nowMs, EVENT_TYPE_CLICK, r); in SQLiteLog()
1105 writeEvent(nowMs, EVENT_TYPE_REMOVE, r); in SQLiteLog()
1108 writeEvent(nowMs, EVENT_TYPE_DISMISS, r); in SQLiteLog()
1262 long nowMs = System.currentTimeMillis(); in pruneIfNecessary() local
1264 nowMs - sLastPruneMs > PRUNE_MIN_DELAY_MS) { in pruneIfNecessary()
1266 sLastPruneMs = nowMs; in pruneIfNecessary()
1267 long horizonStartMs = nowMs - HORIZON_MS; in pruneIfNecessary()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java573 long nowMs = SystemClock.elapsedRealtime(); in evictOldScanResults() local
577 if (nowMs - result.timestamp / 1000 > MAX_SCAN_RESULT_AGE_MILLIS) { in evictOldScanResults()
959 long nowMs = SystemClock.elapsedRealtime(); in getVisibilityStatus() local
970 scans5GHz.append(verboseScanResultSummary(result, bssid, nowMs)); in getVisibilityStatus()
981 scans24GHz.append(verboseScanResultSummary(result, bssid, nowMs)); in getVisibilityStatus()
1009 /* package */ String verboseScanResultSummary(ScanResult result, String bssid, long nowMs) { in verboseScanResultSummary() argument
1022 int ageSeconds = (int) (nowMs - result.timestamp / 1000) / 1000; in verboseScanResultSummary()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWificondScannerImpl.java790 long nowMs = mClock.getElapsedSinceBootMillis(); in dump() local
799 } else if (nowMs < timeStampMs) { in dump()
801 } else if (timeStampMs < nowMs - 1000000) { in dump()
804 age = String.format("%3.3f", (nowMs - timeStampMs) / 1000.0); in dump()
DWifiScanningServiceImpl.java2132 long nowMs = mClock.getElapsedSinceBootMillis(); in dump() local
2141 } else if (nowMs < timeStampMs) { in dump()
2143 } else if (timeStampMs < nowMs - 1000000) { in dump()
2146 age = String.format("%3.3f", (nowMs - timeStampMs) / 1000.0); in dump()
/frameworks/base/services/net/java/android/net/apf/
DApfFilter.java163 final long nowMs = SystemClock.elapsedRealtime(); in logStats() local
165 mStats.durationMs = nowMs - mStart; in logStats()
170 logApfProgramEventLocked(nowMs / DateUtils.SECOND_IN_MILLIS); in logStats()