/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()
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/utils/ |
D | UtilsTest.java | 36 final SpannableString expected = new SpannableString(entire); in testInsertStringWithStyle() local 48 final SpannableString expected = new SpannableString(entire); in testInsertStringWithStyle_substringNotInEntire() local 53 public static void assertSpannedEquals(Spanned expected, Spanned actual) { in assertSpannedEquals() 69 TextAppearanceSpan expected, TextAppearanceSpan actual) { in assertTextAppearanceSpanEquals()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | HelpersTest.java | 43 final File expected = new File(getContext().getFilesDir(), "file.mp4"); in testGenerateSaveFile() local 64 final File expected = new File(getContext().getFilesDir(), "file.mp4"); in testGenerateSaveFileNoExtension() local 72 final File expected = new File(getContext().getFilesDir(), "meow"); in testGenerateSaveFileHint() local 82 final File expected = new File(getContext().getFilesDir(), "real.mp4"); in testGenerateSaveFileDisposition() local
|
/packages/apps/Contacts/tests/src/com/android/contacts/editor/ |
D | EditorUiUtilsTest.java | 87 final String expected = getContext() in testGetProfileAccountInfo_NonLocalAccount() local 101 final String expected = getContext().getString(R.string.local_profile_title); in testGetProfileAccountInfo_DeviceLocalAccount() local 112 final String expected = getContext().getString(R.string.account_type_format, DISPLAY_LABEL); in testGetAccountInfo_AccountType_NonGoogle() local 123 final String expected = getContext().getString(R.string.google_account_type_format, in testGetAccountInfo_AccountType_Google() local 136 final String expected = getContext().getString(R.string.account_phone); in testGetAccountInfo_AccountType_DeviceAccount() local
|
/packages/apps/Camera2/tests/src/com/android/camera/unittest/ |
D | CameraUnitTest.java | 31 int[] expected; in testPrepareMatrix() local 58 private void assertEquals(int expected[], float[] actual) { in assertEquals()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/database/ |
D | MoreDatabaseUtilTest.java | 37 String expected = "create index testtable_testfield_index on testtable(testfield)"; in testBuildIndex() local 48 String expected = "drop index if exists testtable_testfield_index"; in testDropIndex() local
|
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/ |
D | ImapUtilityTests.java | 43 String[] expected; in testGetImapSequenceValues() local 98 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/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 | MoreKeySpecTests.java | 56 private static void assertArrayEquals(final String message, final Object[] expected, in assertArrayEquals() 76 final String[] moreKeys, final String[] additionalMoreKeys, final String[] expected) { in assertInsertAdditionalMoreKeys() 304 final String[] moreKeys, final String[] expected, final boolean expectedValue) { in assertGetBooleanValue() 343 final int defaultValue, final String[] moreKeys, final String[] expected, in assertGetIntValue()
|
D | MoreKeySpecSplitTests.java | 45 static <T> void assertArrayEquals(final String message, final T[] expected, final T[] actual) { in assertArrayEquals() 71 final String[] expected = (expectedArray.length == 0) ? null : expectedArray; in assertTextArray() local 75 private void assertError(final String message, final String value, final String ... expected) { in assertError()
|
D | MoreKeySpecStringReferenceTests.java | 49 final String[] expected = (expectedArray.length == 0) ? null : expectedArray; in assertTextArray() local 53 private void assertError(final String message, final String value, final String ... expected) { in assertError()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | Assert.java | 106 public static void equals(final int expected, final int actual) { in equals() 112 public static void equals(final long expected, final long actual) { in equals() 118 public static void equals(final Object expected, final Object actual) { in equals() 125 public static void oneOf(final int actual, final int ...expected) { in oneOf()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/ |
D | ProvisioningControllerBaseTest.java | 62 protected void taskSucceeded(Class expected) throws Exception { in taskSucceeded() 68 protected AbstractProvisioningTask verifyTaskRun(Class expected) throws Exception { in verifyTaskRun()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/ |
D | StringUtilsTests.java | 32 final String lowerCase, final String expected) { in assert_toTitleCaseOfKeyLabel() 114 final int expected) { in assert_toTitleCaseOfKeyCode() 146 final String expected) { in assert_capitalizeFirstCodePoint() 165 final String text, final String expected) { in assert_capitalizeFirstAndDowncaseRest()
|
/packages/inputmethods/LatinIME/native/jni/tests/suggest/core/layout/ |
D | geometry_utils_test.cpp | 25 const char* actualExpression, float expected, float actual) { in ExpectAngleDiffEq() 36 #define EXPECT_ANGLE_DIFF_EQ(expected, actual) \ argument
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
D | CustomizationVerifier.java | 82 ColorStateList expected = ColorStateList.valueOf(targetColor); in assertProgressBarColorCorrect() local 87 private Matcher<Bitmap> bitmapEqualTo(Bitmap expected) { in bitmapEqualTo()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/test/ |
D | CarAudioManagerTest.java | 157 public void waitForSet(long waitTimeMs, String expected) throws Exception { in waitForSet() 212 public void waitForChange(long waitTimeMs, String expected) throws Exception { in waitForChange() 221 public void assertParameter(String expected) { in assertParameter()
|
/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/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/anim/ |
D | SwiperThemeMatcherTest.java | 42 private void assertCorrect(int source, int expected) { in assertCorrect()
|
D | ColorMatcherTest.java | 45 private void assertCorrect(int source, int expected) { in assertCorrect()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
D | BreadBot.java | 80 public void assertTitle(String expected) { in assertTitle() 138 private static Matcher<Object> dropdownTitleMatcher(String expected) { in dropdownTitleMatcher()
|
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/ |
D | ScheduledRecordingTest.java | 77 ScheduledRecording expected = createTestRecordingWithIdAndPeriod(1, INPUT_ID, CHANNEL_ID, in testBuildFrom() local 106 private void assertOverLapping(boolean expected, long lower, long upper, ScheduledRecording r) { in assertOverLapping()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/selection/ |
D | SelectionProbe.java | 65 public void assertSelectionSize(int expected) { in assertSelectionSize() 67 assertEquals(selection.toString(), expected, selection.size()); in assertSelectionSize() local
|
/packages/apps/TV/tests/unit/src/com/android/tv/data/ |
D | ProgramTest.java | 167 private static void assertCanonicalGenres(Program program, String... expected) { in assertCanonicalGenres() 172 private static void assertHasGenre(Program program, int genreId, boolean expected) { in assertHasGenre()
|