Lines Matching refs:actual
344 * @param actual The file of whose contents to verify
348 protected void verifyFileContents(ParcelFileDescriptor actual, byte[] expected)
350 AutoCloseInputStream input = new ParcelFileDescriptor.AutoCloseInputStream(actual);
351 long fileSize = actual.getStatSize();
364 * @param actual The array whose data we want to verify
367 protected void compareByteArrays(byte[] actual, byte[] expected) {
368 assertEquals(actual.length, expected.length);
369 int length = actual.length;
372 if (actual[i] != expected[i]) {
386 byte[] actual = new byte[FILE_BLOCK_READ_SIZE];
397 while (((actualRead = input.read(actual)) != -1) &&
400 compareByteArrays(actual, expected);
972 int actual = cursor.getInt(index);
973 assertEquals(expected, actual);
985 String actual = cursor.getString(index);
986 Log.i(LOG_TAG, ": " + actual);
987 assertEquals(expected, actual);
1022 * Helper that does the actual basic download verification.