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

12345678

/system/bt/hci/include/
H A Dhci_inject.h28 bool (*open)(const hci_t *hci_interface); member in struct:hci_inject_t
H A Dvendor.h51 bool (*open)( member in struct:vendor_t
H A Dhci_hal.h44 // HAL will deny all requests to open the pod bay doors after this.
54 bool (*open)(void); member in struct:hci_hal_t
/system/core/adb/
H A Dqemu_tracing.cpp27 * Redefine open and write for qemu_pipe.h that contains inlined references
31 #undef open macro
33 #define open adb_open macro
36 #undef open macro
38 #define open ___xxx_open macro
/system/extras/tests/cpueater/
H A Dcpueater.c51 open("/dev/null", 0);
53 if(open("/dev/null", O_WRONLY) < 0) {
H A Ddaemonize.c43 close(0); open("/dev/null", 0);
72 if(open(file, O_WRONLY|mode|O_CREAT, 0666) < 0) {
78 if(open("/dev/null", O_WRONLY) < 0) {
/system/vold/
H A DBenchmarkGen.h42 int t3433f17 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
53 int t3433f18 = TEMP_FAILURE_RETRY(open("file1", O_RDONLY|O_LARGEFILE));
61 t3433f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
71 t3433f18 = TEMP_FAILURE_RETRY(open("file2", O_RDONLY|O_LARGEFILE));
79 t3433f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
89 t3433f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
99 t3433f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
109 t3433f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
119 t3433f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
129 t3433f18 = TEMP_FAILURE_RETRY(open("file
[all...]
H A DLoop.cpp52 if ((fd = open(filename, O_RDWR | O_CLOEXEC)) < 0) {
54 SLOGE("Unable to open %s (%s)", filename, strerror(errno));
96 if ((fd = open(filename, O_RDWR | O_CLOEXEC)) < 0) {
98 SLOGE("Unable to open %s (%s)", filename, strerror(errno));
171 if ((fd = open(filename, O_RDWR | O_CLOEXEC)) < 0) {
172 SLOGE("Unable to open %s (%s)", filename, strerror(errno));
199 if ((file_fd = open(loopFile, O_RDWR | O_CLOEXEC)) < 0) {
200 SLOGE("Unable to open %s (%s)", loopFile, strerror(errno));
234 device_fd = open(loopDevice, O_RDONLY | O_CLOEXEC);
236 SLOGE("Failed to open loo
[all...]
/system/core/toolbox/upstream-netbsd/bin/dd/
H A Ddd_hostops.c43 .op_open = open,
/system/core/libcutils/
H A Dload_file.c29 fd = open(fn, O_RDONLY);
H A Dklog.c43 klog_fd = open("/dev/kmsg", O_WRONLY | O_CLOEXEC);
50 klog_fd = open(name, O_WRONLY | O_CLOEXEC);
H A Dqtaguid.c39 * Once the device is open, this process will have its socket tags tracked.
41 * A process can only open /dev/xt_qtaguid once.
43 * Failure to open it will be visible when socket tagging will be attempted.
50 resTrackFd = TEMP_FAILURE_RETRY(open("/dev/xt_qtaguid", O_RDONLY));
66 fd = TEMP_FAILURE_RETRY(open(CTRL_PROCPATH, O_WRONLY));
88 param_fd = TEMP_FAILURE_RETRY(open(param_path, O_WRONLY));
H A Dpartition_utils.c45 if ((fd = open(source, O_RDONLY)) < 0) {
H A Dprocess_name.c87 int fd = open(PROCESS_NAME_DEVICE, O_RDWR);
/system/extras/tests/workloads/
H A Datrace-uncompress.py14 infile = open(sys.argv[1], "rb")
/system/core/init/
H A Dgrab-bootchart.sh21 gnome-open ${TARBALL%.tgz}.png
H A Dwatchdogd.cpp43 int fd = open(DEV_NAME, O_RDWR|O_CLOEXEC);
45 ERROR("watchdogd: Failed to open %s: %s\n", DEV_NAME, strerror(errno));
/system/core/libdiskconfig/
H A Ddiskutils.c45 if ((src_fd = open(src, O_RDONLY)) < 0) {
46 ALOGE("Could not open %s for reading (errno=%d).", src, errno);
51 if ((dst_fd = open(dst, O_RDWR)) < 0) {
52 ALOGE("Could not open '%s' for read/write (errno=%d).", dst, errno);
/system/core/libsparse/
H A Dimg2simg.c72 in = open(argv[1], O_RDONLY | O_BINARY);
74 fprintf(stderr, "Cannot open input file %s\n", argv[1]);
82 out = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664);
84 fprintf(stderr, "Cannot open output file %s\n", argv[2]);
H A Dsimg2img.c51 out = open(argv[argc - 1], O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664);
53 fprintf(stderr, "Cannot open output file %s\n", argv[argc - 1]);
61 in = open(argv[i], O_RDONLY | O_BINARY);
63 fprintf(stderr, "Cannot open input file %s\n", argv[i]);
H A Dappend2simg.c79 output = open(output_path, O_RDWR | O_BINARY);
81 fprintf(stderr, "Couldn't open output file (%s)\n", strerror(errno));
91 input = open(input_path, O_RDONLY | O_BINARY);
93 fprintf(stderr, "Couldn't open input file (%s)\n", strerror(errno));
114 tmp_fd = open(tmp_path, O_WRONLY | O_CREAT | O_BINARY, 0664);
116 fprintf(stderr, "Couldn't open temporary file (%s)\n", strerror(errno));
/system/core/toolbox/
H A Dsendevent.c23 fd = open(argv[1], O_RDWR);
25 fprintf(stderr, "could not open %s, %s\n", argv[optind], strerror(errno));
/system/extras/squashfs_utils/
H A Dsquashfs_utils.c35 data_device = TEMP_FAILURE_RETRY(open(blk_device, O_RDONLY | O_CLOEXEC));
/system/bt/stack/mcap/
H A Dmca_dact.c69 if (p_data->open.param == MCA_INT)
72 evt_data.open_cfm.mtu = p_data->open.peer_mtu;
/system/core/libbacktrace/
H A DGetPss.cpp52 int pagecount_fd = open("/proc/kpagecount", O_RDONLY);
58 int pagemap_fd = open("/proc/self/pagemap", O_RDONLY);

Completed in 586 milliseconds

12345678