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;
115 REASON_MAIN_TIMEOUT); in testBuckets()
119 assertEquals(aih.getAppStandbyReason(PACKAGE_1, USER_ID, 3000), REASON_MAIN_TIMEOUT); in testBuckets() local
139 assertEquals(aih.getAppStandbyReason(PACKAGE_1, USER_ID, 5000), REASON_MAIN_TIMEOUT); in testBuckets() local
173 REASON_MAIN_TIMEOUT); in testReason()
177 assertEquals(REASON_MAIN_TIMEOUT, aih.getAppStandbyReason(PACKAGE_1, USER_ID, 5000)); in testReason()
DAppStandbyControllerTests.java29 import static android.app.usage.UsageStatsManager.REASON_MAIN_TIMEOUT;
865 REASON_MAIN_TIMEOUT); in testSetAppStandbyBucket()
873 REASON_MAIN_TIMEOUT); in testSetAppStandbyBucket()
1015 REASON_MAIN_TIMEOUT); in testPredictionTimedOut()
1889 REASON_MAIN_TIMEOUT); in testSystemHeadlessAppElevated()
1894 REASON_MAIN_TIMEOUT); in testSystemHeadlessAppElevated()
1900 REASON_MAIN_TIMEOUT); in testSystemHeadlessAppElevated()
1914 REASON_MAIN_TIMEOUT); in testWellbeingAppElevated()
1919 REASON_MAIN_TIMEOUT); in testWellbeingAppElevated()
1937 REASON_MAIN_TIMEOUT); in testClockAppElevated()
[all …]
/frameworks/base/core/java/android/app/usage/
DUsageStatsManager.java186 public static final int REASON_MAIN_TIMEOUT = 0x0200; field in UsageStatsManager
1333 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;
1006 || oldMainReason == REASON_MAIN_TIMEOUT in checkAndUpdateStandbyState()
1027 reason = REASON_MAIN_TIMEOUT; in checkAndUpdateStandbyState()
1837 if ((app.bucketingReason & REASON_MAIN_MASK) == REASON_MAIN_TIMEOUT) { in setAppStandbyBucket()
1919 reason = REASON_MAIN_TIMEOUT; in setAppStandbyBucket()
DAppIdleHistory.java23 import static android.app.usage.UsageStatsManager.REASON_MAIN_TIMEOUT;
303 && (appUsageHistory.bucketingReason & REASON_MAIN_MASK) != REASON_MAIN_TIMEOUT) { in reportUsage()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt9366 Landroid/app/usage/UsageStatsManager;->REASON_MAIN_TIMEOUT:I