Searched refs:stats2 (Results 1 – 2 of 2) sorted by relevance
105 PackageStatistics stats2 = mStatistics.statistics.get(key2); in testSinglePackage_multipleProviders() local106 verifyStatisticsTimes(stats2); in testSinglePackage_multipleProviders()107 assertEquals(INTERVAL2, stats2.getSlowestIntervalMs()); in testSinglePackage_multipleProviders()108 assertEquals(INTERVAL2, stats2.getFastestIntervalMs()); in testSinglePackage_multipleProviders()109 assertTrue(stats2.isActive()); in testSinglePackage_multipleProviders()113 assertTrue(stats2.isActive()); in testSinglePackage_multipleProviders()116 assertFalse(stats2.isActive()); in testSinglePackage_multipleProviders()137 PackageStatistics stats2 = mStatistics.statistics.get(key2); in testMultiplePackages() local138 verifyStatisticsTimes(stats2); in testMultiplePackages()139 assertEquals(INTERVAL2, stats2.getSlowestIntervalMs()); in testMultiplePackages()[all …]
191 final NetworkStatsHistory stats2 = new NetworkStatsHistory(HOUR_IN_MILLIS); in testRecordEntireGapIdentical() local192 stats2.recordData(TEST_START_2, TEST_START_2 + 2 * HOUR_IN_MILLIS, 1000L, 500L); in testRecordEntireGapIdentical()197 stats.recordEntireHistory(stats2); in testRecordEntireGapIdentical()215 final NetworkStatsHistory stats2 = new NetworkStatsHistory(MINUTE_IN_MILLIS); in testRecordEntireOverlapVaryingBuckets() local216 stats2.recordData(TEST_START_2, TEST_START_2 + MINUTE_IN_MILLIS * 5, 50L, 50L); in testRecordEntireOverlapVaryingBuckets()221 stats.recordEntireHistory(stats2); in testRecordEntireOverlapVaryingBuckets()238 stats.recordEntireHistory(stats2); in testRecordEntireOverlapVaryingBuckets()