Home
last modified time | relevance | path

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

/frameworks/base/services/usage/java/com/android/server/usage/
DAppIdleHistory.java230 public AppUsageHistory reportUsage(AppUsageHistory appUsageHistory, String packageName, in reportUsage() argument
237 appUsageHistory.bucketActiveTimeoutTime = Math.max(timeoutTime, in reportUsage()
238 appUsageHistory.bucketActiveTimeoutTime); in reportUsage()
240 appUsageHistory.bucketWorkingSetTimeoutTime = Math.max(timeoutTime, in reportUsage()
241 appUsageHistory.bucketWorkingSetTimeoutTime); in reportUsage()
249 appUsageHistory.lastUsedElapsedTime = mElapsedDuration in reportUsage()
251 appUsageHistory.lastUsedScreenTime = getScreenOnTime(elapsedRealtime); in reportUsage()
254 if (appUsageHistory.currentBucket > newBucket) { in reportUsage()
255 appUsageHistory.currentBucket = newBucket; in reportUsage()
257 Slog.d(TAG, "Moved " + packageName + " to bucket=" + appUsageHistory in reportUsage()
[all …]