Searched refs:currentTimeInMillis (Results 1 – 5 of 5) sorted by relevance
247 public static boolean isUnusedSinceTimeInMillis(long firstInstallTime, long currentTimeInMillis, in isUnusedSinceTimeInMillis() argument251 if (currentTimeInMillis - firstInstallTime < thresholdTimeinMillis) { in isUnusedSinceTimeInMillis()256 boolean isActiveInForeground = (currentTimeInMillis in isUnusedSinceTimeInMillis()266 boolean isActiveInBackgroundAndUsedByOtherPackages = ((currentTimeInMillis in isUnusedSinceTimeInMillis()
24944 long currentTimeInMillis = System.currentTimeMillis();24954 .isUnusedSinceTimeInMillis(ps.firstInstallTime, currentTimeInMillis,
1375 long currentTimeInMillis = mClock.getElapsedSinceBootMillis(); in getFilteredCachedScanResults() local1378 -> ((currentTimeInMillis - (scanResult.timestamp / 1000)) in getFilteredCachedScanResults()
1792 long currentTimeInMillis = CACHED_SCAN_RESULTS_MAX_AGE_IN_MILLIS * 2; in doesNotRetrieveStaleScanResultsFromLastFullSingleScan() local1793 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()
624 long currentTimeInMillis = mClock.getElapsedSinceBootMillis(); in filterCachedScanResultsByAge() local627 -> ((currentTimeInMillis - (scanResult.timestamp / 1000)) in filterCachedScanResultsByAge()