Searched refs:BUCKET_SIZE (Results 1 – 2 of 2) sorted by relevance
105 final long BUCKET_SIZE = HOUR_IN_MILLIS; in testRecordSingleBucket() local106 stats = new NetworkStatsHistory(BUCKET_SIZE); in testRecordSingleBucket()133 final long BUCKET_SIZE = 15 * MINUTE_IN_MILLIS; in testRecordTouchingBuckets() local134 stats = new NetworkStatsHistory(BUCKET_SIZE); in testRecordTouchingBuckets()138 final long recordStart = (TEST_START + BUCKET_SIZE) - MINUTE_IN_MILLIS; in testRecordTouchingBuckets()139 final long recordEnd = (TEST_START + (BUCKET_SIZE * 2)) + (MINUTE_IN_MILLIS * 4); in testRecordTouchingBuckets()154 final long BUCKET_SIZE = HOUR_IN_MILLIS; in testRecordGapBuckets() local155 stats = new NetworkStatsHistory(BUCKET_SIZE); in testRecordGapBuckets()186 final long BUCKET_SIZE = HOUR_IN_MILLIS; in testRecordOverlapBuckets() local187 stats = new NetworkStatsHistory(BUCKET_SIZE); in testRecordOverlapBuckets()[all …]
50 deviceType * BUCKET_SIZE + offset in lookup()84 private const val BUCKET_SIZE = 1000 constant85 private const val THERMOSTAT_RANGE = DeviceTypes.TYPE_THERMOSTAT * BUCKET_SIZE