Home
last modified time | relevance | path

Searched refs:getAppStandbyReason (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppIdleHistoryTests.java109 assertEquals(aih.getAppStandbyReason(PACKAGE_1, USER_ID, 3000), REASON_MAIN_TIMEOUT); in testBuckets()
121 assertEquals(aih.getAppStandbyReason(PACKAGE_1, USER_ID, 5000), REASON_MAIN_TIMEOUT); in testBuckets()
145 aih.getAppStandbyReason(PACKAGE_1, USER_ID, 3000)); in testReason()
151 assertEquals(REASON_MAIN_TIMEOUT, aih.getAppStandbyReason(PACKAGE_1, USER_ID, 5000)); in testReason()
/frameworks/base/services/usage/java/com/android/server/usage/
DAppIdleHistory.java431 public int getAppStandbyReason(String packageName, int userId, long elapsedRealtime) { in getAppStandbyReason() method in AppIdleHistory