Home
last modified time | relevance | path

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

/frameworks/base/services/usage/java/com/android/server/usage/
DAppIdleHistory.java125 int bucketingReason; field in AppIdleHistory.AppUsageHistory
259 + ", reason=0x0" + Integer.toHexString(appUsageHistory.bucketingReason)); in reportUsage()
262 appUsageHistory.bucketingReason = REASON_MAIN_USAGE | usageReason; in reportUsage()
307 appUsageHistory.bucketingReason = REASON_MAIN_DEFAULT; in getPackageHistory()
345 appUsageHistory.bucketingReason = reason; in setAppStandbyBucket()
359 + ", reason=0x0" + Integer.toHexString(appUsageHistory.bucketingReason)); in setAppStandbyBucket()
430 return appUsageHistory != null ? appUsageHistory.bucketingReason : 0; in getAppStandbyReason()
444 appUsageHistory.bucketingReason = REASON_MAIN_FORCED; in setIdle()
448 appUsageHistory.bucketingReason = REASON_MAIN_USAGE | REASON_SUB_USAGE_USER_INTERACTION; in setIdle()
559 String bucketingReason = in readAppIdleTimes() local
[all …]
DAppStandbyController.java426 appUsage.currentBucket, appUsage.bucketingReason, false); in reportContentProviderUsage()
462 appUsage.currentBucket, appUsage.bucketingReason, false); in reportExemptedSyncScheduled()
480 appUsage.currentBucket, appUsage.bucketingReason, false); in reportUnexemptedSyncScheduled()
496 appUsage.currentBucket, appUsage.bucketingReason, false); in reportExemptedSyncStart()
682 int reason = app.bucketingReason; in checkAndUpdateStandbyState()
721 reason = app.bucketingReason; in checkAndUpdateStandbyState()
730 ? app.bucketingReason in checkAndUpdateStandbyState()
892 final int prevBucketReason = appHistory.bucketingReason; in reportEvent()
1236 if ((app.bucketingReason & REASON_MAIN_MASK) == REASON_MAIN_FORCED && predicted) return; in setAppStandbyBucket()
1250 reason = app.bucketingReason; in setAppStandbyBucket()
[all …]