Searched refs:currentTimeInMillis (Results 1 – 4 of 4) 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()
25478 long currentTimeInMillis = System.currentTimeMillis();25488 .isUnusedSinceTimeInMillis(ps.firstInstallTime, currentTimeInMillis,
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()