Home
last modified time | relevance | path

Searched defs:actual (Results 1 – 25 of 56) sorted by relevance

123

/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DHelpersTest.java44 final String actual = Helpers.generateSaveFile(getContext(), in testGenerateSaveFile() local
47 assertEquals(expected.getAbsolutePath(), actual); in testGenerateSaveFile() local
65 final String actual = Helpers.generateSaveFile(getContext(), in testGenerateSaveFileNoExtension() local
68 assertEquals(expected.getAbsolutePath(), actual); in testGenerateSaveFileNoExtension() local
76 final String actual = Helpers.generateSaveFile(getContext(), "url", hint, in testGenerateSaveFileHint() local
78 assertEquals(expected.getAbsolutePath(), actual); in testGenerateSaveFileHint() local
83 final String actual = Helpers.generateSaveFile(getContext(), in testGenerateSaveFileDisposition() local
86 assertEquals(expected.getAbsolutePath(), actual); in testGenerateSaveFileDisposition() local
DThreadingTest.java82 final String actual = d.first.getContents(); in testFilenameRace() local
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/
DSearchUtilTest.java30 final String actual = "this is a long test string.\nWith potentially many lines.\n" + in testFindMatchingLine() local
54 final String actual = "this is a long test string.\nWith potentially many lines.\n" + in testContains() local
65 final String actual = "this is a long test string.\nWith potentially many lines.\n" + in testContainsNotFound() local
82 final String actual = "....hello.kitty"; in testFindNextTokenStart() local
/packages/apps/TV/tests/unit/src/com/android/tv/util/
DScaledBitmapInfoTest.java18 ScaledBitmapInfo actual = BitmapUtils.createScaledBitmapInfo("B80x100", B80x100, 50, 50); in testSize_B100x100to50x50() local
23 ScaledBitmapInfo actual = BitmapUtils.createScaledBitmapInfo("B80x100", B80x100, 50, 50); in testNeedsToReload_B100x100to50x50() local
35 ScaledBitmapInfo actual = BitmapUtils in testBug20488453() local
48 int expectedHeight, ScaledBitmapInfo actual) { in assertScaledBitmapSize()
/packages/apps/UnifiedEmail/tests/src/com/android/mail/utils/
DUtilsTest.java34 final Spanned actual = Utils.insertStringWithStyle( in testInsertStringWithStyle() local
46 final Spanned actual = Utils.insertStringWithStyle( in testInsertStringWithStyle_substringNotInEntire() local
53 public static void assertSpannedEquals(Spanned expected, Spanned actual) { in assertSpannedEquals()
69 TextAppearanceSpan expected, TextAppearanceSpan actual) { in assertTextAppearanceSpanEquals()
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/
DImapUtilityTests.java44 String[] actual; in testGetImapSequenceValues() local
99 String[] actual; in testGetImapRangeValues() local
DImapTestUtils.java45 public static final void assertElement(ImapElement expected, ImapElement actual) { in assertElement()
55 ImapElement actual) { in assertElement()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/database/
DMoreDatabaseUtilTest.java38 String actual = MoreDatabaseUtils.buildCreateIndexSql("testtable", "testfield") in testBuildIndex() local
49 String actual = MoreDatabaseUtils.buildDropIndexSql("testtable", "testfield").toLowerCase(); in testDropIndex() local
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpecTests.java57 final Object[] actual) { in assertArrayEquals()
77 final String[] actual = MoreKeySpec.insertAdditionalMoreKeys(moreKeys, additionalMoreKeys); in assertInsertAdditionalMoreKeys() local
305 final String[] actual = Arrays.copyOf(moreKeys, moreKeys.length); in assertGetBooleanValue() local
345 final String[] actual = Arrays.copyOf(moreKeys, moreKeys.length); in assertGetIntValue() local
DMoreKeySpecSplitTests.java45 static <T> void assertArrayEquals(final String message, final T[] expected, final T[] actual) { in assertArrayEquals()
70 final String[] actual = MoreKeySpec.splitKeySpecs(resolvedActual); in assertTextArray() local
DHermiteInterpolatorTests.java33 private static void assertFloatEquals(final String message, float expected, float actual) { in assertFloatEquals()
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/
DScheduledRecordingTest.java62 ScheduledRecording actual = ScheduledRecording.builder(p).setChannelId(c.getId()).build(); in testBuildProgram() local
67 ScheduledRecording actual = createTestRecordingWithIdAndPeriod(1, CHANNEL_ID, 10L, 20L); in testBuildTime() local
73 ScheduledRecording actual = ScheduledRecording.buildFrom(expected).build(); in testBuildFrom() local
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTestUtils.java271 EmailContent actual) { in assertEmailContentEqual()
285 public static void assertAccountEqual(String caller, Account expect, Account actual) { in assertAccountEqual()
315 public static void assertHostAuthEqual(String caller, HostAuth expect, HostAuth actual) { in assertHostAuthEqual()
319 public static void assertHostAuthEqual(String caller, HostAuth expect, HostAuth actual, in assertHostAuthEqual()
342 public static void assertMailboxEqual(String caller, Mailbox expect, Mailbox actual) { in assertMailboxEqual()
375 public static void assertMessageEqual(String caller, Message expect, Message actual) { in assertMessageEqual()
429 public static void assertAttachmentEqual(String caller, Attachment expect, Attachment actual) { in assertAttachmentEqual()
DAccountBackupRestoreTests.java60 public static void assertRestoredAccountEqual(Account expect, Account actual) { in assertRestoredAccountEqual()
/packages/apps/Messaging/src/com/android/messaging/util/
DAssert.java106 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/inputmethods/LatinIME/native/jni/tests/suggest/core/layout/
Dgeometry_utils_test.cpp25 const char* actualExpression, float expected, float actual) { in ExpectAngleDiffEq()
36 #define EXPECT_ANGLE_DIFF_EQ(expected, actual) \ argument
/packages/apps/Calendar/tests/src/com/android/calendar/widget/
DCalendarAppWidgetServiceTest.java120 CalendarAppWidgetModel actual = CalendarFactory.buildAppWidgetModel( in testGetAppWidgetModel_1Event() local
170 … CalendarAppWidgetModel actual = CalendarAppWidgetService.CalendarFactory.buildAppWidgetModel( in testGetAppWidgetModel_AllDayEventLater() local
/packages/apps/Camera2/tests/src/com/android/camera/unittest/
DCameraUnitTest.java58 private void assertEquals(int expected[], float[] actual) { in assertEquals()
/packages/apps/Camera2/tests_camera/src/com/android/camera/unittest/
DCameraUnitTest.java58 private void assertEquals(int expected[], float[] actual) { in assertEquals()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dencodedstreamtest.cpp91 unsigned expected, actual; in TestEncodedInputStream() local
109 unsigned expected, actual; in TestEncodedInputStream() local
131 unsigned expected, actual; in TestAutoUTFInputStream() local
150 unsigned expected, actual; in TestAutoUTFInputStream() local
/packages/apps/TV/tests/unit/src/com/android/tv/data/
DChannelNumberTest.java87 private void assertChannelEquals(ChannelNumber actual, String expectedMajor, in assertChannelEquals()
/packages/apps/LegacyCamera/tests/src/com/android/camera/unittest/
DCameraTest.java106 private void assertEquals(int expected[], float[] actual) { in assertEquals()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/util/
DNameDistanceTest.java73 float actual = mNameDistance.getDistance(s1, s2); in assertFloat() local
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
DFrequentContactsCursorBuilderTest.java28 private void verifyBuiltCursor(final Cursor expected, final Cursor actual) { in verifyBuiltCursor()
/packages/apps/TV/tests/common/src/com/android/tv/testing/dvr/
DRecordingTestUtils.java54 … public static void assertRecordingEquals(ScheduledRecording expected, ScheduledRecording actual) { in assertRecordingEquals()

123