Home
last modified time | relevance | path

Searched refs:timeframe (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/CredentialManager/horologist/src/com/google/android/horologist/compose/rotaryinput/
DHaptics.kt65 internal fun <T> Flow<T>.throttleLatest(timeframe: Long): Flow<T> = in throttleLatest()
69 delay(timeframe) in throttleLatest()
DRotary.kt832 timeframe: Long in batchRequestsWithinTimeframe()
835 var lastTimestamp = -timeframe in batchRequestsWithinTimeframe()
836 return if (timeframe == 0L) { in batchRequestsWithinTimeframe()
842 if (lastTimestamp + timeframe <= it.timestamp) { in batchRequestsWithinTimeframe()
847 delay(timeframe) in batchRequestsWithinTimeframe()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsDatabase.java1375 final long timeframe = System.currentTimeMillis() - TimeUnit.DAYS.toMillis(90); in applyRestoredPayload() local
1380 calculatePackagesUsedWithinTimeframe(stats, packagesRestored, timeframe); in applyRestoredPayload()
1390 calculatePackagesUsedWithinTimeframe(stats, packagesRestored, timeframe); in applyRestoredPayload()
1399 calculatePackagesUsedWithinTimeframe(stats, packagesRestored, timeframe); in applyRestoredPayload()
1408 calculatePackagesUsedWithinTimeframe(stats, packagesRestored, timeframe); in applyRestoredPayload()