Searched refs:open (Results 26 - 50 of 295) sorted by relevance

1234567891011>>

/system/tpm/tpm_manager/server/
H A Dtpm_manager-seccomp-amd64.policy47 open: 1
/system/vold/
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));
172 if ((fd = open(filename, O_RDWR | O_CLOEXEC)) < 0) {
173 SLOGE("Unable to open %s (%s)", filename, strerror(errno));
200 if ((file_fd = open(loopFile, O_RDWR | O_CLOEXEC)) < 0) {
201 SLOGE("Unable to open %s (%s)", loopFile, strerror(errno));
235 device_fd = open(loopDevice, O_RDONLY | O_CLOEXEC);
237 SLOGE("Failed to open loo
[all...]
H A DAutoCloseFD.h31 fd{TEMP_FAILURE_RETRY(open(path, flags | O_CLOEXEC, mode))} {}
/system/core/libcutils/
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));
89 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/core/libsparse/
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));
H A Dsimg2simg.c61 in = open(argv[1], O_RDONLY | O_BINARY);
63 fprintf(stderr, "Cannot open input file %s\n", argv[1]);
98 out = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664);
100 fprintf(stderr, "Cannot open output file %s\n", argv[2]);
/system/bt/hci/include/
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
H A Dvendor.h54 bool (*open)( member in struct:vendor_t
/system/core/init/
H A Dwatchdogd.cpp43 int fd = open(DEV_NAME, O_RDWR|O_CLOEXEC);
45 ERROR("Failed to open %s: %s\n", DEV_NAME, strerror(errno));
H A Dbootchart.cpp140 size_t open = stat.find('('); local
142 if (open != std::string::npos && close != std::string::npos) {
143 stat.replace(open + 1, close - open - 1, full_name);
199 close(open(LOG_ACCT, O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC, 0644));
/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/core/trusty/libtrusty/
H A Dtrusty.c35 fd = open(dev_name, O_RDWR);
38 ALOGE("%s: cannot open tipc device \"%s\": %s\n",
/system/extras/memcpy-perf/
H A Dgraph_memcpy.py20 f = open(arg)
/system/extras/tests/workloads/
H A Dpowerave.py24 f = open(argvrem[2], "r")
/system/update_engine/payload_consumer/
H A Dfile_writer.cc25 fd_ = open(path, flags, mode);
/system/bt/osi/test/
H A DAlarmTestHarness.cpp95 int lock_fd = open(lock_path_.c_str(), O_RDONLY);
98 int unlock_fd = open(unlock_path_.c_str(), O_RDONLY);
/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;
H A Dmca_main.c347 ** for the channel and sends it an open event.
356 tMCA_OPEN open; local
361 open.peer_mtu = p_tbl->peer_mtu;
362 open.lcid = p_tbl->lcid;
365 open.param = MCA_INT;
368 open.param = MCA_ACP;
371 /* if control channel, notify ccb that channel open */
376 mca_ccb_event(p_ccb, MCA_CCB_LL_OPEN_EVT, (tMCA_CCB_EVT *)&open);
378 /* must be data channel, notify dcb that channel open */
387 mca_dcb_event(p_dcb, MCA_DCB_TC_OPEN_EVT, (tMCA_DCB_EVT *) &open);
[all...]
/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);
/system/core/metricsd/
H A Dpersistent_integer.cc61 int fd = HANDLE_EINTR(open(backing_file_path_.value().c_str(),
64 PCHECK(fd >= 0) << "cannot open " << backing_file_path_.value()
76 int fd = HANDLE_EINTR(open(backing_file_path_.value().c_str(), O_RDONLY));
78 PLOG(WARNING) << "cannot open " << backing_file_path_.value()
/system/sepolicy/
H A Daccess_vectors114 open
125 open
132 open
143 open
150 open
158 open
166 open
/system/bt/btif/src/
H A Dbtif_av.c56 different than open state. Suspend flags are needed however to prevent
217 ** Description Timer to trigger AV open if the remote headset establishes
354 /* IOP_FIX: Jabra 620 only does RC open without AV open whenever it connects. So
375 * we have to handle config and open event in
398 BTIF_TRACE_DEBUG("status:%d, edr 0x%x",p_bta_data->open.status,
399 p_bta_data->open.edr);
401 if (p_bta_data->open.status == BTA_AV_SUCCESS)
405 btif_av_cb.edr = p_bta_data->open.edr;
407 btif_av_cb.peer_sep = p_bta_data->open
[all...]
/system/core/base/
H A Dfile.cpp52 int fd = TEMP_FAILURE_RETRY(open(path.c_str(), O_RDONLY | O_CLOEXEC | O_NOFOLLOW | O_BINARY));
87 int fd = TEMP_FAILURE_RETRY(open(path.c_str(), flags, mode));
89 ALOGE("android::WriteStringToFile open failed: %s", strerror(errno));
114 int fd = TEMP_FAILURE_RETRY(open(path.c_str(), flags, DEFFILEMODE));

Completed in 974 milliseconds

1234567891011>>