Searched refs:numCalls (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/services/inputflinger/tests/ |
D | TimerProvider_test.cpp | 235 int numCalls = 0; in TEST_F() local 238 mProvider.setDeadline(timer, 500'000'000, &incrementInt, &numCalls); in TEST_F() 239 mProvider.setDeadline(timer, 1'000'000'000, &incrementInt, &numCalls); in TEST_F() 243 EXPECT_EQ(0, numCalls); in TEST_F() 302 int numCalls = 0; in TEST_F() local 304 mProvider.setDeadline(timer, 1'000'000'000, &incrementInt, &numCalls); in TEST_F() 308 EXPECT_EQ(0, numCalls); in TEST_F()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayoutTest.java | 603 final int[] numCalls = {0}; in testClearNotifications_All() local 606 numCalls[0]++; in testClearNotifications_All() 613 assertEquals(1, numCalls[0]); in testClearNotifications_All() 619 final int[] numCalls = {0}; in testClearNotifications_Gentle() local 622 numCalls[0]++; in testClearNotifications_Gentle() 629 assertEquals(1, numCalls[0]); in testClearNotifications_Gentle()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ChooserActivityLoggerFake.java | 84 public int numCalls() { in numCalls() method in ChooserActivityLoggerFake
|
D | ChooserActivityTest.java | 854 assertThat(logger.numCalls(), is(6)); in testNearbyShareLogging() 925 assertThat(logger.numCalls(), is(6)); in testEditImageLogs() 2182 assertThat(logger.numCalls(), is(6)); in testAppTargetLogging() 2251 assertThat(logger.numCalls(), is(6)); in testDirectTargetLogging() 2345 assertThat(logger.numCalls(), is(5)); in testEmptyDirectRowLogging() 2414 assertThat(logger.numCalls(), is(6)); in testCopyTextToClipboardLogging() 2495 assertThat(logger.numCalls(), is(8)); in testSwitchProfileLogging()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationRecordLoggerFake.java | 73 public int numCalls() { in numCalls() method in NotificationRecordLoggerFake
|
D | NotificationManagerServiceTest.java | 1970 assertEquals(1, mNotificationRecordLogger.numCalls()); in testEnqueueNotificationWithTag_WritesExpectedLogs() 1999 assertEquals(2, mNotificationRecordLogger.numCalls()); in testEnqueueNotificationWithTag_LogsOnMajorUpdates() 2021 assertEquals(2, mNotificationRecordLogger.numCalls()); in testEnqueueNotificationWithTag_DoesNotLogOnMinorUpdate() 2038 assertEquals(2, mNotificationRecordLogger.numCalls()); in testEnqueueNotificationWithTag_DoesNotLogOnTitleUpdate() 2055 assertEquals(3, mNotificationRecordLogger.numCalls()); in testEnqueueNotificationWithTag_LogsAgainAfterCancel() 2305 assertEquals(0, mNotificationRecordLogger.numCalls()); in testCancelNonexistentNotification() 3455 assertEquals(2, mNotificationRecordLogger.numCalls()); in testGroupInstanceIds() 4682 assertEquals(2, mNotificationRecordLogger.numCalls()); in testSnoozeRunnable_snoozeNonGrouped() 4733 assertEquals(2, mNotificationRecordLogger.numCalls()); in testSnoozeRunnable_snoozeGroupChild_fellowChildren() 4759 assertEquals(4, mNotificationRecordLogger.numCalls()); in testSnoozeRunnable_snoozeGroupChild_onlyChildOfSummary() [all …]
|
/frameworks/native/libs/binder/tests/ |
D | binderRpcTest.cpp | 456 static void testThreadPoolOverSaturated(sp<IBinderRpcTest> iface, size_t numCalls, size_t sleepMs) { in testThreadPoolOverSaturated() argument 460 for (size_t i = 0; i < numCalls; i++) { in testThreadPoolOverSaturated() 474 EXPECT_LE(epochMsAfter, epochMsBefore + (numCalls - 1) * sleepMs); in testThreadPoolOverSaturated()
|