Searched refs:stats2 (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | UsageStatsDatabaseTest.java | 329 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/ |
D | TransportStatsTest.java | 92 Stats stats2 = mTransportStats.getStatsForTransport(mTransportComponent2); in testMerge() local 94 Stats stats = Stats.merge(stats1, stats2); in testMerge()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryUsageStatsTest.java | 168 final BatteryUsageStats stats2 = buildBatteryUsageStats2(new String[] {"FOO"}).build(); in testAdd() local 173 .add(stats2) in testAdd()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | NotifCollectionTest.java | 1112 DismissedByUserStats stats2 = defaultStats(entry2); in testDismissNotificationsSentToSystemServer() local 1130 stats2.dismissalSurface, in testDismissNotificationsSentToSystemServer() 1131 stats2.dismissalSentiment, in testDismissNotificationsSentToSystemServer() 1132 stats2.notificationVisibility); in testDismissNotificationsSentToSystemServer()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | PersistAtomsStorageTest.java | 1205 ImsRegistrationStats[] stats2 = mPersistAtomsStorage.getImsRegistrationStats(50L); in getImsRegistrationStats_withSavedAtoms() local 1214 assertProtoArrayEquals(new ImsRegistrationStats[0], stats2); in getImsRegistrationStats_withSavedAtoms()
|