Searched refs:REASON_MAIN_TIMEOUT (Results 1 – 6 of 6) sorted by relevance
21 import static android.app.usage.UsageStatsManager.REASON_MAIN_TIMEOUT;111 REASON_MAIN_TIMEOUT); in testBuckets()115 assertEquals(aih.getAppStandbyReason(PACKAGE_1, USER_ID, 3000), REASON_MAIN_TIMEOUT); in testBuckets() local135 assertEquals(aih.getAppStandbyReason(PACKAGE_1, USER_ID, 5000), REASON_MAIN_TIMEOUT); in testBuckets() local167 REASON_MAIN_TIMEOUT); in testReason()171 assertEquals(REASON_MAIN_TIMEOUT, aih.getAppStandbyReason(PACKAGE_1, USER_ID, 5000)); in testReason()
29 import static android.app.usage.UsageStatsManager.REASON_MAIN_TIMEOUT;760 REASON_MAIN_TIMEOUT); in testSetAppStandbyBucket()768 REASON_MAIN_TIMEOUT); in testSetAppStandbyBucket()871 REASON_MAIN_TIMEOUT); in testPredictionTimedOut()1249 REASON_MAIN_TIMEOUT); in testRestrictedBucketDisabled()1786 REASON_MAIN_TIMEOUT); in testSystemHeadlessAppElevated()1791 REASON_MAIN_TIMEOUT); in testSystemHeadlessAppElevated()1797 REASON_MAIN_TIMEOUT); in testSystemHeadlessAppElevated()1811 REASON_MAIN_TIMEOUT); in testWellbeingAppElevated()1816 REASON_MAIN_TIMEOUT); in testWellbeingAppElevated()[all …]
179 public static final int REASON_MAIN_TIMEOUT = 0x0200; field in UsageStatsManager1138 case REASON_MAIN_TIMEOUT: in reasonToString()
24 import static android.app.usage.UsageStatsManager.REASON_MAIN_TIMEOUT;804 || oldMainReason == REASON_MAIN_TIMEOUT in checkAndUpdateStandbyState()820 reason = REASON_MAIN_TIMEOUT; in checkAndUpdateStandbyState()1478 if ((app.bucketingReason & REASON_MAIN_MASK) == REASON_MAIN_TIMEOUT) { in setAppStandbyBucket()1562 reason = REASON_MAIN_TIMEOUT; in setAppStandbyBucket()
23 import static android.app.usage.UsageStatsManager.REASON_MAIN_TIMEOUT;264 && (appUsageHistory.bucketingReason & REASON_MAIN_MASK) != REASON_MAIN_TIMEOUT) { in reportUsage()
9438 Landroid/app/usage/UsageStatsManager;->REASON_MAIN_TIMEOUT:I