Searched refs:getAppStandbyReason (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | AppIdleHistoryTests.java | 108 assertEquals(aih.getAppStandbyReason(PACKAGE_1, USER_ID, 3000), REASON_MAIN_TIMEOUT); in testBuckets() 120 assertEquals(aih.getAppStandbyReason(PACKAGE_1, USER_ID, 5000), REASON_MAIN_TIMEOUT); in testBuckets() 144 aih.getAppStandbyReason(PACKAGE_1, USER_ID, 3000)); in testReason() 150 assertEquals(REASON_MAIN_TIMEOUT, aih.getAppStandbyReason(PACKAGE_1, USER_ID, 5000)); in testReason() 167 aih.getAppStandbyReason(PACKAGE_1, USER_ID, 3000)); in testNullPackage()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | AppIdleHistory.java | 426 public int getAppStandbyReason(String packageName, int userId, long elapsedRealtime) { in getAppStandbyReason() method in AppIdleHistory
|