Searched refs:expected (Results 126 - 150 of 171) sorted by relevance

1234567

/frameworks/opt/calendar/tests/src/com/android/calendarcommon/
H A DRecurrenceProcessorTest.java48 private static void printLists(String[] expected, String[] out) { argument
49 Log.i(TAG, " expected out");
51 for (i = 0; i < expected.length && i < out.length; i++) {
52 Log.i(TAG, " [" + i + "] " + expected[i]
55 for (; i < expected.length; i++) {
56 Log.i(TAG, " [" + i + "] " + expected[i]);
64 String exdate, String rangeStartStr, String rangeEndStr, String[] expected)
67 rangeEndStr, expected, expected[expected
63 verifyRecurrence(String dtstartStr, String rrule, String rdate, String exrule, String exdate, String rangeStartStr, String rangeEndStr, String[] expected) argument
70 verifyRecurrence(String dtstartStr, String rrule, String rdate, String exrule, String exdate, String rangeStartStr, String rangeEndStr, String[] expected, String last) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DActivityTestsBase.java147 public int waitForResultOrThrow(int timeoutMs, String expected) { argument
148 int res = waitForResult(timeoutMs, expected);
163 public int waitForResult(int timeoutMs, String expected) { argument
164 mExpecting = expected;
/frameworks/base/core/tests/coretests/src/android/util/
H A DDayOfMonthCursorTest.java150 private void assertArraysEqual(int[] expected, int[] actual) { argument
151 assertEquals("array length", expected.length, actual.length);
152 for (int i = 0; i < expected.length; i++) {
154 expected[i], actual[i]);
H A DMonthDisplayHelperTest.java201 private void assertArraysEqual(int[] expected, int[] actual) { argument
202 assertEquals("array length", expected.length, actual.length);
203 for (int i = 0; i < expected.length; i++) {
205 expected[i], actual[i]);
H A DBase64Test.java57 /** Assert that actual equals the first len bytes of expected. */
58 private void assertEquals(byte[] expected, int len, byte[] actual) { argument
61 assertEquals(expected[i], actual[i]);
65 /** Assert that actual equals the first len bytes of expected. */
66 private void assertEquals(byte[] expected, int len, byte[] actual, int alen) { argument
69 assertEquals(expected[i], actual[i]);
73 /** Assert that actual equals the first len bytes of expected. */
74 private void assertEquals(byte[] expected, byte[] actual) { argument
75 assertEquals(expected.length, actual.length);
76 for (int i = 0; i < expected
[all...]
/frameworks/base/test-runner/src/junit/runner/
H A DLoadingTestCollector.java29 catch (ClassNotFoundException expected) {
/frameworks/compile/libbcc/runtime/test/Unit/
H A Dashlti3_test.c25 int test__ashlti3(ti_int a, si_int b, ti_int expected) argument
28 if (x != expected)
37 expectedt.all = expected;
39 " expected 0x%llX%.16llX\n",
43 return x != expected;
H A Dashrti3_test.c25 int test__ashrti3(ti_int a, si_int b, ti_int expected) argument
28 if (x != expected)
35 expectedt.all = expected;
37 " expected 0x%llX%.16llX\n",
41 return x != expected;
H A Dfloattidf_test.c29 int test__floattidf(ti_int a, double expected) argument
32 if (x != expected)
36 printf("error in __floattidf(0x%.16llX%.16llX) = %a, expected %a\n",
37 at.s.high, at.s.low, x, expected);
39 return x != expected;
H A Dfloatuntidf_test.c29 int test__floatuntidf(tu_int a, double expected) argument
32 if (x != expected)
36 printf("error in __floatuntidf(0x%.16llX%.16llX) = %a, expected %a\n",
37 at.s.high, at.s.low, x, expected);
39 return x != expected;
H A Dfloatuntisf_test.c29 int test__floatuntisf(tu_int a, float expected) argument
32 if (x != expected)
36 printf("error in __floatuntisf(0x%.16llX%.16llX) = %a, expected %a\n",
37 at.s.high, at.s.low, x, expected);
39 return x != expected;
H A Dlshrti3_test.c25 int test__lshrti3(ti_int a, si_int b, ti_int expected) argument
28 if (x != expected)
35 expectedt.all = expected;
37 " expected 0x%llX%.16llX\n",
41 return x != expected;
H A Dmulvti3_test.c25 int test__mulvti3(ti_int a, ti_int b, ti_int expected) argument
28 if (x != expected)
37 expectedt.all = expected;
39 "0x%.16llX%.16llX, expected 0x%.16llX%.16llX\n",
43 return x != expected;
H A Dfloattixf_test.c30 int test__floattixf(ti_int a, long double expected) argument
33 if (x != expected)
37 printf("error in __floattixf(0x%.16llX%.16llX) = %LA, expected %LA\n",
38 at.s.high, at.s.low, x, expected);
40 return x != expected;
H A Dfloatuntixf_test.c30 int test__floatuntixf(tu_int a, long double expected) argument
33 if (x != expected)
37 printf("error in __floatuntixf(0x%.16llX%.16llX) = %LA, expected %LA\n",
38 at.s.high, at.s.low, x, expected);
40 return x != expected;
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerBaseTest.java338 * @param size The expected size of the file
348 * @param expected The data we expect to find in the aforementioned file
351 protected void verifyFileContents(ParcelFileDescriptor actual, byte[] expected) argument
357 assertEquals(expected.length, fileSize);
359 byte[] actualData = new byte[expected.length];
361 compareByteArrays(actualData, expected);
368 * @param expected The array of data we expect to see
370 protected void compareByteArrays(byte[] actual, byte[] expected) { argument
371 assertEquals(actual.length, expected.length);
375 if (actual[i] != expected[
975 verifyInt(Cursor cursor, String columnName, int expected) argument
988 verifyString(Cursor cursor, String columnName, String expected) argument
[all...]
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DImportTestProvider.java119 + " is not expected at all (" + actualContentValues + ")");
124 Log.d("@@@", "expected: "
155 * Checks all expected ContentValues are consumed during import.
168 "There is(are) remaining expected ContentValues instance(s): \n"
211 final ContentValues expected, final ContentValues actual) {
212 if (expected == actual) {
214 } else if (expected == null || actual == null || expected.size() != actual.size()) {
218 for (Entry<String, Object> entry : expected.valueSet()) {
210 equalsForContentValues( final ContentValues expected, final ContentValues actual) argument
/frameworks/base/core/tests/coretests/src/android/os/
H A DBinderThreadPriorityTest.java131 final int expected = prio;
134 assertEquals(expected, Process.getThreadPriority(Process.myTid()));
135 assertEquals(expectedSchedulerGroup(expected), getSchedulerGroup());
/frameworks/base/core/tests/coretests/src/com/android/internal/net/
H A DDomainNameValidatorTest.java134 boolean expected) {
136 assertEquals(message, (Object) expected, (Object) actual);
168 boolean expected) {
170 assertEquals(message, expected, actual);
229 boolean expected) throws Exception {
234 checkMatch(message, certificate, domain, expected);
133 checkMatch(String message, X509Certificate certificate, String thisDomain, boolean expected) argument
167 checkMatchDns(String message, String thisDomain, String thatDomain, boolean expected) argument
228 checkWithActualCert(String message, int resId, String domain, boolean expected) argument
/frameworks/base/core/tests/coretests/src/android/net/http/
H A DHttpResponseCacheTest.java65 } catch (IllegalStateException expected) {
88 } catch (IllegalStateException expected) {
/frameworks/base/core/tests/coretests/src/android/view/
H A DGravityTest.java69 private void assertOneGravity(int expected, int initial, boolean isRtl) { argument
72 assertEquals(expected, Gravity.getAbsoluteGravity(initial, layoutDirection));
H A DViewGroupAttributesTest.java51 assertEquals("expected ViewGroup.FOCUS_BEFORE_DESCENDANTS to be default",
79 fail("expected setting wrong flag to throw an exception");
80 } catch (IllegalArgumentException expected) {
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DApnSettingTest.java104 String expected = "[ApnSettingV2] Name, 99, 12345, apn, proxy, " +
107 assertEquals(expected, apn.toString());
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/
H A DDownloadManagerBaseTest.java320 * @param size The expected size of the file
330 * @param expected The data we expect to find in the aforementioned file
333 private void verifyFileContents(ParcelFileDescriptor actual, byte[] expected) argument
339 assertEquals(expected.length, fileSize);
341 byte[] actualData = new byte[expected.length];
343 compareByteArrays(actualData, expected);
350 * @param expected The array of data we expect to see
352 private void compareByteArrays(byte[] actual, byte[] expected) { argument
353 assertEquals(actual.length, expected.length);
357 if (actual[i] != expected[
780 verifyInt(Cursor cursor, String columnName, int expected) argument
[all...]
/frameworks/base/tools/aidl/
H A Daidl.cpp162 string expected; local
185 expected = package;
186 expected += '.';
189 len = expected.length();
191 if (expected[i] == '.') {
192 expected[i] = OS_PATH_SEPARATOR;
198 expected.append(name->data, len);
200 expected += ".aidl";
203 valid = (len >= expected.length());
206 p = fn.c_str() + (len - expected
[all...]

Completed in 504 milliseconds

1234567