Searched refs:AutoUnmountDevice (Results 1 – 3 of 3) sorted by relevance
125 std::unique_ptr<AutoUnmountDevice> AutoUnmountDevice::New(const std::string& path) { in New()134 return std::unique_ptr<AutoUnmountDevice>(new AutoUnmountDevice("", {})); in New()141 return std::unique_ptr<AutoUnmountDevice>(new AutoUnmountDevice(path, std::move(fstab))); in New()144 AutoUnmountDevice::~AutoUnmountDevice() { in ~AutoUnmountDevice()
98 struct AutoUnmountDevice : AutoDevice { struct100 AutoUnmountDevice() : AutoDevice("") {} in AutoUnmountDevice() argument101 static std::unique_ptr<AutoUnmountDevice> New(const std::string& path);102 ~AutoUnmountDevice();105 AutoUnmountDevice(const std::string& path, android::fs_mgr::Fstab&& fstab) in AutoUnmountDevice() function
2520 return std::unique_ptr<AutoUnmountDevice>(new AutoUnmountDevice()); in EnsureMetadataMounted()2522 auto ret = AutoUnmountDevice::New(device_->GetMetadataDir()); in EnsureMetadataMounted()