Home
last modified time | relevance | path

Searched refs:outputArray (Results 1 – 10 of 10) sorted by relevance

/frameworks/support/work/workmanager/src/test/java/androidx/work/
DArrayCreatingInputMergerTest.java53 int[] outputArray = output.getIntArray(KEY); in testMerge_singleArgument() local
54 assertThat(outputArray.length, is(1)); in testMerge_singleArgument()
55 assertThat(outputArray[0], is(VALUE_INT)); in testMerge_singleArgument()
62 int[] outputArray = output.getIntArray(KEY); in testMerge_concatenatesNonArrays() local
63 assertThat(outputArray.length, is(2)); in testMerge_concatenatesNonArrays()
64 assertThat(outputArray[0], is(VALUE_INT)); in testMerge_concatenatesNonArrays()
65 assertThat(outputArray[1], is(VALUE_INT)); in testMerge_concatenatesNonArrays()
72 int[] outputArray = output.getIntArray(KEY); in testMerge_concatenatesArrays() local
73 assertThat(outputArray.length, is(VALUE_INT_ARRAY.length * 2)); in testMerge_concatenatesArrays()
76 assertThat(outputArray[i * VALUE_INT_ARRAY.length + j], is(VALUE_INT_ARRAY[j])); in testMerge_concatenatesArrays()
[all …]
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreCipherSpiBase.java398 byte[] outputArray; in engineUpdate()
400 outputArray = in engineUpdate()
407 outputArray = engineUpdate(inputArray, 0, inputSize); in engineUpdate()
410 int outputSize = (outputArray != null) ? outputArray.length : 0; in engineUpdate()
414 output.put(outputArray); in engineUpdate()
555 byte[] outputArray; in engineDoFinal()
557 outputArray = in engineDoFinal()
564 outputArray = engineDoFinal(inputArray, 0, inputSize); in engineDoFinal()
567 int outputSize = (outputArray != null) ? outputArray.length : 0; in engineDoFinal()
571 output.put(outputArray); in engineDoFinal()
/frameworks/base/services/core/java/com/android/server/location/
DContextHubServiceUtil.java72 static void copyToByteArrayList(byte[] inputArray, ArrayList<Byte> outputArray) { in copyToByteArrayList() argument
73 outputArray.clear(); in copyToByteArrayList()
74 outputArray.ensureCapacity(inputArray.length); in copyToByteArrayList()
76 outputArray.add(element); in copyToByteArrayList()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_reflection3264.java99 byte[] outputArray = new byte[xSize * ySize * 4]; in run()
100 outputAllocation.copyTo(outputArray); in run()
105 assertEquals("[" + i + "][" + j + "]", inputArray[idx], outputArray[idx]); in run()
DUT_reduce_backward.java257 long[] outputArray = new long[histogramBucketCount]; in histogram() local
259 outputArray[i] = outputArrayMistyped[i] & (long) 0xffffffff; in histogram()
260 return outputArray; in histogram()
DUT_reduce.java844 long[] outputArray = new long[histogramBucketCount]; in histogram() local
846 outputArray[i] = outputArrayMistyped[i] & (long) 0xffffffff; in histogram()
852 return outputArray; in histogram()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_reflection3264.java101 byte[] outputArray = new byte[xSize * ySize * 4]; in run()
102 outputAllocation.copyTo(outputArray); in run()
107 assertEquals("[" + i + "][" + j + "]", inputArray[idx], outputArray[idx]); in run()
DUT_reduce_backward.java259 long[] outputArray = new long[histogramBucketCount]; in histogram() local
261 outputArray[i] = outputArrayMistyped[i] & (long) 0xffffffff; in histogram()
262 return outputArray; in histogram()
DUT_reduce.java846 long[] outputArray = new long[histogramBucketCount]; in histogram() local
848 outputArray[i] = outputArrayMistyped[i] & (long) 0xffffffff; in histogram()
854 return outputArray; in histogram()
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
DTransport.java119 final byte[] outputArray = mOutputBuffer.array(); in sendMessage()
144 ioWrite(outputArray, 0, capacity); in sendMessage()
150 ioWrite(outputArray, 0, mOutputBuffer.position()); in sendMessage()