/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
H A D | ProcFileReaderTest.java | 159 private static ProcFileReader buildReader(String string, int bufferSize) throws IOException { argument 161 new ByteArrayInputStream(string.getBytes(Charsets.US_ASCII)), bufferSize);
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | ProcFileReader.java | 46 public ProcFileReader(InputStream stream, int bufferSize) throws IOException { argument 48 mBuffer = new byte[bufferSize];
|
/frameworks/base/media/mtp/ |
H A D | MtpPacket.cpp | 31 MtpPacket::MtpPacket(int bufferSize) argument 33 mBufferSize(bufferSize), 34 mAllocationIncrement(bufferSize), 37 mBuffer = (uint8_t *)malloc(bufferSize);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | BitmapRegionDecoder.cpp | 52 size_t bufferSize = 4096; local 55 char* data = (char*)sk_malloc_throw(bufferSize); 58 bufferSize - streamLen)) != 0) { 60 if (streamLen == bufferSize) { 61 bufferSize *= 2; 62 data = (char*)sk_realloc_throw(data, bufferSize);
|
/frameworks/base/libs/utils/ |
H A D | BufferedTextOutput.cpp | 41 , bufferSize(0) 51 if ((len+bufferPos) > bufferSize) { 64 if (bufferSize > 256) { 68 bufferSize = 256; 76 size_t bufferSize; member in struct:android::BufferedTextOutput::BufferState
|
/frameworks/base/media/libstagefright/ |
H A D | AudioSource.cpp | 296 size_t bufferSize = numLostBytes + audioBuffer.size; local 297 MediaBuffer *buffer = new MediaBuffer(bufferSize); 312 buffer->set_range(0, bufferSize); 313 timestampUs += ((1000000LL * (bufferSize >> 1)) +
|
H A D | FLACExtractor.cpp | 638 size_t bufferSize = blocksize * getChannels() * sizeof(short); local 639 CHECK(bufferSize <= mMaxBufferSize); 641 buffer->set_range(0, bufferSize);
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/ |
H A D | SoftMPEG4.cpp | 422 int32_t bufferSize = inHeader->nFilledLen; local 427 int32_t tmp = bufferSize; 447 CHECK_LE(bufferSize, inHeader->nFilledLen); 448 inHeader->nOffset += inHeader->nFilledLen - bufferSize; 449 inHeader->nFilledLen = bufferSize;
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | bitstream_io.cpp | 43 /* Function : BitStreamCreateEnc(Int bufferSize ) */ 47 /* bufferSize : size of the bitstream buffer in bytes */ 52 BitstreamEncVideo *BitStreamCreateEnc(Int bufferSize) argument 60 stream->bufferSize = bufferSize; 61 stream->bitstreamBuffer = (UChar *) M4VENC_MALLOC(stream->bufferSize * sizeof(UChar)); 68 M4VENC_MEMSET(stream->bitstreamBuffer, 0, stream->bufferSize*sizeof(UChar)); 213 if (stream->byteCount + WORD_SIZE > stream->bufferSize) 267 if (stream->byteCount + numbyte > stream->bufferSize) 446 if (bitstream1->byteCount + bitstream2->byteCount + offset > bitstream1->bufferSize) [all...] |
H A D | mp4lib_int.h | 31 Int bufferSize; /*total bitstream buffer size in bytes */ member in struct:tagBitstream
|
/frameworks/base/opengl/libs/GLES2_dbg/src/ |
H A D | server.cpp | 122 static unsigned bufferSize = 0; local 123 if (bufferSize < len) { 126 bufferSize = len;
|
/frameworks/base/opengl/libs/GLES2_dbg/test/ |
H A D | test_main.cpp | 61 const unsigned int bufferSize = 512; local 63 void * const buffer0 = dbg.GetReadPixelsBuffer(bufferSize); 65 for (unsigned int i = 0; i < bufferSize / sizeof(unsigned int); i++) { 71 void * const buffer1 = dbg.GetReadPixelsBuffer(bufferSize); 74 for (unsigned int i = 0; i < bufferSize / sizeof(unsigned int); i++) { 80 void * const buffer2 = dbg.GetReadPixelsBuffer(bufferSize); 82 for (unsigned int i = 0; i < bufferSize / sizeof(unsigned int); i++) 86 void * const buffer3 = dbg.GetReadPixelsBuffer(bufferSize); 88 for (unsigned int i = 0; i < bufferSize / sizeof(unsigned int); i++) 92 void * const buffer4 = dbg.GetReadPixelsBuffer(bufferSize); 109 const unsigned int bufferSize = dbg.LZF_CHUNK_SIZE * 4 + 33; local [all...] |
H A D | test_socket.cpp | 38 unsigned int bufferSize; member in class:SocketContextTest 57 bufferSize = 128; 89 if (len > bufferSize) { 90 bufferSize = len; 91 buffer = new char[bufferSize];
|
/frameworks/base/drm/libdrmframework/plugins/passthru/src/ |
H A D | DrmPassthruPlugIn.cpp | 94 const int bufferSize = licenseString.size(); local 96 data = new char[bufferSize]; 97 memcpy(data, licenseString.string(), bufferSize); 98 const DrmBuffer* buffer = new DrmBuffer(data, bufferSize);
|
/frameworks/media/libvideoeditor/osal/src/ |
H A D | LVOSA_FileReader_optim.c | 225 M4OSA_UInt32 bufferSize; local 246 bufferSize = M4OSA_READBUFFER_SIZE; 247 tempPos = (M4OSA_FilePosition) (pos / bufferSize);
|
/frameworks/base/drm/common/ |
H A D | IDrmManagerService.cpp | 188 const int bufferSize = reply.readInt32(); local 190 if (0 < bufferSize) { 191 data = new char[bufferSize]; 192 reply.read(data, bufferSize); 217 const int bufferSize = reply.readInt32(); local 219 if (0 < bufferSize) { 220 data = new char[bufferSize]; 221 reply.read(data, bufferSize); 282 const int bufferSize = reply.readInt32(); local 284 if (0 < bufferSize) { 322 const int bufferSize = reply.readInt32(); local 521 const int bufferSize = reply.readInt32(); local 553 const int bufferSize = reply.readInt32(); local 839 int bufferSize = 0; local 869 int bufferSize = 0; local 907 const int bufferSize = data.readInt32(); local 932 const int bufferSize = drmBuffer->length; local 972 const int bufferSize = drmBuffer.length; local 1002 const int bufferSize = data.readInt32(); local 1168 const int bufferSize = data.readInt32(); local 1180 const int bufferSize = convertedData->length; local 1211 const int bufferSize = convertedData->length; local 1328 const int bufferSize = data.readInt32(); local [all...] |
/frameworks/base/media/libmediaplayerservice/ |
H A D | MediaPlayerService.h | 75 virtual ssize_t bufferSize() const; 132 virtual ssize_t bufferSize() const { return frameSize() * mFrameCount; } function in class:android::MediaPlayerService::AudioCache
|
H A D | MediaPlayerService.cpp | 1301 ssize_t MediaPlayerService::AudioOutput::bufferSize() const function in class:android::MediaPlayerService::AudioOutput 1597 mBufferSize = sink->bufferSize();
|
/frameworks/base/media/libstagefright/yuv/ |
H A D | YUVImage.cpp | 31 size_t numberOfBytes = bufferSize(yuvFormat, width, height); 50 size_t YUVImage::bufferSize(YUVFormat yuvFormat, int32_t width, int32_t height) { function in class:android::YUVImage
|
/frameworks/base/core/java/android/os/ |
H A D | Debug.java | 458 * @param bufferSize The maximum amount of trace data we gather. If not given, it defaults to 8MB. 460 public static void startMethodTracing(String traceName, int bufferSize) { argument 461 startMethodTracing(traceName, bufferSize, 0); 485 * @param bufferSize The maximum amount of trace data we gather. If not given, it defaults to 8MB. 487 public static void startMethodTracing(String traceName, int bufferSize, argument 496 VMDebug.startMethodTracing(pathName, bufferSize, flags); 509 int bufferSize, int flags) { 510 VMDebug.startMethodTracing(traceName, fd, bufferSize, flags); 520 public static void startMethodTracingDdms(int bufferSize, int flags) { argument 521 VMDebug.startMethodTracingDdms(bufferSize, flag 508 startMethodTracing(String traceName, FileDescriptor fd, int bufferSize, int flags) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_hardware_Camera.cpp | 76 jbyteArray getCallbackBuffer(JNIEnv *env, Vector<jbyteArray> *buffers, size_t bufferSize); 195 JNIEnv* env, Vector<jbyteArray>* buffers, size_t bufferSize) 210 if ((int)bufferLength < (int)bufferSize) { 212 bufferSize, bufferLength); 194 getCallbackBuffer( JNIEnv* env, Vector<jbyteArray>* buffers, size_t bufferSize) argument
|
/frameworks/media/libvideoeditor/lvpp/ |
H A D | VideoEditorPlayer.cpp | 341 ssize_t VideoEditorPlayer::VeAudioOutput::bufferSize() const { function in class:android::VideoEditorPlayer::VeAudioOutput
|
/frameworks/base/services/java/com/android/server/location/ |
H A D | GpsLocationProvider.java | 1657 private native int native_read_nmea(byte[] buffer, int bufferSize); argument
|
/frameworks/base/services/input/tests/ |
H A D | InputReader_test.cpp | 500 virtual size_t getEvents(int timeoutMillis, RawEvent* buffer, size_t bufferSize) { argument
|
/frameworks/base/services/audioflinger/ |
H A D | AudioFlinger.cpp | 3196 // LOGD("Creating track with %d buffers @ %d bytes", bufferCount, bufferSize); 3199 size_t bufferSize = frameCount*channelCount*sizeof(int16_t); local 3201 size += bufferSize; 3224 mBufferEnd = (uint8_t *)mBuffer + bufferSize; 3245 mBufferEnd = (uint8_t *)mBuffer + bufferSize;
|