Home
last modified time | relevance | path

Searched refs:source_fd_ (Results 1 – 4 of 4) sorted by relevance

/aosp14/system/core/fs_mgr/libsnapshot/
H A Dsnapshot_reader.cpp116 if (source_fd_ < 0) { in GetSourceFd()
122 source_fd_.reset(open(source_device_->c_str(), O_RDONLY | O_CLOEXEC)); in GetSourceFd()
123 if (source_fd_ < 0) { in GetSourceFd()
128 return source_fd_; in GetSourceFd()
338 source_fd_ = {}; in Close()
H A Dsnapshot_writer.cpp43 if (source_fd_ < 0) { in GetSourceFd()
44 source_fd_.reset(open(source_device_->c_str(), O_RDONLY | O_CLOEXEC)); in GetSourceFd()
45 if (source_fd_ < 0) { in GetSourceFd()
50 return source_fd_; in GetSourceFd()
H A Dsnapshot_reader.h77 android::base::unique_fd source_fd_; variable
/aosp14/system/core/fs_mgr/libsnapshot/include/libsnapshot/
H A Dsnapshot_writer.h58 android::base::unique_fd source_fd_;