Searched refs:currentTimeInMillis (Results 1 – 5 of 5) sorted by relevance
267 public static boolean isUnusedSinceTimeInMillis(long firstInstallTime, long currentTimeInMillis, in isUnusedSinceTimeInMillis() argument271 if (currentTimeInMillis - firstInstallTime < thresholdTimeinMillis) { in isUnusedSinceTimeInMillis()276 boolean isActiveInForeground = (currentTimeInMillis in isUnusedSinceTimeInMillis()286 boolean isActiveInBackgroundAndUsedByOtherPackages = ((currentTimeInMillis in isUnusedSinceTimeInMillis()
1446 long currentTimeInMillis = mClock.getElapsedSinceBootMillis(); in getFilteredCachedScanResults() local1449 -> ((currentTimeInMillis - (scanResult.timestamp / 1000)) in getFilteredCachedScanResults()
1901 long currentTimeInMillis = CACHED_SCAN_RESULTS_MAX_AGE_IN_MILLIS * 2; in doesNotRetrieveStaleScanResultsFromLastFullSingleScan() local1902 when(mClock.getElapsedSinceBootMillis()).thenReturn(currentTimeInMillis); in doesNotRetrieveStaleScanResultsFromLastFullSingleScan()1903 scanResults.getRawScanResults()[0].timestamp = (currentTimeInMillis - 1) * 1000; in doesNotRetrieveStaleScanResultsFromLastFullSingleScan()1904 scanResults.getRawScanResults()[1].timestamp = (currentTimeInMillis - 2) * 1000; in doesNotRetrieveStaleScanResultsFromLastFullSingleScan()1906 (currentTimeInMillis - CACHED_SCAN_RESULTS_MAX_AGE_IN_MILLIS) * 1000; in doesNotRetrieveStaleScanResultsFromLastFullSingleScan()
861 long currentTimeInMillis = mClock.getElapsedSinceBootMillis(); in filterCachedScanResultsByAge() local864 -> ((currentTimeInMillis - (scanResult.timestamp / 1000)) in filterCachedScanResultsByAge()
1203 final long currentTimeInMillis = MICROSECONDS.toMillis(SystemClock.currentTimeMicro()); in getUidNetworkStatsSnapshotForTemplate() local1214 currentTimeInMillis - elapsedMillisSinceBoot - bucketDuration, in getUidNetworkStatsSnapshotForTemplate()1215 currentTimeInMillis, includeTags); in getUidNetworkStatsSnapshotForTemplate()