Home
last modified time | relevance | path

Searched refs:ctl (Results 1 – 3 of 3) sorted by relevance

/development/tools/emulator/system/sensors/
Dsensors_qemu.c138 SensorPoll* ctl = (void*)dev; in control__open_data_source() local
141 if (ctl->fd < 0) { in control__open_data_source()
142 ctl->fd = qemud_channel_open(SENSORS_SERVICE_NAME); in control__open_data_source()
144 D("%s: fd=%d", __FUNCTION__, ctl->fd); in control__open_data_source()
146 handle->data[0] = dup(ctl->fd); in control__open_data_source()
155 SensorPoll* ctl = (void*)dev; in control__activate() local
161 _sensorIdToName(handle), handle, ctl->fd, enabled); in control__activate()
171 active = ctl->active_sensors; in control__activate()
181 if (ctl->fd < 0) { in control__activate()
182 ctl->fd = qemud_channel_open(SENSORS_SERVICE_NAME); in control__activate()
[all …]
/development/ndk/platforms/android-3/include/linux/
Dsocket.h63 #define __CMSG_NXTHDR(ctl, len, cmsg) __cmsg_nxthdr((ctl),(len),(cmsg)) argument
72 #define __CMSG_FIRSTHDR(ctl,len) ((len) >= sizeof(struct cmsghdr) ? (struct cmsghdr *)(ctl) : (… argument
Data.h222 u8 ctl; member