Home
last modified time | relevance | path

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

/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreCipherSpiBase.java320 protected final byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument
331 if (inputLen == 0) { in engineUpdate()
338 output = mMainDataStreamer.update(input, inputOffset, inputLen); in engineUpdate()
372 protected final int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument
374 byte[] outputCopy = engineUpdate(input, inputOffset, inputLen); in engineUpdate()
425 protected final void engineUpdateAAD(byte[] input, int inputOffset, int inputLen) { in engineUpdateAAD() argument
448 output = mAdditionalAuthenticationDataStreamer.update(input, inputOffset, inputLen); in engineUpdateAAD()
471 int inputLen; in engineUpdateAAD() local
475 inputLen = src.remaining(); in engineUpdateAAD()
480 inputLen = input.length; in engineUpdateAAD()
[all …]
DAndroidKeyStoreAuthenticatedAESCipherSpi.java229 protected final int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument
233 result = getConsumedInputSizeBytes() - getProducedOutputSizeBytes() + inputLen in engineGetOutputSize()
236 result = getConsumedInputSizeBytes() - getProducedOutputSizeBytes() + inputLen in engineGetOutputSize()
DAndroidKeyStore3DESCipherSpi.java119 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument
120 return inputLen + 3 * BLOCK_SIZE_BYTES; in engineGetOutputSize()
DAndroidKeyStoreUnauthenticatedAESCipherSpi.java288 protected final int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument
289 return inputLen + 3 * BLOCK_SIZE_BYTES; in engineGetOutputSize()
DAndroidKeyStoreRSACipherSpi.java494 protected final int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_reduce_backward.java178 final int inputLen = 100000; in fz() local
179 int[] input = createInputArrayInt(inputLen, 5); in fz()
181 input[(new Random(6)).nextInt(inputLen)] = 0; in fz()
196 final int inputLen = dimX * dimY; in fz2() local
198 int[] inputArray = createInputArrayInt(inputLen, 7); in fz2()
200 inputArray[(new Random(8)).nextInt(inputLen)] = 0; in fz2()
221 final int inputLen = dimX * dimY * dimZ; in fz3() local
223 int[] inputArray = createInputArrayInt(inputLen, 9); in fz3()
225 inputArray[(new Random(10)).nextInt(inputLen)] = 0; in fz3()
DUT_reduce.java690 final int inputLen = size[0]; in fz_array() local
691 int[] input = createInputArrayInt(inputLen, seed + 0); in fz_array()
693 input[(new Random(seed + 1)).nextInt(inputLen)] = 0; in fz_array()
705 final int inputLen = size[0]; in fz() local
706 int[] inputArray = createInputArrayInt(inputLen, seed + 0); in fz()
708 inputArray[(new Random(seed + 1)).nextInt(inputLen)] = 0; in fz()
742 final int inputLen = dimX * dimY; in fz2() local
744 int[] inputArray = createInputArrayInt(inputLen, seed + 0); in fz2()
746 inputArray[(new Random(seed + 1)).nextInt(inputLen)] = 0; in fz2()
786 final int inputLen = dimX * dimY * dimZ; in fz3() local
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_reduce_backward.java176 final int inputLen = 100000; in fz() local
177 int[] input = createInputArrayInt(inputLen, 5); in fz()
179 input[(new Random(6)).nextInt(inputLen)] = 0; in fz()
194 final int inputLen = dimX * dimY; in fz2() local
196 int[] inputArray = createInputArrayInt(inputLen, 7); in fz2()
198 inputArray[(new Random(8)).nextInt(inputLen)] = 0; in fz2()
219 final int inputLen = dimX * dimY * dimZ; in fz3() local
221 int[] inputArray = createInputArrayInt(inputLen, 9); in fz3()
223 inputArray[(new Random(10)).nextInt(inputLen)] = 0; in fz3()
DUT_reduce.java688 final int inputLen = size[0]; in fz_array() local
689 int[] input = createInputArrayInt(inputLen, seed + 0); in fz_array()
691 input[(new Random(seed + 1)).nextInt(inputLen)] = 0; in fz_array()
703 final int inputLen = size[0]; in fz() local
704 int[] inputArray = createInputArrayInt(inputLen, seed + 0); in fz()
706 inputArray[(new Random(seed + 1)).nextInt(inputLen)] = 0; in fz()
740 final int inputLen = dimX * dimY; in fz2() local
742 int[] inputArray = createInputArrayInt(inputLen, seed + 0); in fz2()
744 inputArray[(new Random(seed + 1)).nextInt(inputLen)] = 0; in fz2()
784 final int inputLen = dimX * dimY * dimZ; in fz3() local
[all …]