/frameworks/base/services/tests/servicestests/src/com/android/server/notification/ |
D | ValidateNotificationPeopleTest.java | 38 String[] expected = { "foobar" }; in testSingleString() local 47 String[] expected = { "foobar" }; in testSingleCharArray() local 56 String[] expected = { "foobar" }; in testSingleCharSequence() local 66 String[] expected = { "foobar" }; in testStringArraySingle() local 75 String[] expected = { "foo", "bar", "baz" }; in testStringArrayMultiple() local 84 String[] expected = { "foo", null, "baz" }; in testStringArrayNulls() local 93 String[] expected = { "foo", "bar", "baz" }; in testCharSequenceArrayMultiple() local 106 String[] expected = { "foo", "bar", "baz" }; in testMixedCharSequenceArrayList() local 123 String[] expected = { "foo", null, "baz" }; in testStringArrayList() local 136 String[] expected = { "foo", "bar", "baz" }; in testCharSequenceArrayList() local [all …]
|
/frameworks/base/test-runner/src/android/test/ |
D | MoreAsserts.java | 43 public static void assertAssignableFrom(Class<?> expected, Object actual) { in assertAssignableFrom() 52 public static void assertAssignableFrom(Class<?> expected, Class<?> actual) { in assertAssignableFrom() 84 String message, byte[] expected, byte[] actual) { in assertEquals() 100 public static void assertEquals(byte[] expected, byte[] actual) { in assertEquals() 110 String message, int[] expected, int[] actual) { in assertEquals() 126 public static void assertEquals(int[] expected, int[] actual) { in assertEquals() 136 String message, long[] expected, long[] actual) { in assertEquals() 152 public static void assertEquals(long[] expected, long[] actual) { in assertEquals() 163 String message, double[] expected, double[] actual) { in assertEquals() 179 public static void assertEquals(double[] expected, double[] 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/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | RationalTest.java | 391 private static void assertValueEquals(Rational object, float expected) { in assertValueEquals() 396 private static void assertValueEquals(Rational object, double expected) { in assertValueEquals() 401 private static void assertValueEquals(Rational object, long expected) { in assertValueEquals() 406 private static void assertValueEquals(Rational object, int expected) { in assertValueEquals() 411 private static void assertValueEquals(Rational object, short expected) { in assertValueEquals() 416 private static void assertFinite(Rational object, boolean expected) { in assertFinite() 420 private static void assertInfinite(Rational object, boolean expected) { in assertInfinite() 424 private static void assertNaN(Rational object, boolean expected) { in assertNaN() 428 private static void assertZero(Rational object, boolean expected) { in assertZero() 432 private static <T> void assertAction(String action, T object, boolean expected, in assertAction()
|
D | RangeTest.java | 148 private static <T extends Comparable<? super T>> void assertUpper(Range<T> object, T expected) { in assertUpper() 152 private static <T extends Comparable<? super T>> void assertLower(Range<T> object, T expected) { in assertLower() 156 private static <T, T2> void assertAction(String action, T object, T2 expected, in assertAction() 162 private static <T, T2> void assertAction(String action, T object, T2 needle, boolean expected, in assertAction()
|
D | CameraMetadataTest.java | 287 private static <T> void assertArrayEquals(T expected, T actual) { in assertArrayEquals() 334 private <T> void checkKeyGetAndSet(String keyStr, TypeReference<T> typeToken, T expected, in checkKeyGetAndSet() 356 private <T> void checkKeyGetAndSet(String keyStr, TypeReference<T> typeToken, T expected) { in checkKeyGetAndSet() 360 private <T> void checkKeyGetAndSet(String keyStr, Class<T> type, T expected) { in checkKeyGetAndSet() 374 T expected, byte[] expectedNative) { in checkKeyMarshal() 417 private <T> Key<T> checkKeyMarshal(String keyName, T expected, byte[] expectedNative) { in checkKeyMarshal() 1237 private <T> void assertKeyValueEquals(T expected, CameraCharacteristics.Key<T> key) { in assertKeyValueEquals() 1241 private <T> void assertKeyValueEquals(T expected, Key<T> key) { in assertKeyValueEquals()
|
/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 | 145 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/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/overlaytests/OverlayTest/src/com/android/overlaytest/ |
D | OverlayBaseTest.java | 109 int expected = getExpected(no, so, mo); in assertResource() local 115 String expected = getExpected(no, so, mo); in assertResource() local 121 int[] expected = getExpected(no, so, mo); in assertResource() local 168 final int[] expected = {2, 3, 5, 7, 11, 13, 17, 19}; in testIntegerArray() local 176 int expected = 0; in testDrawable() local 202 int expected = getExpected(0, 1, 2); in testAppXml() local
|
/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()
|
/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/core/tests/bluetoothtests/src/android/bluetooth/le/ |
D | ScanRecordTest.java | 66 private static void assertArrayEquals(byte[] expected, byte[] actual) { in assertArrayEquals()
|
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/ |
D | TtsEnginesTests.java | 71 private void assertArraysEqual(String[] expected, String[] actual) { in assertArraysEqual()
|
/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/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/action/ |
D | GeneralLocationTest.java | 105 private void assertPositionEquals(int expected, GeneralLocation location, int axis) { in assertPositionEquals()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | FileBridgeTest.java | 73 private void assertContents(byte[] expected) throws Exception { in assertContents()
|
/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/app/backup/ |
D | BackupDataTest.java | 178 String[] expected = truth.readLine().split(":"); in testReadMockData() local 208 String[] expected = truth.readLine().split(":"); in testReadRealData() local
|