Home
last modified time | relevance | path

Searched refs:open (Results 1 – 25 of 391) sorted by relevance

12345678910>>...16

/hardware/libhardware_legacy/qemu_tracing/
Dqemu_tracing.c42 int fd = open(SYS_QEMU_TRACE_STATE, O_WRONLY); in qemu_start_tracing()
52 int fd = open(SYS_QEMU_TRACE_STATE, O_WRONLY); in qemu_stop_tracing()
66 int fd = open(SYS_QEMU_TRACE_SYMBOL, O_WRONLY); in qemu_add_mapping()
79 int fd = open(SYS_QEMU_TRACE_SYMBOL, O_WRONLY); in qemu_remove_mapping()
/hardware/libhardware/modules/usbcamera/
DCameraHAL.cpp89 int CameraHAL::open(const hw_module_t* mod, const char* name, hw_device_t** dev) { in open() function in usb_camera_hal::CameraHAL
107 return mCameras[id]->open(mod, dev); in open()
125 return gCameraHAL.open(mod, name, dev); in open_dev()
129 open : open_dev
/hardware/libhardware/modules/vibrator/
Dvibrator.c34 fd = TEMP_FAILURE_RETRY(open(THE_DEVICE, O_RDWR)); in vibra_exists()
50 fd = TEMP_FAILURE_RETRY(open(THE_DEVICE, O_RDWR)); in sendit()
125 .open = vibra_open,
/hardware/libhardware/modules/camera/
DCameraHAL.cpp89 int CameraHAL::open(const hw_module_t* mod, const char* name, hw_device_t** dev) in open() function in default_camera_hal::CameraHAL
107 return mCameras[id]->open(mod, dev); in open()
164 return gCameraHAL.open(mod, name, dev); in open_dev()
168 open : open_dev
/hardware/libhardware/include/hardware/
Dnfc.h139 int (*open)(const struct nfc_nci_device *p_dev, nfc_stack_callback_t *p_cback, member
201 return module->methods->open(module, NFC_NCI_CONTROLLER, in nfc_nci_open()
288 return module->methods->open(module, NFC_PN544_CONTROLLER, in nfc_pn544_open()
Dqemu_pipe.h69 fd = open("/dev/qemu_pipe", O_RDWR); in qemu_pipe_open()
71 fd = open("/dev/goldfish_pipe", O_RDWR); in qemu_pipe_open()
/hardware/libhardware_legacy/vibrator/
Dvibrator.c36 fd = open(THE_DEVICE, O_RDWR); in vibrator_exists()
54 fd = open(THE_DEVICE, O_RDWR); in sendit()
/hardware/akm/AK8975_FS/libsensors/
DSensorBase.cpp56 dev_fd = open(dev_name, O_RDONLY); in open_device()
75 fd = open(path, O_WRONLY); in write_sys_attribute()
135 fd = open(devname, O_RDONLY); in openInput()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/android/
Dget_files.py34 with open(filename, 'rb') as file:
47 fp = open(path, "wb")
88 file_list_csv = open(file_list_path, "rb")
/hardware/libhardware/tests/fingerprint/
Dfingerprint_test_fixtures.h57 ASSERT_TRUE(NULL != fp_module()->common.methods->open) in SetUp()
59 ASSERT_EQ(0, fp_module()->common.methods->open( in SetUp()
/hardware/qcom/bt/msm8992/libbt-vendor/src/
Dhci_smd.c66 fd = open(s_pszDevSmd[chId], (O_RDWR | O_NOCTTY)); in bt_hci_init_transport_id()
72 fd = open(s_pszDevSmd[chId], (O_RDWR | O_NOCTTY)); in bt_hci_init_transport_id()
/hardware/libhardware/tests/camera3/
Dcamera3test_fixtures.h64 ASSERT_TRUE(NULL != cam_module()->common.methods->open) in SetUp()
66 ASSERT_EQ(0, cam_module()->common.methods->open( in SetUp()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/tools/
Dintersect-diffs.py53 old_hunks = [x for x in diff.ParseDiffHunks(open(sys.argv[1], "r"))]
54 new_hunks = [x for x in diff.ParseDiffHunks(open(sys.argv[2], "r"))]
/hardware/broadcom/libbt/src/
Dupio.c158 fd = open(path, O_RDONLY); in init_rfkill()
326 fd = open(rfkill_state_path, O_WRONLY); in upio_set_bluetooth_power()
382 fd = open(VENDOR_LPM_PROC_NODE, O_WRONLY); in upio_set()
482 fd = open(VENDOR_BTWRITE_PROC_NODE, O_WRONLY); in upio_set()
/hardware/qcom/wlan/qcwcn/wcnss-service/
Dwcnss_service.c114 fd_file = open(WCNSS_CAL_FILE, O_RDONLY); in wcnss_write_cal_data()
196 fd_file = open(WCNSS_CAL_FILE, O_WRONLY in wcnss_read_and_store_cal_data()
294 rfd = open(WLAN_INI_FILE_SOURCE, O_RDONLY); in setup_wlan_config_file()
300 wfd = open(WLAN_INI_FILE_DEST, O_WRONLY | O_CREAT | O_TRUNC, 0660); in setup_wlan_config_file()
371 fd = open(WCNSS_CTRL, O_WRONLY); in setup_wcnss_parameters()
555 fd_dev = open(WCNSS_DEVICE, O_RDWR); in main()
/hardware/qcom/bt/msm8960/libbt-vendor/src/
Duserial_vendor.c91 fd = open(s_pszDevSmd[chId], (O_RDWR | O_NOCTTY)); in bt_hci_init_transport_id()
97 fd = open(bt_hci_transport_device.name, (O_RDWR | O_NOCTTY)); in bt_hci_init_transport_id()
/hardware/libhardware/modules/nfc-nci/
Dnfc_nci_example.c89 dev->open = hal_open; in nfc_open()
107 .open = nfc_open,
/hardware/qcom/display/msm8226/liboverlay/
DoverlayUtils.h93 bool open(OvFD& fd, uint32_t fbnum, const char* const dev,
531 return overlay::open(fd, fbnum, devpath, flags); in openDev()
596 bool open(const char* const dev,
629 inline bool open(OvFD& fd, uint32_t fbnum, const char* const dev, int flags) in open() function
633 return fd.open(dev_name, flags); in open()
644 inline bool OvFD::open(const char* const dev, int flags) in open() function
646 mFD = ::open(dev, flags, 0); in open()
/hardware/qcom/display/msm8994/liboverlay/
DoverlayUtils.h93 bool open(OvFD& fd, uint32_t fbnum, const char* const dev,
528 return overlay::open(fd, fbnum, devpath, flags); in openDev()
593 bool open(const char* const dev,
626 inline bool open(OvFD& fd, uint32_t fbnum, const char* const dev, int flags) in open() function
630 return fd.open(dev_name, flags); in open()
641 inline bool OvFD::open(const char* const dev, int flags) in open() function
643 mFD = ::open(dev, flags, 0); in open()
/hardware/qcom/display/msm8084/libqdutils/
Didle_invalidator.cpp58 mTimeoutEventFd = open(IDLE_NOTIFY_PATH, O_RDONLY); in init()
66 int fd = open(IDLE_TIME_PATH, O_WRONLY); in init()
/hardware/qcom/display/msm8226/libqdutils/
Didle_invalidator.cpp58 mTimeoutEventFd = open(IDLE_NOTIFY_PATH, O_RDONLY); in init()
66 int fd = open(IDLE_TIME_PATH, O_WRONLY); in init()
/hardware/qcom/display/msm8960/liblight/
Dlights.c88 fd = open(path, O_RDWR); in write_int()
107 int fd = open(path, O_RDWR); in is_avail()
315 .open = open_lights,
/hardware/qcom/display/msm8974/liblight/
Dlights.c88 fd = open(path, O_RDWR); in write_int()
107 int fd = open(path, O_RDWR); in is_avail()
315 .open = open_lights,
/hardware/qcom/display/msm8974/liboverlay/
DoverlayMem.h56 bool open(uint32_t numbufs,
116 inline bool OvMem::open(uint32_t numbufs, in open() function
/hardware/qcom/display/msm8960/liboverlay/
DoverlayMem.h56 bool open(uint32_t numbufs,
116 inline bool OvMem::open(uint32_t numbufs, in open() function

12345678910>>...16