Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppIdleHistoryTests.java19 import static android.app.usage.UsageStatsManager.REASON_MAIN_TIMEOUT;
105 REASON_MAIN_TIMEOUT); in testBuckets()
109 assertEquals(aih.getAppStandbyReason(PACKAGE_1, USER_ID, 3000), REASON_MAIN_TIMEOUT); in testBuckets() local
121 assertEquals(aih.getAppStandbyReason(PACKAGE_1, USER_ID, 5000), REASON_MAIN_TIMEOUT); in testBuckets() local
147 REASON_MAIN_TIMEOUT); in testReason()
151 assertEquals(REASON_MAIN_TIMEOUT, aih.getAppStandbyReason(PACKAGE_1, USER_ID, 5000)); in testReason()
DAppStandbyControllerTests.java27 import static android.app.usage.UsageStatsManager.REASON_MAIN_TIMEOUT;
527 REASON_MAIN_TIMEOUT, HOUR_MS); in testPredictionTimedout()
/frameworks/base/core/java/android/app/usage/
DUsageStatsManager.java156 public static final int REASON_MAIN_TIMEOUT = 0x0200; field in UsageStatsManager
645 case REASON_MAIN_TIMEOUT: in reasonToString()
/frameworks/base/services/usage/java/com/android/server/usage/
DAppStandbyController.java23 import static android.app.usage.UsageStatsManager.REASON_MAIN_TIMEOUT;
653 || oldMainReason == REASON_MAIN_TIMEOUT in checkAndUpdateStandbyState()
669 reason = REASON_MAIN_TIMEOUT; in checkAndUpdateStandbyState()