/hardware/interfaces/bluetooth/1.0/default/ |
H A D | hci_packetizer.h | 37 void OnDataReady(int fd, HciPacketType packet_type);
|
H A D | hci_protocol.h | 43 static size_t WriteSafely(int fd, const uint8_t* data, size_t length);
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
H A D | hwc_copybit.h | 44 int dpy, int* fd); 50 void setReleaseFd(int fd); 52 void setReleaseFdSync(int fd); 84 int dpy, int *fd);
|
H A D | hwc_vsync.cpp | 47 ioctl(ctx->dpyAttr[dpy].fd, MSMFB_OVERLAY_VSYNC_CTRL, 128 pfd[dpy][ev].fd = open(node_path, O_RDONLY); 130 if (dpy == HWC_DISPLAY_PRIMARY && pfd[dpy][ev].fd < 0) { 143 pread(pfd[dpy][ev].fd, vdata , MAX_DATA, 0); 144 if (pfd[dpy][ev].fd >= 0) 156 ssize_t len = pread(pfd[dpy][ev].fd, vdata, MAX_DATA, 0); 206 if(pfd[dpy][event].fd >= 0) 207 close (pfd[dpy][event].fd);
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
H A D | hwc_copybit.h | 44 int dpy, int* fd); 50 void setReleaseFd(int fd); 52 void setReleaseFdSync(int fd); 84 int dpy, int *fd);
|
H A D | hwc_vsync.cpp | 49 ioctl(ctx->dpyAttr[dpy].fd, MSMFB_OVERLAY_VSYNC_CTRL, 144 pfd[dpy][ev].fd = open(node_path, O_RDONLY); 146 if (dpy == HWC_DISPLAY_PRIMARY && pfd[dpy][ev].fd < 0) { 159 pread(pfd[dpy][ev].fd, vdata , MAX_DATA, 0); 160 if (pfd[dpy][ev].fd >= 0) 172 ssize_t len = pread(pfd[dpy][ev].fd, vdata, MAX_DATA, 0); 209 if(pfd[dpy][event].fd >= 0) 210 close (pfd[dpy][event].fd);
|
/hardware/qcom/display/msm8996/sdm/include/core/ |
H A D | buffer_allocator.h | 63 int fd = -1; //!< Specifies the fd of the allocated buffer. member in struct:sdm::AllocatedBufferInfo
|
/hardware/qcom/msm8998/json-c/ |
H A D | random_seed.c | 154 int fd = open(dev_random_file, O_RDONLY); local 155 if (fd < 0) { 161 ssize_t nread = read(fd, &r, sizeof(r)); 167 close(fd);
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
H A D | aplay.c | 164 static int play_file(unsigned rate, unsigned channels, int fd, argument 209 if (ioctl(pcm->fd, SNDRV_COMPRESS_GET_CAPS, &compr_cap)) { 227 if (ioctl(pcm->fd, SNDRV_COMPRESS_SET_PARAMS, &compr_params)) { 250 if (ioctl(pcm->fd, SNDRV_PCM_IOCTL_START)) { 278 pfd[0].fd = pcm->timer_fd; 345 err = read(fd, dst_addr , bufsize); 380 if (ioctl(pcm->fd, SNDRV_COMPRESS_TSTAMP, &tstamp)) 393 if (ioctl(pcm->fd, SNDRV_PCM_IOCTL_START)) { 448 while (read(fd, data, bufsize) > 0) { 474 int fd; local 501 int fd; local [all...] |
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
H A D | QCamera3Mem.cpp | 70 mMemInfo[i].fd = -1; 129 cache_inv_data.fd = mMemInfo[index].fd; 135 LOGD("addr = %p, fd = %d, handle = %lx length = %d, ION Fd = %d", 136 cache_inv_data.vaddr, cache_inv_data.fd, 168 return mMemInfo[index].fd; 237 bufDef.fd = mMemInfo[index].fd; 246 bufDef.planes_buf.planes[0].m.userptr = (long unsigned int)mMemInfo[index].fd; 251 bufDef.planes_buf.planes[i].m.userptr = (long unsigned int)mMemInfo[i].fd; [all...] |
/hardware/libhardware_legacy/audio/ |
H A D | AudioHardwareGeneric.cpp | 166 status_t AudioHardwareGeneric::dumpInternals(int fd, const Vector<String16>& args) argument 174 ::write(fd, result.string(), result.size()); 178 status_t AudioHardwareGeneric::dump(int fd, const Vector<String16>& args) argument 180 dumpInternals(fd, args); 182 mInput->dump(fd, args); 185 mOutput->dump(fd, args); 194 int fd, 224 mFd = fd; 245 status_t AudioStreamOutGeneric::dump(int fd, const Vector<String16>& args) argument 266 ::write(fd, resul 192 set( AudioHardwareGeneric *hw, int fd, uint32_t devices, int *pFormat, uint32_t *pChannels, uint32_t *pRate) argument 311 set( AudioHardwareGeneric *hw, int fd, uint32_t devices, int *pFormat, uint32_t *pChannels, uint32_t *pRate, AudioSystem::audio_in_acoustics acoustics) argument 353 dump(int fd, const Vector<String16>& args) argument [all...] |
H A D | AudioHardwareStub.cpp | 99 status_t AudioHardwareStub::dumpInternals(int fd, const Vector<String16>& args) argument 107 ::write(fd, result.string(), result.size()); 111 status_t AudioHardwareStub::dump(int fd, const Vector<String16>& args) argument 113 dumpInternals(fd, args); 141 status_t AudioStreamOutStub::dump(int fd, const Vector<String16>& args) argument 152 ::write(fd, result.string(), result.size()); 184 status_t AudioStreamInStub::dump(int fd, const Vector<String16>& args) argument 199 ::write(fd, result.string(), result.size());
|
/hardware/nxp/nfc/halimpl/utils/ |
H A D | phNxpConfig.cpp | 74 FILE* fd = fopen(fileName, "rb"); local 75 if (fd == nullptr) return 0; 77 fseek(fd, 0L, SEEK_END); 78 const size_t file_size = ftell(fd); 79 rewind(fd); 82 size_t read = fread(buffer, file_size, 1, fd); 83 fclose(fd); 644 FILE* fd = fopen(config_timestamp_path, "r+"); local 645 if (fd == nullptr) { 652 fread(&stored_crc32, sizeof(uint32_t), 1, fd); 659 FILE* fd = fopen(config_timestamp_path, "w+"); local [all...] |
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/ |
H A D | mm_camera_thread.c | 225 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->pfds[0]; 231 if (poll_cb->poll_entries[0].fd >= 0) { 232 /* fd is valid, we update poll_fds */ 233 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[0].fd; 240 if(poll_cb->poll_entries[i].fd >= 0) { 241 /* fd is valid, we update poll_fds to this fd */ 242 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[i].fd; 410 mm_camera_poll_thread_add_poll_fd(mm_camera_poll_thread_t * poll_cb, uint8_t idx, uint32_t handler, int32_t fd, mm_camera_poll_notify_t notify_cb, void* userdata, mm_camera_call_type_t call_type) argument [all...] |
/hardware/qcom/display/msm8960/liboverlay/ |
H A D | overlay.cpp | 140 bool Overlay::queueBuffer(int fd, uint32_t offset, argument 147 ret = mPipeBook[index].mPipe->queueBuffer(fd, offset); 235 int fd = -1; local 239 fd = ::open(name, O_RDWR, 0); 240 if(fd < 0) { 246 if (ioctl(fd, MSMFB_MIXER_INFO, &req) == -1) { 248 close(fd); 258 if(ioctl(fd, MSMFB_OVERLAY_UNSET, &index) == -1) { 260 close(fd); 265 close(fd); [all...] |
/hardware/qcom/camera/msm8998/usbcamcore/src/ |
H A D | QualcommUsbCamera.cpp | 124 static int ioctlLoop(int fd, int ioctlCmd, void *args); 211 camHal->fd = open(dev_name, O_RDWR /* required */ | O_NONBLOCK, 0); 213 if (camHal->fd < 0) { 246 rc = close(camHal->fd); 250 camHal->fd = 0; 689 int usbcam_dump(struct camera_device * device, int fd) argument 895 ALOGD("%s: idx = %d, fd = %d, size = %d, offset = %d", __func__, 896 cnt, camHal->previewMem.private_buffer_handle[cnt]->fd, 902 camHal->previewMem.private_buffer_handle[cnt]->fd, 912 /* In case of ION usage, open ION fd */ 1154 ioctlLoop(int fd, int ioctlCmd, void *args) argument 2273 int i = 0, ret = 0, fd; local [all...] |
/hardware/akm/AK8975_FS/libsensors/ |
H A D | InputEventReader.cpp | 50 ssize_t InputEventCircularReader::fill(int fd) argument 54 const ssize_t nread = read(fd, mHead, mFreeSpace * sizeof(input_event));
|
/hardware/interfaces/audio/effect/2.0/ |
H A D | IEffectsFactory.hal | 63 * @param fd dump file descriptor. 65 debugDump(handle fd);
|
/hardware/interfaces/camera/common/1.0/default/include/ |
H A D | HandleImporter.h | 44 bool importFence(const native_handle_t* handle, int& fd) const; 45 void closeFence(int fd) const;
|
/hardware/interfaces/camera/device/3.2/ |
H A D | ICameraDevice.hal | 197 dumpState(handle fd);
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-lib2d-interface/inc/ |
H A D | mm_lib2d.h | 74 * @fd: handle to the buffer memory 83 int32_t fd; member in struct:mm_lib2d_rgb_buffer_t 93 * @fd: handle to the buffer memory 108 int32_t fd; member in struct:mm_lib2d_yuv_buffer_t
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
H A D | hwc_copybit.h | 44 int dpy, int* fd); 50 void setReleaseFd(int fd);
|
H A D | hwc_vsync.cpp | 48 ioctl(ctx->dpyAttr[dpy].fd, MSMFB_OVERLAY_VSYNC_CTRL, 140 pfd[dpy][ev].fd = open(node_path, O_RDONLY); 142 if (dpy == HWC_DISPLAY_PRIMARY && pfd[dpy][ev].fd < 0) { 155 pread(pfd[dpy][ev].fd, vdata , MAX_DATA, 0); 156 if (pfd[dpy][ev].fd >= 0) 168 ssize_t len = pread(pfd[dpy][ev].fd, vdata, MAX_DATA, 0); 205 if(pfd[dpy][event].fd >= 0) 206 close (pfd[dpy][event].fd);
|
/hardware/qcom/display/msm8909w_3100/libgralloc/ |
H A D | gralloc_priv.h | 234 int fd; member in struct:private_handle_t 235 int fd_metadata; // fd for the meta-data 261 private_handle_t(int fd, unsigned int size, int flags, int bufferType, argument 263 fd(fd), fd_metadata(-1), magic(sMagic), 275 private_handle_t(int fd, unsigned int size, int flags, int bufferType, argument 278 private_handle_t(fd, size, flags, bufferType, format, width, height) 285 private_handle_t(int fd, unsigned int size, int flags, int bufferType, argument 289 private_handle_t(fd, size, flags, bufferType, format, width, height,
|
/hardware/qcom/display/msm8960/liblight/ |
H A D | lights.c | 85 int fd; local 88 fd = open(path, O_RDWR); 89 if (fd >= 0) { 92 int amt = write(fd, buffer, bytes); 93 close(fd); 107 int fd = open(path, O_RDWR); local 108 if (fd >= 0) { 109 close(fd);
|