/cts/suite/audio_quality/test/ |
D | BufferTest.cpp | 39 const int BUFFER_SIZE = 32; in TEST_F() local 41 UniquePtr<Buffer> buffer(new Buffer(BUFFER_SIZE, BUFFER_SIZE, true)); in TEST_F() 45 for (int i = 0; i < BUFFER_SIZE/4; i++) { in TEST_F() 54 ASSERT_TRUE(bufferRead->getSize() == (size_t)BUFFER_SIZE); in TEST_F() 57 for (int i = 0; i < BUFFER_SIZE/4; i++) { in TEST_F() 64 const int BUFFER_SIZE = 8; in TEST_F() local 66 UniquePtr<Buffer> buffer(new Buffer(BUFFER_SIZE, BUFFER_SIZE, true)); in TEST_F() 70 for (int i = 0; i < BUFFER_SIZE/2; i++) { in TEST_F() 73 UniquePtr<Buffer> bufferl(new Buffer(BUFFER_SIZE/2, BUFFER_SIZE/2, false)); in TEST_F() 77 for (int i = 0; i < BUFFER_SIZE/4; i++) { in TEST_F()
|
/cts/suite/cts/deviceTests/filesystemperf/src/com/android/cts/filesystemperf/ |
D | SequentialRWTest.java | 36 private static final int BUFFER_SIZE = 10 * 1024 * 1024; field in SequentialRWTest 48 final long fileSize = FileUtil.getFileSizeExceedingMemory(getContext(), BUFFER_SIZE); in testSingleSequentialWrite() 52 final int numberOfFiles =(int)(fileSize / BUFFER_SIZE); in testSingleSequentialWrite() 55 final byte[] data = FileUtil.generateRandomData(BUFFER_SIZE); in testSingleSequentialWrite() 67 double[] mbps = ReportLog.calcRatePerSecArray((double)BUFFER_SIZE / 1024 / 1024, times); in testSingleSequentialWrite() 79 final long fileSize = FileUtil.getFileSizeExceedingMemory(getContext(), BUFFER_SIZE); in testSingleSequentialUpdate() 85 BUFFER_SIZE, NUMBER_REPETITION); in testSingleSequentialUpdate() local 90 final long fileSize = FileUtil.getFileSizeExceedingMemory(getContext(), BUFFER_SIZE); in testSingleSequentialRead() 104 final byte[] data = new byte[BUFFER_SIZE]; in testSingleSequentialRead() 113 read += BUFFER_SIZE; in testSingleSequentialRead()
|
D | AlmostFullTest.java | 107 final int BUFFER_SIZE = 10 * 1024 * 1024; in testSequentialUpdate() local 110 BUFFER_SIZE, NUMBER_REPETITION); in testSequentialUpdate() local 117 final int BUFFER_SIZE = 4 * 1024; in testRandomRead() local 125 BUFFER_SIZE); in testRandomRead() local 130 final int BUFFER_SIZE = 4 * 1024; in testRandomUpdate() local 138 BUFFER_SIZE); in testRandomUpdate() local
|
D | FileUtil.java | 142 final int BUFFER_SIZE = 10 * 1024 * 1024; in createNewFilledFile() local 145 byte[] data = generateRandomData(BUFFER_SIZE); in createNewFilledFile() 149 written += BUFFER_SIZE; in createNewFilledFile()
|
/cts/tests/tests/mediastress/jni/ |
D | native-media-jni.cpp | 79 #define BUFFER_SIZE (BLOCKS_PER_BUFFER*MPEG2_TS_BLOCK_SIZE) macro 83 char dataCache[BUFFER_SIZE * NB_BUFFERS]; 102 nbRead = fread(dataCache, BUFFER_SIZE, NB_BUFFERS, file); in enqueueInitialBuffers() 109 ALOGV("Initially queueing %u buffers of %u bytes each", nbRead, BUFFER_SIZE); in enqueueInitialBuffers() 116 dataCache + i*BUFFER_SIZE, BUFFER_SIZE, NULL, 0); in enqueueInitialBuffers() 154 assert(BUFFER_SIZE == dataSize); in AndroidBufferQueueCallback() 156 &dataCache[BUFFER_SIZE * NB_BUFFERS]); in AndroidBufferQueueCallback() 157 assert(0 == (((char *) pBufferData - dataCache) % BUFFER_SIZE)); in AndroidBufferQueueCallback() 166 nbRead = fread(pBufferData, BUFFER_SIZE, 1, file); in AndroidBufferQueueCallback() 171 nbRead * BUFFER_SIZE /*dataLength*/, in AndroidBufferQueueCallback()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
D | PowerTestHostLink.java | 106 final int BUFFER_SIZE = 4096; in run() local 107 byte[] buffer = new byte[BUFFER_SIZE]; in run() 148 if (total < BUFFER_SIZE) { in run() 150 (BUFFER_SIZE - total)); in run()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioRecordTest.java | 160 final int BUFFER_SIZE = 102400; in testAudioRecordOP() local 161 byte[] byteData = new byte[BUFFER_SIZE]; in testAudioRecordOP() 167 mAudioRecord.read(byteData, 0, BUFFER_SIZE); in testAudioRecordOP() 176 short[] shortData = new short[BUFFER_SIZE]; in testAudioRecordOP() 182 mAudioRecord.read(shortData, 0, BUFFER_SIZE); in testAudioRecordOP() 191 ByteBuffer byteBuffer = ByteBuffer.allocateDirect(BUFFER_SIZE); in testAudioRecordOP() 197 mAudioRecord.read(byteBuffer, BUFFER_SIZE); in testAudioRecordOP() 220 mAudioRecord.read(byteData, 0, BUFFER_SIZE); in testAudioRecordOP()
|
D | MediaSyncTest.java | 273 final int BUFFER_SIZE = 1024; in runFlush() local 311 ByteBuffer buffer1 = ByteBuffer.allocate(BUFFER_SIZE); in runFlush() 312 ByteBuffer buffer2 = ByteBuffer.allocate(BUFFER_SIZE); in runFlush()
|
/cts/apps/CameraITS/pymodules/its/ |
D | device.py | 49 BUFFER_SIZE = 4096 variable in ItsSession
|
/cts/tools/dex-tools/dex/ |
D | classes0.out.dex | 11281 private static final int BUFFER_SIZE 29582 private static final int BUFFER_SIZE 29617 private static final int BUFFER_SIZE 81113 private static final int BUFFER_SIZE 82166 private static final int BUFFER_SIZE
|