Home
last modified time | relevance | path

Searched refs:currentTimeInMillis (Results 1 – 5 of 5) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DImportantNoticeUtils.java120 final Context context, final long currentTimeInMillis) { in hasContactsNoticeTimeoutPassed() argument
124 .putLong(KEY_TIMESTAMP_OF_CONTACTS_NOTICE, currentTimeInMillis) in hasContactsNoticeTimeoutPassed()
128 KEY_TIMESTAMP_OF_CONTACTS_NOTICE, currentTimeInMillis); in hasContactsNoticeTimeoutPassed()
129 final long elapsedTime = currentTimeInMillis - firstDisplayTimeInMillis; in hasContactsNoticeTimeoutPassed()
/packages/services/Car/service/src/com/android/car/telemetry/publisher/
DConnectivityPublisher.java276 long currentTimeInMillis = System.currentTimeMillis(); in getSummaryForAllUid() local
280 long startMillis = currentTimeInMillis in getSummaryForAllUid()
292 param.buildNetworkTemplate(), startMillis, currentTimeInMillis); in getSummaryForAllUid()
295 param.buildNetworkTemplate(), startMillis, currentTimeInMillis); in getSummaryForAllUid()
301 RefinedStats result = new RefinedStats(startMillis, currentTimeInMillis); in getSummaryForAllUid()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiNetworkFactory.java2009 long currentTimeInMillis = mClock.getElapsedSinceBootMillis(); in handleScanResults() local
2011 e -> ((currentTimeInMillis - (e.getValue().timestamp / 1000)) in handleScanResults()
2032 long currentTimeInMillis = mClock.getElapsedSinceBootMillis(); in getFilteredCachedScanResults() local
2035 -> ((currentTimeInMillis - (scanResult.timestamp / 1000)) in getFilteredCachedScanResults()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/
DWifiScanningServiceTest.java2087 long currentTimeInMillis = CACHED_SCAN_RESULTS_MAX_AGE_IN_MILLIS * 2; in doesNotRetrieveStaleScanResultsFromLastFullSingleScan() local
2088 when(mClock.getElapsedSinceBootMillis()).thenReturn(currentTimeInMillis); in doesNotRetrieveStaleScanResultsFromLastFullSingleScan()
2089 scanResults.getRawScanResults()[0].timestamp = (currentTimeInMillis - 1) * 1000; in doesNotRetrieveStaleScanResultsFromLastFullSingleScan()
2090 scanResults.getRawScanResults()[1].timestamp = (currentTimeInMillis - 2) * 1000; in doesNotRetrieveStaleScanResultsFromLastFullSingleScan()
2092 (currentTimeInMillis - CACHED_SCAN_RESULTS_MAX_AGE_IN_MILLIS) * 1000; in doesNotRetrieveStaleScanResultsFromLastFullSingleScan()
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java1703 long currentTimeInMillis = mClock.getElapsedSinceBootMillis(); in filterCachedScanResultsByAge() local
1706 -> ((currentTimeInMillis - (scanResult.timestamp / 1000)) in filterCachedScanResultsByAge()