/development/tools/emulator/system/sensors/ |
sensors_qemu.c | 124 int events_fd; member in struct:SensorPoll 243 data->events_fd = dup(handle->data[0]); 244 D("%s: dev=%p fd=%d (was %d)", __FUNCTION__, dev, data->events_fd, handle->data[0]); 255 if (data->events_fd >= 0) { 256 close(data->events_fd); 257 data->events_fd = -1; 294 int fd = data->events_fd; 309 int len = qemud_channel_recv(data->events_fd, buff, sizeof buff-1); 404 if (data->events_fd >= 0) { 405 //LOGD("(device close) about to close fd=%d", data->events_fd); [all...] |
/sdk/emulator/sensors/ |
sensors_qemu.c | 124 int events_fd; member in struct:SensorPoll 243 data->events_fd = dup(handle->data[0]); 244 D("%s: dev=%p fd=%d (was %d)", __FUNCTION__, dev, data->events_fd, handle->data[0]); 255 if (data->events_fd >= 0) { 256 close(data->events_fd); 257 data->events_fd = -1; 294 int fd = data->events_fd; 309 int len = qemud_channel_recv(data->events_fd, buff, sizeof buff-1); 404 if (data->events_fd >= 0) { 405 //LOGD("(device close) about to close fd=%d", data->events_fd); [all...] |