Searched refs:appUsageHistory (Results 1 – 1 of 1) sorted by relevance
230 public AppUsageHistory reportUsage(AppUsageHistory appUsageHistory, String packageName, in reportUsage() argument237 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 …]