Searched refs:totalSize (Results 1 – 7 of 7) sorted by relevance
121 int totalSize = 0; in setUpSourceFiles() local124 totalSize += (int) file.length(); in setUpSourceFiles()126 totalSize <<= 1; in setUpSourceFiles()129 mBuffer = ByteBuffer.allocate(totalSize); in setUpSourceFiles()
195 int totalSize = 0; in testAdaptivePlayback() local198 totalSize += (int) file.length(); in testAdaptivePlayback()203 ByteBuffer buffer = ByteBuffer.allocate(totalSize); in testAdaptivePlayback()
57 final int totalSize = in testHotwordDetectedResult_totalSize() local63 assertThat(totalSize <= Utils.MAX_HOTWORD_DETECTED_RESULT_SIZE * Byte.SIZE).isTrue(); in testHotwordDetectedResult_totalSize()
359 int totalSize = LARGE_BUFFER_SIZE; in echoLargeBulkTransfer() local360 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() local774 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 …]
907 int totalSize = 0; in SKIP_testFlacMovExtraction() local911 totalSize += n; in SKIP_testFlacMovExtraction()917 assertTrue("could not read alac mov", totalSize > 0); in SKIP_testFlacMovExtraction()
1883 int totalSize = 0; in computeEncodingStatistics() local1903 totalSize += info.size; in computeEncodingStatistics()1929 statistics.mAverageBitrate = (int)(((long)totalSize * 8) / duration); in computeEncodingStatistics()1951 ". Total size: " + totalSize + ". Key frames: " + keyFrames); in computeEncodingStatistics()
998 final long totalSize = file.length(); in readSplitInChunks() local999 final long chunkSize = totalSize / chunks; in readSplitInChunks()1013 if (readSoFar < totalSize) { in readSplitInChunks()