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()
352 appUsageHistory.bucketingReason = reason; in setAppStandbyBucket()
366 + ", reason=0x0" + Integer.toHexString(appUsageHistory.bucketingReason)); in setAppStandbyBucket()
435 return appUsageHistory != null ? appUsageHistory.bucketingReason : 0; in getAppStandbyReason()
449 appUsageHistory.bucketingReason = REASON_MAIN_FORCED; in setIdle()
453 appUsageHistory.bucketingReason = REASON_MAIN_USAGE | REASON_SUB_USAGE_USER_INTERACTION; in setIdle()
554 String bucketingReason = in readAppIdleTimes() local
[all …]
DAppStandbyController.java402 appUsage.currentBucket, appUsage.bucketingReason, false); in reportContentProviderUsage()
438 appUsage.currentBucket, appUsage.bucketingReason, false); in reportExemptedSyncScheduled()
453 appUsage.currentBucket, appUsage.bucketingReason, false); in reportExemptedSyncStart()
639 int reason = app.bucketingReason; in checkAndUpdateStandbyState()
678 reason = app.bucketingReason; in checkAndUpdateStandbyState()
687 ? app.bucketingReason in checkAndUpdateStandbyState()
848 final int prevBucketReason = appHistory.bucketingReason; in reportEvent()
1179 if ((app.bucketingReason & REASON_MAIN_MASK) == REASON_MAIN_FORCED && predicted) return; in setAppStandbyBucket()
1193 reason = app.bucketingReason; in setAppStandbyBucket()
1203 reason = app.bucketingReason; in setAppStandbyBucket()