Home
last modified time | relevance | path

Searched refs:expectedContent (Results 1 – 8 of 8) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/
DMifareUltralightTagTester.java62 final CharSequence expectedContent = NfcUtils.displayByteArray(fourPages); in writeTag() local
72 return new Result(expectedContent, actualContent, in writeTag()
75 return new Result(expectedContent, null, false); in writeTag()
DTagVerifier.java39 public Result(CharSequence expectedContent, CharSequence actualContent, boolean isMatch) { in Result() argument
40 this.mExpectedContent = expectedContent; in Result()
DNdefTagTester.java73 final String expectedContent = mContext.getString(R.string.nfc_ndef_content, in writeTag() local
93 return new Result(expectedContent, actualContent, in writeTag()
/cts/tests/tests/nfc/src/android/nfc/tech/cts/interactive/
DTagVerifier.java40 public Result(CharSequence expectedContent, CharSequence actualContent, boolean isMatch) { in Result() argument
41 this.mExpectedContent = expectedContent; in Result()
DNdefTagTester.java73 final String expectedContent = mContext.getString(R.string.nfc_ndef_content, in writeTag() local
93 return new Result(expectedContent, actualContent, in writeTag()
/cts/tests/wearable/src/android/wearable/cts/
DCtsIsolatedWearableSensingService.java175 String expectedContent = data.getString(EXPECTED_FILE_CONTENT_KEY); in onDataProvided() local
178 relativeFilePath, expectedContent, expectedException, statusConsumer); in onDataProvided()
274 String expectedContent, in readFileAndVerify() argument
282 if (expectedContent != null) { in readFileAndVerify()
283 if (expectedContent.equals(content)) { in readFileAndVerify()
289 + expectedContent in readFileAndVerify()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
DTagVerifierActivity.java406 CharSequence expectedContent = args.getCharSequence(EXPECTED_CONTENT_ID);
414 alert.setMessage(getString(R.string.nfc_result_message, expectedContent, actualContent));
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java1591 public static void assertFileContent(File file, byte[] expectedContent) throws IOException { in assertFileContent() argument
1593 assertInputStreamContent(fis, expectedContent); in assertFileContent()
1601 public static void assertFileContent(FileDescriptor fd, byte[] expectedContent) in assertFileContent() argument
1605 assertInputStreamContent(fis, expectedContent); in assertFileContent()
1621 public static void assertDirectoryContains(@NonNull File dir, File... expectedContent) { in assertDirectoryContains() argument
1623 assertThat(Arrays.asList(dir.listFiles())).containsAtLeastElementsIn(expectedContent); in assertDirectoryContains()
1803 private static void assertInputStreamContent(InputStream in, byte[] expectedContent) in assertInputStreamContent() argument
1805 assertThat(ByteStreams.toByteArray(in)).isEqualTo(expectedContent); in assertInputStreamContent()