Searched refs:BUCKET_SIZE (Results 1 – 2 of 2) sorted by relevance
92 final long BUCKET_SIZE = HOUR_IN_MILLIS; in testRecordSingleBucket() local93 stats = new NetworkStatsHistory(BUCKET_SIZE); in testRecordSingleBucket()118 final long BUCKET_SIZE = 15 * MINUTE_IN_MILLIS; in testRecordTouchingBuckets() local119 stats = new NetworkStatsHistory(BUCKET_SIZE); in testRecordTouchingBuckets()123 final long recordStart = (TEST_START + BUCKET_SIZE) - MINUTE_IN_MILLIS; in testRecordTouchingBuckets()124 final long recordEnd = (TEST_START + (BUCKET_SIZE * 2)) + (MINUTE_IN_MILLIS * 4); in testRecordTouchingBuckets()138 final long BUCKET_SIZE = HOUR_IN_MILLIS; in testRecordGapBuckets() local139 stats = new NetworkStatsHistory(BUCKET_SIZE); in testRecordGapBuckets()169 final long BUCKET_SIZE = HOUR_IN_MILLIS; in testRecordOverlapBuckets() local170 stats = new NetworkStatsHistory(BUCKET_SIZE); in testRecordOverlapBuckets()[all …]
47 return NUM_BUCKETS * BUCKET_SIZE; in size()74 bucket = mBuckets[bucketIndex] = new T[BUCKET_SIZE](); in editItemAt()89 enum { NUM_BUCKETS = 16, BUCKET_SIZE = 16 }; enumerator