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.java1829 assertEquals(15 * MINUTE_IN_MILLIS, mQuotaController.getBucketWindowSizes()[ACTIVE_INDEX]); in testConstantsUpdating_ValidValues()
1830 assertEquals(30 * MINUTE_IN_MILLIS, mQuotaController.getBucketWindowSizes()[WORKING_INDEX]); in testConstantsUpdating_ValidValues()
1832 mQuotaController.getBucketWindowSizes()[FREQUENT_INDEX]); in testConstantsUpdating_ValidValues()
1833 assertEquals(60 * MINUTE_IN_MILLIS, mQuotaController.getBucketWindowSizes()[RARE_INDEX]); in testConstantsUpdating_ValidValues()
1877 assertEquals(MINUTE_IN_MILLIS, mQuotaController.getBucketWindowSizes()[ACTIVE_INDEX]); in testConstantsUpdating_InvalidValues()
1878 assertEquals(MINUTE_IN_MILLIS, mQuotaController.getBucketWindowSizes()[WORKING_INDEX]); in testConstantsUpdating_InvalidValues()
1879 assertEquals(MINUTE_IN_MILLIS, mQuotaController.getBucketWindowSizes()[FREQUENT_INDEX]); in testConstantsUpdating_InvalidValues()
1880 assertEquals(MINUTE_IN_MILLIS, mQuotaController.getBucketWindowSizes()[RARE_INDEX]); in testConstantsUpdating_InvalidValues()
1910 assertEquals(24 * HOUR_IN_MILLIS, mQuotaController.getBucketWindowSizes()[ACTIVE_INDEX]); in testConstantsUpdating_InvalidValues()
1911 assertEquals(24 * HOUR_IN_MILLIS, mQuotaController.getBucketWindowSizes()[WORKING_INDEX]); in testConstantsUpdating_InvalidValues()
[all …]
/frameworks/base/services/core/java/com/android/server/job/controllers/
DQuotaController.java2486 long[] getBucketWindowSizes() { in getBucketWindowSizes() method in QuotaController