Home
last modified time | relevance | path

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

12345678910>>...21

/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/bsp/intel/peripheral/libmraa/tests/
Dgpio_checks.py54 dir_file = open(self.gpio_path + "/direction")
61 dir_file = open(self.gpio_path + "/direction")
69 val_file = open(self.gpio_path + "/value")
77 val_file = open(self.gpio_path + "/value")
/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/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/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/qcom/display/msm8996/sdm/libs/utils/
Dsys.cpp47 Sys::open Sys::open_ = ::open;
73 Sys::open Sys::open_ = virtual_open;
/hardware/qcom/display/msm8996/sdm/include/utils/
Dsys.h39 typedef int (*open)(const char *, int, ...); typedef
51 static open open_;
/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/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/bsp/intel/peripheral/libmraa/src/iio/
Diio.c111 fd = open(buf, O_RDONLY); in mraa_iio_get_channel_data()
126 fd = open(buf, O_RDONLY); in mraa_iio_get_channel_data()
156 fd = open(buf, O_RDONLY); in mraa_iio_get_channel_data()
245 int fd = open(buf, O_RDONLY); in mraa_iio_read_string()
278 int fd = open(buf, O_WRONLY); in mraa_iio_write_string()
350 dev->fp = open(bu, O_RDONLY | O_NONBLOCK); in mraa_iio_trigger_buffer()
403 fd = open(buf, O_RDONLY); in mraa_iio_get_event_data()
451 fd = open(bu, 0); in mraa_iio_event_poll()
503 dev->fp = open(bu, O_RDONLY | O_NONBLOCK); in mraa_iio_event_setup_callback()
601 fd = open(buf, O_RDONLY); in mraa_iio_update_channels()
[all …]
/hardware/bsp/intel/peripheral/libmraa/docs/
Dcontributing.md12 requests to the main project. You can open issues if you find any bugs/have
49 on as an open-source patch. The rules are pretty simple: if you can certify
57 have the right to submit it under the open source license
61 of my knowledge, is covered under an appropriate open source
64 by me, under the same open source license (unless I am
76 this project or the open source license(s) involved.
/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/qcom/bt/msm8909/libbt-vendor/src/
Dhci_smd.c67 fd = open(s_pszDevSmd[chId], (O_RDWR | O_NOCTTY)); in bt_hci_init_transport_id()
73 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/qcom/bt/msm8996/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/vehicle/
Dvehicle_test_fixtures.h72 ASSERT_TRUE(NULL != vehicle_module()->common.methods->open) in SetUp()
74 ASSERT_EQ(0, vehicle_module()->common.methods->open( in SetUp()
/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/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/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/bsp/intel/soc/common/bootctrl/
Dbootctrl.c46 fd = open(BOOTCTRL_METADATA_FILE, O_RDONLY); in bootctrl_read_metadata()
92 fd = open(BOOTCTRL_METADATA_FILE, O_RDWR); in bootctrl_write_metadata()
146 fd = open("/proc/cmdline", O_RDONLY); in bootctrl_get_active_slot()
337 .open = bootctrl_open,

12345678910>>...21