/frameworks/base/test-runner/src/android/test/ |
D | MoreAsserts.java | 44 public static void assertAssignableFrom(Class<?> expected, Object actual) { in assertAssignableFrom() 53 public static void assertAssignableFrom(Class<?> expected, Class<?> actual) { in assertAssignableFrom() 85 String message, byte[] expected, byte[] actual) { in assertEquals() 101 public static void assertEquals(byte[] expected, byte[] actual) { in assertEquals() 111 String message, int[] expected, int[] actual) { in assertEquals() 127 public static void assertEquals(int[] expected, int[] actual) { in assertEquals() 137 String message, double[] expected, double[] actual) { in assertEquals() 153 public static void assertEquals(double[] expected, double[] actual) { in assertEquals() 165 String message, Object[] expected, Object[] actual) { in assertEquals() 185 public static void assertEquals(Object[] expected, Object[] actual) { in assertEquals() [all …]
|
D | ComparisonFailure.java | 27 public ComparisonFailure(String message, String expected, String actual) { in ComparisonFailure()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | StaticLayoutDirectionsTest.java | 74 private static Directions[] expected = { field in StaticLayoutDirectionsTest 117 checkDirections(b.build(), i, b.text, expected, f); in testDirections() local 135 Directions expected = dirs(0, LVL1_1, 1, LVL2_1, 2, 3 | (1 << Layout.RUN_LEVEL_SHIFT)); in testTrailingWhitespace() local 149 int[] expected = { 0, 1, 4, 3, 2, 5 }; in testNextToRightOf() local 165 int[] expected = { 0, 1, 4, 3, 2, 5 }; in testNextToLeftOf() local 228 Directions expected = expectedDirs[i]; in checkDirections() local 237 private void expectDirections(String msg, Directions expected, Directions result) { in expectDirections()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneNumberWatcherTest.java | 219 String expected = "+1-650-123-4567"; // Different formatting than ours in testAutoCompleteWithFormattedNumber() local 228 String expected = "Test User <650-123-4567>"; in testAutoCompleteWithFormattedNameAndNumber() local 237 String expected = "2nd Test User <650-123-4567>"; in testAutoCompleteWithNumericNameAndNumber() local 246 String expected = "6501234567"; in testAutoCompleteWithUnformattedNumber() local 258 String expected = "(650) 123-4567"; in testAutoCompleteUnformattedWithUnformattedNumber() local 272 private void testReplacement(String init, String replacement, String expected) { in testReplacement()
|
D | ApnSettingTest.java | 98 String expected = "[ApnSettingV2] Name, 99, 12345, apn, proxy, " + in testToString() local
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | LoggingPrintStreamTest.java | 134 String expected = builder.toString(); in testMultiByteCharactersSpanningBuffers() local 142 String expected = " \u20AC \u20AC \u20AC \u20AC "; in testWriteOneByteAtATimeMultibyteCharacters() local 151 String expected = " \u20AC \u20AC \u20AC \u20AC "; in testWriteByteArrayAtATimeMultibyteCharacters() local 158 String expected = " \u20AC \u20AC \u20AC \u20AC "; in testWriteWithOffsetsMultibyteCharacters() local
|
/frameworks/base/core/tests/overlaytests/OverlayTest/src/com/android/overlaytest/ |
D | OverlayBaseTest.java | 46 String expected = mWithOverlay ? ew : ewo; in assertResource() local 52 int[] expected = mWithOverlay ? ew : ewo; in assertResource() local 107 final int[] expected = {0, 10, 20, 30}; in testIntegerArray() local 115 int expected = mWithOverlay ? 0x000051da : 0x0014ebce; in testAsset() local
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | AutoCompleteTextViewPopup.java | 225 boolean expected) throws InterruptedException { in waitAssertPopupShowState() 235 private void waitAssertListSelection(AutoCompleteTextView textView, int expected) in waitAssertListSelection() 241 int expected) throws Exception { in waitAssertListSelection()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | Base64Test.java | 58 private void assertEquals(byte[] expected, int len, byte[] actual) { in assertEquals() 66 private void assertEquals(byte[] expected, int len, byte[] actual, int alen) { in assertEquals() 74 private void assertEquals(byte[] expected, byte[] actual) { in assertEquals()
|
D | DayOfMonthCursorTest.java | 150 private void assertArraysEqual(int[] expected, int[] actual) { in assertArraysEqual()
|
D | MonthDisplayHelperTest.java | 201 private void assertArraysEqual(int[] expected, int[] actual) { in assertArraysEqual()
|
D | JsonWriterTest.java | 413 String expected = "{\n" in testPrettyPrintObject() local 450 String expected = "[\n" in testPrettyPrintArray() local
|
/frameworks/support/tests/java/android/support/v4/content/ |
D | FileProviderTest.java | 137 final String expected = "content://authority/t%2Fg/lol%22wat%3Ffoo%26bar/wat.txt"; in testStrategyEscaping() local 161 final String expected = "content://authority/tag/foo/bar"; in testStrategyExtraSeparators() local 317 private void assertContentsEquals(byte[] expected, Uri actual) throws Exception { in assertContentsEquals()
|
/frameworks/base/tools/aidl/ |
D | search_path.cpp | 21 string expected = given; local
|
D | options_test.cpp | 21 match_arrays(const char* const*expected, const vector<string> &got) in match_arrays() 39 print_array(const char* prefix, const char* const*expected) in print_array()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | ManifestDigestTest.java | 52 ManifestDigest expected = in testManifestDigest_Equals() local
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | ActivityTestsBase.java | 147 public int waitForResultOrThrow(int timeoutMs, String expected) { in waitForResultOrThrow() 163 public int waitForResult(int timeoutMs, String expected) { in waitForResult()
|
/frameworks/base/tools/aapt/tests/ |
D | CrunchCache_test.cpp | 18 void expectEqual(int got, int expected, const char* desc) { in expectEqual()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | BinderThreadPriorityTest.java | 131 final int expected = prio; in testCallBackFromServiceWithPriority() local
|
D | FileUtilsTest.java | 179 private void assertDirContents(String... expected) { in assertDirContents()
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/ |
D | RootsCacheTest.java | 117 private static void assertContainsExactly(List<?> expected, List<?> actual) { in assertContainsExactly()
|
/frameworks/base/keystore/tests/src/android/security/ |
D | AndroidKeyStoreTest.java | 1393 Certificate[] expected = new Certificate[2]; in testKeyStore_GetCertificateChain_SingleLength_Encrypted_Success() local 1859 PrivateKeyEntry expected = new PrivateKeyEntry(expectedKey, expectedChain); in testKeyStore_SetEntry_PrivateKeyEntry_Encrypted_Success() local 1886 PrivateKeyEntry expected = new PrivateKeyEntry(expectedKey, expectedChain); in testKeyStore_SetEntry_PrivateKeyEntry_DSA_Unencrypted_Success() local 1913 PrivateKeyEntry expected = new PrivateKeyEntry(expectedKey, expectedChain); in testKeyStore_SetEntry_PrivateKeyEntry_EC_Unencrypted_Success() local 1940 PrivateKeyEntry expected = new PrivateKeyEntry(expectedKey, expectedChain); in testKeyStore_SetEntry_PrivateKeyEntry_RSA_Unencrypted_Success() local 1998 PrivateKeyEntry expected = new PrivateKeyEntry(expectedKey, expectedChain); in testKeyStore_SetEntry_PrivateKeyEntry_Overwrites_PrivateKeyEntry_Encrypted_Success() local 2023 PrivateKeyEntry expected = new PrivateKeyEntry(expectedKey, expectedChain); in testKeyStore_SetEntry_PrivateKeyEntry_Overwrites_PrivateKeyEntry_Encrypted_Success() local
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | UriMatcherTest.java | 109 private void check(String uri, int expected, UriMatcher matcher) { in check()
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
D | RecurrenceProcessorTest.java | 48 private static void printLists(String[] expected, String[] out) { in printLists() 64 String exdate, String rangeStartStr, String rangeEndStr, String[] expected) in verifyRecurrence() 71 String exdate, String rangeStartStr, String rangeEndStr, String[] expected, in verifyRecurrence()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | CameraMetadataTest.java | 218 private static <T> void assertArrayEquals(T expected, T actual) { in assertArrayEquals() 528 <T> void compareGeneric(T expected, T actual) { in compareGeneric()
|