Searched refs:fd (Results 126 - 150 of 289) sorted by relevance

1234567891011>>

/hardware/msm7k/libgralloc-qsd8k/
H A Dgpu.h44 virtual int close(int fd) = 0;
/hardware/qcom/audio/libalsa-intf/
H A Dalsaucm_test.c86 int fd; local
93 fd = open("/data/alsaucm_test", O_RDONLY);
95 read_count = read(fd, &ch, 1);
122 close(fd);
/hardware/qcom/camera/QCamera/HAL/core/inc/
H A DQCameraHWI_Mem.h57 virtual status_t dump(int fd, const Vector<String16>& args) const;
/hardware/qcom/camera/QCamera/HAL/wrapper/
H A DQualcommCamera.h97 int dump(struct camera_device *, int fd);
/hardware/qcom/camera/QCamera/HAL2/wrapper/
H A DQualcommCamera.h114 int dump(const struct camera2_device *, int fd);
/hardware/qcom/camera/QCamera/stack/mm-camera-interface/src/
H A Dmm_camera_helper.c76 CDBG("do_mmap: pmem mmap fd %d ptr %p len %u\n", pmem_fd, ret, size);
91 CDBG("%s:invalid fd=%d\n", __func__, pmem_fd);
99 CDBG("do_mmap: pmem munmap fd %d ptr %p len %u rc %d\n", pmem_fd, addr,
127 *mapFd = ion_info_fd->fd;
154 close(ion_info_fd->fd);
280 *mapFd = ion_info_fd->fd;
312 close(ion_info_fd->fd);
/hardware/qcom/camera/
H A DQCameraHWI_Mem.h56 virtual status_t dump(int fd, const Vector<String16>& args) const;
H A DQualcommCamera.h86 int dump(struct camera_device *, int fd);
H A DQualcommCamera2.h99 int dump(struct camera_device *, int fd);
H A DQCameraHWI_Preview.cpp219 mHalCamCtrl->mPreviewMemory.ion_info_fd[cnt].fd =
220 mHalCamCtrl->mPreviewMemory.private_buffer_handle[cnt]->fd;
227 mHalCamCtrl->mGetMemory(mHalCamCtrl->mPreviewMemory.private_buffer_handle[cnt]->fd,
229 ALOGV("%s: idx = %d, fd = %d, size = %d, offset = %d", __func__,
230 cnt, mHalCamCtrl->mPreviewMemory.private_buffer_handle[cnt]->fd,
591 mDisplayStreamBuf.frame[i].fd = mHalCamCtrl->mPreviewMemory.private_buffer_handle[i]->fd;
603 ALOGV("%s: idx = %d, fd = %d, size = %d, cbcr_offset = %d, y_offset = %d, "
604 "offset = %d, vaddr = 0x%x", __func__, i, mDisplayStreamBuf.frame[i].fd,
613 mDisplayStreamBuf.frame[i].fd,
[all...]
/hardware/qcom/camera/mm-camera-interface/
H A Dmm_camera_helper.c76 CDBG("do_mmap: pmem mmap fd %d ptr %p len %u\n", pmem_fd, ret, size);
91 CDBG("%s:invalid fd=%d\n", __func__, pmem_fd);
99 CDBG("do_mmap: pmem munmap fd %d ptr %p len %u rc %d\n", pmem_fd, addr,
127 *mapFd = ion_info_fd->fd;
154 close(ion_info_fd->fd);
297 *mapFd = ion_info_fd->fd;
329 close(ion_info_fd->fd);
/hardware/qcom/display/libgralloc/
H A Dalloc_controller.cpp248 data.fd = -1;
261 private_handle_t* hnd = new private_handle_t(data.fd, data.size,
275 if (hnd && hnd->fd > 0) {
277 memalloc->free_buffer((void*)hnd->base, hnd->size, hnd->offset, hnd->fd);
/hardware/qcom/display/liboverlay/
H A Doverlay.h58 bool queueBuffer(int fd, uint32_t offset,
/hardware/qcom/display/liboverlay/pipes/
H A DoverlayGenPipe.h65 bool queueBuffer(int fd, uint32_t offset);
88 /* return Ctrl fd. Used for S3D */
243 inline bool GenericPipe<PANEL>::queueBuffer(int fd, uint32_t offset) { argument
251 int finalFd = fd;
255 if(!mRot->queueBuffer(fd, offset)) {
/hardware/ril/reference-ril/
H A Datchannel.h76 int at_open(int fd, ATUnsolHandler h);
H A Datchannel.c55 static int s_fd = -1; /* fd of the AT channel */
584 * Starts AT handler on stream "fd'
587 int at_open(int fd, ATUnsolHandler h) argument
593 s_fd = fd;
604 ret = ioctl(fd, OMAP_CSMI_TTY_ENABLE_ACK);
610 old_flags = fcntl(fd, F_GETFL, 0);
611 fcntl(fd, F_SETFL, old_flags | O_NONBLOCK);
613 ioctl(fd, OMAP_CSMI_TTY_READ_UNACKED, &ack_count);
616 ret = read(fd, sync_buf, sizeof(sync_buf));
620 ioctl(fd, OMAP_CSMI_TTY_AC
[all...]
/hardware/samsung_slsi/exynos5/gralloc/
H A Dmapper.cpp45 hnd->fd, 0);
111 ret = ion_import(getIonFd(module), hnd->fd, &hnd->handle);
113 ALOGE("error importing handle %d %x\n", hnd->fd, hnd->format);
179 ion_sync_fd(getIonFd(module), hnd->fd);
/hardware/ti/omap4xxx/hwc/
H A Dhal_public.h66 /* The `fd' field is used to "export" a meminfo to another process.
71 int fd[MAX_SUB_ALLOCS]; member in struct:__anon2155
/hardware/ti/wlan/mac80211/wpa_supplicant_lib/
H A Ddriver_mac80211_nl.c134 int fd = open("/sys/devices/platform/wl1271/bt_coex_state", O_RDWR, 0); local
135 if (fd == -1)
138 ret = write(fd, &state, sizeof(state));
139 close(fd);
/hardware/libhardware_legacy/include/hardware_legacy/
H A DAudioPolicyManagerBase.h138 virtual status_t dump(int fd);
180 void dump(int fd);
205 void dump(int fd);
242 status_t dump(int fd);
279 status_t dump(int fd);
297 void dump(int fd);
312 status_t dump(int fd);
/hardware/qcom/camera/QCamera/HAL/core/src/
H A DQCameraHWI.cpp437 status_t QCameraHardwareInterface::dump(int fd, const Vector<String16>& args) const
444 write(fd, result.string(), result.size());
450 int QCameraHardwareInterface::dump(int fd) argument
2125 status_t QCameraHardwareInterface::sendMappingBuf(int ext_mode, int idx, int fd, argument
2134 packet.payload.frame_fd_map.fd = fd;
2137 if ( cam_ops_sendmsg(cameraid, &packet, sizeof(cam_sock_packet_t), packet.payload.frame_fd_map.fd) <= 0 ) {
2188 p_camera_memory->fd[cnt] = p_camera_memory->ion_info_fd[cnt].fd;
2244 p_camera_memory->fd[cn
[all...]
/hardware/qcom/camera/QCamera/stack/mm-camera-interface/inc/
H A Dmm_camera.h133 * registered at poll thread with poll fd */
137 int32_t fd; member in struct:__anon468
145 /* array to store poll fd and cb info
147 * for MM_CAMERA_POLL_TYPE_CH, depends on valid stream fd */
166 MM_STREAM_STATE_ACQUIRED, /* acquired, fd opened */
216 int32_t fd; member in struct:mm_stream
398 int32_t ds_fd; /* domain socket fd */
432 extern int32_t mm_camera_util_s_ctrl(int32_t fd,
436 extern int32_t mm_camera_util_private_s_ctrl( int32_t fd,
440 extern int32_t mm_camera_util_g_ctrl(int32_t fd,
[all...]
/hardware/qcom/camera/QCamera/stack/mm-camera-test/src/
H A Dmm_qcamera_preview.c70 *mapFd = ion_info_fd->fd;
102 close(ion_info_fd->fd);
242 __func__, bufs[i].fd, rc);
287 &pme->preview_buf.frame[i].fd);
295 CDBG("Buffer allocated Successfully fd = %d",pme->preview_buf.frame[i].fd);
297 bufs[i].fd = pme->preview_buf.frame[i].fd;
307 bufs[i].planes[0].m.userptr = bufs[i].fd;
313 bufs[i].planes[j].m.userptr = bufs[i].fd;
[all...]
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/enc/
H A DExynos_OMX_Venc.c207 pDstBuf[0] = srcInputData->buffer.multiPlaneBuffer.fd[0];
208 pDstBuf[1] = srcInputData->buffer.multiPlaneBuffer.fd[1];
209 pDstBuf[2] = srcInputData->buffer.multiPlaneBuffer.fd[2];
231 pSrcBuf[0] = (unsigned char *)planes[0].fd;
349 srcInputData->buffer.multiPlaneBuffer.fd[0] = planes[0].fd;
350 srcInputData->buffer.multiPlaneBuffer.fd[1] = planes[1].fd;
356 Exynos_OSAL_SharedMemory_IONToVirt(pVideoEnc->hSharedMemory, srcInputData->buffer.multiPlaneBuffer.fd[plane]);
359 Exynos_OSAL_SharedMemory_Map(pVideoEnc->hSharedMemory, allocSize[plane], srcInputData->buffer.multiPlaneBuffer.fd[plan
[all...]
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
H A DExynos_OSAL_Android.cpp101 vplanes[0].fd = priv_hnd->fd;
104 vplanes[1].fd = priv_hnd->fd1;
107 vplanes[2].fd = priv_hnd->fd2;
251 pExynosPort->extendBufferHeader[i].buf_fd[0] = planes[0].fd;
253 pExynosPort->extendBufferHeader[i].buf_fd[1] = planes[1].fd;
255 pExynosPort->extendBufferHeader[i].buf_fd[2] = planes[2].fd;
258 Exynos_OSAL_Log(EXYNOS_LOG_TRACE, "useAndroidNativeBuffer: buf %d pYUVBuf[0]:0x%x (fd:%d), pYUVBuf[1]:0x%x (fd:%d)",
259 i, pExynosPort->extendBufferHeader[i].pYUVBuf[0], planes[0].fd,
[all...]

Completed in 388 milliseconds

1234567891011>>