Home
last modified time | relevance | path

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

12345678910>>...18

/hardware/interfaces/tv/input/1.0/
DITvInput.hal54 * @param deviceId Device ID for the steam to open.
55 * @param streamId Steam ID for the steam to open. Must be one of the
59 * INVALID_STATE if the stream with the given ID is already open;
60 * NO_RESOURCE if the client must close other streams to open the
71 * @param deviceId Device ID for the steam to open.
72 * @param streamId Steam ID for the steam to open.
75 * INVALID_STATE if the stream with the given ID is not open.
/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/include/hardware/
Dnfc.h115 int (*open)(const struct nfc_nci_device *p_dev, nfc_stack_callback_t *p_cback, member
177 return module->methods->open(module, NFC_NCI_CONTROLLER, in nfc_nci_open()
264 return module->methods->open(module, NFC_PN544_CONTROLLER, in nfc_pn544_open()
/hardware/interfaces/camera/common/1.0/
Dtypes.hal207 * 3. openCameraDevice() or openCameraDeviceVersion() is called to open a
211 * calling ICameraProvider::setTorchMode() due to this open() call.
277 * The camera service must be able to simultaneously open and use any
285 * The camera service may still attempt to simultaneously open combinations
288 * supported due to resource constraints from having multiple open devices
290 * 100, open and configure must never fail for any stream configuration
292 * device when it is the only open camera device.
297 * by the camera service to simultaneously open the same camera device.
316 * application has either device open, no lower-priority applications must
317 * be allowed by the camera service to open either device. If a
[all …]
/hardware/libhardware/modules/camera/3_0/
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/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/qcom/display/msm8996/sdm/include/utils/
Dsys.h53 typedef int (*open)(const char *, int, ...); typedef
67 static open open_;
/hardware/libhardware/modules/vibrator/
Dvibrator.c38 fd = TEMP_FAILURE_RETRY(open(file, O_RDWR)); in device_exists()
55 fd = TEMP_FAILURE_RETRY(open(file, O_WRONLY)); in write_value()
191 .open = vibra_open,
/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/display/msm8998/sdm/include/utils/
Dsys.h58 typedef int (*open)(const char *, int, ...); typedef
73 static open open_;
/hardware/qcom/display/msm8996/sdm/libs/utils/
Dsys.cpp48 Sys::open Sys::open_ = ::open;
/hardware/qcom/bt/msm8998/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/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/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/msm8996/libbt-vendor/src/
Dhci_smd.c69 fd = open(s_pszDevSmd[chId], (O_RDWR | O_NOCTTY)); in bt_hci_init_transport_id()
75 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/qcom/display/msm8998/sdm/libs/utils/
Dsys.cpp49 Sys::open Sys::open_ = ::open;
/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/interfaces/camera/device/3.2/
DICameraDevice.hal48 * The resources required to open this camera device, or unspecified
66 * On a successful open of the camera device.
94 * unit. When there are any resource conflicts, such as when open() is
124 * Due to other camera devices being open, or due to other
128 * torch mode. The framework must open the camera device and turn
145 * open:
154 * On a successful open of the camera device.
161 * This camera device is already open.
173 open(ICameraDeviceCallback callback) generates
/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/interfaces/memtrack/1.0/default/
DMemtrack.cpp85 if (!hw_module->methods || !hw_module->methods->open) { in HIDL_FETCH_IMemtrack()
88 err = hw_module->methods->open(hw_module, MEMTRACK_HARDWARE_MODULE_ID, in HIDL_FETCH_IMemtrack()
/hardware/libhardware/modules/nfc-nci/
Dnfc_nci_example.c106 dev->open = hal_open; in nfc_open()
124 .open = nfc_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()

12345678910>>...18