Home
last modified time | relevance | path

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

/frameworks/base/keystore/java/android/security/keystore/
DKeyStoreCryptoOperationChunkedStreamer.java91 public byte[] update(byte[] input, int inputOffset, int inputLength) throws KeyStoreException { in update() argument
92 if (inputLength == 0) { in update()
99 while (inputLength > 0) { in update()
102 if ((mBufferedLength + inputLength) > mMaxChunkSize) { in update()
111 && (inputLength == input.length)) { in update()
118 inputBytesInChunk = inputLength; in update()
125 inputLength -= inputBytesInChunk; in update()
142 if (inputLength > 0) { in update()
165 if (inputLength > 0) { in update()
208 public byte[] doFinal(byte[] input, int inputOffset, int inputLength, in doFinal() argument
[all …]
DAndroidKeyStoreECDSASignatureSpi.java73 public byte[] update(byte[] input, int inputOffset, int inputLength) in update() argument
75 if (inputLength > 0) { in update()
76 mInputBuffer.write(input, inputOffset, inputLength); in update()
77 mConsumedInputSizeBytes += inputLength; in update()
83 public byte[] doFinal(byte[] input, int inputOffset, int inputLength, byte[] signature, in doFinal() argument
85 if (inputLength > 0) { in doFinal()
86 mConsumedInputSizeBytes += inputLength; in doFinal()
87 mInputBuffer.write(input, inputOffset, inputLength); in doFinal()
DKeyStoreCryptoOperationStreamer.java37 byte[] update(byte[] input, int inputOffset, int inputLength) throws KeyStoreException; in update() argument
38 byte[] doFinal(byte[] input, int inputOffset, int inputLength, byte[] signature, in doFinal() argument
DAndroidKeyStoreAuthenticatedAESCipherSpi.java357 public byte[] update(byte[] input, int inputOffset, int inputLength) in update() argument
359 byte[] output = mDelegate.update(input, inputOffset, inputLength); in update()
371 public byte[] doFinal(byte[] input, int inputOffset, int inputLength, in doFinal() argument
373 byte[] output = mDelegate.doFinal(input, inputOffset, inputLength, signature, in doFinal()
/frameworks/base/core/java/android/os/
DLocaleList.java199 final int inputLength = (otherLocales == null) ? 0 : otherLocales.mList.length; in LocaleList() local
201 for (int i = 0; i < inputLength; i++) { in LocaleList()
208 final int outputLength = inputLength + (topLocaleIndex == -1 ? 1 : 0); in LocaleList()
213 for (int i = 0; i < inputLength; i++) { in LocaleList()
220 for (int i = topLocaleIndex + 1; i < inputLength; i++) { in LocaleList()
/frameworks/support/compat/java/android/support/v4/os/
DLocaleListHelper.java214 final int inputLength = (otherLocales == null) ? 0 : otherLocales.mList.length; in LocaleListHelper() local
216 for (int i = 0; i < inputLength; i++) { in LocaleListHelper()
223 final int outputLength = inputLength + (topLocaleIndex == -1 ? 1 : 0); in LocaleListHelper()
228 for (int i = 0; i < inputLength; i++) { in LocaleListHelper()
235 for (int i = topLocaleIndex + 1; i < inputLength; i++) { in LocaleListHelper()
/frameworks/av/media/libmedia/
DCharacterEncodingDetector.cpp174 int32_t inputLength = strlen(s); in detectAndConvert() local
189 ucsdet_setText(csd, s, inputLength, &status); in detectAndConvert()
191 const UCharsetMatch* bestSingleMatch = getPreferred(s, inputLength, in detectAndConvert()
202 if (isPrintableAscii(s, inputLength)) { in detectAndConvert()
206 ucsdet_setText(csd, s, inputLength, &status); in detectAndConvert()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_reduce.java905 final int inputLength = 1 << 18; in patternRedundantGet() local
906 final byte[] inputArray = createInputArrayByte(inputLength, 789); in patternRedundantGet()
914 pass &= result("patternRedundantGet (1)", new timing(inputLength), javaResult, rsResult1); in patternRedundantGet()
917 pass &= result("patternRedundantGet (2)", new timing(inputLength), javaResult, rsResult2); in patternRedundantGet()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_reduce.java907 final int inputLength = 1 << 18; in patternRedundantGet() local
908 final byte[] inputArray = createInputArrayByte(inputLength, 789); in patternRedundantGet()
916 pass &= result("patternRedundantGet (1)", new timing(inputLength), javaResult, rsResult1); in patternRedundantGet()
919 pass &= result("patternRedundantGet (2)", new timing(inputLength), javaResult, rsResult2); in patternRedundantGet()