HomeSort by relevance Sort by last modified time
    Searched full:dev_fd (Results 1 - 21 of 21) sorted by null

  /hardware/invensense/60xx/libsensors/
SensorBase.cpp 37 dev_fd(-1), data_fd(-1)
48 if (dev_fd >= 0) {
49 close(dev_fd);
54 if (dev_fd<0 && dev_name) {
55 dev_fd = open(dev_name, O_RDONLY);
56 ALOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno));
62 if (dev_fd >= 0) {
63 close(dev_fd);
64 dev_fd = -1;
71 return dev_fd;
    [all...]
SensorBase.h 35 int dev_fd; member in class:SensorBase
  /hardware/invensense/60xx/libsensors_iio/
SensorBase.cpp 34 dev_fd(-1),
47 if (dev_fd >= 0) {
48 close(dev_fd);
54 if (dev_fd<0 && dev_name) {
55 dev_fd = open(dev_name, O_RDONLY);
56 LOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno));
63 if (dev_fd >= 0) {
64 close(dev_fd);
65 dev_fd = -1;
73 return dev_fd;
    [all...]
SensorBase.h 39 int dev_fd; member in class:SensorBase
  /hardware/akm/AK8975_FS/libsensors/
SensorBase.cpp 37 dev_fd(-1), data_fd(-1)
48 if (dev_fd >= 0) {
49 close(dev_fd);
54 if (dev_fd<0 && dev_name) {
55 dev_fd = open(dev_name, O_RDONLY);
56 ALOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno));
62 if (dev_fd >= 0) {
63 close(dev_fd);
64 dev_fd = -1;
91 return dev_fd;
    [all...]
SensorBase.h 35 int dev_fd; member in class:SensorBase
KionixSensor.cpp 94 err = ioctl(dev_fd, KIONIX_IOCTL_ENABLE_OUTPUT);
99 err = ioctl(dev_fd, KIONIX_IOCTL_DISABLE_OUTPUT);
137 if (ioctl(dev_fd, KIONIX_IOCTL_UPDATE_ODR, &ms)) {
  /hardware/invensense/65xx/libsensors_iio/
SensorBase.cpp 34 dev_fd(-1),
47 if (dev_fd >= 0) {
48 close(dev_fd);
54 if (dev_fd<0 && dev_name) {
55 dev_fd = open(dev_name, O_RDONLY);
56 LOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno));
63 if (dev_fd >= 0) {
64 close(dev_fd);
65 dev_fd = -1;
73 return dev_fd;
    [all...]
SensorBase.h 72 int dev_fd; member in class:SensorBase
  /hardware/ti/wlan/mac80211/ti-utils/uim_rfkill/
uim.c 60 int dev_fd; variable
129 UIM_VER(" wrote %d bytes", (int)write(dev_fd, buffer, 4));
130 UIM_VER(" reading %d bytes", (int)read(dev_fd, resp_buffer, 15));
320 tcflush(dev_fd, TCIOFLUSH);
323 if (tcgetattr(dev_fd, &ti) < 0) {
338 tcsetattr(dev_fd, TCSANOW, &ti);
343 tcsetattr(dev_fd, TCSANOW, &ti);
345 tcflush(dev_fd, TCIOFLUSH);
367 tcflush(dev_fd, TCIOFLUSH);
380 if (tcsetattr(dev_fd, TCSANOW, &ti) < 0)
    [all...]
  /hardware/ti/wpan/ti_st/uim-sysfs/
uim.c 45 int dev_fd; variable
52 if (dev_fd == -1)
57 close(dev_fd);
58 dev_fd = -1;
75 UIM_VER(" wrote %d bytes", (int)write(dev_fd, buffer, 4));
76 UIM_VER(" reading %d bytes", (int)read(dev_fd, resp_buffer, 15));
260 tcflush(dev_fd, TCIOFLUSH);
263 if (tcgetattr(dev_fd, &ti) < 0) {
278 tcsetattr(dev_fd, TCSANOW, &ti);
283 tcsetattr(dev_fd, TCSANOW, &ti)
    [all...]
  /external/chromium_org/sandbox/linux/services/
credentials_unittest.cc 67 int dev_fd = open("/dev", O_RDONLY | O_DIRECTORY); local
68 ScopedFD dev_fd_closer(&dev_fd);
89 int dev_fd = open("/dev", O_RDONLY | O_DIRECTORY); local
90 ScopedFD dev_fd_closer(&dev_fd);
  /device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/
mm_camera_interface.c 746 int dev_fd = 0; local
761 dev_fd = open(dev_name, O_RDWR | O_NONBLOCK);
762 if (dev_fd < 0) {
767 rc = ioctl(dev_fd, MEDIA_IOC_DEVICE_INFO, &mdev_info);
770 close(dev_fd);
775 close(dev_fd);
796 close(dev_fd);
805 rc = ioctl(dev_fd, MEDIA_IOC_ENUM_ENTITIES, &entity);
848 if (dev_fd > 0) {
849 close(dev_fd);
    [all...]
  /device/lge/mako/camera/mm-camera-interface/
mm_camera_interface2.c 615 int dev_fd = 0; local
626 dev_fd = open(dev_name, O_RDWR | O_NONBLOCK);
627 if (dev_fd < 0) {
632 rc = ioctl(dev_fd, MEDIA_IOC_DEVICE_INFO, &mdev_info);
635 close(dev_fd);
640 close(dev_fd);
661 close(dev_fd);
670 rc = ioctl(dev_fd, MEDIA_IOC_ENUM_ENTITIES, &entity);
709 if (dev_fd > 0) {
710 close(dev_fd);
    [all...]
  /system/extras/tests/iptables/qtaguid/
socketTag.cpp 191 dev_fd = -1;
212 dev_fd = open("/dev/xt_qtaguid", O_RDONLY);
213 EXPECT_GE(dev_fd, 0) << "qtaguid dev open failed";
228 if (dev_fd >= 0) {
229 close(dev_fd);
239 int dev_fd; member in class:android::SocketTaggingTest
  /device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/
mm_camera_interface.c 1248 int dev_fd = 0; local
    [all...]
  /hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
mm_camera_interface.c 1248 int dev_fd = 0; local
    [all...]
  /hardware/samsung_slsi/exynos5/include/
s5p_fimc_v4l2.h 152 int dev_fd; member in struct:_s5p_fimc_t
sec_g2d.h 231 int dev_fd; member in struct:_sec_g2d_t
  /external/ppp/pppd/
pppd.h 595 void generic_disestablish_ppp __P((int dev_fd)); /* Restore device setting */
596 int generic_establish_ppp __P((int dev_fd)); /* Make a ppp interface */
    [all...]
sys-linux.c 591 void generic_disestablish_ppp(int dev_fd)
    [all...]

Completed in 3814 milliseconds