/frameworks/av/media/mtp/ |
H A D | MtpProperty.h | 97 void print(MtpPropertyValue& value, MtpString& buffer);
|
H A D | MtpRequestPacket.cpp | 49 // write our buffer to the given endpoint (host mode) 54 request->buffer = mBuffer;
|
H A D | MtpResponsePacket.cpp | 48 request->buffer = mBuffer;
|
H A D | MtpUtils.cpp | 70 void formatDateTime(time_t seconds, char* buffer, int bufferLength) { argument 74 snprintf(buffer, bufferLength, "%04d%02d%02dT%02d%02d%02d",
|
H A D | MtpUtils.h | 25 void formatDateTime(time_t seconds, char* buffer, int bufferLength);
|
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.cpp | 111 // retry counts for buffer fill timeout 123 // don't warn about blocked writes or record buffer overflows more often than this 137 // minimum normal mix buffer size, expressed in milliseconds rather than frames 139 // maximum normal mix buffer size 150 // multiplier is calculated based on min & max normal mixer buffer size 152 // multiplier is calculated based on min & max normal mixer buffer size 316 char buffer[SIZE]; local 323 snprintf(buffer, SIZE, " pid: %d\n", client->pid()); 324 result.append(buffer); 332 snprintf(buffer, SIZ 342 char buffer[SIZE]; local 357 char buffer[SIZE]; local 1270 char buffer[SIZE]; local 1327 char buffer[SIZE]; local 1609 char buffer[SIZE]; local 1659 char buffer[SIZE]; local 3586 char buffer[SIZE]; local 3635 short buffer[TEE_SINK_READ * FCC_2]; local 3843 AudioBufferProvider::Buffer buffer; local 4252 releaseBuffer(AudioBufferProvider::Buffer* buffer) argument 4415 dump(char* buffer, size_t size) argument 4500 getNextBuffer( AudioBufferProvider::Buffer* buffer, int64_t pts) argument 4773 setAuxBuffer(int EffectId, int32_t *buffer) argument 4915 allocateTimedBuffer( size_t size, sp<IMemory>* buffer) argument 5055 queueTimedBuffer( const sp<IMemory>& buffer, int64_t pts) argument 5096 getNextBuffer( AudioBufferProvider::Buffer* buffer, int64_t pts) argument 5254 timedYieldSamples_l( AudioBufferProvider::Buffer* buffer) argument 5274 timedYieldSilence_l( uint32_t numFrames, AudioBufferProvider::Buffer* buffer) argument 5293 releaseBuffer( AudioBufferProvider::Buffer* buffer) argument 5361 TimedBuffer( const sp<IMemory>& buffer, int64_t pts) argument 5398 getNextBuffer(AudioBufferProvider::Buffer* buffer, int64_t pts) argument 5472 dump(char* buffer, size_t size) argument 5660 obtainBuffer(AudioBufferProvider::Buffer* buffer, uint32_t waitTimeMs) argument 5838 allocateTimedBuffer(size_t size, sp<IMemory>* buffer) argument 5848 queueTimedBuffer(const sp<IMemory>& buffer, int64_t pts) argument 6027 AudioBufferProvider::Buffer buffer; local 6488 char buffer[SIZE]; local 6517 char buffer[SIZE]; local 6543 getNextBuffer(AudioBufferProvider::Buffer* buffer, int64_t pts) argument 6582 releaseBuffer(AudioBufferProvider::Buffer* buffer) argument 7987 int16_t *buffer = mMixBuffer; local 8828 char buffer[SIZE]; local 9161 dump(char* buffer, size_t size) argument 9331 int32_t *buffer = new int32_t[numSamples]; local 9542 char buffer[SIZE]; local [all...] |
H A D | AudioFlinger.h | 409 virtual status_t getNextBuffer(AudioBufferProvider::Buffer* buffer, int64_t pts) = 0; 410 virtual void releaseBuffer(AudioBufferProvider::Buffer* buffer); 426 // Return a pointer to the start of a contiguous slice of the track buffer. 461 void* mBuffer; // start of track buffer, typically in shared memory 489 virtual void dump(char *buffer, size_t size) = 0; 504 virtual void dump(char *buffer, size_t size) { argument 505 snprintf(buffer, size, "IO event: event %d, param %d\n", mEvent, mParam); 523 virtual void dump(char *buffer, size_t size) { argument 524 snprintf(buffer, size, "Prio event: pid %d, tid %d, prio %d\n", mPid, mTid, mPrio); 561 // and returns the normal mix buffer' 807 setMainBuffer(int16_t *buffer) argument 916 const sp<IMemory>& buffer() const { return mBuffer; } function in class:android::AudioFlinger::PlaybackThread::TimedTrack::TimedBuffer 1838 setInBuffer(int16_t *buffer, bool ownsBuffer = false) argument 1845 setOutBuffer(int16_t *buffer) argument [all...] |
H A D | AudioMixer.cpp | 63 mDownmixConfig.inputCfg.buffer.frameCount = pBuffer->frameCount; 64 mDownmixConfig.inputCfg.buffer.raw = pBuffer->raw; 65 mDownmixConfig.outputCfg.buffer.frameCount = pBuffer->frameCount; 66 mDownmixConfig.outputCfg.buffer.raw = mDownmixConfig.inputCfg.buffer.raw; 67 // in-place so overwrite the buffer contents, has been set in prepareTrackForDownmix() 71 &mDownmixConfig.inputCfg.buffer, &mDownmixConfig.outputCfg.buffer); 76 ALOGE("DownmixerBufferProvider::getNextBuffer() error: NULL track buffer provider"); 86 ALOGE("DownmixerBufferProvider::releaseBuffer() error: NULL track buffer provide [all...] |
H A D | AudioMixer.h | 81 // This clears out the resampler's input buffer. 171 // actual buffer provider used by the track hooks, see DownmixerBufferProvider below 172 // for how the Track buffer provider is wrapped by another one when dowmixing is required 177 mutable AudioBufferProvider::Buffer buffer; // 8 bytes member in struct:android::AudioMixer::track_t 180 const void* in; // current location in buffer 223 virtual status_t getNextBuffer(Buffer* buffer, int64_t pts); 224 virtual void releaseBuffer(Buffer* buffer);
|
H A D | AudioPolicyService.cpp | 556 char buffer[SIZE]; local 559 snprintf(buffer, SIZE, "PolicyManager Interface: %p\n", mpAudioPolicy); 560 result.append(buffer); 561 snprintf(buffer, SIZE, "Command Thread: %p\n", mAudioCommandThread.get()); 562 result.append(buffer); 563 snprintf(buffer, SIZE, "Tones Thread: %p\n", mTonePlaybackThread.get()); 564 result.append(buffer); 601 char buffer[SIZE]; local 603 snprintf(buffer, SIZE, "Permission Denial: " 607 result.append(buffer); 751 char buffer[SIZE]; local 994 dump(char* buffer, size_t size) argument [all...] |
H A D | AudioPolicyService.h | 191 void dump(char* buffer, size_t size); 250 // This works because the param buffer allocation is also done by
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | Camera2Device.cpp | 536 buffer_handle_t *buffer, wp<BufferReleasedListener> listener) { 544 res = (*streamI)->pushIntoStream(buffer, listener); 546 ALOGE("%s: Unable to push buffer to reprocess stream %d: %s (%d)", 743 ALOGE("%s: Unable to clone metadata buffer!", __FUNCTION__); 778 ALOGE("%s: Unable to clone metadata buffer!", __FUNCTION__); 806 result = String8::format(" Stream slot buffer %d:\n", i); 885 camera_metadata_t **buffer) 888 return queue->dequeue(buffer, true); 904 camera_metadata_t **buffer) 910 *buffer 535 pushReprocessBuffer(int reprocessStreamId, buffer_handle_t *buffer, wp<BufferReleasedListener> listener) argument 883 consumer_dequeue( const camera2_request_queue_src_ops_t *q, camera_metadata_t **buffer) argument 901 producer_dequeue( const camera2_frame_queue_dst_ops_t *q, size_t entries, size_t bytes, camera_metadata_t **buffer) argument 1210 dequeue_buffer(const camera2_stream_ops_t *w, buffer_handle_t** buffer) argument 1237 enqueue_buffer(const camera2_stream_ops_t* w, int64_t timestamp, buffer_handle_t* buffer) argument 1273 cancel_buffer(const camera2_stream_ops_t* w, buffer_handle_t* buffer) argument 1443 acquire_buffer( const camera2_stream_in_ops_t *w, buffer_handle_t** buffer) argument 1475 release_buffer( const camera2_stream_in_ops_t* w, buffer_handle_t* buffer) argument [all...] |
H A D | Camera2Device.h | 48 * The device's static characteristics metadata buffer 54 * passed-in buffer. 60 * passed-in buffer and the caller retains ownership. 103 * Set stream gralloc buffer transform 120 * Create a metadata buffer with fields that the HAL device believes are 161 * is empty; caller takes ownership of the metadata buffer. 187 * Abstract interface for clients that want to listen to reprocess buffer 195 * Push a buffer to be reprocessed into a reprocessing stream, and 196 * provide a listener to call once the buffer is returned by the HAL 199 buffer_handle_t *buffer, w [all...] |
H A D | CameraClient.cpp | 111 char buffer[SIZE]; local 113 size_t len = snprintf(buffer, SIZE, "Client[%d] (%p) PID: %d\n", 118 write(fd, buffer, len); 789 // preview callback - frame buffer update 909 // hold the preview lock while we grab a reference to the preview buffer 919 ALOGE("failed to allocate space for preview buffer");
|
H A D | CameraHardwareInterface.h | 239 * in the buffer. How this is done is outside of the scope of 461 ALOGE("%s: invalid buffer index %d, max allowed is %d", __FUNCTION__, 480 ALOGE("%s: invalid buffer index %d, max allowed is %d", __FUNCTION__, 567 buffer_handle_t** buffer, int *stride) 574 *buffer = &anb->handle; 587 buffer_handle_t* buffer) 594 buffer_handle_t* buffer) 598 container_of(buffer, ANativeWindowBuffer, handle), -1); 602 buffer_handle_t* buffer) 606 container_of(buffer, ANativeWindowBuffe 566 __dequeue_buffer(struct preview_stream_ops* w, buffer_handle_t** buffer, int *stride) argument 586 __lock_buffer(struct preview_stream_ops* w, buffer_handle_t* buffer) argument 593 __enqueue_buffer(struct preview_stream_ops* w, buffer_handle_t* buffer) argument 601 __cancel_buffer(struct preview_stream_ops* w, buffer_handle_t* buffer) argument [all...] |
/frameworks/av/services/camera/libcameraservice/camera2/ |
H A D | CameraMetadata.cpp | 43 CameraMetadata &CameraMetadata::operator=(const camera_metadata_t *buffer) { argument 44 if (CC_LIKELY(buffer != mBuffer)) { 45 camera_metadata_t *newBuffer = clone_camera_metadata(buffer); 69 void CameraMetadata::acquire(camera_metadata_t *buffer) { argument 71 mBuffer = buffer; 261 ALOGE("%s: Can't allocate larger metadata buffer", __FUNCTION__); 285 ALOGE("%s: Can't allocate larger metadata buffer", __FUNCTION__);
|
H A D | CameraMetadata.h | 41 /** Takes ownership of passed-in buffer */ 42 CameraMetadata(camera_metadata_t *buffer); 47 * Assignment clones metadata buffer. 50 CameraMetadata &operator=(const camera_metadata_t *buffer); 53 * Release a raw metadata buffer to the caller. After this call, 54 * CameraMetadata no longer references the buffer, and the caller takes 55 * responsibility for freeing the raw metadata buffer (using 62 * Clear the metadata buffer and free all storage used by it 67 * Acquire a raw metadata buffer from the caller. After this call, 68 * the caller no longer owns the raw buffer, an [all...] |
H A D | ZslProcessor.cpp | 90 // Verify that the buffer is in our queue 93 if (&(mZslQueue[i].buffer.mGraphicBuffer->handle) == handle) break; 96 ALOGW("%s: Released buffer %p not found in queue", 119 // Create CPU buffer queue endpoint 150 ALOGV("%s: Camera %d: Deleting stream %d since the buffer dimensions changed", 286 &(mZslQueue[index].buffer.mGraphicBuffer->handle); 316 ALOGE("%s: Unable to push buffer for reprocessing: %s (%d)", 360 if (mZslQueue[i].buffer.mTimestamp != 0) { 361 mZslConsumer->releaseBuffer(mZslQueue[i].buffer); 409 ALOGVV("Trying to get next buffer"); [all...] |
H A D | ZslProcessor.h | 93 BufferItemConsumer::BufferItem buffer; member in struct:android::camera2::ZslProcessor::ZslPair
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 155 status_t BootAnimation::initTexture(void* buffer, size_t len) argument 160 SkMemoryStream stream(buffer, len);
|
H A D | BootAnimation.h | 82 status_t initTexture(void* buffer, size_t len);
|
/frameworks/base/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/base/cmds/servicemanager/ |
H A D | binder.c | 82 #define BIO_F_SHARED 0x01 /* needs to be buffer freed */ 167 void *buffer; member in struct:__anon952 173 data.buffer = buffer_to_free; 316 fprintf(stderr,"binder: txn buffer overflow\n");
|
/frameworks/base/core/java/android/app/ |
H A D | WallpaperManager.java | 585 byte[] buffer = new byte[32768]; 587 while ((amt=data.read(buffer)) > 0) { 588 fos.write(buffer, 0, amt);
|
/frameworks/base/core/java/android/app/backup/ |
H A D | FullBackup.java | 119 byte[] buffer = new byte[32 * 1024]; 123 int toRead = (size > buffer.length) ? buffer.length : (int)size; 124 int got = in.read(buffer, 0, toRead); 132 out.write(buffer, 0, got);
|