| /test/dittosuite/src/ |
| D | syscall.cpp | 33 int Syscall::Close(int fd) { in Close() 41 int Syscall::FAdvise(int fd, int64_t offset, int64_t len, int advice) { in FAdvise() 45 int Syscall::FAllocate(int fd, int mode, int64_t offset, int64_t len) { in FAllocate() 49 int Syscall::FTruncate(int fd, int64_t length) { in FTruncate() 57 int Syscall::FSync(int fd) { in FSync() 77 int64_t Syscall::Read(int fd, char* buf, int64_t count, int64_t offset) { in Read() 105 int64_t Syscall::Write(int fd, char* buf, int64_t count, int64_t offset) { in Write()
|
| D | utils.cpp | 28 int64_t GetFileSize(SyscallInterface& syscall, int fd) { in GetFileSize() 36 std::string GetFilePath(SyscallInterface& syscall, int fd) { in GetFilePath()
|
| D | read_write_file.cpp | 59 int fd = std::get<int>(SharedVariables::Get(input_fd_key_)); in SetUpSingle() local 122 int fd = std::get<int>(SharedVariables::Get(input_fd_key_)); in RunSingle() local 143 int fd = std::get<int>(SharedVariables::Get(input_fd_key_)); in SetUpSingle() local 153 int fd = std::get<int>(SharedVariables::Get(input_fd_key_)); in RunSingle() local
|
| D | close_file.cpp | 26 int fd = std::get<int>(SharedVariables::Get(input_fd_key_)); in RunSingle() local
|
| D | invalidate_cache.cpp | 27 int fd = syscall_.Open(cache_file, O_WRONLY, 0); in RunSingle() local
|
| D | binder_request.cpp | 93 int fd = open(path.c_str(), O_RDONLY); in ParseAshmemWithPath() local 170 int fd = open(data_str.c_str(), O_RDONLY); in ParseParcelString() local
|
| D | resize_file.cpp | 28 int fd = std::get<int>(SharedVariables::Get(input_fd_key_)); in RunSingle() local
|
| D | open_file.cpp | 86 int fd = syscall_.Open(path_name_, open_flags, open_mode); in RunSingle() local
|
| /test/vts-testcase/kernel/f2fs/ |
| D | F2fsTest.cpp | 46 int fd = open("/data/local/tmp/img", O_RDWR | O_TRUNC | O_CREAT, in SetUp() local 96 int fd = open(kTestFilePath, O_RDWR | O_TRUNC | O_CREAT, in TEST_F() local 119 int fd = open(kTestFilePath, O_RDWR | O_TRUNC | O_CREAT, in TEST_F() local 145 int fd = open(kTestFilePath, O_RDWR | O_TRUNC | O_CREAT, in TEST_F() local 219 int fd = open(kTestFolder, O_RDONLY | O_DIRECTORY); in TEST_F() local
|
| /test/dittosuite/ |
| D | dittotrace.cpp | 161 int fd = strtoll(syscall.return_value.c_str(), nullptr, 10); in main() local 169 int fd = strtoll(syscall.arguments[0].c_str(), nullptr, 10); in main() local 184 int fd = strtoll(syscall.arguments[0].c_str(), nullptr, 10); in main() local 199 int fd = strtoll(syscall.arguments[0].c_str(), nullptr, 10); in main() local
|
| /test/vts-testcase/kernel/encryption/ |
| D | file_based_encryption_tests.cpp | 187 android::base::unique_fd fd( in IsFscryptV2Supported() local 226 explicit ScopedFsFreezer(int fd) { in ScopedFsFreezer() 271 static bool ReadRawDataOfFile(int fd, const FilesystemInfo &fs_info, in ReadRawDataOfFile() 390 android::base::unique_fd fd( in WriteTestFile() local 737 android::base::unique_fd fd( in SetEncryptionPolicy() local 793 android::base::unique_fd fd(open(test_file_.c_str(), O_RDONLY | O_CLOEXEC)); in GenerateTestFile() local 1116 android::base::unique_fd fd( in TestEmmcOptimizedDunWraparound() local 1144 android::base::unique_fd fd(open(path.c_str(), open_flags)); in TestEmmcOptimizedDunWraparound() local 1289 android::base::unique_fd fd(open(test_dir_.c_str(), O_RDONLY | O_CLOEXEC)); in EnableF2fsCompressionOnTestDir() local 1333 android::base::unique_fd fd( in F2fsCompressOptionsSupported() local [all …]
|
| D | metadata_encryption_tests.cpp | 108 android::base::unique_fd fd( in ReadBlockDevice() local
|
| D | utils.cpp | 234 android::base::unique_fd fd( in GetFilesystemUuid() local
|
| /test/vts-testcase/kernel/api/tun/ |
| D | vts_kernel_tun_test.cpp | 62 int fd = open(tun_device_.c_str(), O_RDWR | O_NONBLOCK); in TunInit() local
|
| /test/vts-testcase/kernel/api/drop_caches_prop/ |
| D | drop_caches_test.cpp | 45 android::base::unique_fd fd( in TEST() local
|
| /test/vts-testcase/kernel/bow/ |
| D | BowTest.cpp | 233 unique_fd fd( in PrepareFile() local 276 unique_fd fd; in FindChanged() local 452 unique_fd fd(open(MOUNT_POINT, O_RDONLY)); in Trim() local
|
| /test/vts-testcase/security/avb/ |
| D | gsi_validation_utils.cpp | 99 int fd = fileno(cmd_out_stream.get()); in ReadCommandToString() local
|
| D | VtsSecurityAvbTest.cpp | 351 android::base::unique_fd fd(open(system_path.c_str(), O_RDONLY)); in TEST() local
|