Home
last modified time | relevance | path

Searched refs:getBlockSize (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DBlockCipherTestBase.java83 protected abstract int getBlockSize(); in getBlockSize() method in BlockCipherTestBase
135 assertEquals(getBlockSize(), mCipher.getBlockSize()); in testGetBlockSize()
170 int blockSize = getBlockSize(); in testGetOutputSizeInEncryptionMode()
236 int blockSize = getBlockSize(); in testGetOutputSizeInDecryptionMode()
362 byte[] ciphertext = doFinal(new byte[getBlockSize()]); in testGetIV()
393 byte[] plaintext = new byte[getBlockSize()]; in testIvGeneratedAndUsedWhenEncryptingWithoutExplicitIv()
479 mCipher.update(new byte[getBlockSize() * 2]); in testReinitializingInDecryptModeDoesNotUsePreviouslyUsedIv()
589 if (input.length < getBlockSize() * 2) { in assertDoFinalResetsCipher()
593 update(subarray(input, 0, getBlockSize() * 3 / 2)), in assertDoFinalResetsCipher()
594 doFinal(subarray(input, getBlockSize() * 3 / 2, input.length)))); in assertDoFinalResetsCipher()
[all …]
DAESECBCipherTestBase.java41 protected int getBlockSize() { in getBlockSize() method in AESECBCipherTestBase
59 assertInitRejectsIvParameterSpec(new byte[getBlockSize()]); in testInitRejectsIvParameterSpec()
DAESCTRCipherTestBase.java43 protected int getBlockSize() { in getBlockSize() method in AESCTRCipherTestBase
DAESCBCCipherTestBase.java43 protected int getBlockSize() { in getBlockSize() method in AESCBCCipherTestBase
DDESedeCipherTestBase.java11 protected int getBlockSize() { in getBlockSize() method in DESedeCipherTestBase
DAESGCMCipherTestBase.java50 protected int getBlockSize() { in getBlockSize() method in AESGCMCipherTestBase
/cts/tests/tests/os/src/android/os/cts/
DStatFsTest.java29 assertTrue(stat.getBlockSize() > 0); in testStatFs()
46 assertTrue(stat.getBlockSize() > 0); in testStatFs()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DSystemUtil.java44 return (long)statFs.getAvailableBlocks() * statFs.getBlockSize(); in getFreeDiskSize()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DSystemUtil.java44 return (long)statFs.getAvailableBlocks() * statFs.getBlockSize(); in getFreeDiskSize()