/system/bt/hci/include/ |
H A D | hci_inject.h | 28 bool (*open)(const hci_t* hci_interface); member in struct:hci_inject_t
|
/system/security/keystore/ |
H A D | entropy.h | 27 bool open();
|
H A D | entropy.cpp | 37 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 D | cpueater.c | 51 open("/dev/null", 0); 53 if(open("/dev/null", O_WRONLY) < 0) {
|
H A D | daemonize.c | 43 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 D | file_utils.py | 39 patterns.extend(open(f).readlines()) 43 with open(input_file, 'r') as in_file:
|
/system/core/libstats/ |
H A D | statsd_writer.h | 37 int (*open)(); /* can be called multiple times, reusing current resources */ member in struct:android_log_transport_write
|
/system/nvram/hal/ |
H A D | testing_module.c | 25 .open = testing_nvram_open,
|
/system/tools/hidl/docs/src/writer/files/ |
H A D | AbstractFileWriter.kt | 31 open fun replaceVars() {} 59 open fun onWrite() {} 61 open fun printInfo() {
|
/system/vold/ |
H A D | BenchmarkGen.h | 44 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 D | Loop.cpp | 50 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 D | perf_config_proto.py | 74 f = open(filename, "wb") 81 f = open(filename, "rb")
|
/system/ca-certificates/google/ |
H A D | extract_from_pem.py | 37 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 D | wwan.h | 87 bool (*open)(const struct chrePalSystemApi *systemApi, member in struct:chrePalWwanApi
|
/system/core/toolbox/upstream-netbsd/bin/dd/ |
H A D | dd_hostops.c | 43 .op_open = open,
|
/system/sepolicy/prebuilts/api/26.0/private/ |
H A D | isolated_app.te | 13 # 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 D | osi.cc | 37 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 D | load_file.cpp | 31 fd = open(fn, O_RDONLY);
|
H A D | sched_policy.cpp | 55 // 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 D | module.cpp | 42 .open = trusty_gatekeeper_open,
|
/system/core/trusty/keymaster/ |
H A D | module.cpp | 45 .open = trusty_keymaster_open,
|
/system/extras/tests/workloads/ |
H A D | atrace-uncompress.py | 14 infile = open(sys.argv[1], "rb")
|
/system/core/base/include/android-base/ |
H A D | utf8.h | 24 #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 D | grab-bootchart.sh | 21 gnome-open ${TARBALL%.tgz}.png
|
/system/core/libdiskconfig/ |
H A D | diskutils.c | 45 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);
|