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

1234567891011>>

/system/bt/hci/include/
H A Dhci_inject.h28 bool (*open)(const hci_t* hci_interface); member in struct:hci_inject_t
/system/security/keystore/
H A Dentropy.h27 bool open();
H A Dentropy.cpp37 bool Entropy::open() { function in class:Entropy
39 mRandom = TEMP_FAILURE_RETRY(::open(randomDevice, O_RDONLY));
41 ALOGE("open: %s: %s", randomDevice, strerror(errno));
/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/sepolicy/build/
H A Dfile_utils.py39 patterns.extend(open(f).readlines())
43 with open(input_file, 'r') as in_file:
/system/core/libstats/
H A Dstatsd_writer.h37 int (*open)(); /* can be called multiple times, reusing current resources */ member in struct:android_log_transport_write
/system/nvram/hal/
H A Dtesting_module.c25 .open = testing_nvram_open,
/system/tools/hidl/docs/src/writer/files/
H A DAbstractFileWriter.kt31 open fun replaceVars() {}
59 open fun onWrite() {}
61 open fun printInfo() {
/system/vold/
H A DBenchmarkGen.h44 int t3433f17 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
55 int t3433f18 = TEMP_FAILURE_RETRY(open("file1", O_RDONLY|O_LARGEFILE));
63 t3433f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
73 t3433f18 = TEMP_FAILURE_RETRY(open("file2", O_RDONLY|O_LARGEFILE));
81 t3433f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
91 t3433f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
101 t3433f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
111 t3433f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
121 t3433f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
131 t3433f18 = TEMP_FAILURE_RETRY(open("file
[all...]
H A DLoop.cpp50 unique_fd ctl_fd(open("/dev/loop-control", O_RDWR | O_CLOEXEC));
52 PLOG(ERROR) << "Failed to open loop-control";
64 unique_fd target_fd(open(target.c_str(), O_RDWR | O_CLOEXEC));
66 PLOG(ERROR) << "Failed to open " << target;
69 unique_fd device_fd(open(out_device.c_str(), O_RDWR | O_CLOEXEC));
71 PLOG(ERROR) << "Failed to open " << out_device;
94 device_fd = open(loopDevice, O_RDONLY | O_CLOEXEC);
96 PLOG(ERROR) << "Failed to open " << loopDevice;
127 unique_fd fd(open(path.c_str(), O_RDWR | O_CLOEXEC));
130 PLOG(WARNING) << "Failed to open " << pat
[all...]
/system/extras/perfprofd/scripts/
H A Dperf_config_proto.py74 f = open(filename, "wb")
81 f = open(filename, "rb")
/system/ca-certificates/google/
H A Dextract_from_pem.py37 with open(file_path) as existing_file:
43 with open(file_path, 'w') as new_file:
73 with open(args.pem_file) as pem_file:
83 with open(args.timestamp_file, 'w') as timestamp_file:
/system/chre/pal/include/chre/pal/
H A Dwwan.h87 bool (*open)(const struct chrePalSystemApi *systemApi, member in struct:chrePalWwanApi
/system/core/toolbox/upstream-netbsd/bin/dd/
H A Ddd_hostops.c43 .op_open = open,
/system/sepolicy/prebuilts/api/26.0/private/
H A Disolated_app.te13 # Access already open app data files received over Binder or local socket IPC.
53 # Do not allow isolated_app to directly open tun_device
54 neverallow isolated_app tun_device:chr_file open;
56 # Isolated apps should not directly open app data files themselves.
57 neverallow isolated_app app_data_file:file open;
62 neverallow isolated_app anr_data_file:file ~{ open append };
/system/bt/osi/src/
H A Dosi.cc37 int rand_fd = open(RANDOM_PATH, O_RDONLY);
40 LOG_ERROR(LOG_TAG, "%s can't open rand fd %s: %s ", __func__, RANDOM_PATH,
/system/core/libcutils/
H A Dload_file.cpp31 fd = open(fn, O_RDONLY);
H A Dsched_policy.cpp55 // File descriptors open to /dev/cpuset/../tasks, setup by initialize, or -1 on error
62 // File descriptors open to /dev/stune/../tasks, setup by initialize, or -1 on error
148 fg_cpuset_fd = open(filename, O_WRONLY | O_CLOEXEC);
150 bg_cpuset_fd = open(filename, O_WRONLY | O_CLOEXEC);
152 system_bg_cpuset_fd = open(filename, O_WRONLY | O_CLOEXEC);
154 ta_cpuset_fd = open(filename, O_WRONLY | O_CLOEXEC);
156 rs_cpuset_fd = open(filename, O_WRONLY | O_CLOEXEC);
160 ta_schedboost_fd = open(filename, O_WRONLY | O_CLOEXEC);
162 fg_schedboost_fd = open(filename, O_WRONLY | O_CLOEXEC);
164 bg_schedboost_fd = open(filenam
[all...]
/system/core/trusty/gatekeeper/
H A Dmodule.cpp42 .open = trusty_gatekeeper_open,
/system/core/trusty/keymaster/
H A Dmodule.cpp45 .open = trusty_keymaster_open,
/system/extras/tests/workloads/
H A Datrace-uncompress.py14 infile = open(sys.argv[1], "rb")
/system/core/base/include/android-base/
H A Dutf8.h24 #include <fcntl.h> // open
77 // // anonymous namespace to avoid conflict with existing open(), unlink(), etc.
83 // int fd = open(name, ...); // Calls android::base::utf8::open().
93 int open(const char* name, int flags, ...);
98 using ::open;
/system/core/init/
H A Dgrab-bootchart.sh21 gnome-open ${TARBALL%.tgz}.png
/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);

Completed in 436 milliseconds

1234567891011>>