Home
last modified time | relevance | path

Searched refs:totalSize (Results 1 – 11 of 11) sorted by relevance

/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecDecoderMultiAccessUnitTestBase.java169 int totalSize = 0; in dequeueOutputs() local
187 totalSize += info.size; in dequeueOutputs()
189 assertTrue("Sum of all info sizes: " + totalSize + " exceeds max output size: " in dequeueOutputs()
191 totalSize <= mMaxOutputSizeBytes); in dequeueOutputs()
DCodecDecoderBlockModelMultiAccessUnitTestBase.java169 int totalSize = 0; in dequeueOutputs() local
204 totalSize += callBackInfo.size; in dequeueOutputs()
209 assertTrue("Sum of all info sizes: " + totalSize + " exceeds max output size: " in dequeueOutputs()
211 totalSize <= mMaxOutputSizeBytes); in dequeueOutputs()
/cts/tests/mediapc/src/android/mediapc/cts/
DPlaybackFrameDrop.java206 int totalSize = 0; in setUpSourceFiles() local
209 totalSize += (int) file.length(); in setUpSourceFiles()
211 totalSize <<= 1; in setUpSourceFiles()
214 mBuffer = ByteBuffer.allocate(totalSize); in setUpSourceFiles()
/cts/tests/media/src/android/mediav2/cts/
DCodecEncoderMultiAccessUnitTest.java170 int totalSize = 0; in dequeueOutputs() local
205 totalSize += info.size; in dequeueOutputs()
207 assertTrue("Sum of all info sizes: " + totalSize + " exceeds max output size: " in dequeueOutputs()
209 totalSize <= mMaxOutputSizeBytes); in dequeueOutputs()
DCodecEncoderBlockModelMultiAccessUnitTest.java181 int totalSize = 0; in dequeueOutputs() local
231 totalSize += callBackInfo.size; in dequeueOutputs()
236 assertTrue("Sum of all info sizes: " + totalSize + " exceeds max output size: " in dequeueOutputs()
238 totalSize <= mMaxOutputSizeBytes); in dequeueOutputs()
DAdaptivePlaybackTest.java330 int totalSize = 0; in testAdaptivePlayback() local
333 totalSize += (int) file.length(); in testAdaptivePlayback()
338 ByteBuffer buffer = ByteBuffer.allocate(totalSize); in testAdaptivePlayback()
DDecoderDynamicColorAspectTest.java342 int totalSize = 0; in testDynamicColorAspect() local
345 totalSize += (int) file.length(); in testDynamicColorAspect()
352 ByteBuffer buffer = ByteBuffer.allocate(totalSize); in testDynamicColorAspect()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/unittests/
DHotwordDetectedResultTest.java73 final int totalSize = in testHotwordDetectedResult_totalSize() local
80 assertThat(totalSize <= Utils.MAX_HOTWORD_DETECTED_RESULT_SIZE * Byte.SIZE).isTrue(); in testHotwordDetectedResult_totalSize()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/
DUsbDeviceTestActivity.java361 int totalSize = LARGE_BUFFER_SIZE; in echoLargeBulkTransfer() local
362 byte[] sentBuffer = new byte[totalSize]; in echoLargeBulkTransfer()
371 byte[] receivedBuffer = new byte[totalSize]; in echoLargeBulkTransfer()
378 for (int i = 0; i < totalSize; i++) { in echoLargeBulkTransfer()
766 int totalSize = LARGE_BUFFER_SIZE; in echoLargeUsbRequestLegacy() local
776 byte[] sentBytes = new byte[totalSize]; in echoLargeUsbRequestLegacy()
780 byte[] receivedBytes = new byte[totalSize]; in echoLargeUsbRequestLegacy()
783 boolean wasQueued = receive.queue(bufferReceived, totalSize); in echoLargeUsbRequestLegacy()
785 wasQueued = sent.queue(bufferSent, totalSize); in echoLargeUsbRequestLegacy()
792 assertEquals(bufferReceived.position(), totalSize); in echoLargeUsbRequestLegacy() local
[all …]
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerShellCommandIncrementalTest.java1242 final long totalSize = file.length(); in readSplitInChunks() local
1243 final long chunkSize = totalSize / chunks; in readSplitInChunks()
1257 if (readSoFar < totalSize) { in readSplitInChunks()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DVideoCodecTestBase.java1957 int totalSize = 0; in computeEncodingStatistics() local
1977 totalSize += info.size; in computeEncodingStatistics()
2003 statistics.mAverageBitrate = (int)(((long)totalSize * 8) / duration); in computeEncodingStatistics()
2025 ". Total size: " + totalSize + ". Key frames: " + keyFrames); in computeEncodingStatistics()