/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsStopwatchTimerTest.java | 37 int expectedCount = 0; in testCount() local 45 assertEquals(expectedCount, timer.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testCount() 47 assertEquals(expectedCount, timer.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testCount() 49 assertEquals(expectedCount, timer.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testCount() 51 assertEquals(expectedCount, timer.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testCount() 56 assertEquals(expectedCount, timer.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testCount() 63 expectedCount = 0; // count will be reset by reset() in testCount() 64 assertEquals(expectedCount, timer.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testCount() 67 assertEquals(expectedCount, timer.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testCount() 72 expectedCount = 0; // count will be reset by reset() in testCount() [all …]
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
D | ListChangeRegistryTest.java | 82 final int expectedCount = 3; in testNotifyChanged() local 93 assertEquals(expectedCount, count); in testNotifyChanged() 115 mListChangeRegistry.notifyChanged(null, expectedStart, expectedCount); in testNotifyChanged() 121 final int expectedCount = 3; in testNotifyInserted() local 137 assertEquals(expectedCount, count); in testNotifyInserted() 154 mListChangeRegistry.notifyInserted(null, expectedStart, expectedCount); in testNotifyInserted() 161 final int expectedCount = 3; in testNotifyMoved() local 183 assertEquals(expectedCount, count); in testNotifyMoved() 195 mListChangeRegistry.notifyMoved(null, expectedFrom, expectedTo, expectedCount); in testNotifyMoved() 201 final int expectedCount = 3; in testNotifyRemoved() local [all …]
|
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/ |
D | AlertDialogCursorTest.java | 170 final int expectedCount = expectedContent.length; in verifySimpleItemsContent() local 178 assertEquals("List has " + expectedCount + " entries", in verifySimpleItemsContent() 179 expectedCount, listAdapter.getCount()); in verifySimpleItemsContent() 183 for (int i = 0; i < expectedCount; i++) { in verifySimpleItemsContent() 193 int indexToClick = expectedCount - 2; in verifySimpleItemsContent() 229 final int expectedCount = expectedContent.length; in verifyMultiChoiceItemsState() local 235 assertEquals("List has " + expectedCount + " entries", in verifyMultiChoiceItemsState() 236 expectedCount, listAdapter.getCount()); in verifyMultiChoiceItemsState() 238 for (int i = 0; i < expectedCount; i++) { in verifyMultiChoiceItemsState() 257 final int expectedCount = expectedContent.length; in verifyMultiChoiceItemsContent() local [all …]
|
D | AlertDialogTest.java | 429 final int expectedCount = expectedContent.length; in verifySimpleItemsContent() local 437 assertEquals("List has " + expectedCount + " entries", in verifySimpleItemsContent() 438 expectedCount, listAdapter.getCount()); in verifySimpleItemsContent() 439 for (int i = 0; i < expectedCount; i++) { in verifySimpleItemsContent() 445 for (int i = 0; i < expectedCount; i++) { in verifySimpleItemsContent() 453 int indexToClick = expectedCount - 2; in verifySimpleItemsContent() 515 final int expectedCount = expectedContent.length; in verifyMultiChoiceItemsState() local 521 assertEquals("List has " + expectedCount + " entries", in verifyMultiChoiceItemsState() 522 expectedCount, listAdapter.getCount()); in verifyMultiChoiceItemsState() 523 for (int i = 0; i < expectedCount; i++) { in verifyMultiChoiceItemsState() [all …]
|
/frameworks/base/libs/hwui/tests/unit/ |
D | GraphicsStatsServiceTests.cpp | 92 int expectedCount, expectedBucket; in TEST() local 94 expectedCount = ((i % 10) + 1) * 2; in TEST() 98 expectedCount = (temp % 5) + 1; in TEST() 101 EXPECT_EQ(expectedCount, loadedProto.histogram().Get(i).frame_count()); in TEST() 148 int expectedCount, expectedBucket; in TEST() local 150 expectedCount = ((i % 10) + 1) * 2; in TEST() 151 expectedCount += (i % 5) + 1; in TEST() 155 expectedCount = (temp % 5) + 1; in TEST() 156 expectedCount += ((temp % 10) + 1) * 2; in TEST() 159 EXPECT_EQ(expectedCount, loadedProto.histogram().Get(i).frame_count()); in TEST()
|
D | BakedOpDispatcherTests.cpp | 269 int expectedCount = 2; in RENDERTHREAD_OPENGL_PIPELINE_TEST() local 270 if (debugLayersUpdates || debugOverdraw) expectedCount++; in RENDERTHREAD_OPENGL_PIPELINE_TEST() 271 if (debugOverdraw) expectedCount += 4; in RENDERTHREAD_OPENGL_PIPELINE_TEST() 272 EXPECT_EQ(expectedCount, glopCount); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
|
/frameworks/support/viewpager/src/androidTest/java/android/support/v4/testutils/ |
D | TestUtilsAssertions.java | 32 public static ViewAssertion hasDisplayedChildren(final int expectedCount) { in hasDisplayedChildren() argument 53 if (childrenDisplayedCount != expectedCount) { in hasDisplayedChildren() 54 throw new AssertionError("Expected " + expectedCount in hasDisplayedChildren()
|
D | TestUtilsMatchers.java | 247 int expectedCount = expectedValues.length; 249 if (actualCount != expectedCount) { 250 mFailedDescription = "Expected " + expectedCount + " values, but got " + 255 for (int i = 0; i < expectedCount; i++) {
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
D | AsyncListDifferTest.kt | 238 val expectedCount = intArrayOf(0) in listUpdatedBeforeListUpdateCallbacks() constant 245 assertEquals(expectedCount[0], differAccessor[0]!!.currentList.size) in listUpdatedBeforeListUpdateCallbacks() 249 assertEquals(expectedCount[0], differAccessor[0]!!.currentList.size) in listUpdatedBeforeListUpdateCallbacks() 265 expectedCount[0] = 3 in listUpdatedBeforeListUpdateCallbacks() 271 expectedCount[0] = 6 in listUpdatedBeforeListUpdateCallbacks() 278 expectedCount[0] = 0 in listUpdatedBeforeListUpdateCallbacks()
|
D | AsyncListUtilTest.java | 170 final int expectedCount, in assertLoadedItemsOnUiThread() argument 176 assertEquals(message, expectedCount, getLoadedItemCount(position, count)); in assertLoadedItemsOnUiThread()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | EventThreadTest.cpp | 72 nsecs_t expectedTimestamp, unsigned expectedCount); 73 void expectVsyncEventReceivedByConnection(nsecs_t expectedTimestamp, unsigned expectedCount); 152 nsecs_t expectedTimestamp, unsigned expectedCount) { in expectVsyncEventReceivedByConnection() argument 161 EXPECT_EQ(expectedCount, event.vsync.count) in expectVsyncEventReceivedByConnection() 166 unsigned expectedCount) { in expectVsyncEventReceivedByConnection() argument 169 expectedCount); in expectVsyncEventReceivedByConnection()
|
/frameworks/support/paging/runtime/src/androidTest/java/androidx/paging/ |
D | AsyncPagedListDifferTest.kt | 253 val expectedCount = intArrayOf(0) in itemCountUpdatedBeforeListUpdateCallbacks() constant 259 assertEquals(expectedCount[0], differAccessor[0]!!.itemCount) in itemCountUpdatedBeforeListUpdateCallbacks() 263 assertEquals(expectedCount[0], differAccessor[0]!!.itemCount) in itemCountUpdatedBeforeListUpdateCallbacks() 283 expectedCount[0] = 5 in itemCountUpdatedBeforeListUpdateCallbacks() 289 expectedCount[0] = 10 in itemCountUpdatedBeforeListUpdateCallbacks() 296 expectedCount[0] = 0 in itemCountUpdatedBeforeListUpdateCallbacks()
|
/frameworks/native/libs/ui/tests/ |
D | Region_test.cpp | 48 void checkTJunctionFreeFromRegion(const Region& original, int expectedCount = -1) { in checkTJunctionFreeFromRegion() argument 51 if (expectedCount != -1) { in checkTJunctionFreeFromRegion() 52 EXPECT_EQ(modified.end() - modified.begin(), expectedCount); in checkTJunctionFreeFromRegion()
|
/frameworks/support/content/src/androidTest/java/androidx/contentpager/content/ |
D | TestQueryCallback.java | 60 public void reset(int expectedCount) throws InterruptedException { in reset() argument 61 mQueryLatch = new CollectorLatch<>(expectedCount); in reset() 62 mReplyLatch = new CollectorLatch<>(expectedCount); in reset()
|
/frameworks/base/core/tests/coretests/src/android/view/accessibility/ |
D | AccessibilityEventTest.java | 103 static void assertNoNewNonStaticFieldsAdded(Class<?> clazz, int expectedCount) { in assertNoNewNonStaticFieldsAdded() argument 116 assertEquals(message, expectedCount, nonStaticFieldCount); in assertNoNewNonStaticFieldsAdded()
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
D | RadialPickerLayout.java | 355 int expectedCount = 8; in preparePrefer30sMap() local 362 if (count == expectedCount) { in preparePrefer30sMap() 365 expectedCount = 7; in preparePrefer30sMap() 367 expectedCount = 14; in preparePrefer30sMap() 369 expectedCount = 4; in preparePrefer30sMap()
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/ |
D | CallbackRegistryTest.java | 219 int expectedCount = Math.min(i + 1, deepNotifyCount.length - i); in testVeryDeepRemoveWhileNotifying() local 220 assertEquals(expectedCount, deepNotifyCount[i]); in testVeryDeepRemoveWhileNotifying()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | CallbackRegistryTest.java | 215 int expectedCount = Math.min(i + 1, deepNotifyCount.length - i); in testVeryDeepRemoveWhileNotifying() local 216 assertEquals(expectedCount, deepNotifyCount[i]); in testVeryDeepRemoveWhileNotifying()
|
/frameworks/base/core/java/android/widget/ |
D | RadialTimePickerView.java | 247 int expectedCount = 8; in preparePrefer30sMap() local 254 if (count == expectedCount) { in preparePrefer30sMap() 257 expectedCount = 7; in preparePrefer30sMap() 259 expectedCount = 14; in preparePrefer30sMap() 261 expectedCount = 4; in preparePrefer30sMap()
|
/frameworks/base/core/java/android/util/proto/ |
D | ProtoOutputStream.java | 2291 final long expectedCount = expectedFlags & FIELD_COUNT_MASK; in checkFieldId() local 2298 || !((fieldCount == expectedCount) in checkFieldId() 2300 && expectedCount == FIELD_COUNT_REPEATED))) { in checkFieldId() 2310 sb.append(getFieldCountString(expectedCount)); in checkFieldId() 2335 sb.append(getFieldCountString(expectedCount)); in checkFieldId()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContentProviderOperationTest.java | 431 ContentProviderOperation.Builder builder, Integer expectedCount) in builderSetExpectedCount() argument 436 field.set(builder, expectedCount); in builderSetExpectedCount()
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
D | databinding-studio-bundle.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/databinding/
android/ ... |