/packages/providers/TvProvider/tests/src/com/android/providers/tv/ |
D | ParametersTest.java | 85 private void verifyChannelCountWithPreview(int expectedCount, boolean preview) { in verifyChannelCountWithPreview() argument 88 verifyChannelCount(channelUri, expectedCount); in verifyChannelCountWithPreview() 91 private void verifyChannelCount(Uri channelUri, int expectedCount) { in verifyChannelCount() argument 95 assertEquals("Query:{Uri=" + channelUri + "}", expectedCount, cursor.getCount()); in verifyChannelCount() 105 private void verifyChannelQuery(Uri channelsUri, int expectedCount, boolean expectedException) { in verifyChannelQuery() argument 107 verifyChannelCount(channelsUri, expectedCount); in verifyChannelQuery() 119 int expectedCount, boolean expectedException) { in verifyChannelUpdate() argument 125 assertEquals(expectedCount, count); in verifyChannelUpdate() 133 private void verifyChannelDelete(Uri channelsUri, int expectedCount, in verifyChannelDelete() argument 140 assertEquals(expectedCount, count); in verifyChannelDelete()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | FileManagementUiTest.java | 176 final int expectedCount = Shared.MAX_DOCS_IN_INTENT + 1; in testCopyLargeAmountOfFiles() 178 if (children.size() == expectedCount) { in testCopyLargeAmountOfFiles() 187 if (newChildren.size() == expectedCount) { in testCopyLargeAmountOfFiles() 191 if (newChildren.size() > expectedCount) { in testCopyLargeAmountOfFiles() 194 + newChildren.size() + " exceeds expected number " + expectedCount); in testCopyLargeAmountOfFiles() 199 + " files, expected to copy " + expectedCount + " files."); in testCopyLargeAmountOfFiles()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
D | BarrierConsumer.java | 43 public BarrierConsumer(int expectedCount) { in BarrierConsumer() argument 44 mExpectedCount = expectedCount; in BarrierConsumer() 45 mValues = new ArrayList<A>(expectedCount); in BarrierConsumer()
|
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
D | AbstractRestrictBackgroundNetworkTestCase.java | 198 protected void assertRestrictBackgroundChangedReceived(int expectedCount) throws Exception { in assertRestrictBackgroundChangedReceived() argument 199 assertRestrictBackgroundChangedReceived(DYNAMIC_RECEIVER, expectedCount); in assertRestrictBackgroundChangedReceived() 203 protected void assertRestrictBackgroundChangedReceived(String receiverName, int expectedCount) in assertRestrictBackgroundChangedReceived() argument 211 assertFalse("Expected count " + expectedCount + " but actual is " + count, in assertRestrictBackgroundChangedReceived() 212 count > expectedCount); in assertRestrictBackgroundChangedReceived() 213 if (count == expectedCount) { in assertRestrictBackgroundChangedReceived() 216 Log.d(TAG, "Expecting count " + expectedCount + " but actual is " + count + " after " in assertRestrictBackgroundChangedReceived() 222 + maxAttempts * SLEEP_TIME_SEC + " seconds", expectedCount, count); in assertRestrictBackgroundChangedReceived()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | LatchedConsumer.java | 18 public LatchedConsumer(int expectedCount) { in LatchedConsumer() argument 19 latch = new CountDownLatch(expectedCount); in LatchedConsumer()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | PaletteListPreferenceTest.java | 60 final int expectedCount = in initPaletteView_success() local 62 assertEquals(expectedCount, viewGroup.getChildCount()); in initPaletteView_success()
|
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/ |
D | LogEventChecker.java | 66 final int expectedCount = mExpectedEvents.entrySet() in finishSync() local 68 if (rawEvents.size() >= expectedCount in finishSync()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | IntHistogramTest.java | 58 private void incrementValueAndVerify(int value, int expectedBucketIndex, int expectedCount) { in incrementValueAndVerify() argument 61 mHistogram.getBucketByIndex(expectedBucketIndex).count, equalTo(expectedCount)); in incrementValueAndVerify()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | SpannableStringUtilsTests.java | 76 private static void assertSpanCount(final int expectedCount, final CharSequence cs) { in assertSpanCount() argument 84 assertEquals(expectedCount, actualCount); in assertSpanCount()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/compat/ |
D | LocaleSpanCompatUtilsTests.java | 69 private static void assertSpanCount(final int expectedCount, final Spanned spanned) { in assertSpanCount() argument 71 assertEquals(expectedCount, spans.length); in assertSpanCount()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | BaseContactsProvider2Test.java | 1352 protected void assertRowCount(int expectedCount, Uri uri, String selection, String[] args) { in assertRowCount() argument 1356 assertEquals(expectedCount, cursor.getCount()); in assertRowCount()
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2Test.java | 3121 private void checkCalendarCount(int expectedCount) { in checkCalendarCount() argument 3127 assertEquals(expectedCount, cursor.getCount()); in checkCalendarCount()
|