Searched refs:open (Results 1 - 25 of 195) sorted by relevance

12345678

/hardware/samsung_slsi/exynos5/mobicore/daemon/Kernel/
H A DCKMod.h67 mcResult_t open(
H A DCKMod.cpp67 mcResult_t CKMod::open(const char *deviceName) function in class:CKMod
70 LOG_W("already open");
76 // open return -1 on error, "errno" is set with details
77 int openRet = ::open(deviceName, O_RDWR);
79 LOG_ERRNO("open");
100 LOG_W(" Kernel module device not open");
/hardware/libhardware_legacy/qemu_tracing/
H A Dqemu_tracing.c42 int fd = open(SYS_QEMU_TRACE_STATE, O_WRONLY);
52 int fd = open(SYS_QEMU_TRACE_STATE, O_WRONLY);
66 int fd = open(SYS_QEMU_TRACE_SYMBOL, O_WRONLY);
79 int fd = open(SYS_QEMU_TRACE_SYMBOL, O_WRONLY);
/hardware/libhardware_legacy/vibrator/
H A Dvibrator.c36 fd = open(THE_DEVICE, O_RDWR);
54 fd = open(THE_DEVICE, O_RDWR);
/hardware/libhardware/modules/camera/
H A DCameraHAL.h39 int open(const hw_module_t* mod, const char* name, hw_device_t** dev);
H A DCamera.h37 int open(const hw_module_t *module, hw_device_t **device);
H A DCameraHAL.cpp89 int CameraHAL::open(const hw_module_t* mod, const char* name, hw_device_t** dev) function in class:default_camera_hal::CameraHAL
104 return mCameras[id]->open(mod, dev);
126 return gCameraHAL.open(mod, name, dev);
130 open : open_dev
/hardware/qcom/media/mm-video/vidc/common/inc/
H A Dvidc_color_converter.h38 bool open(unsigned int height,unsigned int width,
/hardware/libhardware/include/hardware/
H A Dnfc.h43 * 1) Core NCI stack calls open()
113 * (*open)() Opens the NFC controller device and performs initialization.
116 * If open completes successfully, the controller should be ready to perform
120 * If open() returns 0, the NCI stack will wait for a HAL_NFC_OPEN_CPLT_EVT
123 * If open() returns any other value, the NCI stack will stop.
126 int (*open)(const struct nfc_nci_device *p_dev, nfc_stack_callback_t *p_cback, member in struct:nfc_nci_device
183 * Convenience methods that the NFC stack can use to open
188 return module->methods->open(module, NFC_NCI_CONTROLLER,
263 return module->methods->open(module, NFC_PN544_CONTROLLER,
H A Dlocal_time_hal.h33 * Name of the local time devices to open
105 return module->methods->open(module, LOCAL_TIME_HARDWARE_INTERFACE,
H A Dqemu_pipe.h32 /* Try to open a new Qemu fast-pipe. This function returns a file descriptor
50 * You should be able to open several pipes to the same pipe service,
68 fd = open("/dev/qemu_pipe", O_RDWR);
70 D("%s: Could not open /dev/qemu_pipe: %s", __FUNCTION__, strerror(errno));
H A Dfb.h156 return module->methods->open(module,
/hardware/msm7k/dspcrashd/
H A Ddspcrashd.c103 fd = open(name, O_CREAT | O_TRUNC | O_WRONLY, 0644);
121 fd = open("/dev/kmsg", O_WRONLY);
132 fd = open("/dev/dsp_debug", O_RDWR);
/hardware/samsung_slsi/exynos5/mobicore/daemon/ClientLib/
H A DDevice.h73 bool open(
85 * Check if the device has open sessions.
86 * @return true if the device has one or more open sessions.
/hardware/libhardware/modules/nfc/
H A Dnfc_pn544_example.c58 .open = nfc_open,
/hardware/libhardware/modules/power/
H A Dpower.c45 .open = NULL,
/hardware/invensense/libsensors/
H A DSensorBase.cpp55 dev_fd = open(dev_name, O_RDONLY);
56 ALOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno));
110 fd = open(devname, O_RDONLY);
/hardware/invensense/libsensors_iio/
H A DSensorBase.cpp55 dev_fd = open(dev_name, O_RDONLY);
56 LOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno));
108 fd = open(devname, O_RDONLY);
109 LOGV_IF(EXTRA_VERBOSE, "path open %s", devname);
110 LOGI("path open %s", devname);
/hardware/libhardware/modules/nfc-nci/
H A Dnfc_nci_example.c88 dev->open = hal_open;
106 .open = nfc_open,
/hardware/qcom/bt/libbt-vendor/src/
H A Duserial_vendor.c91 fd = open(s_pszDevSmd[chId], (O_RDWR | O_NOCTTY));
94 ALOGE("init_transport: Cannot open %s: %s\n. Retry after 2 seconds",
97 fd = open(bt_hci_transport_device.name, (O_RDWR | O_NOCTTY));
103 ALOGE("init_transport: Cannot open %s: %s\n",
109 opened internally. Currently successful return from open doesn't
112 opened immediately on return from the aforementioned open call */
/hardware/msm7k/libgralloc-qsd8k/tests/
H A Dpmemalloc_test.cpp59 virtual int open(const char* pathname, int flags, int mode) { function in class:DepsStub
96 virtual int open(const char* pathname, int flags, int mode) { function in struct:Deps_InitPmemAreaLockedWithSuccessfulCompletion
138 virtual int open(const char* pathname, int flags, int mode) { function in struct:Deps_InitPmemAreaLockedWithEnomemOnMmap
183 virtual int open(const char* pathname, int flags, int mode) { function in struct:Deps_InitPmemAreaLockedWithEaccesOnGetPmemTotalSize
213 virtual int open(const char* pathname, int flags, int mode) { function in struct:Deps_InitPmemAreaLockedWithEaccesOnOpen
287 virtual int open(const char* pathname, int flags, int mode) { function in struct:Deps_InitPmemAreaLockedWithSuccessfulCompletionWithNoFlags
374 virtual int open(const char* pathname, int flags, int mode) { function in struct:Deps_InitPmemAreaLockedWithEnodevOnOpen
476 virtual int open(const char* pathname, int flags, int mode) { function in struct:Deps_KernelAllocPmemBufferWithSuccessfulCompletionWithNoFlags
540 virtual int open(const char* pathname, int flags, int mode) { function in struct:Deps_KernelAllocPmemBufferWithEpermOnOpen
568 virtual int open(cons function in struct:Deps_KernelAllocPmemBufferWithEnomemOnMmap
[all...]
/hardware/msm7k/libgralloc-qsd8k/
H A Dgralloc.cpp103 virtual int open(const char* pathname, int flags, int mode) { function in class:PmemAllocatorDepsDeviceImpl
104 return ::open(pathname, flags, mode);
149 open: gralloc_device_open
H A Dpmemalloc.h79 virtual int open(const char* pathname, int flags, int mode) = 0;
140 virtual int open(const char* pathname, int flags, int mode) = 0;
/hardware/qcom/display/liboverlay/
H A DoverlayMem.h56 bool open(uint32_t numbufs,
116 inline bool OvMem::open(uint32_t numbufs, function in class:overlay::OvMem
/hardware/broadcom/libbt/src/
H A Dupio.c157 fd = open(path, O_RDONLY);
160 ALOGE("init_rfkill : open(%s) failed: %s (%d)\n", \
291 fd = open(rfkill_state_path, O_WRONLY);
295 ALOGE("set_bluetooth_power : open(%s) for write failed: %s (%d)",
345 fd = open(VENDOR_LPM_PROC_NODE, O_WRONLY);
349 ALOGE("upio_set : open(%s) for write failed: %s (%d)",
440 fd = open(VENDOR_BTWRITE_PROC_NODE, O_WRONLY);
444 ALOGE("upio_set : open(%s) for write failed: %s (%d)",

Completed in 870 milliseconds

12345678