Home
last modified time | relevance | path

Searched refs:O_NOFOLLOW (Results 1 – 15 of 15) sorted by relevance

/frameworks/libs/binary_translation/kernel_api/riscv64/
Dopen_emulation.cc66 static_assert(O_NOFOLLOW == 00400000);
77 O_NOFOLLOW | O_CLOEXEC | O_DIRECT | __O_SYNC | O_PATH;
/frameworks/opt/net/wifi/libwifi_hal/
Dwifi_hal_common.cpp64 fd = TEMP_FAILURE_RETRY(open(filename, O_RDONLY | O_CLOEXEC | O_NOFOLLOW)); in insmod()
/frameworks/native/libs/binder/
DOS_unix_base.cpp47 unique_fd fd(TEMP_FAILURE_RETRY(open("/dev/urandom", O_RDONLY | O_CLOEXEC | O_NOFOLLOW))); in getRandomBytes()
/frameworks/native/cmds/installd/
Ddexopt.cpp187 unique_fd ufd(open(profile.c_str(), O_WRONLY | O_NOFOLLOW | O_CLOEXEC)); in clear_profile()
398 flags |= O_NOFOLLOW; in open_profile()
805 O_WRONLY | O_CREAT | O_TRUNC | O_NOFOLLOW, 0644)); in dump_profiles()
813 unique_fd apk_fd(open(code_path.c_str(), O_RDONLY | O_NOFOLLOW)); in dump_profiles()
843 unique_fd in_fd(open(system_profile.c_str(), O_RDONLY | O_NOFOLLOW | O_CLOEXEC)); in copy_system_profile()
1934 dex_metadata.reset(TEMP_FAILURE_RETRY(open(dex_metadata_path, O_RDONLY | O_NOFOLLOW)), in dexopt()
2256 unique_fd fd(TEMP_FAILURE_RETRY(open(dex_path.c_str(), O_RDONLY | O_CLOEXEC | O_NOFOLLOW))); in hash_secondary_dex_file()
2819 open(dex_metadata->c_str(), O_RDONLY | O_NOFOLLOW))); in prepare_app_profile()
2820 unique_fd apk_fd(TEMP_FAILURE_RETRY(open(code_path.c_str(), O_RDONLY | O_NOFOLLOW))); in prepare_app_profile()
Dutils.cpp593 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY | O_NOFOLLOW | O_CLOEXEC); in _delete_dir_contents()
808 fd = openat(dfd, name, O_RDONLY | O_DIRECTORY | O_NOFOLLOW | O_CLOEXEC); in delete_dir_contents_fd()
858 int fsfd = openat(sdfd, name, O_RDONLY | O_NOFOLLOW | O_CLOEXEC); in _copy_dir_files()
859 int fdfd = openat(ddfd, name, O_WRONLY | O_NOFOLLOW | O_CLOEXEC | O_CREAT, 0600); in _copy_dir_files()
1367 O_RDONLY | O_DIRECTORY | O_NOFOLLOW | O_CLOEXEC)); in collect_profiles()
DInstalldNativeService.cpp4027 unique_fd pathFd(open(filePath.c_str(), O_RDONLY | O_CLOEXEC | O_NOFOLLOW | O_PATH)); in enableFsverity()
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp267 return Open(path, O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in OpenForWrite()
272 return Open(path, O_RDONLY | O_CLOEXEC | O_NOFOLLOW); in OpenForRead()
417 … TEMP_FAILURE_RETRY(open(abs_path.c_str(), O_RDONLY | O_CLOEXEC | O_NOFOLLOW | O_NONBLOCK))); in GetDumpFds()
1050 O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in DumpIncidentReport()
1073 O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in DumpNetstatsProto()
1114 O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in DumpVisibleWindowViews()
1449 O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in DumpHals()
2637 open(paths[i].c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in DumpstateBoard()
3507 open(outPath.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in MaybeSnapshotSystemTraceAsync()
4487 O_WRONLY | O_CREAT | truncate_flag | O_CLOEXEC | O_NOFOLLOW, in _redirect_to_file()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp1040 O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in CreateFd()
1314 O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in CreateFd()
1702 O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in CreateOutputFile()
Ddumpstate_smoke_test.cpp60 O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in OpenForWrite()
/frameworks/base/ravenwood/runtime-helper-src/libcore-fake/android/system/
DOsConstants.java520 public static final int O_NOFOLLOW = placeholder(); field in OsConstants
/frameworks/base/core/jni/
Dandroid_os_Debug.cpp577 O_CREAT | O_WRONLY | O_NOFOLLOW | O_CLOEXEC | O_APPEND, in dumpTraces()
/frameworks/base/ravenwood/runtime-jni/
Dravenwood_os_constants.cpp441 initConstant(env, c, "O_NOFOLLOW", O_NOFOLLOW); in OsConstants_initConstants()
/frameworks/native/libs/input/
DInput.cpp137 int ret = TEMP_FAILURE_RETRY(open("/dev/urandom", O_RDONLY | O_CLOEXEC | O_NOFOLLOW)); in getRandomBytes()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt27893 field public static final int O_NOFOLLOW;