Searched refs:STANDBY_BUCKET_WORKING_SET (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | AppStandbyControllerTests.java | 35 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_WORKING_SET; 544 assertTimeout(mController, WORKING_SET_THRESHOLD + 1, STANDBY_BUCKET_WORKING_SET); in testBuckets() 547 assertTimeout(mController, FREQUENT_THRESHOLD - 1, STANDBY_BUCKET_WORKING_SET); in testBuckets() 611 assertTimeout(mController, WORKING_SET_THRESHOLD + 1, STANDBY_BUCKET_WORKING_SET); in testScreenTimeAndBuckets() 644 assertEquals(STANDBY_BUCKET_WORKING_SET, getStandbyBucket(mController, PACKAGE_1)); in testNotificationEvent() 657 assertEquals(STANDBY_BUCKET_WORKING_SET, getStandbyBucket(mController, PACKAGE_1)); in testSlicePinnedEvent() 687 assertEquals(STANDBY_BUCKET_WORKING_SET, getStandbyBucket(mController, PACKAGE_1)); in testPredictionTimedout() 706 mController.setAppStandbyBucket(PACKAGE_1, USER_ID, STANDBY_BUCKET_WORKING_SET, in testOverrides() 755 mController.setAppStandbyBucket(PACKAGE_1, USER_ID, STANDBY_BUCKET_WORKING_SET, in testCascadingTimeouts() 761 assertBucket(STANDBY_BUCKET_WORKING_SET); in testCascadingTimeouts() [all …]
|
D | AppIdleHistoryTests.java | 25 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_WORKING_SET; 146 aih.setAppStandbyBucket(PACKAGE_1, USER_ID, 4000, STANDBY_BUCKET_WORKING_SET, in testReason()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AlarmManagerServiceTest.java | 25 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_WORKING_SET; 477 anyLong())).thenReturn(STANDBY_BUCKET_WORKING_SET); in testStandbyBucketDelay_workingSet() 486 + mService.getMinDelayForBucketLocked(STANDBY_BUCKET_WORKING_SET); in testStandbyBucketDelay_workingSet() 608 testQuotasDeferralOnSet(STANDBY_BUCKET_WORKING_SET); in testWorkingQuota_deferredOnSet() 614 testQuotasDeferralOnExpiration(STANDBY_BUCKET_WORKING_SET); in testWorkingQuota_deferredOnExpiration() 620 testQuotasNoDeferral(STANDBY_BUCKET_WORKING_SET); in testWorkingQuota_notDeferred() 675 final int workingQuota = mService.getQuotaForBucketLocked(STANDBY_BUCKET_WORKING_SET); in testQuotaDowngrade() 677 anyLong())).thenReturn(STANDBY_BUCKET_WORKING_SET); in testQuotaDowngrade() 739 final int workingQuota = mService.getQuotaForBucketLocked(STANDBY_BUCKET_WORKING_SET); in testParole() 741 anyLong())).thenReturn(STANDBY_BUCKET_WORKING_SET); in testParole()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | AppStandbyController.java | 46 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_WORKING_SET; 151 STANDBY_BUCKET_WORKING_SET, 449 bucketToPromote = STANDBY_BUCKET_WORKING_SET; in reportExemptedSyncScheduled() 476 STANDBY_BUCKET_WORKING_SET, REASON_SUB_USAGE_UNEXEMPTED_SYNC_SCHEDULED, in reportUnexemptedSyncScheduled() 725 } else if (newBucket >= STANDBY_BUCKET_WORKING_SET in checkAndUpdateStandbyState() 727 newBucket = STANDBY_BUCKET_WORKING_SET; in checkAndUpdateStandbyState() 900 STANDBY_BUCKET_WORKING_SET, subReason, in reportEvent() 1254 } else if (newBucket > STANDBY_BUCKET_WORKING_SET in setAppStandbyBucket() 1256 newBucket = STANDBY_BUCKET_WORKING_SET; in setAppStandbyBucket()
|
D | AppIdleHistory.java | 28 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_WORKING_SET; 239 } else if (newBucket == STANDBY_BUCKET_WORKING_SET) { in reportUsage()
|
/frameworks/base/core/java/android/app/usage/ |
D | UsageStatsManager.java | 130 public static final int STANDBY_BUCKET_WORKING_SET = 20; field in UsageStatsManager 210 STANDBY_BUCKET_WORKING_SET,
|
/frameworks/base/services/core/java/com/android/server/ |
D | AlarmManagerService.java | 1810 } else if (bucket <= UsageStatsManager.STANDBY_BUCKET_WORKING_SET) { in getQuotaForBucketLocked() 1836 else if (bucket > UsageStatsManager.STANDBY_BUCKET_WORKING_SET) index = FREQUENT_INDEX; in getMinDelayForBucketLocked()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerShellCommand.java | 2286 return UsageStatsManager.STANDBY_BUCKET_WORKING_SET;
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobSchedulerService.java | 2624 else if (bucket > UsageStatsManager.STANDBY_BUCKET_WORKING_SET) return FREQUENT_INDEX; in standbyBucketToBucketIndex()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | QuotaControllerTest.java | 257 return UsageStatsManager.STANDBY_BUCKET_WORKING_SET; in bucketIndexToUsageStatsBucket()
|
/frameworks/base/api/ |
D | current.txt | 7798 field public static final int STANDBY_BUCKET_WORKING_SET = 20; // 0x14
|