Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DHistoryTracker.java87 long nowMs = mSystemClock.uptimeMillis(); in falseBelief() local
90 .map(result -> result.getDecayedScore(nowMs)) in falseBelief()
187 double getDecayedScore(long nowMs) { in getDecayedScore() argument
188 long remainingTimeMs = mExpiryMs - nowMs; in getDecayedScore()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiUtils.kt249 val nowMs = SystemClock.elapsedRealtime() in <lambda>() constant
266 nowMs in <lambda>()
282 nowMs in <lambda>()
298 nowMs in <lambda>()
340 nowMs: Long in <lambda>()
354 val ageSeconds = (nowMs - result.timestamp / 1000).toInt() / 1000 in <lambda>()
DWifiTracker.java517 long nowMs = SystemClock.elapsedRealtime(); in evictOldScans() local
521 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/base/services/core/java/com/android/server/am/
DCacheOomRanker.java346 long nowMs = SystemClock.elapsedRealtime(); in reRankLruCachedAppsLSP() local
350 nowMs - scoredProcessRecord.proc.mState.getCacheOomRankerRssTimeMs(); in reRankLruCachedAppsLSP()
366 scoredProcessRecord.proc.mState.setCacheOomRankerRss(rss[0], nowMs); in reRankLruCachedAppsLSP()
/frameworks/base/services/core/java/com/android/server/criticalevents/
DCriticalEventLog.java371 final long nowMs = getWallTimeMillis(); in saveDelayMs() local
373 mLastSaveAttemptMs + mMinTimeBetweenSavesMs - nowMs); in saveDelayMs()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DStandardWifiEntry.java911 final long nowMs = SystemClock.elapsedRealtime(); in getScanResultDescription() local
913 description.append(getScanResultDescription(scanResult, nowMs))); in getScanResultDescription()
919 private synchronized String getScanResultDescription(ScanResult scanResult, long nowMs) { in getScanResultDescription() argument
963 final int ageSeconds = (int) (nowMs - scanResult.timestamp / 1000) / 1000; in getScanResultDescription()
/frameworks/base/core/java/android/app/
DPropertyInvalidatedCache.java1303 long nowMs = SystemClock.uptimeMillis();
1304 if (mUncorkDeadlineMs > nowMs) {
1305 mUncorkDeadlineMs = nowMs + mAutoCorkDelayMs;
/frameworks/base/services/core/java/com/android/server/
DWatchdog.java1116 long nowMs = SystemClock.elapsedRealtime(); // Time since boot including deep sleep. in isCrashLoopFound() local
1123 crashHistory.add(String.valueOf(nowMs)); in isCrashLoopFound()
1139 return crashHistory.size() >= fatalCount && nowMs - firstCrashMs < fatalWindowMs; in isCrashLoopFound()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java5141 void reset(long nowMs) { in reset() argument
5143 lastResetTimeMs = nowMs; in reset()