Searched refs:REASON_MAIN_USAGE (Results 1 – 7 of 7) sorted by relevance
20 import static android.app.usage.UsageStatsManager.REASON_MAIN_USAGE;98 REASON_MAIN_USAGE); in testBuckets()103 REASON_MAIN_USAGE); in testBuckets()144 assertEquals(REASON_MAIN_USAGE | REASON_SUB_USAGE_MOVE_TO_FOREGROUND, in testReason()
29 import static android.app.usage.UsageStatsManager.REASON_MAIN_USAGE;719 REASON_MAIN_USAGE, 2 * HOUR_MS); in testOverrides()
23 import static android.app.usage.UsageStatsManager.REASON_MAIN_USAGE;262 appUsageHistory.bucketingReason = REASON_MAIN_USAGE | usageReason; in reportUsage()448 appUsageHistory.bucketingReason = REASON_MAIN_USAGE | REASON_SUB_USAGE_USER_INTERACTION; in setIdle()
24 import static android.app.usage.UsageStatsManager.REASON_MAIN_USAGE;695 || oldMainReason == REASON_MAIN_USAGE in checkAndUpdateStandbyState()731 : REASON_MAIN_USAGE | REASON_SUB_USAGE_ACTIVE_TIMEOUT; in checkAndUpdateStandbyState()895 final int reason = REASON_MAIN_USAGE | subReason; in reportEvent()927 (prevBucketReason & REASON_MAIN_MASK) != REASON_MAIN_USAGE; in reportEvent()1258 reason = REASON_MAIN_USAGE | REASON_SUB_USAGE_ACTIVE_TIMEOUT; in setAppStandbyBucket()
164 public static final int REASON_MAIN_USAGE = 0x0300; field in UsageStatsManager950 case REASON_MAIN_USAGE: in reasonToString()
19 import static android.app.usage.UsageStatsManager.REASON_MAIN_USAGE;653 UsageStatsManager.STANDBY_BUCKET_ACTIVE, REASON_MAIN_USAGE); in testExempt()
10093 Landroid/app/usage/UsageStatsManager;->REASON_MAIN_USAGE:I