/frameworks/volley/src/com/android/volley/toolbox/ |
H A D | DiskBasedCache.java | 455 public int read(byte[] buffer, int offset, int count) throws IOException { argument 456 int result = super.read(buffer, offset, count);
|
H A D | PoolingByteArrayOutputStream.java | 69 * Ensures there is enough space in the buffer for the given number of additional bytes. 72 /* Can the buffer handle @i more bytes, if not expand it */ 83 public synchronized void write(byte[] buffer, int offset, int len) { argument 85 super.write(buffer, offset, len);
|
/frameworks/webview/chromium/plat_support/ |
H A D | graphic_buffer_impl.cpp | 38 GraphicBufferImpl* buffer = new GraphicBufferImpl( local 40 if (buffer->InitCheck() != NO_ERROR) { 41 delete buffer; 44 return reinterpret_cast<intptr_t>(buffer); 49 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); local 50 delete buffer; 55 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); local 56 return buffer->Map(mode, vaddr); 61 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); local 62 return buffer 67 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); local 73 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); local [all...] |
/frameworks/webview/chromium/tests/prebuilts/ |
H A D | android-janktesthelper.jar | META-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/uiautomator/ com/android/uiautomator/janktesthelper/ ... |
/frameworks/wilhelm/src/android/util/ |
H A D | AacAdtsExtractor.cpp | 266 SL_LOGE("Can't seek in AAC ADTS buffer queue"); 277 MediaBuffer *buffer; local 278 status_t err = mGroup->acquire_buffer(&buffer); 284 ssize_t readSize = mDataSource->readAt(mOffset + ADTS_HEADER_LENGTH, buffer->data(), 289 buffer->release(); 290 buffer = NULL; 294 buffer->set_range(0, frameSizeWithoutHeader); 295 buffer->meta_data()->setInt64(kKeyTime, mCurrentTimeUs); 296 buffer->meta_data()->setInt32(kKeyIsSyncFrame, 1); 301 *out = buffer; [all...] |
/frameworks/wilhelm/src/ |
H A D | interfaces.c | 136 void MPH_to_MPH_string(unsigned MPH, char buffer[40]) argument 141 strcpy(buffer, "MPH"); 142 strcpy(&buffer[3], infix); 143 strcat(buffer, "_"); 144 strcat(buffer, interface_names[MPH]);
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestFeedback.cpp | 46 // Storage area for the buffer queues 67 // Called after audio recorder fills a buffer with data 74 // We should only be called when a recording buffer is done 78 char *buffer = rxBuffers[rxFront]; local 80 // Remove buffer from record queue 86 ssize_t actual = pipeWriter->write(buffer, (size_t) bufSizeInFrames); 91 // Enqueue this same buffer for the recorder to fill again. 92 result = (*recorderBufferQueue)->Enqueue(recorderBufferQueue, buffer, bufSizeInBytes); 101 rxBuffers[rxRear] = buffer; 105 // Enqueue the just-filled buffer fo 158 char *buffer = txBuffers[txFront]; local 403 char *buffer = freeBuffers[freeFront]; local 467 char *buffer = freeBuffers[freeFront]; local [all...] |
/frameworks/wilhelm/tests/sandbox/ |
H A D | configbq.c | 17 // Test various buffer queue configurations 145 // generate a sine wave buffer, ascending in half-steps for each format 147 static unsigned char buffer[N]; local 156 buffer[i++] = (sampleLeft + 32768) >> 8; 157 buffer[i++] = (sampleRight + 32768) >> 8; 160 buffer[i++] = sampleLeft & 0xFF; 161 buffer[i++] = sampleLeft >> 8; 162 buffer[i++] = sampleRight & 0xFF; 163 buffer[i++] = sampleRight >> 8; 170 buffer[ [all...] |
H A D | intbufq.c | 17 /* interactive buffer queue test program */ 175 frame_t *buffer; local 189 buffer = sine; 193 buffer = square; 197 buffer = half; 213 buffer = sawtooth; 217 result = (*playerBufferqueue)->Enqueue(playerBufferqueue, buffer, size);
|
H A D | multiplay.c | 65 static char buffer[32]; local 68 sprintf(buffer, "%d", (int) result); 69 return buffer;
|
H A D | playbq.c | 17 // Play an audio file using buffer queue 46 unsigned which; // which buffer to use next 97 // This callback is called each time a buffer finishes playing 103 void *buffer = (char *)buffers + framesPerBuffer * sfframesize * which; local 104 ssize_t count = pipeReader->read(buffer, framesPerBuffer, (int64_t) -1); 107 memset(buffer, 0, framesPerBuffer * sfframesize); 114 swab(buffer, buffer, nbytes); 117 squeeze((short *) buffer, (unsigned char *) buffer, nbyte 503 void *buffer = (char *)buffers + framesPerBuffer * sfframesize * which; local [all...] |
H A D | playbq.cpp | 17 // Play an audio file using buffer queue 46 unsigned which; // which buffer to use next 97 // This callback is called each time a buffer finishes playing 103 void *buffer = (char *)buffers + framesPerBuffer * sfframesize * which; local 104 ssize_t count = pipeReader->read(buffer, framesPerBuffer, (int64_t) -1); 107 memset(buffer, 0, framesPerBuffer * sfframesize); 114 swab(buffer, buffer, nbytes); 117 squeeze((short *) buffer, (unsigned char *) buffer, nbyte 503 void *buffer = (char *)buffers + framesPerBuffer * sfframesize * which; local [all...] |
/frameworks/wilhelm/tools/hashgen/ |
H A D | frag3.c | 4 extern void MPH_to_MPH_string(unsigned MPH, char buffer[40]); 18 char buffer[40]; local 19 buffer[39] = 'x'; 20 MPH_to_MPH_string(MPH, buffer); 21 assert('x' == buffer[39]); 22 printf(" %s", buffer);
|
H A D | interfaces.c | 136 void MPH_to_MPH_string(unsigned MPH, char buffer[40]) argument 141 strcpy(buffer, "MPH"); 142 strcpy(&buffer[3], infix); 143 strcat(buffer, "_"); 144 strcat(buffer, interface_names[MPH]);
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuCore.cpp | 208 read_file(const char* pathname, char* buffer, size_t buffsize) argument 217 len = read(fd, buffer, buffsize);
|
/frameworks/rs/driver/ |
H A D | rsdCore.cpp | 258 void* buffer = calloc(size, sizeof(char)); local 259 return buffer;
|
H A D | rsdVertexArray.h | 35 uint32_t buffer; member in class:RsdVertexArray::Attrib
|
/frameworks/rs/ |
H A D | rsContext.cpp | 227 char buffer[128]; local 228 sprintf(buffer, "Avg fps %u, Frame %i ms, Script %i ms", mAverageFPS, mTimeMSLastFrame, mTimeMSLastScript); 231 uint32_t bufferLen = strlen(buffer); 237 mStateFont.renderText(buffer, bufferLen, 5, getHeight() - 6); 240 mStateFont.renderText(buffer, bufferLen, 4, getHeight() - 7); 258 // Need to call dlerror() to clear buffer before using it for dlsym().
|
/frameworks/support/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... .InputStream in
java.io.OutputStream out
byte[] buffer
int len
static synthetic java.io.File access ... |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | RIL.java | 419 * <code>buffer</code> and the length of the final message (less header) 423 * @param buffer Buffer to fill in. Must be as large as maximum 428 private static int readRilMessage(InputStream is, byte[] buffer) argument 439 countRead = is.read(buffer, offset, remaining); 450 messageLength = ((buffer[0] & 0xff) << 24) 451 | ((buffer[1] & 0xff) << 16) 452 | ((buffer[2] & 0xff) << 8) 453 | (buffer[3] & 0xff); 455 // Then, re-use the buffer and read in the message itself 459 countRead = is.read(buffer, offse 475 byte[] buffer; field in class:RIL.RILReceiver [all...] |
/frameworks/opt/net/voip/src/java/android/net/sip/ |
H A D | SimpleSessionDescription.java | 138 StringBuilder buffer = new StringBuilder(); 139 mFields.write(buffer); 141 media.write(buffer); 143 return buffer.toString(); 368 private void write(StringBuilder buffer) { argument 369 buffer.append("m=").append(mType).append(' ').append(mPort); 371 buffer.append('/').append(mPortCount); 373 buffer.append(' ').append(mProtocol); 375 buffer.append(' ').append(format); 377 buffer 513 write(StringBuilder buffer) argument [all...] |
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | AudioGroup.cpp | 62 // We use a circular array to implement jitter buffer. The simplest way is doing 68 // jitter buffer. For a stream at 8000Hz it takes 32 kilobytes. These numbers 182 // Allocate jitter buffer. 286 int32_t buffer[4] = { local 293 buffer[3] |= htonl(1 << 23); 296 sendto(mSocket, buffer, sizeof(buffer), MSG_DONTWAIT, 303 int32_t buffer[mSampleCount + 3]; local 307 memset(buffer, 0, sizeof(buffer)); 409 __attribute__((aligned(4))) uint8_t buffer[2048]; local 882 AudioTrack::Buffer buffer; local 898 AudioRecord::Buffer buffer; local [all...] |
/frameworks/multidex/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... .InputStream in
java.io.OutputStream out
byte[] buffer
int len
static synthetic java.io.File access ... |
/frameworks/native/cmds/bugreport/ |
H A D | bugreport.c | 25 char buffer[65536]; local 48 int length = read(s, buffer, sizeof(buffer)); 51 fwrite(buffer, 1, length, stdout);
|
/frameworks/native/cmds/dumpstate/ |
H A D | utils.c | 176 char buffer[255]; local 180 memset(buffer, 0, sizeof(buffer)); 188 if (read(fd, buffer, sizeof(buffer)) < 0) { 196 printf("%-7d %-32s %s\n", tid, name_buffer, buffer); 221 /* Get size of kernel buffer */ 267 char buffer[32768]; local 284 int ret = read(fd, buffer, sizeof(buffer)); [all...] |