Home
last modified time | relevance | path

Searched refs:BUFFER_SIZE (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/wilhelm/tests/sandbox/streamSource/
DslesTestPlayStream.cpp38 #define BUFFER_SIZE (20*MPEG2_TS_BLOCK_SIZE) macro
42 char dataCache[BUFFER_SIZE * NB_BUFFERS];
108 size_t nbRead = fread((void*)dataCache, 1, BUFFER_SIZE*(NB_BUFFERS/2), file); in AndroidBufferQueueCallback()
109 if (nbRead == BUFFER_SIZE*(NB_BUFFERS/2)) { in AndroidBufferQueueCallback()
112 dataCache + i*BUFFER_SIZE, in AndroidBufferQueueCallback()
113 BUFFER_SIZE, NULL, 0); in AndroidBufferQueueCallback()
150 size_t nbRead = fread((void*)pBufferData, 1, BUFFER_SIZE, file); in AndroidBufferQueueCallback()
297 if (fread(dataCache, 1, BUFFER_SIZE * NB_BUFFERS, file) <= 0) { in TestPlayStream()
305 dataCache + i*BUFFER_SIZE, BUFFER_SIZE, NULL, 0); in TestPlayStream()
311 if (fread(dataCache, 1, BUFFER_SIZE * 1, file) <= 0) { in TestPlayStream()
[all …]
/frameworks/wilhelm/tests/native-media/jni/
Dnative-media-jni.c60 #define BUFFER_SIZE (BLOCKS_PER_BUFFER*MPEG2_TS_BLOCK_SIZE) macro
64 char dataCache[BUFFER_SIZE * NB_BUFFERS];
142 assert(BUFFER_SIZE == dataSize); in AndroidBufferQueueCallback()
144 &dataCache[BUFFER_SIZE * NB_BUFFERS]); in AndroidBufferQueueCallback()
145 assert(0 == (((char *) pBufferData - dataCache) % BUFFER_SIZE)); in AndroidBufferQueueCallback()
193 nbRead = fread(pBufferData, BUFFER_SIZE, 1, file); in AndroidBufferQueueCallback()
198 nbRead * BUFFER_SIZE /*dataLength*/, in AndroidBufferQueueCallback()
301 nbRead = fread(dataCache, BUFFER_SIZE, NB_BUFFERS, file); in enqueueInitialBuffers()
308 ALOGV("Initially queueing %zu buffers of %u bytes each", nbRead, BUFFER_SIZE); in enqueueInitialBuffers()
324 dataCache + i*BUFFER_SIZE, BUFFER_SIZE, items /*pMsg*/, in enqueueInitialBuffers()
[all …]
/frameworks/base/libs/hwui/utils/
DTraceUtils.h40 const int BUFFER_SIZE = 256; in atraceFormatBegin() local
42 char buf[BUFFER_SIZE]; in atraceFormatBegin()
45 vsnprintf(buf, BUFFER_SIZE, fmt, ap); in atraceFormatBegin()
/frameworks/multidex/library/src/android/support/multidex/
DZipUtil.java46 private static final int BUFFER_SIZE = 0x4000; field in ZipUtil
111 int length = (int) Math.min(BUFFER_SIZE, stillToRead); in computeCrcOfCentralDir()
112 byte[] buffer = new byte[BUFFER_SIZE]; in computeCrcOfCentralDir()
120 length = (int) Math.min(BUFFER_SIZE, stillToRead); in computeCrcOfCentralDir()
DMultiDexExtractor.java69 private static final int BUFFER_SIZE = 0x4000; field in MultiDexExtractor
295 byte[] buffer = new byte[BUFFER_SIZE]; in extract()
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DMemoryAccessTask.java26 private final static int BUFFER_SIZE = 32 * 1024 * 1024; field in MemoryAccessTask
34 byte[] memory = new byte[BUFFER_SIZE]; in run()
42 for (int index = 0; index < BUFFER_SIZE; index += BUFFER_STEP) { in run()
/frameworks/base/libs/usb/tests/accessorytest/
Daudio.c36 #define BUFFER_SIZE 16384 macro
150 if (pcm_read(pcm, buffers[index], BUFFER_SIZE)) { in capture_thread()
175 err = pcm_write(pcm, buffers[index], BUFFER_SIZE); in play_thread()
200 buffers[i] = malloc(BUFFER_SIZE); in init_audio()
/frameworks/base/core/java/android/util/
DBase64InputStream.java32 private static final int BUFFER_SIZE = 2048; field in Base64InputStream
64 inputBuffer = new byte[BUFFER_SIZE]; in Base64InputStream()
70 coder.output = new byte[coder.maxOutputSize(BUFFER_SIZE)]; in Base64InputStream()
/frameworks/opt/chips/src/com/android/ex/chips/
DDefaultPhotoManager.java45 private static final int BUFFER_SIZE = 1024*16; field in DefaultPhotoManager
111 byte[] buffer = new byte[BUFFER_SIZE]; in fetchPhotoAsync()
/frameworks/rs/
DrsList.h9 constexpr size_t BUFFER_SIZE = 64; variable
21 char raw[BUFFER_SIZE - sizeof(LinkedBuffer*)];
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2On1Adapter.cpp1492 const size_t BUFFER_SIZE = 32; in approximateFloatString() local
1493 char buffer[BUFFER_SIZE] = {}; in approximateFloatString()
1494 auto bytesWritten = snprintf(buffer, BUFFER_SIZE, in approximateFloatString()
1522 const size_t BUFFER_SIZE = 8; in alphaString() local
1523 char buffer[BUFFER_SIZE] = {}; in alphaString()
1524 auto bytesWritten = snprintf(buffer, BUFFER_SIZE, "%.3f", f); in alphaString()
1754 const size_t BUFFER_SIZE = 100; in toString() local
1755 char buffer[BUFFER_SIZE] = {}; in toString()
1756 auto writtenBytes = snprintf(buffer, BUFFER_SIZE, in toString()
1762 std::memset(buffer, 0, BUFFER_SIZE); in toString()
[all …]
/frameworks/base/services/core/java/com/android/server/
DNativeDaemonConnector.java81 private final int BUFFER_SIZE = 4096; field in NativeDaemonConnector
199 byte[] buffer = new byte[BUFFER_SIZE]; in listenToSocket()
203 int count = inputStream.read(buffer, start, BUFFER_SIZE - start); in listenToSocket()
262 final int remaining = BUFFER_SIZE - start; in listenToSocket()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_neon_Resize.S156 .set BUFFER_SIZE, (CHUNKSIZE * 2 + 4) * COMPONENT_COUNT * 2 define
157 .set OSC_STORE, (BUFFER_SIZE + 0)
158 .set OSCSTEP_STORE, (BUFFER_SIZE + 4)
159 .set OSCCTL_STORE, (BUFFER_SIZE + 8)
160 .set AVAIL_STORE, (BUFFER_SIZE + 16)
161 .set SP_STORE, (BUFFER_SIZE + 24) /* should be +20, but rounded up to make a legal constant somew…
184 sub r12, sp, #BUFFER_SIZE + 32
DrsCpuIntrinsics_advsimd_Resize.S139 .set BUFFER_SIZE, (CHUNKSIZE * 2 + 4) * COMPONENT_COUNT * 2 define
164 sub x12, sp, #BUFFER_SIZE
/frameworks/opt/net/voip/src/jni/rtp/
DAudioGroup.cpp90 #define BUFFER_SIZE 2048 macro
186 mBufferMask *= BUFFER_SIZE; in set()
371 if ((unsigned int)(tick + BUFFER_SIZE - mBufferHead) > BUFFER_SIZE * 2) { in decode()
396 int count = (BUFFER_SIZE - (mBufferTail - mBufferHead)) * mSampleRate; in decode()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbMidiDevice.java57 private static final int BUFFER_SIZE = 512; field in UsbMidiDevice
211 byte[] buffer = new byte[BUFFER_SIZE]; in openLocked()
DUsbDebuggingManager.java62 private final int BUFFER_SIZE = 4096; field in UsbDebuggingManager
130 byte[] buffer = new byte[BUFFER_SIZE]; in listenToSocket()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DModelInterpreter.java44 static final int BUFFER_SIZE = 0x1000; field in LineReader
47 byte mBuffer[] = new byte[BUFFER_SIZE];
/frameworks/base/core/jni/
Dandroid_util_Process.cpp690 const size_t BUFFER_SIZE = 2048; in android_os_Process_readProcLines() local
691 char* buffer = (char*)malloc(BUFFER_SIZE); in android_os_Process_readProcLines()
692 int len = read(fd, buffer, BUFFER_SIZE-1); in android_os_Process_readProcLines()
/frameworks/data-binding/samples/BindingDemo/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/data-binding/compiler/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/base/tests/UiBench/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/support/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/data-binding/extensions/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...

12