Home
last modified time | relevance | path

Searched refs:REASON_MAIN_MASK (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppStandbyController.java22 import static android.app.usage.UsageStatsManager.REASON_MAIN_MASK;
787 final int oldMainReason = reason & REASON_MAIN_MASK; in checkAndUpdateStandbyState()
1008 && (prevBucketReason & REASON_MAIN_MASK) != REASON_MAIN_USAGE; in reportEventLocked()
1241 if ((reason & REASON_MAIN_MASK) == REASON_MAIN_USAGE) { in isUserUsage()
1358 final int reason = (REASON_MAIN_MASK & mainReason) | (REASON_SUB_MASK & restrictReason); in restrictApp()
1438 boolean predicted = (reason & REASON_MAIN_MASK) == REASON_MAIN_PREDICTED; in setAppStandbyBucket()
1450 (app.bucketingReason & REASON_MAIN_MASK) == REASON_MAIN_FORCED_BY_SYSTEM; in setAppStandbyBucket()
1454 && ((app.bucketingReason & REASON_MAIN_MASK) == REASON_MAIN_FORCED_BY_USER in setAppStandbyBucket()
1460 (reason & REASON_MAIN_MASK) == REASON_MAIN_FORCED_BY_SYSTEM; in setAppStandbyBucket()
1475 (reason & REASON_MAIN_MASK) == REASON_MAIN_FORCED_BY_USER; in setAppStandbyBucket()
[all …]
DAppIdleHistory.java21 import static android.app.usage.UsageStatsManager.REASON_MAIN_MASK;
264 && (appUsageHistory.bucketingReason & REASON_MAIN_MASK) != REASON_MAIN_TIMEOUT) { in reportUsage()
389 if ((reason & REASON_MAIN_MASK) == REASON_MAIN_PREDICTED) { in setAppStandbyBucket()
571 (reason & REASON_MAIN_MASK), (reason & REASON_SUB_MASK)); in logAppStandbyBucketChanged()
/frameworks/base/core/java/android/app/usage/
DUsageStatsManager.java171 public static final int REASON_MAIN_MASK = 0xFF00; field in UsageStatsManager
1101 switch (standbyReason & REASON_MAIN_MASK) { in reasonToString()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt9436 Landroid/app/usage/UsageStatsManager;->REASON_MAIN_MASK:I