Searched refs:totalSize (Results 1 – 11 of 11) sorted by relevance
169 int totalSize = 0; in dequeueOutputs() local187 totalSize += info.size; in dequeueOutputs()189 assertTrue("Sum of all info sizes: " + totalSize + " exceeds max output size: " in dequeueOutputs()191 totalSize <= mMaxOutputSizeBytes); in dequeueOutputs()
169 int totalSize = 0; in dequeueOutputs() local204 totalSize += callBackInfo.size; in dequeueOutputs()209 assertTrue("Sum of all info sizes: " + totalSize + " exceeds max output size: " in dequeueOutputs()211 totalSize <= mMaxOutputSizeBytes); in dequeueOutputs()
206 int totalSize = 0; in setUpSourceFiles() local209 totalSize += (int) file.length(); in setUpSourceFiles()211 totalSize <<= 1; in setUpSourceFiles()214 mBuffer = ByteBuffer.allocate(totalSize); in setUpSourceFiles()
170 int totalSize = 0; in dequeueOutputs() local205 totalSize += info.size; in dequeueOutputs()207 assertTrue("Sum of all info sizes: " + totalSize + " exceeds max output size: " in dequeueOutputs()209 totalSize <= mMaxOutputSizeBytes); in dequeueOutputs()
181 int totalSize = 0; in dequeueOutputs() local231 totalSize += callBackInfo.size; in dequeueOutputs()236 assertTrue("Sum of all info sizes: " + totalSize + " exceeds max output size: " in dequeueOutputs()238 totalSize <= mMaxOutputSizeBytes); in dequeueOutputs()
330 int totalSize = 0; in testAdaptivePlayback() local333 totalSize += (int) file.length(); in testAdaptivePlayback()338 ByteBuffer buffer = ByteBuffer.allocate(totalSize); in testAdaptivePlayback()
342 int totalSize = 0; in testDynamicColorAspect() local345 totalSize += (int) file.length(); in testDynamicColorAspect()352 ByteBuffer buffer = ByteBuffer.allocate(totalSize); in testDynamicColorAspect()
73 final int totalSize = in testHotwordDetectedResult_totalSize() local80 assertThat(totalSize <= Utils.MAX_HOTWORD_DETECTED_RESULT_SIZE * Byte.SIZE).isTrue(); in testHotwordDetectedResult_totalSize()
361 int totalSize = LARGE_BUFFER_SIZE; in echoLargeBulkTransfer() local362 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() local776 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 …]
1242 final long totalSize = file.length(); in readSplitInChunks() local1243 final long chunkSize = totalSize / chunks; in readSplitInChunks()1257 if (readSoFar < totalSize) { in readSplitInChunks()
1957 int totalSize = 0; in computeEncodingStatistics() local1977 totalSize += info.size; in computeEncodingStatistics()2003 statistics.mAverageBitrate = (int)(((long)totalSize * 8) / duration); in computeEncodingStatistics()2025 ". Total size: " + totalSize + ". Key frames: " + keyFrames); in computeEncodingStatistics()