Home
last modified time | relevance | path

Searched refs:expectedCount (Results 1 – 23 of 23) sorted by relevance

/packages/providers/TvProvider/tests/src/com/android/providers/tv/
DParametersTest.java85 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/
DFileManagementUiTest.java176 final int expectedCount = Shared.MAX_DOCS_IN_INTENT + 1; in testCopyLargeAmountOfFiles()
178 if (children.size() == expectedCount) { in testCopyLargeAmountOfFiles()
189 if (newChildren.size() == expectedCount) { in testCopyLargeAmountOfFiles()
193 if (newChildren.size() > expectedCount && retries >= maxRetries) { in testCopyLargeAmountOfFiles()
196 + newChildren.size() + " exceeds expected number " + expectedCount); in testCopyLargeAmountOfFiles()
201 + " files, expected to copy " + expectedCount + " files."); in testCopyLargeAmountOfFiles()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryOptimizeLogUtilsTest.java65 final int expectedCount = 10; in writeLog_multipleLogs_withCorrectCounts() local
66 for (int i = 0; i < expectedCount; i++) { in writeLog_multipleLogs_withCorrectCounts()
71 assertActionCount("LEAVE", expectedCount); in writeLog_multipleLogs_withCorrectCounts()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/bugreport/
DBatteryUsageLogUtilsTest.java65 final int expectedCount = 10; in writeLog_multipleLogs_withCorrectCounts() local
66 for (int i = 0; i < expectedCount; i++) { in writeLog_multipleLogs_withCorrectCounts()
73 assertActionCount("SCHEDULE_JOB", expectedCount); in writeLog_multipleLogs_withCorrectCounts()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/espresso/
DRecyclerViewItemCountAssertion.java34 public RecyclerViewItemCountAssertion(int expectedCount) { in RecyclerViewItemCountAssertion() argument
35 mExpectedCount = expectedCount; in RecyclerViewItemCountAssertion()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DLatchedConsumer.java18 public LatchedConsumer(int expectedCount) { in LatchedConsumer() argument
19 latch = new CountDownLatch(expectedCount); in LatchedConsumer()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/utils/
DRetransmitterTest.java173 int expectedCount = IKE_RETRANS_TIMEOUT_MS_LIST.length * 2; in testRestartRetransmit() local
192 assertEquals(expectedCount, mRetransmitter.mSendCallCount); in testRestartRetransmit()
193 verify(mMockHandler, times(expectedCount)) in testRestartRetransmit()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DPaletteListPreferenceTest.java60 final int expectedCount = in initPaletteView_success() local
62 assertEquals(expectedCount, viewGroup.getChildCount()); in initPaletteView_success()
/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/
DAbstractRestrictBackgroundNetworkTestCase.java269 protected void assertRestrictBackgroundChangedReceived(int expectedCount) throws Exception { in assertRestrictBackgroundChangedReceived() argument
270 assertRestrictBackgroundChangedReceived(DYNAMIC_RECEIVER, expectedCount); in assertRestrictBackgroundChangedReceived()
274 protected void assertRestrictBackgroundChangedReceived(String receiverName, int expectedCount) in assertRestrictBackgroundChangedReceived() argument
282 assertFalse("Expected count " + expectedCount + " but actual is " + count, in assertRestrictBackgroundChangedReceived()
283 count > expectedCount); in assertRestrictBackgroundChangedReceived()
284 if (count == expectedCount) { in assertRestrictBackgroundChangedReceived()
287 Log.d(TAG, "Expecting count " + expectedCount + " but actual is " + count + " after " in assertRestrictBackgroundChangedReceived()
296 + maxAttempts * SLEEP_TIME_SEC + " seconds", expectedCount, count); in assertRestrictBackgroundChangedReceived()
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsEventLoggerTest.kt160 private fun assertCountForReason(dump: String, reason: Int, expectedCount: Int) { in assertCountForReason()
162 val regex = Regex(pollReasonNameOf(reason) + "[^0-9]+" + expectedCount) in assertCountForReason()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DLogEventChecker.java62 final int expectedCount = mExpectedEvents.entrySet() in finishSync() local
64 if (rawEvents.size() >= expectedCount in finishSync()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DIntHistogramTest.java58 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/
DSpannableStringUtilsTests.java76 private static void assertSpanCount(final int expectedCount, final CharSequence cs) { in assertSpanCount() argument
84 assertEquals(expectedCount, actualCount); in assertSpanCount()
/packages/services/Mms/tests/unittests/src/com/android/mms/service/metrics/
DPersistMmsAtomsStorageTest.java541 @Nullable IncomingMms expectedMms, long expectedCount, long expectedAvg) { in assertHasMmsAndCountAvg() argument
561 assertEquals(expectedCount, actualCount); in assertHasMmsAndCountAvg()
566 @Nullable OutgoingMms expectedMms, long expectedCount, long expectedAvg) { in assertHasMmsAndCountAvg() argument
587 assertEquals(expectedCount, actualCount); in assertHasMmsAndCountAvg()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/compat/
DLocaleSpanCompatUtilsTests.java69 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/
DBaseContactsProvider2Test.java1370 protected void assertRowCount(int expectedCount, Uri uri, String selection, String[] args) { in assertRowCount() argument
1374 assertEquals(expectedCount, cursor.getCount()); in assertRowCount()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java3121 private void checkCalendarCount(int expectedCount) { in checkCalendarCount() argument
3127 assertEquals(expectedCount, cursor.getCount()); in checkCalendarCount()
/packages/apps/TV/libs/
Dtruth-0.45.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/TV/libs/m2/
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...