Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java1916 assertEquals(15 * MINUTE_IN_MILLIS, mQuotaController.getBucketWindowSizes()[ACTIVE_INDEX]); in testConstantsUpdating_ValidValues()
1917 assertEquals(30 * MINUTE_IN_MILLIS, mQuotaController.getBucketWindowSizes()[WORKING_INDEX]); in testConstantsUpdating_ValidValues()
1919 mQuotaController.getBucketWindowSizes()[FREQUENT_INDEX]); in testConstantsUpdating_ValidValues()
1920 assertEquals(60 * MINUTE_IN_MILLIS, mQuotaController.getBucketWindowSizes()[RARE_INDEX]); in testConstantsUpdating_ValidValues()
1964 assertEquals(MINUTE_IN_MILLIS, mQuotaController.getBucketWindowSizes()[ACTIVE_INDEX]); in testConstantsUpdating_InvalidValues()
1965 assertEquals(MINUTE_IN_MILLIS, mQuotaController.getBucketWindowSizes()[WORKING_INDEX]); in testConstantsUpdating_InvalidValues()
1966 assertEquals(MINUTE_IN_MILLIS, mQuotaController.getBucketWindowSizes()[FREQUENT_INDEX]); in testConstantsUpdating_InvalidValues()
1967 assertEquals(MINUTE_IN_MILLIS, mQuotaController.getBucketWindowSizes()[RARE_INDEX]); in testConstantsUpdating_InvalidValues()
2007 assertEquals(24 * HOUR_IN_MILLIS, mQuotaController.getBucketWindowSizes()[ACTIVE_INDEX]); in testConstantsUpdating_InvalidValues()
2008 assertEquals(24 * HOUR_IN_MILLIS, mQuotaController.getBucketWindowSizes()[WORKING_INDEX]); in testConstantsUpdating_InvalidValues()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DQuotaController.java2597 long[] getBucketWindowSizes() { in getBucketWindowSizes() method in QuotaController