Home
last modified time | relevance | path

Searched refs:STANDBY_BUCKET_FREQUENT (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppIdleHistoryTests.java28 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_FREQUENT;
151 assertTrue(aih.shouldInformListeners(PACKAGE_1, USER_ID, 5000, STANDBY_BUCKET_FREQUENT)); in testBuckets()
204 aih.reportUsage(PACKAGE_2, USER_ID, STANDBY_BUCKET_FREQUENT, in testBucketExpiryTimes()
208 STANDBY_BUCKET_FREQUENT, 2000 /* elapsedRealtime */)); in testBucketExpiryTimes()
216 STANDBY_BUCKET_FREQUENT, 0L, in testBucketExpiryTimes()
226 STANDBY_BUCKET_FREQUENT, 0L, in testBucketExpiryTimes()
DAppStandbyControllerTests.java42 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_FREQUENT;
843 assertTimeout(mController, FREQUENT_THRESHOLD + 1, STANDBY_BUCKET_FREQUENT); in testBuckets()
960 STANDBY_BUCKET_FREQUENT); in testNotificationEvent_bucketPromotion_changePromotedBucket()
965 waitAndAssertBucket(STANDBY_BUCKET_FREQUENT, PACKAGE_1); in testNotificationEvent_bucketPromotion_changePromotedBucket()
1056 mController.setAppStandbyBucket(PACKAGE_1, USER_ID, STANDBY_BUCKET_FREQUENT, in testOverrides()
1060 waitAndAssertBucket(STANDBY_BUCKET_FREQUENT, PACKAGE_1); in testOverrides()
1157 mController.setAppStandbyBucket(PACKAGE_1, USER_ID, STANDBY_BUCKET_FREQUENT, in testTimeout()
1165 waitAndAssertBucket(STANDBY_BUCKET_FREQUENT, PACKAGE_1); in testTimeout()
1166 waitAndAssertBucket(STANDBY_BUCKET_FREQUENT, PACKAGE_1); in testTimeout()
1197 waitAndAssertBucket(STANDBY_BUCKET_FREQUENT, PACKAGE_1); in testTimeout_InvalidThresholds()
[all …]
/frameworks/base/core/java/android/app/usage/
DUsageStatsManager.java149 public static final int STANDBY_BUCKET_FREQUENT = 30; field in UsageStatsManager
352 STANDBY_BUCKET_FREQUENT,
1415 case STANDBY_BUCKET_FREQUENT: in standbyBucketToString()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
DAlarmManagerServiceTest.java41 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_FREQUENT;
1028 testStandbyQuotasDeferralOnSet(STANDBY_BUCKET_FREQUENT);
1033 testStandbyQuotasDeferralOnExpiration(STANDBY_BUCKET_FREQUENT);
1038 testStandbyQuotasNoDeferral(STANDBY_BUCKET_FREQUENT);
1149 final int frequentQuota = mService.getQuotaForBucketLocked(STANDBY_BUCKET_FREQUENT);
1151 anyLong())).thenReturn(STANDBY_BUCKET_FREQUENT);
3601 testTemporaryQuota_bumpedAfterDeferral(STANDBY_BUCKET_FREQUENT);
3654 testTemporaryQuota_bumpedBeforeDeferral(STANDBY_BUCKET_FREQUENT);
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppStandbyController.java49 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_FREQUENT;
219 STANDBY_BUCKET_FREQUENT,
1526 return STANDBY_BUCKET_FREQUENT; in getAppMinBucket()
/frameworks/base/services/core/java/com/android/server/am/
DAppRestrictionController.java56 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_FREQUENT;
1743 case STANDBY_BUCKET_FREQUENT: in calcAppRestrictionLevel()
1825 case STANDBY_BUCKET_FREQUENT: in standbyBucketToRestrictionLevel()
DActivityManagerShellCommand.java3117 return UsageStatsManager.STANDBY_BUCKET_FREQUENT;
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBackgroundRestrictionTest.java52 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_FREQUENT;
238 STANDBY_BUCKET_FREQUENT,
580 STANDBY_BUCKET_FREQUENT, STANDBY_BUCKET_RARE)) { in testTogglingStandbyBucket()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java2314 } else if (bucket <= UsageStatsManager.STANDBY_BUCKET_FREQUENT) { in getQuotaForBucketLocked()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java4634 } else if (bucket > UsageStatsManager.STANDBY_BUCKET_FREQUENT) {
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java346 return UsageStatsManager.STANDBY_BUCKET_FREQUENT; in bucketIndexToUsageStatsBucket()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt9538 field public static final int STANDBY_BUCKET_FREQUENT = 30; // 0x1e