Searched refs:buffer (Results 1 - 25 of 175) sorted by relevance

1234567

/hardware/libhardware_legacy/include/hardware_legacy/
H A Duevent.h26 int uevent_next_event(char* buffer, int buffer_length);
/hardware/libhardware_legacy/audio/
H A DAudioHardwareStub.cpp102 char buffer[SIZE]; local
105 snprintf(buffer, SIZE, "\tmMicMute: %s\n", mMicMute? "true": "false");
106 result.append(buffer);
128 ssize_t AudioStreamOutStub::write(const void* buffer, size_t bytes) argument
143 char buffer[SIZE]; local
145 snprintf(buffer, SIZE, "AudioStreamOutStub::dump\n");
146 snprintf(buffer, SIZE, "\tsample rate: %d\n", sampleRate());
147 snprintf(buffer, SIZE, "\tbuffer size: %d\n", bufferSize());
148 snprintf(buffer, SIZE, "\tchannels: %d\n", channels());
149 snprintf(buffer, SIZ
174 read(void* buffer, ssize_t bytes) argument
185 char buffer[SIZE]; local
[all...]
H A DAudioHardwareGeneric.cpp169 char buffer[SIZE]; local
172 snprintf(buffer, SIZE, "\tmFd: %d mMicMute: %s\n", mFd, mMicMute? "true": "false");
173 result.append(buffer);
233 ssize_t AudioStreamOutGeneric::write(const void* buffer, size_t bytes) argument
236 return ssize_t(::write(mFd, buffer, bytes));
248 char buffer[SIZE]; local
250 snprintf(buffer, SIZE, "AudioStreamOutGeneric::dump\n");
251 result.append(buffer);
252 snprintf(buffer, SIZE, "\tsample rate: %d\n", sampleRate());
253 result.append(buffer);
343 read(void* buffer, ssize_t bytes) argument
356 char buffer[SIZE]; local
[all...]
H A DAudioHardwareInterface.cpp140 char buffer[SIZE]; local
142 snprintf(buffer, SIZE, "AudioHardwareBase::dumpState\n");
143 result.append(buffer);
144 snprintf(buffer, SIZE, "\tmMode: %d\n", mMode);
145 result.append(buffer);
/hardware/samsung_slsi/exynos5/mobicore/common/LogWrapper/
H A Dlog.h141 char buffer[CPL * 4 + OVERHEAD]; local
152 index += sprintf(&buffer[index], "%s", szDescriptor);
159 index += sprintf(&buffer[index], "memory dump");
161 index += sprintf(&buffer[index], " (0x%08x, %d bytes)", (uint32_t)blob,sizeOfBlob);
162 LOG_I("%s", buffer);
167 index += sprintf(&buffer[index], "Data at 0x%08x: ", (uint32_t)blob);
171 LOG_I("%s", buffer);
185 index += sprintf(&buffer[index], "0x%08X | ",addr);
191 index += sprintf(&buffer[index], "%02x ", ((const char *)blob)[i] );
198 index += sprintf(&buffer[inde
[all...]
/hardware/samsung_slsi/exynos5/include/
H A Dion.h38 * IMSYNC_DEV_TO_READ: Device only reads the buffer
39 * IMSYNC_DEV_TO_WRITE: Device may writes to the buffer
40 * IMSYNC_DEV_TO_RW: Device reads and writes to the buffer
42 * IMSYNC_SYNC_FOR_DEV: ion_msync() for device to access the buffer
43 * IMSYNC_SYNC_FOR_CPU: ion_msync() for CPU to access the buffer after device
71 * An identifier of a buffer allocated from ION. You must obtain to access
72 * a buffer allocated from ION. If you have an effective ion_buffer, you have
74 * - To access the buffer, you can request an address (user virtual address)
75 * of the buffer with ion_map().
76 * - To pass the buffer t
[all...]
/hardware/samsung_slsi/exynos5/mobicore/daemon/Common/
H A DConnection.h81 * @param buffer Pointer to destination buffer.
88 virtual size_t readData(void *buffer, uint32_t len, int32_t timeout);
93 * @param buffer Pointer to destination buffer.
97 virtual size_t readData(void *buffer, uint32_t len);
102 * @param buffer Pointer to source buffer.
107 virtual size_t writeData(void *buffer, uint32_t len);
H A DConnection.cpp101 size_t Connection::readData(void *buffer, uint32_t len) argument
103 return readData(buffer, len, -1);
108 size_t Connection::readData(void *buffer, uint32_t len, int32_t timeout) argument
115 assert(NULL != buffer);
149 ret = recv(socketDescriptor, buffer, len, MSG_DONTWAIT);
159 size_t Connection::writeData(void *buffer, uint32_t len) argument
163 assert(NULL != buffer);
166 ret = send(socketDescriptor, buffer, len, 0);
H A DNetlinkConnection.cpp159 /* Takeover the buffer */
169 void *buffer,
173 return readData(buffer, len, -1);
179 void *buffer,
185 assert(NULL != buffer);
205 memcpy(buffer, dataStart, dataLen);
209 memcpy(buffer, dataStart, len);
230 void *buffer,
240 assert(NULL != buffer);
259 memcpy(NLMSG_DATA(nlh), buffer, le local
168 readData( void *buffer, uint32_t len ) argument
178 readData( void *buffer, uint32_t len, int32_t timeout ) argument
229 writeData( void *buffer, uint32_t len ) argument
[all...]
H A DNetlinkConnection.h160 * @param buffer Pointer to destination buffer.
168 void *buffer,
176 * @param buffer Pointer to destination buffer.
181 void *buffer,
188 * @param buffer Pointer to source buffer.
193 void *buffer,
/hardware/invensense/mlsdk/mllite/
H A Dmldl.h138 unsigned char *buffer);
141 const unsigned char *buffer);
142 inv_error_t inv_load_dmp(const unsigned char *buffer,
153 unsigned char *buffer);
168 const unsigned char *buffer);
172 unsigned char *buffer);
H A DmlFIFOHW.h37 uint_fast16_t inv_get_fifo(uint_fast16_t length, unsigned char *buffer);
H A Dmldl.c146 * @param buffer Result for data.
154 unsigned char *buffer)
167 memcpy(buffer, &localDmpMemory[offset], length);
725 * @param buffer Result for data.
733 unsigned short length, unsigned char *buffer)
739 ((memAddr + length) > MPU_MEM_BANK_SIZE) || (NULL == buffer)) {
744 memcpy(buffer, &mldlCfg.ram[bank][memAddr], length);
748 ((bank << 8) | memAddr), length, buffer);
771 * @param buffer Result for data.
779 const unsigned char *buffer)
152 inv_get_mpu_memory_original(unsigned short key, unsigned short length, unsigned char *buffer) argument
731 inv_get_mpu_memory_one_bank(unsigned char bank, unsigned char memAddr, unsigned short length, unsigned char *buffer) argument
776 inv_set_mpu_memory_one_bank(unsigned char bank, unsigned short memAddr, unsigned short length, const unsigned char *buffer) argument
822 inv_get_mpu_memory(unsigned short key, unsigned short length, unsigned char *buffer) argument
879 inv_set_mpu_memory(unsigned short key, unsigned short length, const unsigned char *buffer) argument
934 inv_load_dmp(const unsigned char *buffer, unsigned short length, unsigned short config) argument
[all...]
H A DmlFIFOHW.c103 * @param buffer
105 * Note that this buffer <b>must</b> be large enough
111 uint_fast16_t inv_get_fifo(uint_fast16_t length, unsigned char *buffer) argument
121 if (length > MAX_FIFO_LENGTH || toRead > length || NULL == buffer) {
131 // fifo_objHW.fifoCount is the footer size left in the buffer, or
140 0 ? buffer : buffer + FIFO_FOOTER_SIZE, toRead);
163 if (buffer[kk] != gFifoFooter[kk]) {
165 buffer[0], buffer[
[all...]
/hardware/qcom/media/mm-video/DivxDrmDecrypt/inc/
H A DDivXDrmDecrypt.h40 virtual OMX_ERRORTYPE Decrypt(OMX_BUFFERHEADERTYPE* buffer) = 0;
/hardware/libhardware/include/hardware/
H A Dcamera2.h59 * Input/output stream buffer queue interface definitions
66 * gralloc buffer queue for that stream. They may not be called until after
71 * Get a buffer to fill from the queue. The size and format of the buffer
73 * should be queried from the platform gralloc module. The gralloc buffer
78 buffer_handle_t** buffer);
81 * Push a filled buffer to the stream to be used by the consumer.
89 * same timestamp for that buffer, and that timestamp must match the
94 buffer_handle_t* buffer);
96 * Return a buffer t
[all...]
H A Dcamera.h72 buffer_handle_t** buffer, int *stride);
74 buffer_handle_t* buffer);
76 buffer_handle_t* buffer);
87 buffer_handle_t* buffer);
164 * data with the help of the meta data in the buffer. How this is done is
251 /** Retrieve the camera parameters. The buffer returned by the camera HAL
/hardware/samsung_slsi/exynos5/libion_exynos/
H A Dlibion.cpp106 void ion_free(ion_buffer buffer) argument
108 close(buffer);
111 void *ion_map(ion_buffer buffer, size_t len, off_t offset) argument
114 buffer, offset);
122 int ion_sync(ion_client client, ion_buffer buffer) argument
126 data.fd = buffer;
/hardware/msm7k/libaudio/
H A DAudioHardware.cpp603 char buffer[SIZE]; local
606 snprintf(buffer, SIZE, "\tmInit: %s\n", mInit? "true": "false");
607 result.append(buffer);
608 snprintf(buffer, SIZE, "\tmMicMute: %s\n", mMicMute? "true": "false");
609 result.append(buffer);
610 snprintf(buffer, SIZE, "\tmBluetoothNrec: %s\n", mBluetoothNrec? "true": "false");
611 result.append(buffer);
612 snprintf(buffer, SIZE, "\tmBluetoothId: %d\n", mBluetoothId);
613 result.append(buffer);
703 ssize_t AudioHardware::AudioStreamOutMSM72xx::write(const void* buffer, size_ argument
797 char buffer[SIZE]; local
1007 read( void* buffer, ssize_t bytes) argument
1067 char buffer[SIZE]; local
[all...]
/hardware/msm7k/dspcrashd/
H A Ddspcrashd.c54 char buffer[KLOG_BUF_LEN + 1]; local
55 char *p = buffer;
59 n = klogctl(KLOG_READ_ALL, buffer, KLOG_BUF_LEN);
62 buffer[n] = '\0';
/hardware/qcom/media/mm-video/vidc/venc/inc/
H A Domx_video_common.h68 void *buffer; member in struct:pmem
/hardware/samsung_slsi/exynos5/mobicore/daemon/Kernel/Platforms/Generic/
H A DCMcKMod.h71 * @param pMciReuse [in|out] set to true [in] for reusing MCI buffer
72 * is set to true [out] if MCI buffer has been reused
93 int read(addr_t buffer, uint32_t len);
111 mcResult_t free(uint32_t handle, addr_t buffer, uint32_t len);
114 addr_t buffer,
/hardware/broadcom/libbt/src/
H A Dupio.c256 char buffer = '0'; local
261 buffer = '0';
265 buffer = '1';
300 sz = write(fd, &buffer, 1);
330 char buffer; local
356 buffer = '1';
360 buffer = '0';
370 if (write(fd, &buffer, 1) < 0)
449 buffer = '1';
451 if (write(fd, &buffer,
[all...]
/hardware/libhardware_legacy/
H A Dqemu.h61 * 'buffer' must be at last 6 bytes
65 extern int qemu_command_format( char* buffer,
78 * a user-allocated buffer. returns the length of the answer, or -1
/hardware/qcom/media/mm-core/inc/
H A Dqc_omx_component.h123 // Use a buffer already allocated by the IL client
124 // or a buffer already supplied by a tunneled component
131 OMX_U8* buffer)=0;
134 // Request that the component allocate new buffer and associated header
142 // Release the buffer and associated header from the component
146 OMX_BUFFERHEADERTYPE* buffer)=0;
148 // Send a filled buffer to an input port of a component
151 OMX_BUFFERHEADERTYPE* buffer)=0;
153 // Send an empty buffer to an output port of a component
156 OMX_BUFFERHEADERTYPE* buffer)
[all...]

Completed in 443 milliseconds

1234567