Searched refs:fd (Results 1 - 25 of 968) sorted by relevance

1234567891011>>

/hardware/qcom/gps/loc_api/libloc_api_50001/
H A Dloc_eng_dmn_conn_glue_pipe.h39 int loc_eng_dmn_conn_glue_piperemove(const char * pipe_name, int fd);
40 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz);
41 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz);
43 int loc_eng_dmn_conn_glue_pipeflush(int fd);
44 int loc_eng_dmn_conn_glue_pipeunblock(int fd);
H A Dloc_eng_dmn_conn_glue_pipe.c63 int fd; local
82 fd = open(pipe_name, mode);
83 if (fd <= 0)
87 LOC_LOGD("fd = %d, %s\n", fd, pipe_name);
88 return fd;
98 fd - fd for the pipe
110 int loc_eng_dmn_conn_glue_piperemove(const char * pipe_name, int fd) argument
112 close(fd);
138 loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) argument
170 loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) argument
200 loc_eng_dmn_conn_glue_pipeunblock(int fd) argument
[all...]
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/
H A Dloc_eng_dmn_conn_glue_pipe.h39 int loc_eng_dmn_conn_glue_piperemove(const char * pipe_name, int fd);
40 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz);
41 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz);
43 int loc_eng_dmn_conn_glue_pipeflush(int fd);
44 int loc_eng_dmn_conn_glue_pipeunblock(int fd);
H A Dloc_eng_dmn_conn_glue_pipe.c63 int fd; local
82 fd = open(pipe_name, mode);
83 if (fd <= 0)
87 LOC_LOGD("fd = %d, %s\n", fd, pipe_name);
88 return fd;
98 fd - fd for the pipe
110 int loc_eng_dmn_conn_glue_piperemove(const char * pipe_name, int fd) argument
112 close(fd);
138 loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) argument
170 loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) argument
200 loc_eng_dmn_conn_glue_pipeunblock(int fd) argument
[all...]
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/
H A Dloc_eng_dmn_conn_glue_pipe.h39 int loc_eng_dmn_conn_glue_piperemove(const char * pipe_name, int fd);
40 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz);
41 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz);
43 int loc_eng_dmn_conn_glue_pipeflush(int fd);
44 int loc_eng_dmn_conn_glue_pipeunblock(int fd);
H A Dloc_eng_dmn_conn_glue_pipe.c63 int fd; local
82 fd = open(pipe_name, mode);
83 if (fd <= 0)
87 LOC_LOGD("fd = %d, %s\n", fd, pipe_name);
88 return fd;
98 fd - fd for the pipe
110 int loc_eng_dmn_conn_glue_piperemove(const char * pipe_name, int fd) argument
112 close(fd);
138 loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) argument
170 loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) argument
200 loc_eng_dmn_conn_glue_pipeunblock(int fd) argument
[all...]
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
H A Dloc_eng_dmn_conn_glue_pipe.h39 int loc_eng_dmn_conn_glue_piperemove(const char * pipe_name, int fd);
40 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz);
41 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz);
43 int loc_eng_dmn_conn_glue_pipeflush(int fd);
44 int loc_eng_dmn_conn_glue_pipeunblock(int fd);
H A Dloc_eng_dmn_conn_glue_pipe.c63 int fd; local
82 fd = open(pipe_name, mode);
83 if (fd <= 0)
87 LOC_LOGD("fd = %d, %s\n", fd, pipe_name);
88 return fd;
98 fd - fd for the pipe
110 int loc_eng_dmn_conn_glue_piperemove(const char * pipe_name, int fd) argument
112 close(fd);
138 loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) argument
170 loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) argument
200 loc_eng_dmn_conn_glue_pipeunblock(int fd) argument
[all...]
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/
H A Dloc_eng_dmn_conn_glue_pipe.h39 int loc_eng_dmn_conn_glue_piperemove(const char * pipe_name, int fd);
40 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz);
41 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz);
43 int loc_eng_dmn_conn_glue_pipeflush(int fd);
44 int loc_eng_dmn_conn_glue_pipeunblock(int fd);
H A Dloc_eng_dmn_conn_glue_pipe.c63 int fd; local
82 fd = open(pipe_name, mode);
83 if (fd <= 0)
87 LOC_LOGD("fd = %d, %s\n", fd, pipe_name);
88 return fd;
98 fd - fd for the pipe
110 int loc_eng_dmn_conn_glue_piperemove(const char * pipe_name, int fd) argument
112 close(fd);
138 loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) argument
170 loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) argument
200 loc_eng_dmn_conn_glue_pipeunblock(int fd) argument
[all...]
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
H A Dloc_eng_dmn_conn_glue_pipe.h39 int loc_eng_dmn_conn_glue_piperemove(const char * pipe_name, int fd);
40 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz);
41 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz);
43 int loc_eng_dmn_conn_glue_pipeflush(int fd);
44 int loc_eng_dmn_conn_glue_pipeunblock(int fd);
H A Dloc_eng_dmn_conn_glue_pipe.c63 int fd; local
82 fd = open(pipe_name, mode);
83 if (fd <= 0)
87 LOC_LOGD("fd = %d, %s\n", fd, pipe_name);
88 return fd;
98 fd - fd for the pipe
110 int loc_eng_dmn_conn_glue_piperemove(const char * pipe_name, int fd) argument
112 close(fd);
138 loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) argument
170 loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) argument
200 loc_eng_dmn_conn_glue_pipeunblock(int fd) argument
[all...]
/hardware/intel/common/libva/va/drm/
H A Dva_drm_auth.h33 va_drm_is_authenticated(int fd);
37 va_drm_authenticate(int fd, uint32_t magic);
H A Dva_drm.h47 * specified DRM connection @fd.
49 * @param[in] fd the DRM connection descriptor
53 vaGetDisplayDRM(int fd);
H A Dva_drm_auth_x11.h33 va_drm_authenticate_x11(int fd, uint32_t magic);
/hardware/qcom/bt/msm8909/libbt-vendor/src/
H A Dhci_smd.c59 int fd = -1; local
67 fd = open(s_pszDevSmd[chId], (O_RDWR | O_NOCTTY));
69 while ((-1 == fd) && (retry < 7)) {
73 fd = open(s_pszDevSmd[chId], (O_RDWR | O_NOCTTY));
77 if (-1 == fd)
110 if (tcflush(fd, TCIOFLUSH) < 0)
113 close(fd);
117 if (tcgetattr(fd, &term) < 0)
120 close(fd);
131 if (tcsetattr(fd, TCSANO
145 int fd; local
[all...]
/hardware/qcom/bt/msm8909w_3100/libbt-vendor/src/
H A Dhci_smd.c59 int fd = -1; local
67 fd = open(s_pszDevSmd[chId], (O_RDWR | O_NOCTTY));
69 while ((-1 == fd) && (retry < 7)) {
73 fd = open(s_pszDevSmd[chId], (O_RDWR | O_NOCTTY));
77 if (-1 == fd)
110 if (tcflush(fd, TCIOFLUSH) < 0)
113 close(fd);
117 if (tcgetattr(fd, &term) < 0)
120 close(fd);
131 if (tcsetattr(fd, TCSANO
145 int fd; local
[all...]
/hardware/qcom/bt/msm8992/libbt-vendor/src/
H A Dhci_smd.c58 int fd = -1; local
66 fd = open(s_pszDevSmd[chId], (O_RDWR | O_NOCTTY));
68 while ((-1 == fd) && (retry < 7)) {
72 fd = open(s_pszDevSmd[chId], (O_RDWR | O_NOCTTY));
76 if (-1 == fd)
109 if (tcflush(fd, TCIOFLUSH) < 0)
112 close(fd);
116 if (tcgetattr(fd, &term) < 0)
119 close(fd);
130 if (tcsetattr(fd, TCSANO
144 int fd; local
[all...]
/hardware/qcom/bt/msm8996/libbt-vendor/src/
H A Dhci_smd.c62 int fd = -1; local
70 fd = open(s_pszDevSmd[chId], (O_RDWR | O_NOCTTY));
72 while ((-1 == fd) && (retry < 7)) {
76 fd = open(s_pszDevSmd[chId], (O_RDWR | O_NOCTTY));
80 if (-1 == fd)
113 if (tcflush(fd, TCIOFLUSH) < 0)
116 close(fd);
120 if (tcgetattr(fd, &term) < 0)
123 close(fd);
134 if (tcsetattr(fd, TCSANO
148 int fd; local
[all...]
/hardware/qcom/bt/msm8998/libbt-vendor/src/
H A Dhci_smd.c62 int fd = -1; local
70 fd = open(s_pszDevSmd[chId], (O_RDWR | O_NOCTTY));
72 while ((-1 == fd) && (retry < 7)) {
76 fd = open(s_pszDevSmd[chId], (O_RDWR | O_NOCTTY));
80 if (-1 == fd)
113 if (tcflush(fd, TCIOFLUSH) < 0)
116 close(fd);
120 if (tcgetattr(fd, &term) < 0)
123 close(fd);
134 if (tcsetattr(fd, TCSANO
148 int fd; local
[all...]
/hardware/interfaces/dumpstate/1.0/default/
H A DDumpstateDevice.cpp45 int fd = handle->data[0]; local
46 if (fd < 0) {
50 ALOGD("DumpstateDevice::dumpstateBoard() FD: %d\n", fd);
52 dprintf(fd, "Dumpstate HIDL not provided by device; providing bogus data.\n");
55 RunCommandToFd(fd, "DATE", {"/vendor/bin/date"});
56 DumpFileToFd(fd, "HOSTS", "/system/etc/hosts");
/hardware/invensense/65xx/libsensors_iio/
H A DMPLSupport.h23 int read_attribute_sensor(int fd, char* data, unsigned int size);
24 int enable_sysfs_sensor(int fd, int en);
25 int write_attribute_sensor(int fd, long data);
26 int write_attribute_sensor_continuous(int fd, long data);
/hardware/qcom/bt/msm8960/libbt-vendor/src/
H A Duserial_vendor.c71 int fd; local
73 fd = bt_hci_init_transport_id(i);
74 if(fd < 0 ){
77 pFd[i] = fd;
85 int fd = -1; local
91 fd = open(s_pszDevSmd[chId], (O_RDWR | O_NOCTTY));
93 while ((-1 == fd) && (retry < 7)) {
97 fd = open(bt_hci_transport_device.name, (O_RDWR | O_NOCTTY));
101 if (-1 == fd)
116 if (tcflush(fd, TCIOFLUS
[all...]
/hardware/google/av/codec2/vndk/internal/
H A DC2ParamInternal.h23 inline static uint32_t GetOffset(const C2FieldDescriptor &fd) { argument
24 return fd._mFieldId._mOffset;
27 inline static void SetOffset(C2FieldDescriptor &fd, uint32_t offset) { argument
28 fd._mFieldId._mOffset = offset;
31 inline static uint32_t GetEndOffset(const C2FieldDescriptor &fd, uint32_t paramSize = 0) { argument
32 uint32_t endOffset = fd._mFieldId._mOffset + fd._mExtent * fd._mFieldId._mSize;
34 return fd._mExtent ? endOffset : std::max(endOffset, paramSize);
37 inline static uint32_t GetSize(const C2FieldDescriptor &fd) { argument
61 GetField(const C2FieldDescriptor &fd) argument
90 AddNamedValues( C2FieldDescriptor &fd, C2FieldDescriptor::NamedValuesType &&namedValues) argument
102 OffsetFieldDescriptor(const C2FieldDescriptor &fd, size_t offset) argument
[all...]
/hardware/ril/libril/
H A Dril_event.h18 // Max number of fd's we watch at any one time. Increase if necessary.
21 typedef void (*ril_event_cb)(int fd, short events, void *userdata);
27 int fd; member in struct:ril_event
39 void ril_event_set(struct ril_event * ev, int fd, bool persist, ril_event_cb func, void * param);

Completed in 273 milliseconds

1234567891011>>