Searched refs:stats1 (Results 1 – 2 of 2) sorted by relevance
99 PackageStatistics stats1 = mStatistics.statistics.get(key1); in testSinglePackage_multipleProviders() local100 verifyStatisticsTimes(stats1); in testSinglePackage_multipleProviders()101 assertEquals(INTERVAL1, stats1.getSlowestIntervalMs()); in testSinglePackage_multipleProviders()102 assertEquals(INTERVAL1, stats1.getFastestIntervalMs()); in testSinglePackage_multipleProviders()103 assertTrue(stats1.isActive()); in testSinglePackage_multipleProviders()112 assertFalse(stats1.isActive()); in testSinglePackage_multipleProviders()115 assertFalse(stats1.isActive()); in testSinglePackage_multipleProviders()130 PackageStatistics stats1 = mStatistics.statistics.get(key1); in testMultiplePackages() local131 verifyStatisticsTimes(stats1); in testMultiplePackages()132 assertEquals(INTERVAL1, stats1.getSlowestIntervalMs()); in testMultiplePackages()[all …]
187 final NetworkStatsHistory stats1 = new NetworkStatsHistory(HOUR_IN_MILLIS); in testRecordEntireGapIdentical() local188 stats1.recordData(TEST_START, TEST_START + 2 * HOUR_IN_MILLIS, 2000L, 1000L); in testRecordEntireGapIdentical()196 stats.recordEntireHistory(stats1); in testRecordEntireGapIdentical()211 final NetworkStatsHistory stats1 = new NetworkStatsHistory(HOUR_IN_MILLIS); in testRecordEntireOverlapVaryingBuckets() local212 stats1.recordData(TEST_START, TEST_START + MINUTE_IN_MILLIS * 60, 600L, 600L); in testRecordEntireOverlapVaryingBuckets()220 stats.recordEntireHistory(stats1); in testRecordEntireOverlapVaryingBuckets()237 stats.recordEntireHistory(stats1); in testRecordEntireOverlapVaryingBuckets()