Searched refs:appUsageHistory (Results 1 – 1 of 1) sorted by relevance
257 AppUsageHistory reportUsage(AppUsageHistory appUsageHistory, String packageName, int userId, in reportUsage() argument262 if (appUsageHistory.currentBucket == STANDBY_BUCKET_RESTRICTED && !isUserUsage) { in reportUsage()265 bucketingReason = appUsageHistory.bucketingReason; in reportUsage()272 appUsageHistory.bucketActiveTimeoutTime = Math.max(timeoutTime, in reportUsage()273 appUsageHistory.bucketActiveTimeoutTime); in reportUsage()275 appUsageHistory.bucketWorkingSetTimeoutTime = Math.max(timeoutTime, in reportUsage()276 appUsageHistory.bucketWorkingSetTimeoutTime); in reportUsage()285 appUsageHistory.lastUsedElapsedTime = mElapsedDuration in reportUsage()288 appUsageHistory.lastUsedByUserElapsedTime = appUsageHistory.lastUsedElapsedTime; in reportUsage()290 appUsageHistory.lastUsedScreenTime = getScreenOnTime(elapsedRealtime); in reportUsage()[all …]