Home
last modified time | relevance | path

Searched refs:stats1 (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java329 void compareIntervalStats(IntervalStats stats1, IntervalStats stats2, int minVersion) { in compareIntervalStats() argument
330 assertEquals(stats1.majorVersion, stats2.majorVersion); in compareIntervalStats()
331 assertEquals(stats1.minorVersion, stats2.minorVersion); in compareIntervalStats()
332 assertEquals(stats1.beginTime, stats2.beginTime); in compareIntervalStats()
333 assertEquals(stats1.endTime, stats2.endTime); in compareIntervalStats()
334 assertEquals(stats1.interactiveTracker.count, stats2.interactiveTracker.count); in compareIntervalStats()
335 assertEquals(stats1.interactiveTracker.duration, stats2.interactiveTracker.duration); in compareIntervalStats()
336 assertEquals(stats1.nonInteractiveTracker.count, stats2.nonInteractiveTracker.count); in compareIntervalStats()
337 assertEquals(stats1.nonInteractiveTracker.duration, stats2.nonInteractiveTracker.duration); in compareIntervalStats()
338 assertEquals(stats1.keyguardShownTracker.count, stats2.keyguardShownTracker.count); in compareIntervalStats()
[all …]
/frameworks/base/services/robotests/backup/src/com/android/server/backup/transport/
DTransportStatsTest.java91 Stats stats1 = mTransportStats.getStatsForTransport(mTransportComponent1); in testMerge() local
94 Stats stats = Stats.merge(stats1, stats2); in testMerge()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryUsageStatsTest.java167 final BatteryUsageStats stats1 = buildBatteryUsageStats1(false).build(); in testAdd() local
172 .add(stats1) in testAdd()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotifCollectionTest.java1111 DismissedByUserStats stats1 = defaultStats(entry1); in testDismissNotificationsSentToSystemServer() local
1122 stats1.dismissalSurface, in testDismissNotificationsSentToSystemServer()
1123 stats1.dismissalSentiment, in testDismissNotificationsSentToSystemServer()
1124 stats1.notificationVisibility); in testDismissNotificationsSentToSystemServer()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DPersistAtomsStorageTest.java1203 ImsRegistrationStats[] stats1 = mPersistAtomsStorage.getImsRegistrationStats(50L); in getImsRegistrationStats_withSavedAtoms() local
1213 stats1); in getImsRegistrationStats_withSavedAtoms()