Home
last modified time | relevance | path

Searched refs:expectedOutput (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DBlockCipherTestBase.java569 byte[] expectedOutput = getKatOutput(opmode); in assertDoFinalResetsCipher()
573 assertEquals(expectedOutput, doFinal(input)); in assertDoFinalResetsCipher()
585 assertEquals(expectedOutput, doFinal(input)); in assertDoFinalResetsCipher()
592 assertEquals(expectedOutput, concat( in assertDoFinalResetsCipher()
599 assertEquals(expectedOutput, doFinal(input)); in assertDoFinalResetsCipher()
687 int opmode, byte[] input, byte[] expectedOutput) throws Exception { in assertKatOneShotTransformUsingDoFinal() argument
695 assertEquals(expectedOutput, doFinal(input)); in assertKatOneShotTransformUsingDoFinal()
697 assertEquals(expectedOutput, doFinal(input, 0, input.length)); in assertKatOneShotTransformUsingDoFinal()
699 assertEquals(expectedOutput, in assertKatOneShotTransformUsingDoFinal()
708 ByteBuffer actualOutputBuffer = ByteBuffer.allocate(expectedOutput.length); in assertKatOneShotTransformUsingDoFinal()
[all …]
DAESGCMCipherTestBase.java152 byte[] aad, byte[] input, byte[] expectedOutput) throws Exception { in assertKatTransformWithAadProvidedInOneGo() argument
155 assertEquals(expectedOutput, doFinal(input)); in assertKatTransformWithAadProvidedInOneGo()
159 assertEquals(expectedOutput, doFinal(input)); in assertKatTransformWithAadProvidedInOneGo()
163 assertEquals(expectedOutput, doFinal(input)); in assertKatTransformWithAadProvidedInOneGo()
167 byte[] aad, byte[] input, byte[] expectedOutput, int maxChunkSize) throws Exception { in assertKatTransformWithAadProvidedInChunks() argument
176 assertEquals(expectedOutput, doFinal(input)); in assertKatTransformWithAadProvidedInChunks()
DAESCipherNistCavpKatTest.java295 byte[] expectedOutput = (encrypt) ? testVector.ciphertext : testVector.plaintext; in runKatTest()
296 if (!Arrays.equals(expectedOutput, actualOutput)) { in runKatTest()
297 fail("Expected: " + HexEncoding.encode(expectedOutput) in runKatTest()
DRSACipherTest.java57 byte[] expectedOutput = TestUtils.leftPadWithZeroBytes(input, modulusSizeBytes); in testNoPaddingEncryptionAndDecryptionSucceedsWithInputShorterThanModulus()
61 MoreAsserts.assertEquals(expectedOutput, cipher.doFinal(input)); in testNoPaddingEncryptionAndDecryptionSucceedsWithInputShorterThanModulus()
64 MoreAsserts.assertEquals(expectedOutput, cipher.doFinal(input)); in testNoPaddingEncryptionAndDecryptionSucceedsWithInputShorterThanModulus()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DLogHelper.java60 public static void assertLog(ITestDevice device, String tag, String ...expectedOutput) in assertLog() argument
63 List<String> expectedOutputs = new ArrayList<>(Arrays.asList(expectedOutput)); in assertLog()
68 String expectedOutput) throws Exception { in assertLogDoesNotContain() argument
70 assertThat(testString).doesNotContain(expectedOutput); in assertLogDoesNotContain()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/playback/
DHdmiCecSystemInformationTest.java70 String expectedOutput = "POLL sent"; in cect_11_2_6_1_Ack() local
72 if (!hdmiCecClient.checkConsoleOutput(expectedOutput)) { in cect_11_2_6_1_Ack()
73 throw new Exception("Could not find " + expectedOutput); in cect_11_2_6_1_Ack()