Searched refs:fd (Results 151 - 175 of 289) sorted by relevance

1234567891011>>

/hardware/qcom/camera/QCamera/HAL/core/src/
H A DQCameraHWI_Preview.cpp218 mHalCamCtrl->mPreviewMemory.ion_info_fd[cnt].fd =
219 mHalCamCtrl->mPreviewMemory.private_buffer_handle[cnt]->fd;
226 mHalCamCtrl->mGetMemory(mHalCamCtrl->mPreviewMemory.private_buffer_handle[cnt]->fd,
228 LOGE("%s: idx = %d, fd = %d, size = %d, offset = %d", __func__,
229 cnt, mHalCamCtrl->mPreviewMemory.private_buffer_handle[cnt]->fd,
570 mDisplayStreamBuf.frame[i].fd = mHalCamCtrl->mPreviewMemory.private_buffer_handle[i]->fd;
582 LOGE("%s: idx = %d, fd = %d, size = %d, cbcr_offset = %d, y_offset = %d, "
583 "offset = %d, vaddr = 0x%x", __func__, i, mDisplayStreamBuf.frame[i].fd,
592 mDisplayStreamBuf.frame[i].fd,
[all...]
H A DQCameraHWI_Mem.cpp173 pmemBuf.fd = pmempreviewfd;
203 pmemBuf.fd = mRecordHeap->mHeap->getHeapID();
280 LOGE("pmem pool %s ioctl(fd = %d, PMEM_GET_SIZE) is %ld",
376 status_t MemPool::dump(int fd, const Vector<String16>& args) const argument
398 write(fd, result.string(), result.size());
/hardware/qcom/camera/QCamera/stack/mm-camera-test/src/
H A Dmm_qcamera_snapshot.c208 pme->raw_snapshot_buf.frame_len, &pme->raw_snapshot_buf.frame[0].fd);
226 reg_buf.def.buf.mp[0].planes[0].m.userptr = pme->raw_snapshot_buf.frame[0].fd;
231 reg_buf.def.buf.mp[0].planes[j].m.userptr = pme->raw_snapshot_buf.frame[0].fd;
259 rc = my_cam_app.hal_lib.mm_camera_do_munmap(pme->raw_snapshot_buf.frame[0].fd,
262 rc = my_cam_app.hal_lib.mm_camera_do_munmap(pme->jpeg_buf.frame[0].fd,
313 CDBG("mainframe frame_idx = %d fd = %d frame length = %d",main_frame->frame_idx,main_frame->fd,main_frame->frame_len);
314 CDBG("thumnail frame_idx = %d fd = %d frame length = %d",thumb_frame->frame_idx,thumb_frame->fd,thumb_frame->frame_len);
379 encode_params.thumbnail_fd = postviewframe->fd;
[all...]
H A Dmm_qcamera_video.c100 __func__, bufs[i].fd, rc);
144 &pme->video_buf.frame[i].fd);
152 CDBG("Buffer allocated Successfully fd = %d",pme->video_buf.frame[i].fd);
154 bufs[i].fd = pme->video_buf.frame[i].fd;
164 bufs[i].planes[0].m.userptr = bufs[i].fd;
170 bufs[i].planes[j].m.userptr = bufs[i].fd;
/hardware/ti/wlan/mac80211/ti-utils/
H A Dcalibrator.c235 int fd, pos; local
239 fd = open(buf, O_RDONLY);
240 if (fd < 0) {
243 pos = read(fd, buf, sizeof(buf) - 1);
245 close(fd);
249 close(fd);
H A Dini.h318 int (*nvs_fill_radio_prms)(int fd, struct wl12xx_ini *p, char *buf);
319 int (*nvs_set_autofem)(int fd, char *buf, unsigned char val);
320 int (*nvs_set_fem_manuf)(int fd, char *buf, unsigned char val);
/hardware/libhardware/include/hardware/
H A Daudio.h175 int (*dump)(const struct audio_stream *stream, int fd);
417 int (*dump)(const struct audio_hw_device *dev, int fd);
/hardware/libhardware_legacy/audio/
H A DA2dpAudioInterface.h74 virtual status_t dump(int fd, const Vector<String16>& args);
94 virtual status_t dump(int fd, const Vector<String16>& args);
/hardware/libhardware_legacy/wifi/
H A Dwifi.c719 rfds[0].fd = ctrlfd;
721 rfds[1].fd = exit_sockets[index][1];
745 int fd; local
886 int fd; local
891 fd = TEMP_FAILURE_RETRY(open(WIFI_DRIVER_FW_PATH_PARAM, O_WRONLY));
892 if (fd < 0) {
897 if (TEMP_FAILURE_RETRY(write(fd, fwpath, len)) != len) {
901 close(fd);
/hardware/msm7k/libaudio-qdsp5v2/
H A DAudioHardware.h93 virtual status_t dump(int fd, const Vector<String16>& args);
115 virtual status_t dump(int fd, const Vector<String16>& args);
/hardware/msm7k/libgralloc/
H A Dmapper.cpp64 PROT_READ|PROT_WRITE, MAP_SHARED, hnd->fd, 0);
66 ALOGE("Could not mmap handle %p, fd=%d (%s)",
67 handle, hnd->fd, strerror(errno));
72 //ALOGD("gralloc_map() succeeded fd=%d, off=%d, size=%d, vaddr=%p",
73 // hnd->fd, hnd->offset, hnd->size, mappedAddress);
/hardware/qcom/display/liboverlay/
H A Doverlay.cpp93 bool Overlay::queueBuffer(int fd, uint32_t offset, argument
101 if(!mOv->queueBuffer(fd, offset, dest)) {
H A DoverlayUtils.h72 bool open(OvFD& fd, uint32_t fbnum, const char* const dev,
839 inline bool openDev(OvFD& fd, int fbnum, argument
841 return overlay::open(fd, fbnum, devpath, flags);
890 /* Open fd using the path given by dev.
898 /* Close fd if we have a valid fd. */
901 /* returns underlying fd.*/
904 /* returns true if fd is valid */
908 void copy(int fd);
913 /* helper enum for determine valid/invalid fd */
925 open(OvFD& fd, uint32_t fbnum, const char* const dev, int flags) argument
974 copy(int fd) argument
[all...]
H A DoverlayImpl.h71 /* Queue buffer with fd from an offset*/
72 virtual bool queueBuffer(int fd, uint32_t offset,
106 bool queueBuffer(int fd, uint32_t offset) { return true; } argument
147 virtual bool queueBuffer(int fd, uint32_t offset,
574 bool OverlayImpl<P0, P1, P2>::queueBuffer(int fd, uint32_t offset, argument
582 if(!mPipe0->queueBuffer(fd, offset)) {
589 if(!mPipe1->queueBuffer(fd, offset)) {
596 if(!mPipe2->queueBuffer(fd, offset)) {
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/common/
H A DExynos_OMX_Baseport.h79 int fd; member in struct:_EXYNOS_OMX_SINGLEPLANE_DATA
86 int fd[MAX_BUFFER_PLANE]; member in struct:_EXYNOS_OMX_MULTIPLANE_DATA
/hardware/msm7k/libaudio-qsd8k/
H A DAudioHardware.h212 virtual status_t dump(int fd, const Vector<String16>& args);
219 status_t dumpInternals(int fd, const Vector<String16>& args);
254 virtual status_t dump(int fd, const Vector<String16>& args);
289 virtual status_t dump(int fd, const Vector<String16>& args);
/hardware/qcom/display/libgralloc/
H A Dgpu.cpp90 private_handle_t* hnd = new private_handle_t(dup(m->framebuffer->fd), bufferSize,
131 data.fd = -1;
169 private_handle_t* hnd = new private_handle_t(data.fd, size, flags,
269 hnd->offset, hnd->fd);
/hardware/qcom/display/libhwcomposer/
H A Dhwc_utils.cpp47 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd = openFb(HWC_DISPLAY_PRIMARY);
85 close(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd);
86 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd = -1;
228 fbFd = ctx->dpyAttr[dpy].fd;
/hardware/invensense/libsensors_iio/
H A DMPLSensor.h203 int inv_read_gyro_buffer(int fd, short *data, long long *timestamp);
209 int inv_read_dmp_state(int fd);
210 int inv_read_sensor_bias(int fd, long *data);
H A Dsensors_mpl.cpp115 mPollFds[mpl].fd = mSensor->getFd();
119 mPollFds[compass].fd = mCompassSensor->getFd();
123 mPollFds[dmpOrient].fd = ((MPLSensor*) mSensor)->getDmpOrientFd();
/hardware/msm7k/libgralloc-qsd8k/
H A Dmapper.cpp64 PROT_READ|PROT_WRITE, MAP_SHARED, hnd->fd, 0);
66 ALOGE("Could not mmap handle %p, fd=%d (%s)",
67 handle, hnd->fd, strerror(errno));
72 //ALOGD("gralloc_map() succeeded fd=%d, off=%d, size=%d, vaddr=%p",
73 // hnd->fd, hnd->offset, hnd->size, mappedAddress);
287 err = ioctl(hnd->fd, PMEM_CACHE_FLUSH, &region);
/hardware/ril/reference-ril/
H A Dreference-ril.c1552 int fd, qmistatus; local
1562 fd = open ("/dev/qmi", O_RDWR);
1563 if (fd >= 0) { /* the device doesn't exist on the emulator */
1571 written = write (fd, cmd + cur, len - cur);
1576 close(fd);
1588 rlen = read(fd, status, 31);
1593 close(fd);
1601 close(fd);
3060 int fd; local
3068 fd
3145 int fd = -1; local
3199 int fd = -1; local
[all...]
/hardware/qcom/camera/QCamera/HAL2/core/src/
H A DQCameraStream_Preview.cpp106 mDisplayBuf[i].planes[0].m.userptr = mPreviewMemory.private_buffer_handle[i]->fd;
111 mDisplayBuf[i].planes[j].m.userptr = mPreviewMemory.private_buffer_handle[i]->fd;
125 mDisplayBuf[i].fd = mPreviewMemory.private_buffer_handle[i]->fd;
126 ALOGE("DEBUG2:Display buf[%d] fd:%d",i,mDisplayBuf[i].fd);
/hardware/qcom/camera/
H A DQCameraHWI.cpp460 status_t QCameraHardwareInterface::dump(int fd, const Vector<String16>& args) const
467 write(fd, result.string(), result.size());
473 int QCameraHardwareInterface::dump(int fd) argument
2272 status_t QCameraHardwareInterface::sendMappingBuf(int ext_mode, int idx, int fd, argument
2281 packet.payload.frame_fd_map.fd = fd;
2284 if ( cam_ops_sendmsg(cameraid, &packet, sizeof(cam_sock_packet_t), packet.payload.frame_fd_map.fd) <= 0 ) {
2335 p_camera_memory->fd[cnt] = p_camera_memory->ion_info_fd[cnt].fd;
2391 p_camera_memory->fd[cn
[all...]
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_h264_enc/src/
H A Domx_proxy_h264enc.c618 pBufferHdr->pBuffer = (OMX_U8 *)(pGrallocHandle->fd[0]);
620 pAuxBuf1 = (OMX_PTR) pGrallocHandle->fd[1];
621 DOMX_DEBUG("%s Gralloc=0x%x, Y-fd=%d, UV-fd=%d", __FUNCTION__, pGrallocHandle,
622 pGrallocHandle->fd[0], pGrallocHandle->fd[1]);
639 pBufferHdr->pBuffer = (OMX_U8 *)(pGrallocHandle->fd[0]);
641 pAuxBuf1 = (OMX_PTR) pGrallocHandle->fd[1];
642 DOMX_DEBUG("%s Gralloc=0x%x, Y-fd=%d, UV-fd
[all...]

Completed in 893 milliseconds

1234567891011>>