Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/net/
DNetworkStatsHistoryTest.java92 final long BUCKET_SIZE = HOUR_IN_MILLIS; in testRecordSingleBucket() local
93 stats = new NetworkStatsHistory(BUCKET_SIZE); in testRecordSingleBucket()
118 final long BUCKET_SIZE = 15 * MINUTE_IN_MILLIS; in testRecordTouchingBuckets() local
119 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() local
139 stats = new NetworkStatsHistory(BUCKET_SIZE); in testRecordGapBuckets()
169 final long BUCKET_SIZE = HOUR_IN_MILLIS; in testRecordOverlapBuckets() local
170 stats = new NetworkStatsHistory(BUCKET_SIZE); in testRecordOverlapBuckets()
[all …]
/frameworks/base/include/androidfw/
DByteBucketArray.h47 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