Searched refs:stats1 (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | UsageStatsDatabaseTest.java | 356 void compareIntervalStats(IntervalStats stats1, IntervalStats stats2, int minVersion) { in compareIntervalStats() argument 357 assertEquals(stats1.majorVersion, stats2.majorVersion); in compareIntervalStats() 358 assertEquals(stats1.minorVersion, stats2.minorVersion); in compareIntervalStats() 359 assertEquals(stats1.beginTime, stats2.beginTime); in compareIntervalStats() 360 assertEquals(stats1.endTime, stats2.endTime); in compareIntervalStats() 361 assertEquals(stats1.interactiveTracker.count, stats2.interactiveTracker.count); in compareIntervalStats() 362 assertEquals(stats1.interactiveTracker.duration, stats2.interactiveTracker.duration); in compareIntervalStats() 363 assertEquals(stats1.nonInteractiveTracker.count, stats2.nonInteractiveTracker.count); in compareIntervalStats() 364 assertEquals(stats1.nonInteractiveTracker.duration, stats2.nonInteractiveTracker.duration); in compareIntervalStats() 365 assertEquals(stats1.keyguardShownTracker.count, stats2.keyguardShownTracker.count); in compareIntervalStats() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/ |
D | AuthenticationStatsPersisterTest.java | 96 AuthenticationStats stats1 = new AuthenticationStats(USER_ID_1, in getAllFrrStats_face_shouldListAllFrrStats() local 103 Set.of(buildFrrStats(stats1), buildFrrStats(stats2))); in getAllFrrStats_face_shouldListAllFrrStats() 112 assertThat(authenticationStatsList).contains(stats1); in getAllFrrStats_face_shouldListAllFrrStats() 119 AuthenticationStats stats1 = new AuthenticationStats(USER_ID_1, in getAllFrrStats_fingerprint_shouldListAllFrrStats() local 127 Set.of(buildFrrStats(stats1), buildFrrStats(stats2))); in getAllFrrStats_fingerprint_shouldListAllFrrStats() 137 assertThat(authenticationStatsList).contains(stats1); in getAllFrrStats_fingerprint_shouldListAllFrrStats()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/transport/ |
D | TransportStatsTest.java | 91 Stats stats1 = mTransportStats.getStatsForTransport(mTransportComponent1); in testMerge() local 94 Stats stats = Stats.merge(stats1, stats2); in testMerge()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BatteryUsageStatsTest.java | 187 final BatteryUsageStats stats1 = buildBatteryUsageStats1(false).build(); in testAdd() local 192 .add(stats1) in testAdd()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | NotifCollectionTest.java | 1306 DismissedByUserStats stats1 = defaultStats(entry1); in testDismissNotificationsSentToSystemServer() local 1318 stats1.dismissalSurface, in testDismissNotificationsSentToSystemServer() 1319 stats1.dismissalSentiment, in testDismissNotificationsSentToSystemServer() 1320 stats1.notificationVisibility); in testDismissNotificationsSentToSystemServer()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | PersistAtomsStorageTest.java | 2445 ImsRegistrationStats[] stats1 = mPersistAtomsStorage.getImsRegistrationStats(50L); in getImsRegistrationStats_withSavedAtoms() local 2459 stats1); in getImsRegistrationStats_withSavedAtoms()
|