Lines Matching refs:open
186 open(mountpoint.c_str(), O_RDONLY | O_DIRECTORY | O_CLOEXEC)); in IsFscryptV2Supported()
310 open(blk_device.c_str(), O_RDONLY | O_DIRECT | O_CLOEXEC)); in ReadRawDataOfFile()
364 open(path.c_str(), O_WRONLY | O_CREAT | O_CLOEXEC, 0600)); in WriteTestFile()
544 open(kTestMountpoint, O_RDONLY | O_DIRECTORY | O_CLOEXEC)); in TearDown()
576 open(kTestMountpoint, O_RDONLY | O_DIRECTORY | O_CLOEXEC)); in SetMasterKey()
667 open(test_dir_.c_str(), O_RDONLY | O_DIRECTORY | O_CLOEXEC)); in SetEncryptionPolicy()
688 open(test_file_.c_str(), O_WRONLY | O_CREAT | O_CLOEXEC, 0600)); in SetEncryptionPolicy()
740 android::base::unique_fd fd(open(test_file_.c_str(), O_RDONLY | O_CLOEXEC)); in GenerateTestFile()
1021 open(path.c_str(), O_WRONLY | O_CREAT | O_CLOEXEC, 0600)); in TestEmmcOptimizedDunWraparound()
1048 android::base::unique_fd fd(open(path.c_str(), open_flags)); in TestEmmcOptimizedDunWraparound()
1179 android::base::unique_fd fd(open(test_dir_.c_str(), O_RDONLY | O_CLOEXEC)); in EnableF2fsCompressionOnTestDir()
1224 open(test_file_.c_str(), O_WRONLY | O_CREAT, 0600)); in F2fsCompressOptionsSupported()
1254 fd.reset(open(test_file_.c_str(), O_WRONLY)); in F2fsCompressOptionsSupported()
1401 android::base::unique_fd fd(open(dir.c_str(), O_RDONLY)); in GetKeyUsedByDir()