Home
last modified time | relevance | path

Searched refs:AutoUnmountDevice (Results 1 – 3 of 3) sorted by relevance

/aosp14/system/core/fs_mgr/libsnapshot/
H A Dutility.h95 struct AutoUnmountDevice : AutoDevice { struct
97 AutoUnmountDevice() : AutoDevice("") {} in AutoUnmountDevice() function
98 static std::unique_ptr<AutoUnmountDevice> New(const std::string& path);
99 ~AutoUnmountDevice();
102 AutoUnmountDevice(const std::string& path, android::fs_mgr::Fstab&& fstab) in AutoUnmountDevice() function
H A Dutility.cpp131 std::unique_ptr<AutoUnmountDevice> AutoUnmountDevice::New(const std::string& path) { in New()
140 return std::unique_ptr<AutoUnmountDevice>(new AutoUnmountDevice("", {})); in New()
147 return std::unique_ptr<AutoUnmountDevice>(new AutoUnmountDevice(path, std::move(fstab))); in New()
150 AutoUnmountDevice::~AutoUnmountDevice() { in ~AutoUnmountDevice()
H A Dsnapshot.cpp3836 return std::unique_ptr<AutoUnmountDevice>(new AutoUnmountDevice()); in EnsureMetadataMounted()
3838 auto ret = AutoUnmountDevice::New(device_->GetMetadataDir()); in EnsureMetadataMounted()