/device/moto/stingray/sensors/ |
SensorBase.cpp | 37 dev_fd(-1), data_fd(-1) 39 data_fd = openInput(data_name); 43 if (data_fd >= 0) { 44 close(data_fd); 68 return data_fd;
|
SensorBase.h | 35 int data_fd; member in class:SensorBase
|
PressureSensor.cpp | 52 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_PRESSURE), &absinfo)) { 103 ssize_t n = mInputReader.fill(data_fd);
|
LightSensor.cpp | 84 ssize_t n = mInputReader.fill(data_fd);
|
AccelerationSensor.cpp | 134 ssize_t n = mInputReader.fill(data_fd);
|
GyroSensor.cpp | 100 ssize_t n = mInputReader.fill(data_fd);
|
AkmSensor.cpp | 175 ssize_t n = mInputReader.fill(data_fd);
|
/device/samsung/crespo/libsensors/ |
SensorBase.cpp | 37 dev_fd(-1), data_fd(-1) 40 data_fd = openInput(data_name); 45 if (data_fd >= 0) { 46 close(data_fd); 73 return data_fd;
|
GyroSensor.cpp | 44 if (data_fd) { 64 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_GYRO_X), &absinfo_x) && 65 !ioctl(data_fd, EVIOCGABS(EVENT_TYPE_GYRO_X), &absinfo_y) && 66 !ioctl(data_fd, EVIOCGABS(EVENT_TYPE_GYRO_X), &absinfo_z)) { 136 ssize_t n = mInputReader.fill(data_fd); 177 n = mInputReader.fill(data_fd);
|
AkmSensor.cpp | 62 data_fd = openInput("compass"); 88 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_ACCEL_X), &absinfo)) { 91 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_ACCEL_Y), &absinfo)) { 94 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_ACCEL_Z), &absinfo)) { 100 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_MAGV_X), &absinfo)) { 103 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_MAGV_Y), &absinfo)) { 106 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_MAGV_Z), &absinfo)) { 112 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_YAW), &absinfo)) { 115 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_PITCH), &absinfo)) { 118 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_ROLL), &absinfo)) [all...] |
SensorBase.h | 36 int data_fd; member in class:SensorBase
|
ProximitySensor.cpp | 42 if (data_fd) { 59 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_PROXIMITY), &absinfo)) { 108 ssize_t n = mInputReader.fill(data_fd);
|
LightSensor.cpp | 41 if (data_fd) { 113 ssize_t n = mInputReader.fill(data_fd);
|
/hardware/invensense/libsensors/ |
SensorBase.cpp | 37 dev_fd(-1), data_fd(-1) 40 data_fd = openInput(data_name); 45 if (data_fd >= 0) { 46 close(data_fd); 73 return data_fd;
|
SensorBase.h | 36 int data_fd; member in class:SensorBase
|
MPLSensor.cpp | 210 data_fd = mpu_int_fd; 1049 //ALOGV("MPLSensor::getFd returning %d", data_fd); 1050 return data_fd; [all...] |
/device/samsung/tuna/libsensors/ |
SamsungSensorBase.cpp | 69 if (!data_fd) 84 int flags = fcntl(data_fd, F_GETFL, 0); 85 fcntl(data_fd, F_SETFL, flags | O_NONBLOCK); 160 while (count && mInputReader.readEvent(data_fd, &event)) {
|
ProximitySensor.cpp | 58 if (!ioctl(data_fd, EVIOCGABS(ABS_DISTANCE), &absinfo)) {
|
/sdk/emulator/qtools/ |
dmtrace.cpp | 45 int data_fd = mkstemp(tmpData); local 46 if (data_fd < 0) { 53 fData = fdopen(data_fd, "w+");
|
/system/core/init/ |
devices.c | 675 static int load_firmware(int fw_fd, int loading_fd, int data_fd) 703 nw = write(data_fd, buf + nw, nr); 729 int l, loading_fd, data_fd, fw_fd; local 759 data_fd = open(data, O_WRONLY); 760 if(data_fd < 0) 782 if(!load_firmware(fw_fd, loading_fd, data_fd)) 789 close(data_fd);
|
/external/bluetooth/bluez/audio/ |
unix.c | 90 int data_fd; /* To be deleted once two phase configuration is fully implemented */ member in struct:unix_client 331 client->data_fd = headset_get_sco_fd(dev); 363 client->data_fd = gateway_get_sco_fd(dev); 380 client->data_fd = headset_get_sco_fd(dev); 381 if (client->data_fd < 0) { 400 if (unix_sendmsg_fd(client->sock, client->data_fd) < 0) { 438 client->data_fd = gateway_get_sco_fd(dev); 439 if (unix_sendmsg_fd(client->sock, client->data_fd) < 0) { 746 if (!avdtp_stream_get_transport(stream, &client->data_fd, &imtu, &omtu, 804 if (unix_sendmsg_fd(client->sock, client->data_fd) < 0) [all...] |