/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
D | SuggestionCursorUtil.java | 44 SuggestionCursor expected, SuggestionCursor observed) { in assertSameSuggestion() 49 SuggestionCursor expected, int positionExpected, in assertSameSuggestion() 58 public static void assertSameSuggestions(SuggestionCursor expected, SuggestionCursor observed) { in assertSameSuggestions() 63 String message, SuggestionCursor expected, SuggestionCursor observed) { in assertSameSuggestions() 74 public static void assertSameSuggestionsNoOrder(SuggestionCursor expected, in assertSameSuggestionsNoOrder() 80 SuggestionCursor expected, SuggestionCursor observed) { in assertSameSuggestionsNoOrder() 89 public static void assertContainsSuggestion(Suggestion expected, SuggestionCursor observed) { in assertContainsSuggestion()
|
D | BlendingPromoterTest.java | 59 SuggestionCursor expected = cursor(); in testLimitZeroShortcutsPerSource() local 65 SuggestionCursor expected = cursor(mS11, mS21); in testLimitOneShortcutPerSource() local 71 SuggestionCursor expected = cursor(mS11, mS12, mS21, mS22); in testLimitTwoShortcutsPerSource() local 77 SuggestionCursor expected = cursor(mS11, mS12, mS21, mS22); in testLimitThreeShortcutsPerSource() local 83 SuggestionCursor expected = cursor(); in testLimitOneSourceZeroPromoted() local 89 SuggestionCursor expected = cursor(mS11); in testLimitOneSourceOnePromoted() local 95 SuggestionCursor expected = cursor(mS11, mS12); in testLimitOneSourceTwoPromoted() local 101 SuggestionCursor expected = cursor(); in testLimitNoShortcuts() local 107 SuggestionCursor expected = cursor(mS11, mS12); in testLimitZeroWebShortcuts() local 113 SuggestionCursor expected = cursor(mS11, mS12, mWeb1, mWeb2); in testLimitTwoWebShortcuts() local
|
D | WebPromoterTest.java | 78 SuggestionCursor expected = slice(mCorpusResultWeb, 0, 1); in testZeroShortcuts() local 86 SuggestionCursor expected = cursor(mWeb1); in testZeroSuggestions() local 94 SuggestionCursor expected = concat(cursor(mWeb1), slice(mCorpusResultWeb, 0, 1)); in testOnlyWebPromoted() local 112 private void assertOnlyWebSuggestions(SuggestionCursor expected) { in assertOnlyWebSuggestions()
|
D | ShortcutRepositoryTest.java | 248 SuggestionData expected = new SuggestionData(CONTACTS_SOURCE) in testSpinnerWhileRefreshing() local 687 ListSuggestionCursor expected = new ListSuggestionCursor("a"); in testAppUpgradePromotesLowerRanked() local 865 void assertShortcuts(String query, SuggestionData... expected) { in assertShortcuts() 870 int position, SuggestionData expected) { in assertShortcutAtPosition() 890 boolean allowWebSearchShortcuts, SuggestionCursor expected) { in assertShortcuts() 900 SuggestionCursor expected) { in assertShortcuts() 909 boolean allowWebSearchShortcuts, SuggestionData... expected) { in assertShortcuts() 915 SuggestionData... expected) { in assertShortcuts() 919 void assertShortcuts(String message, String query, SuggestionData... expected) { in assertShortcuts() 923 private void assertHasHistory(boolean expected) { in assertHasHistory() [all …]
|
D | ResultPromoterTest.java | 73 SuggestionCursor expected = cursor(mS11, mS12, mS21, mS22); in testOnlyResultShortcutsPromoted() local 79 SuggestionCursor expected = concat(mCorpusResult1, mCorpusResult2); in testOnlyResultSuggestionsPromoted() local
|
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/ |
D | ImapUtilityTests.java | 44 String[] expected; in testGetImapSequenceValues() local 99 String[] expected; in testGetImapRangeValues() local
|
D | ImapTestUtils.java | 45 public static final void assertElement(ImapElement expected, ImapElement actual) { in assertElement() 54 public static final void assertElement(String message, ImapElement expected, in assertElement()
|
/packages/apps/Calendar/tests/src/com/android/calendar/widget/ |
D | CalendarAppWidgetServiceTest.java | 89 CalendarAppWidgetModel expected = new CalendarAppWidgetModel(getContext(), Time in testGetAppWidgetModel_1Event() local 118 CalendarAppWidgetModel expected = new CalendarAppWidgetModel(getContext(), Time in testGetAppWidgetModel_2StaggeredEvents() local 164 CalendarAppWidgetModel expected = new CalendarAppWidgetModel(getContext(), Time in testGetAppWidgetModel_AllDayEventToday() local 205 CalendarAppWidgetModel expected = new CalendarAppWidgetModel(getContext(), Time in testGetAppWidgetModel_AllDayEventTomorrow() local 246 CalendarAppWidgetModel expected = new CalendarAppWidgetModel(getContext(), Time in testGetAppWidgetModel_AllDayEventLater() local
|
/packages/apps/Camera/tests/src/com/android/camera/unittest/ |
D | CameraUnitTest.java | 75 int[] expected; in testPrepareMatrix() local 102 private void assertEquals(int expected[], float[] actual) { in assertEquals()
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/unittest/ |
D | CameraTest.java | 79 int[] expected; in testPrepareMatrix() local 106 private void assertEquals(int expected[], float[] actual) { in assertEquals()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
D | KeySpecParserCsvTests.java | 52 private static void assertArrayEquals(String message, Object[] expected, Object[] actual) { in assertArrayEquals() 72 final String[] expected = (expectedArray.length == 0) ? null : expectedArray; in assertTextArray() local 76 private void assertError(String message, String value, String ... expected) { in assertError()
|
D | KeySpecParserTests.java | 330 private static void assertArrayEquals(String message, Object[] expected, Object[] actual) { in assertArrayEquals() 349 String[] additionalMoreKeys, String[] expected) { in assertInsertAdditionalMoreKeys() 576 String[] expected, boolean expectedValue) { in assertGetBooleanValue() 614 String[] moreKeys, String[] expected, int expectedValue) { in assertGetIntValue()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | EvenMoreAsserts.java | 66 public static void assertImageRawData(Context context, byte[] expected, in assertImageRawData() 81 public static void assertImageRawData(Context context, byte[] expected, byte[] actual) { in assertImageRawData()
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/ |
D | MockNamedTaskExecutor.java | 47 public void assertPendingTaskCount(int expected) { in assertPendingTaskCount()
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/anim/ |
D | AnimationTest.java | 74 public static void assertFloatEq(float expected, float actual) { in assertFloatEq()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/util/ |
D | NameDistanceTest.java | 70 private void assertFloat(float expected, String name1, String name2) { in assertFloat()
|
/packages/apps/Email/tests/src/com/android/email/mail/transport/ |
D | DiscourseLoggerTest.java | 124 private void checkDiscourseStore(int storeSize, Object[] discource, String[] expected) { in checkDiscourseStore()
|
/packages/apps/Email/tests/src/com/android/email/activity/ |
D | IntentUtilitiesTests.java | 77 public void checkGetIdFromIntent(String uri, long expected) { in checkGetIdFromIntent()
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | ContactsUtilsTests.java | 183 private void assertCollapses(String message, boolean expected, CharSequence mimetype1, in assertCollapses()
|
/packages/apps/Email/tests/src/com/android/email/activity/setup/ |
D | AccountSetupAccountTypeTests.java | 78 int expected = View.GONE; // Default is hidden in testEasOffered() local
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | AsyncQueryServiceTest.java | 264 OperationInfo[] expected = generateSortedWork(work, work.length - 1); in testCancel_simpleCancelLastTest() local 292 OperationInfo[] expected = new OperationInfo[4]; in testCancel_cancelSecondToLast() local 323 OperationInfo[] expected = new OperationInfo[3]; in testCancel_multipleCancels() local 530 ContentProviderResult[] expected = (ContentProviderResult[]) mWork[mIndex].result; in onBatchComplete() local
|
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/ |
D | ParseException.java | 116 StringBuffer expected = new StringBuffer(); in getMessage() local
|
/packages/apps/Email/src/org/apache/james/mime4j/field/contenttype/parser/ |
D | ParseException.java | 116 StringBuffer expected = new StringBuffer(); in getMessage() local
|
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/ |
D | ParseException.java | 116 StringBuffer expected = new StringBuffer(); in getMessage() local
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/common/ |
D | UtilsTest.java | 196 public static void assertFloatEq(float expected, float actual) { in assertFloatEq()
|