Home
last modified time | relevance | path

Searched refs:REASON_MAIN_TIMEOUT (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppIdleHistoryTests.java21 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() local
135 assertEquals(aih.getAppStandbyReason(PACKAGE_1, USER_ID, 5000), REASON_MAIN_TIMEOUT); in testBuckets() local
167 REASON_MAIN_TIMEOUT); in testReason()
171 assertEquals(REASON_MAIN_TIMEOUT, aih.getAppStandbyReason(PACKAGE_1, USER_ID, 5000)); in testReason()
DAppStandbyControllerTests.java29 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 …]
/frameworks/base/core/java/android/app/usage/
DUsageStatsManager.java179 public static final int REASON_MAIN_TIMEOUT = 0x0200; field in UsageStatsManager
1138 case REASON_MAIN_TIMEOUT: in reasonToString()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppStandbyController.java24 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()
DAppIdleHistory.java23 import static android.app.usage.UsageStatsManager.REASON_MAIN_TIMEOUT;
264 && (appUsageHistory.bucketingReason & REASON_MAIN_MASK) != REASON_MAIN_TIMEOUT) { in reportUsage()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt9438 Landroid/app/usage/UsageStatsManager;->REASON_MAIN_TIMEOUT:I