Home
last modified time | relevance | path

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

/cts/tests/mediapc/src/android/mediapc/cts/
DPlaybackFrameDrop.java121 int totalSize = 0; in setUpSourceFiles() local
124 totalSize += (int) file.length(); in setUpSourceFiles()
126 totalSize <<= 1; in setUpSourceFiles()
129 mBuffer = ByteBuffer.allocate(totalSize); in setUpSourceFiles()
/cts/tests/media/src/android/mediav2/cts/
DAdaptivePlaybackTest.java195 int totalSize = 0; in testAdaptivePlayback() local
198 totalSize += (int) file.length(); in testAdaptivePlayback()
203 ByteBuffer buffer = ByteBuffer.allocate(totalSize); in testAdaptivePlayback()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DHotwordDetectedResultTest.java57 final int totalSize = in testHotwordDetectedResult_totalSize() local
63 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.java359 int totalSize = LARGE_BUFFER_SIZE; in echoLargeBulkTransfer() local
360 byte[] sentBuffer = new byte[totalSize]; in echoLargeBulkTransfer()
369 byte[] receivedBuffer = new byte[totalSize]; in echoLargeBulkTransfer()
376 for (int i = 0; i < totalSize; i++) { in echoLargeBulkTransfer()
764 int totalSize = LARGE_BUFFER_SIZE; in echoLargeUsbRequestLegacy() local
774 byte[] sentBytes = new byte[totalSize]; in echoLargeUsbRequestLegacy()
778 byte[] receivedBytes = new byte[totalSize]; in echoLargeUsbRequestLegacy()
781 boolean wasQueued = receive.queue(bufferReceived, totalSize); in echoLargeUsbRequestLegacy()
783 wasQueued = sent.queue(bufferSent, totalSize); in echoLargeUsbRequestLegacy()
790 assertEquals(bufferReceived.position(), totalSize); in echoLargeUsbRequestLegacy() local
[all …]
/cts/tests/tests/media/src/android/media/cts/
DMediaExtractorTest.java907 int totalSize = 0; in SKIP_testFlacMovExtraction() local
911 totalSize += n; in SKIP_testFlacMovExtraction()
917 assertTrue("could not read alac mov", totalSize > 0); in SKIP_testFlacMovExtraction()
DVideoCodecTestBase.java1883 int totalSize = 0; in computeEncodingStatistics() local
1903 totalSize += info.size; in computeEncodingStatistics()
1929 statistics.mAverageBitrate = (int)(((long)totalSize * 8) / duration); in computeEncodingStatistics()
1951 ". Total size: " + totalSize + ". Key frames: " + keyFrames); in computeEncodingStatistics()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerShellCommandIncrementalTest.java998 final long totalSize = file.length(); in readSplitInChunks() local
999 final long chunkSize = totalSize / chunks; in readSplitInChunks()
1013 if (readSoFar < totalSize) { in readSplitInChunks()