Home
last modified time | relevance | path

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

/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppIdleHistory.java148 int bucketingReason; field in AppIdleHistory.AppUsageHistory
259 int bucketingReason = REASON_MAIN_USAGE | usageReason; in reportUsage() local
260 final boolean isUserUsage = isUserUsage(bucketingReason); in reportUsage()
265 bucketingReason = appUsageHistory.bucketingReason; in reportUsage()
295 logAppStandbyBucketChanged(packageName, userId, newBucket, bucketingReason); in reportUsage()
297 appUsageHistory.bucketingReason = bucketingReason; in reportUsage()
343 appUsageHistory.bucketingReason = REASON_MAIN_DEFAULT; in getPackageHistory()
382 appUsageHistory.bucketingReason = reason; in setAppStandbyBucket()
484 return appUsageHistory != null ? appUsageHistory.bucketingReason : 0; in getAppStandbyReason()
631 String bucketingReason = in readAppIdleTimes() local
[all …]
DAppStandbyController.java602 appUsage.bucketingReason, false); in reportNoninteractiveUsageLocked()
720 int reason = app.bucketingReason; in checkAndUpdateStandbyState()
763 reason = app.bucketingReason; in checkAndUpdateStandbyState()
772 ? app.bucketingReason in checkAndUpdateStandbyState()
905 final int prevBucketReason = appHistory.bucketingReason; in reportEventLocked()
1374 (app.bucketingReason & REASON_MAIN_MASK) == REASON_MAIN_FORCED_BY_SYSTEM; in setAppStandbyBucket()
1378 && ((app.bucketingReason & REASON_MAIN_MASK) == REASON_MAIN_FORCED_BY_USER in setAppStandbyBucket()
1391 | (app.bucketingReason & REASON_SUB_MASK) in setAppStandbyBucket()
1402 if ((app.bucketingReason & REASON_MAIN_MASK) == REASON_MAIN_TIMEOUT) { in setAppStandbyBucket()
1462 reason = app.bucketingReason; in setAppStandbyBucket()
[all …]