Home
last modified time | relevance | path

Searched refs:bucket (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java343 NetworkStats.Bucket bucket = null; in testDeviceSummary() local
345 bucket = mNsm.querySummaryForDevice( in testDeviceSummary()
351 assertNotNull(bucket); in testDeviceSummary()
352 assertTimestamps(bucket); in testDeviceSummary()
353 assertEquals(bucket.getState(), NetworkStats.Bucket.STATE_ALL); in testDeviceSummary()
354 assertEquals(bucket.getUid(), NetworkStats.Bucket.UID_ALL); in testDeviceSummary()
355 assertEquals(bucket.getMetered(), NetworkStats.Bucket.METERED_ALL); in testDeviceSummary()
358 bucket = mNsm.querySummaryForDevice( in testDeviceSummary()
376 NetworkStats.Bucket bucket = null; in testUserSummary() local
378 bucket = mNsm.querySummaryForUser( in testUserSummary()
[all …]
/cts/hostsidetests/incident/src/com/android/server/cts/
DNetstatsIncidentTest.java243 for (NetworkStatsHistoryBucketProto bucket : stats.getHistory().getBucketsList()) { in sum()
244 if (startTime < bucket.getBucketStartMs()) { in sum()
247 total += func.apply(bucket); in sum()
355 for (NetworkStatsHistoryBucketProto bucket : hist.getBucketsList()) { in checkStats()
363 prev.getBucketStartMs(), bucket.getBucketStartMs(), in checkStats()
364 (bucket.getBucketStartMs() - prev.getBucketStartMs()), in checkStats()
366 (bucket.getBucketStartMs() - prev.getBucketStartMs()) >= in checkStats()
369 assertNotNegative("RX bytes", bucket.getRxBytes()); in checkStats()
370 assertNotNegative("RX packets", bucket.getRxPackets()); in checkStats()
371 assertNotNegative("TX bytes", bucket.getTxBytes()); in checkStats()
[all …]
DGraphicsStatsValidationTest.java177 for (GraphicsStatsHistogramBucketProto bucket : proto.getHistogramList()) {
178 if (bucket.getRenderMillis() >= thresholdMs) {
179 totalFrames += bucket.getFrameCount();
/cts/hostsidetests/theme/src/android/theme/cts/
DThemeHostTest.java277 final String bucket; in getDensityBucketForDevice() local
280 bucket = "ldpi"; in getDensityBucketForDevice()
283 bucket = "mdpi"; in getDensityBucketForDevice()
286 bucket = "hdpi"; in getDensityBucketForDevice()
289 bucket = "xhdpi"; in getDensityBucketForDevice()
292 bucket = "xxhdpi"; in getDensityBucketForDevice()
295 bucket = "xxxhdpi"; in getDensityBucketForDevice()
298 bucket = density + "dpi"; in getDensityBucketForDevice()
303 "Device density detected as " + density + " (" + bucket + ")"); in getDensityBucketForDevice()
304 return bucket; in getDensityBucketForDevice()
/cts/tests/tests/os/src/android/os/cts/
DDebugTest.java238 String bucket = buckets[i]; in checkHistogram() local
239 assertTrue(bucket.length() > 0); in checkHistogram()
240 String[] kv = bucket.split(":"); in checkHistogram()
/cts/hostsidetests/theme/
DREADME35 1. Connect one device for each DPI bucket (ldpi, xxxhdpi, etc.) that you wish
48 a set for each possible DPI bucket (tvdpi, xxhdpi, etc.) that may be tested.
/cts/tests/tests/media/src/android/media/cts/
DVideoEncoderTest.java932 Set<Size> bucket = (dx + dy == 0) ? minMax : nearMinMax; in addExtremeSizesFor() local
936 bucket.add(new Size(width, height)); in addExtremeSizesFor()
945 bucket.add(new Size(width, height)); in addExtremeSizesFor()
953 bucket.add(new Size(width, height)); in addExtremeSizesFor()
962 bucket.add(new Size(width, height)); in addExtremeSizesFor()
/cts/tests/libcore/javautilcollections/libs/
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...