Searched refs:getAppStandbyReason (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | AppIdleHistoryTests.java | 115 assertEquals(aih.getAppStandbyReason(PACKAGE_1, USER_ID, 3000), REASON_MAIN_TIMEOUT); in testBuckets() 117 assertEquals(aih.getAppStandbyReason(PACKAGE_3, USER_ID, 3000), in testBuckets() 120 assertEquals(aih.getAppStandbyReason(PACKAGE_4, USER_ID, 3000), in testBuckets() 135 assertEquals(aih.getAppStandbyReason(PACKAGE_1, USER_ID, 5000), REASON_MAIN_TIMEOUT); in testBuckets() 137 assertEquals(aih.getAppStandbyReason(PACKAGE_3, USER_ID, 3000), in testBuckets() 140 assertEquals(aih.getAppStandbyReason(PACKAGE_4, USER_ID, 3000), in testBuckets() 165 aih.getAppStandbyReason(PACKAGE_1, USER_ID, 3000)); in testReason() 171 assertEquals(REASON_MAIN_TIMEOUT, aih.getAppStandbyReason(PACKAGE_1, USER_ID, 5000)); in testReason() 188 aih.getAppStandbyReason(PACKAGE_1, USER_ID, 3000)); in testNullPackage()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/ |
D | AppIdleHistory.java | 480 public int getAppStandbyReason(String packageName, int userId, long elapsedRealtime) { in getAppStandbyReason() method in AppIdleHistory
|
D | AppStandbyController.java | 1262 return mAppIdleHistory.getAppStandbyReason(packageName, userId, elapsedRealtime); in getAppStandbyBucketReason()
|