Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java247 public static boolean isUnusedSinceTimeInMillis(long firstInstallTime, long currentTimeInMillis, in isUnusedSinceTimeInMillis() argument
251 if (currentTimeInMillis - firstInstallTime < thresholdTimeinMillis) { in isUnusedSinceTimeInMillis()
256 boolean isActiveInForeground = (currentTimeInMillis in isUnusedSinceTimeInMillis()
266 boolean isActiveInBackgroundAndUsedByOtherPackages = ((currentTimeInMillis in isUnusedSinceTimeInMillis()
DPackageManagerService.java24944 long currentTimeInMillis = System.currentTimeMillis();
24954 .isUnusedSinceTimeInMillis(ps.firstInstallTime, currentTimeInMillis,
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkFactory.java1375 long currentTimeInMillis = mClock.getElapsedSinceBootMillis(); in getFilteredCachedScanResults() local
1378 -> ((currentTimeInMillis - (scanResult.timestamp / 1000)) in getFilteredCachedScanResults()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWifiScanningServiceTest.java1792 long currentTimeInMillis = CACHED_SCAN_RESULTS_MAX_AGE_IN_MILLIS * 2; in doesNotRetrieveStaleScanResultsFromLastFullSingleScan() local
1793 when(mClock.getElapsedSinceBootMillis()).thenReturn(currentTimeInMillis); in doesNotRetrieveStaleScanResultsFromLastFullSingleScan()
1794 scanResults.getRawScanResults()[0].timestamp = (currentTimeInMillis - 1) * 1000; in doesNotRetrieveStaleScanResultsFromLastFullSingleScan()
1795 scanResults.getRawScanResults()[1].timestamp = (currentTimeInMillis - 2) * 1000; in doesNotRetrieveStaleScanResultsFromLastFullSingleScan()
1797 (currentTimeInMillis - CACHED_SCAN_RESULTS_MAX_AGE_IN_MILLIS) * 1000; in doesNotRetrieveStaleScanResultsFromLastFullSingleScan()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java624 long currentTimeInMillis = mClock.getElapsedSinceBootMillis(); in filterCachedScanResultsByAge() local
627 -> ((currentTimeInMillis - (scanResult.timestamp / 1000)) in filterCachedScanResultsByAge()