Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DScanResultUtil.java404 public static void dumpScanResults(PrintWriter pw, List<ScanResult> scanResults, long nowMs) { in dumpScanResults() argument
413 } else if (nowMs < timeStampMs) { in dumpScanResults()
415 } else if (timeStampMs < nowMs - 1000000) { in dumpScanResults()
418 age = String.format("%3.3f", (nowMs - timeStampMs) / 1000.0); in dumpScanResults()
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DWificondScannerImpl.java475 long nowMs = mClock.getElapsedSinceBootMillis(); in dump() local
476 Log.d(TAG, "Latest native scan results nowMs = " + nowMs); in dump()
482 ScanResultUtil.dumpScanResults(pw, scanResults, nowMs); in dump()
489 ScanResultUtil.dumpScanResults(pw, pnoScanResults, nowMs); in dump()
DWifiScanningServiceImpl.java2691 long nowMs = mClock.getElapsedSinceBootMillis(); in dump() local
2692 Log.d(TAG, "Latest scan results nowMs = " + nowMs); in dump()
2694 ScanResultUtil.dumpScanResults(pw, scanResults, nowMs); in dump()
/packages/modules/Wifi/service/java/com/android/server/wifi/rtt/
DRttMetrics.java230 long nowMs = mClock.getElapsedSinceBootMillis(); in updatePeerInfoWithRequestInfo() local
249 addValueToLogHistogram(nowMs - perUidInfo.lastRequestMs, in updatePeerInfoWithRequestInfo()
252 perUidInfo.lastRequestMs = nowMs; in updatePeerInfoWithRequestInfo()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkFactoryTest.java1597 long nowMs = WifiNetworkFactory.CACHED_SCAN_RESULTS_MAX_AGE_IN_MILLIS + 1; in testNetworkSpecifierHandleUserSelectionConnectToNetworkStaleMissingBssidInLatest() local
1598 scanDatas2[0].getResults()[0].timestamp = nowMs; in testNetworkSpecifierHandleUserSelectionConnectToNetworkStaleMissingBssidInLatest()
1599 scanDatas2[0].getResults()[1].timestamp = nowMs; in testNetworkSpecifierHandleUserSelectionConnectToNetworkStaleMissingBssidInLatest()
1600 scanDatas2[0].getResults()[2].timestamp = nowMs; in testNetworkSpecifierHandleUserSelectionConnectToNetworkStaleMissingBssidInLatest()
1601 scanDatas2[0].getResults()[3].timestamp = nowMs; in testNetworkSpecifierHandleUserSelectionConnectToNetworkStaleMissingBssidInLatest()
1603 nowMs, in testNetworkSpecifierHandleUserSelectionConnectToNetworkStaleMissingBssidInLatest()
3402 private void verifyPeriodicScans(long nowMs, PeriodicScanParams... scanParams) { in verifyPeriodicScans() argument
3403 when(mClock.getElapsedSinceBootMillis()).thenReturn(nowMs); in verifyPeriodicScans()
3431 eq(expectedNextIntervalInMs + nowMs), any(), in verifyPeriodicScans()
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java260 final long nowMs = SystemClock.elapsedRealtime(); in logStats() local
269 .setDurationMs(nowMs - mStart) in logStats()
275 logApfProgramEventLocked(nowMs / DateUtils.SECOND_IN_MILLIS); in logStats()